1. Introduction
Additive manufacturing (AM) is gathering significant interest in a variety of industries, such as aerospace, automotive, and medical, among many others. Fused filament fabrication (FFF), or fusion-based material extrusion additive manufacturing, is one of the most common methods of AM for producing functional polymer and polymer composite AM components. Due to its increased application and use in industry, the quality and performance of the manufactured component have become increasingly important factors. To date, the mechanical performance of FFF components has proven to be inferior to traditionally manufactured components, with a significant contributing factor being the reliability concerns from part to part. The development and use of nondestructive testing (NDT) technologies, tuned for FFF components, will further enable the use of FFF components in critical, end-use applications. The work herein garners insights into the nondestructive testing of FFF components, providing an effective means of estimating component performance using ultrasonic testing (UT) to quantify the internal, as-manufactured, raster orientation layer-by-layer.
Process parameters, one of the most significant being the raster orientation, have been shown to have a significant impact on the final component performance [
1,
2]. The orientation of the internal raster path, or raster orientation, of an FFF component refers to the direction of material deposition, with respect to a given axis within the FFF printer, which often varies layer by layer. Sood discussed that small raster angles offer more resistance to flexural strength and failure as the deposited rasters are more aligned along the load direction, resulting in improved strength [
2]. Research indicates raster orientation plays a fundamental role in determining the mechanical properties of additively manufactured components [
3,
4]. Among the numerous works investigating the effects of raster orientation, Wu et al. [
3] explored the impact of varying raster orientations, including 0°/90°, 30°/−60°, and 45°/−45°, on the mechanical properties of a 3D-printed polyether-ether-ketone (PEEK) by testing their tensile, compressive, and bending strength. The highest tensile strength recorded was 56.6 MPa with the 0°/90° orientation when the filaments were aligned parallel to the load direction. The tensile strengths of 41.8 MPa and 43.3 MPa were noted when the raster orientations were 30°/−60° and 45°/−45°. Several additional studies have highlighted the substantial influence of raster orientation on the tensile strength of additively manufactured parts [
5,
6]. Acrylonitrile Butadiene Styrene (ABS) test coupons fabricated with 0° and 90° orientations, respectively, underwent the tensile test procedure, resulting in a decrease in the ultimate strength ranging from 81% to 26% [
5]. Rajni et al. [
7] conducted additional investigations on the influence of raster orientations on the mechanical properties of 3D-printed PLA specimens. Their findings proved 45°/−45° oriented specimens exhibited a 41.20% increase in impact strength compared to those specimens oriented at 0°/90°.
Several dogbone specimens featuring 45°/−45° and 0°/90° raster orientations manufactured with ABS were subjected to fatigue analysis [
8]. It was observed with the increasing percentage of mean ultimate tensile strength that both orientations failed at an equivalent number of cycles. On the other hand, when subjected to identical absolute stress levels, the 45°/−45° orientation exhibited an increased number of cycles to failure by 63.5%. In addition to affecting the strength of the object, raster orientation influences the fracture mechanism as well [
9,
10,
11]. Lorenzo-Bañuelos et al. [
9] observed the influence of raster orientation on the fracture mechanism of FFF components by incorporating varying raster orientations at different layers. Four scenarios were developed, featuring 0°, 90°, 45°, and −45° orientations, and it was observed that the fracture energy of the specimen prepared with 0°/45°/90°/−45° orientations was decreased by 34% compared to the specimens prepared with 45°/−45° orientations. Diversities in raster orientations not only impact the strength and fracture of the component but also its toughness. One study found the toughness to be increased by more than 500% when the raster orientations are switched from [0°/90°]
5 to [45°/−45°]
5 [
12]. Srinivasan et al. [
13] also performed tensile and fracture toughness tests with raster angles ranging from 0° to 90° with an increment of 15°, where the maximum fracture toughness was observed at 0° and 60°. It is reported in their study that a change in raster angle from 0° to 15° reduced the tensile strength by 22% and toughness by 19%. An important feature of crack alignment was noticed by Khosravani [
14], in which crack propagation aligned with the raster orientation for all samples with the exception of those printed with a 0° raster orientation. Prajapati et al. [
15] introduced a method of mitigating the loss in final part performance by incorporating thermal annealing process. They mentioned that due to varying orientations in different layers of an additively manufactured component, reduced material characteristics are observed. Yap et al. [
16] investigated how raster orientation impacts the elastic properties of PC-ABS material. They developed a method using ultrasound to characterize the change in the sound velocity from various angles relative to the plane of the fabricated component, from which they were able to extract the orthotropic stiffness tensor components. Their results for the bulk orthotropic stiffness tensor components were quite satisfactory, with an average of 11% deviations of the various components from those of structural testing.
Each of the aforementioned studies indicates that raster orientation significantly influences part performance. A similar effect has been noted for traditional laminated CFRPs, in which Rahul et al. [
17] in their experiments with composite laminates investigated the effective stiffness, which varied from 47 GPa to 54 GPa for a 2° change in the quantification of ply orientation using the ultrasound technique. Just as raster orientation affects the final part performance, ply orientation similarly influences the tensile and flexural strengths of carbon/epoxy laminates [
18]. Different stacking sequences, including unidirectional, cross-ply, and quasi-isotropic laminates, were subjected to bending, tension, and impact forces, according to the ASTM standards, and it was observed for symmetric cross-ply laminates that flexural and tensile moduli were improved by 59.5% and 3.97%, respectively. Vasudevan et al. [
19] investigated the mechanical properties of composite laminates of Kevlar fibers combined with glass fibers for various orientations ranging from 0° to 60°. Their findings indicate that the hybrid composites fabricated with Kevlar fibers oriented at 0° demonstrate a higher tensile strength (327 MPa) as well as flexural strength (390 MPa) compared to the composites with Kevlar fibers oriented at 30°, 45°, and 60°. In addition to examining the composite laminate strength containing different ply orientations, several studies have investigated the failure mechanisms. Ramezani et al. [
20] observed in their experiments that thin-plied laminates exhibit reduced levels of failure under out-of-plane loading compared to angle plied CFRPs. Specifically, it was found that the stacking sequence [0°/90°] demonstrated a lower level of failure compared to [45°/−45°] for both CFRP and thin-ply configurations. Another study [
21] focused on failure mechanisms, which involved subjecting the thin-ply CFRP laminates to tensile loading. Initially, experiments were conducted to assess the tensile behavior of 15° and 30° ply angles, and finally, FEM models were developed to anticipate the failure mode. The failure strains for the mentioned ply angles varied depending on the different fiber areal weights. Specifically, when the ply angle was 15°, the failure strains were 1.187%, 1.35%, and 1.22% for corresponding areal weights of 20, 60, and 120 g/m
2. In contrast, when the ply angle was 30°, the failure strains were 3.52%, 4.94%, and 2.9% for the same areal weights.
As such, numerous efforts have sought to quantify the orientation of CFRP laminates using nondestructive evaluation (NDE) in an automated fashion. It should be noted that works related to NDE for the orientation of layered materials to date have been primarily limited to CFRP laminates as opposed to AM components, which is the focus of this work. One of the most notable works was performed by Smith [
22], where he investigated the orientation of plies within a unidirectional CFRP skin over a honeycomb sandwich structure. Two techniques were applied to ascertain the ply stacking arrangements. The initial method utilized a portable scanner for the ultrasonic scanning of composites, while the second method required the capture of the full waveform at each point in the scan, the latter of which could effectively distinguish the ply orientations of 0°, 45°, and 90°. Hsu et al. [
23] enhanced the automation process of stacking sequences by employing the 2D FFT method to examine the ply orientation of CFRP laminates. C-scan images were generated using the longitudinal wave that extracted fiber orientation information. Their laboratory experiments demonstrated the feasibility of determining the fiber orientations by up to 20 plies. In another study [
24], evaluating layup configuration, Hsu used a contact-mode ultrasonic transducer with shear waves to deduce the percentages of 0° and 90° oriented plies from 24 groups of [0°/90°] plies. Smith et al. [
25] developed a tool titled StackScan
TM to automate the process of arranging ply stacking sequences. This tool provided an accelerated method to detect exact ply orientations with an error margin of 0.5°. Ambrozinski et al. [
26] demonstrated how laser ultrasound systems can be employed to detect variations in the ply alignment of composites. In this method, the laser-generated ultrasound signals were used to produce B-scans with a minimal amount of interference, facilitating the visualization of individual plies. However, due to the strong attenuation of the signal in layered composites, significant signal loss occurs at depths exceeding 7–10 mm. Another investigation of CFRP laminates investigated the heating pattern in such composites, determining them to be influenced by fiber orientations [
27]. To explore this unique heating behavior, orientations of carbon fiber laminates were assessed using the 2D FFT method of the captured transient thermal surface distributions, leading to the conclusion that thermography can be implemented on specimens consisting of 12 layers to identify fiber orientations, with the maximum error compared to the designed orientation of 6°.
The present study of automating the raster orientation process from the captured waveform is an extension of the earlier study by the current authors [
28,
29] that presents a manual approach to identify the raster orientation in a layer-by-layer manner. The study illustrated in this article expands on the methodology proposed in Blackman et al. [
30], where a conventional immersion-based ultrasonic system was used to inspect laminated composites. The researchers in the earlier study determined the lamina orientations of fabricated composites with thicknesses ranging from 3 lamina to 18 lamina. The work presented herein focuses on a method for identifying the internal raster orientation using non-destructive means, which would offer valuable insights into the material properties of an unknown part. The authors utilized an ultrasonic NDE method to discern the internal geometrical features. FFF coupons were prepared using a range of functionally viable materials, which were subsequently inspected using conventional, immersion-based UT. An automated algorithm was then presented to analyze the UT data, effectively quantifying the internal raster orientation. The outcomes obtained from the algorithm can expedite additional tasks, such as evaluating mechanical properties associated with raster orientation.
3. Analysis
To quantify the visualized raster orientation, an in-house MALAB script was used to analyze the fully captured acoustic waveform. The raster was determined with respect to the index direction, labeled
in
Figure 1. Data were taken at
discrete points in
and
discrete points in
that were equally spaced such that
for all
and
for all
. The digitized signal corresponding to the acoustic waveform was defined as
where
,
, and
are discrete values in, respectively, time
, the index direction (
), and the scan direction (
). In the present study, a 100 MHz digitizer was utilized; thus
, and a raster step size of
was used. The data were shifted in time such that
where
refers to the time at which the initial front wall echo was received by the transmitting transducer. This time shift has the effect of aligning each A-scan in time in reference to the front wall echo at each
location, resulting in the array
. Next, a Gaussian smoothing technique was used such that
where the distribution parameters
and
define the extent of the spatial smoothing of the captured acoustic signal. In the present study,
and
were set to three times the raster spacing, specifically 0.3 mm. It was found that 0.3 mm yielded acceptable results without loss of the individual raster features.
Next, a spatially averaged signal
was created as
A typical result of the spatially averaged signal is shown in
Figure 2. Notice in this figure that individual peaks can be observed, with the peak around
corresponding to the front wall reflection of the part and the peak near
corresponding to the backwall reflection of the part. From the averaged acoustic signal shown in
Figure 2a, the time at which the individual
local maxima of
occur can be identified. Except for the front wall and the back wall, each of the observed local maxima are caused by the acoustic reflection of the interface between the individual deposited layers, with a couple of notable exceptions discussed herein. The most relevant exceptions are the peaks near the front surface of the part, i.e., the second and third peaks near
and
seen in
Figure 2a. This occurs due to the mode shape change of the transmission frequency of the transducer near 10 MHz and the natural frequency caused by the repeated layers that drive the frequency toward 6 MHz in the present study. This mode shape shift causes peaks in the reflected acoustic waveform that do not necessarily correspond to an interface between layers. As such, peaks closer than the known layer height were discarded in the present analysis but will be noted in the report. In practice, any peaks that were closer than one-half of the expected peak-to-peak separation from the designed raster height of 0.35 mm were removed. This yields an array of time values
for the
layer interfaces and the back wall where
.
Next, a spatial C-scan was defined for each of the time values
as
where the parameter
was a function of the interface time value
. It was found that using
was ineffective as both the
and the
layer reflections were in the reflected signal simultaneously. Selecting the parameter
as
where
ns, which was appropriate for analyzing the
th layer in this work. In general, the parameter
in Equation (4) was selected to capture as much of the acoustic energy of the reflections from the
th layer as possible without including signal transmission from a previous and/or subsequent layer reflection. For the work herein,
was found to be sufficient for the analysis, but additional work could be performed to optimize this parameter. This approach allows for adjusting
in each layer, as not all layers have an equal acoustic width due to the mode conversions of the waveform in the initial signal reflections. A representative example of the spatial C-scan
is shown in
Figure 3a for the third layer of a scan of part A made from PCTG, a designed 10 degree orientation state.
Next, a two-dimensional Fourier transform was used to automate of the analysis of the raster orientation. The two-dimensional Fourier transform is defined as
where
is the complex number
. The two-dimensional Fourier transform yielded a signal
that was originally in the spatial domain
and cast it in the spatial frequency space
. The interpretation of the spatial frequency is that the values for
correspond to the periodicity of features within a two-dimensional space. The specific interest in the present study is the rastered depositions. For example, the individual rows of rasters of the third layer of part A_01 can be observed in
Figure 3a. The angle in the
plane of
corresponds to the angle at which the rasters are orientated, whereas the magnitude
of a given peak corresponds to the spatial frequency of a periodic feature of the spatial C-scan,
. To aid in the automatic feature extraction, a simple band-pass filter in the frequency space was utilized. This was performed by taking the as-designed deposition width of 0.8 mm and removing spatial frequencies from
in the Fourier domain
. This is shown in
Figure 3b, where it was found that a band of
to
was sufficient in the present study, but this band could be further optimized in future studies. The results of the transform
with the bandpass filter imposed for the third layer of part A made from PCTG are shown in
Figure 3b. The peak of the signal at 8 degrees is shown, which is identical to the visually determined alignment state in
Figure 3a in the spatial domain.
4. Results and Discussion
The first investigation presented here is of the PCTG part A, with the orientation state defined in
Table 1. Using the approach outlined in the previous section for the automated raster orientation extraction, the extracted orientation state is presented for the first 10 of the 18 layers in
Table 3. Two different scan results are exhibited, the first with a 10 MHz spherically focused transducer and the second with a 15 MHz spherically focused transducer, both with a nominal 38 mm focal length. Observe, in comparison with
Table 1, that the orientation for each layer is consistent with a typical error of 0 degrees or 1 degree for each of the captured layers. Analysis after the 10th layer was not performed as the reflection wave signal-to-noise ratio was insufficient for analysis, causing significant errors in the analysis due to signal attenuation and scatter from the previous layers. It is worth noting that the scan with the 10 MHz transducer yields the 10th layer, whereas the results from the 15 MHz transducer could not penetrate the 10th layer with an acceptable signal-to-noise ratio.
Several numbers in
Table 3 have an asterisk (*). This is used to indicate where a layer was ignored, as discussed in the methodology section, due to peaks being too close in time due to the mode shift caused near the front wall. Based on the results from
Table 3, along with other in-house studies, the 10 MHz transducer was selected for all the remaining analyses.
The scanning and analysis process was repeated for all three sample types, A, B, and C from
Table 1, for each of the three material systems using the 10 MHz transducer for scanning. To assess the accuracy of the automated raster orientation algorithm from
Section 3, the error of the nth layer is defined as
where the error will be in units of degrees. A relative error was not used in the current study as the designed orientation ranges from 0 degrees to 180 degrees. The error is plotted in
Figure 4 for the type A parts of each of the three material types. Notice that for the first 9 or 10 layers, the error was 0, 1, or 2 degrees for the unfilled polymers as well as the carbon fiber-filled polymer. For the unfilled PCTG polymer and the fiber-filled PET polymer after the 10th layer the orientation state cannot be identified due to a poor signal-to-noise ratio. Conversely, for the engineered polymer HTN, the orientation state can be identified for 17 of the 18 layers in sample type A. Notice that the error in all cases is 2 degrees or less, with the majority of the automated layer orientation extraction yielding an error of 1 degree or 0 degrees.
The process was continued for both part types B and C, and the results are shown in
Figure 5. As with part type A, the error was 0, 1, or 2 degrees. Similar to part type A, layers up to the 9th or 10th layer can be identified for all three material systems, but more layers can be identified for the HTN samples. Unlike part type A, the algorithm failed to identify the second layer in the HTN and PCTG samples for both the type B and C parts. Otherwise, the algorithm was successful in identifying the remaining layers up to the 9th layer for the PCTG and the 14th layer for the HTN. Unlike the type A part with HTN, the analysis of the HTN type B and C samples was successful to only the 14th layer. It was observed that with some adjustments of the various parameters, such as δ in Equation (5) or the relative size of
in Equation (4), various layers could be identified. The optimal setting of these parameters has been left for a future study. It is interesting to note that the accuracy was consistent for the first 9 or 10 layers for each of the material systems, but for the engineered polymer without fiber fill, the signal-to-noise ratio was sufficiently deeper into the part, allowing for the analysis up to the 14th layer (type B and C) and the 17th layer (type A). This additional penetration is likely caused by the highly elastic nature of the viscoelastic HTN material, relative to PCTG, at room temperature, allowing for less attenuation of the signal. The PET-CF sample, with the carbon fiber, will tend to cause considerable scatter; thus, it is not surprising that the penetration of the acoustic signal would be diminished for the fiber-filled system.