1 Introduction

Additive manufacturing is a unique production process capable of fabricating customized objects without any structural limitations. The layer-by-layer paradigm rapidly gained popularity due to the non-wastage of materials unlike in the subtractive manufacturing process. 3D printing is mainly categorized into seven types based on the principle of formation of each layer of the target specimen [1,2,3,4]. The classification of 3D printing processes is described in Fig. 1. FFF is the largely used additive manufacturing process due to its simplicity, low cost, automated process, and no tooling advantages. FFF is based on thermoplastic-based material extrusion methodology. Application-specific filaments are available ranging from biodegradable PLA to strong metal and fiber-reinforced filaments [5,6,7,8]. This technology gained attention in many sectors such as medical, aerospace, architecture, fashion, consumer goods, education, electronics, etc. Artificial human organs, sockets, scaffold manufacturing for cells generation, patient-specific implants, drug transfer equipment, conductive components for sensing, electromagnetic interference protectors, rapid tooling, fire preventive filaments in aerospace, 4D printing, buildings and bridges, high strength to weight ratio automotive parts, microfluidic instruments, customized jewellery, etc. are a few recent applications of FFF [9,10,11,12,13,14,15,16].

Fig. 1
figure 1

3D printing processes

Mechanical strength and surface quality of FFF are low when compared to injection molding, blow molding, etc. The anisotropic behavior of the end components is another limitation [17]. The stress-induced in the components due to the hot extrusion of a thermoplastic layer onto a previously formed cool layer affects its mechanical strength [18, 19]. The layer-upon-layer generation to form the final geometry causes stair-casing surface quality problems [20]. Proper pre-processing and post-processing techniques can overcome the above-mentioned drawbacks. Pre-processing techniques include process parameter selection and adaptive slicing. Post-processing methods are categorized as mechanical, chemical, and thermal processes. Mechanical techniques include sand blasting, barrel finishing, sanding, CNC machining, etc. Vapor smoothing, dipping, electroplating, etc. fall under chemical processes [21,22,23,24]. Heat treatment methods for both surface and mechanical strength improvement had been studied in the past. Thermal annealing and normalizing processes [25] were found effective in the enhancement of mechanical properties. Process parameters and thermal annealing optimization are the selected methods for the analysis of its influence on ultimate tensile strength.

Zaldivar et al. [26] analyzed the influences of build direction on the tensile strength of ULTEM 9085 tensile specimens and obtained 46–85% strength of the injection molding process. The fibers in the loading direction improved the mechanical strength of dog bone samples. Perez et al. [27] analyzed the influence of various controllable factors on the surface characteristics of fused filament fabricated PLA samples. They demonstrated that the surface roughness reduced with a decrease in layer height and did not affect extruder temperature. The accuracy of parts and their dependence on the process variables were studied by Nath et al. [28]. Nozzle temperature of 375 °C produced the highest flexural strength for poly-ether-ether-ketone models. Reduction in layer height and higher infill percentage increased the mechanical strength. Hongbin Li et al. [29] showed that layer height is the most crucial variable influencing the tensile strength of the PLA samples. Therefore, the choice of optimum process parameters is required for attaining the highest possible mechanical properties.

Radoslaw et al. [30] showed that the flexural strength increases by 17% when PLA samples are annealed at 85 °C for 70 min. The degree of crystallinity also increased due to thermal annealing. Dong et al. [31] studied annealing effects on PLA composites and published that annealing of PLA-g-CNF at 70 °C doubles the storage modulus and the flexural modulus increase by approximately 152 times. Carbon fiber reinforced ASTM D638 Type-V PLA and normal PLA samples were tested for tensile strength and elastic modulus by Marcus Invy et al. [32]. Crystallinity increased by a maximum of 30% such that an increase in temperature resulted in higher crystallinity. Elastic modulus was higher for 15% reinforced PLA compared to that of normal PLA. Annealing at 85 °C for 2 h resulted in a slight enhancement of ultimate tensile strength. Sunil et al. [33] experimented with the influences of annealing on PETG, PETG-CF, PLA, and PLA-CF samples. PETG-CF showed a remarkable increase in tensile strength after annealing at 120 °C for 4–8 h. PLA increased its tensile strength by 17% and the ultimate tensile strength of PLA-CF became twice of unannealed samples. Rhugdhrivya et al. [34] demonstrated an increase of 89% for acrylonitrile butadiene styrene dog bone samples after annealing at 160 °C. Wootthikanokhan et al. [35] experimented with the influence of annealing at 100 °C for 60 min on three PLA composites having Cloisite30B, kenaf fiber, and h-BN as additives. Maximum heat deflection temperatures of 128 °C were obtained for kenaf fiber but decreased ultimate tensile strength. Cloisite30B and h-BN additives improved tensile strength slightly. Annealing effects on poly-ether-ether-ketone were studied by Anouar Magri et al. [36].

All of this research shows that the thermal annealing post-processing treatment influences the quality of components manufactured employing FFF, regardless of the filament material. The majority of the existing literature supports the improvement of mechanical characteristics during the heat treatment process. The objective of this study is to analyze the effects of process parameters on the mechanical strength of PLA and 20% PLA-CF filaments. The impact of annealing temperature and duration on the ultimate tensile strength is also studied, such that improved annealing conditions for mechanical property enrichment, if any, might be advantageous to the 3D printing sector. This work is innovative due to the extensive optimization analysis of the thermal annealing parameters on the strength enhancement of PLA and PLA-CF.

2 Materials and methods

Raise3D Premium PLA and SUNLU PLA Carbon fiber were used as the thermoplastic filament for the FFF process. The filament diameter was 1.75 mm. PLA is a bio-degradable material and has many other advantages such as being simple to work, reliable, and strong, making it the most used 3D printer filament. The addition of carbon fiber in PLA helps in the improvement of rigidity and strength and reduces weight. Carbon fiber in the composite filament was 20%. Raise3D pro2 machine was used for making tensile specimens for testing. It had a build volume of 305 × 305 × 300 mm with features such as accurate positioning, high repeatability, and reliability. The x, y, and z-axis step sizes were only 0.78125 microns. Dog bone tensile samples were modeled in AutoCAD 2021 version 24.0. The dimensions are represented in Fig. 2. ASTM D638 Type IV was the selected standard for tensile testing.

Fig. 2
figure 2

ASTM D638 Type IV tensile testing specimen

The selected process variables and their values for PLA and PLA-CF are represented in Tables 1 and 2 respectively. Tensile strength testing experiments are conducted based on the design of experiments generated by Taguchi analysis in Minitab 2019 software. L27 orthogonal array is the available design for the 5 factors 3 levels model. Optimization of process parameters and their order of influence on ultimate tensile strength is obtained using the Taguchi method. Slicing software used for the Raise3D pro2 machine was ideaMaker 4.1.1 which helped to create the g-codes for the machine based on the experimental design. The infill design selected for printing the tensile samples is highlighted in Fig. 3. Ultimate tensile strength testing was done on Shimadzu AG-X plus (10 kN) UTM. 3D printing and tensile testing processes are shown in Fig. 4.

Table 1 Selected process parameters of PLA
Table 2 Selected process parameters of PLA-CF
Fig. 3
figure 3

a Gyroid infill pattern at 30% infill volume, b triangle infill pattern at 60% infill volume, and c grid infill pattern at 90% infill volume

Fig. 4
figure 4

a Ultimate tensile strength testing on Shimadzu AG-X plus, b FFF of PLA tensile samples, and c FFF of PLA-CF tensile samples

Thermal annealing is the method of heating a specimen to a predetermined temperature, holding it at that temperature for a specified amount of time, then gradually cooling it down to room temperature. An annealing oven manufactured by Labline with a temperature range of 50–300 °C was utilized for the heat treatment of tensile specimens. The benefits of annealing are dependent on mainly two factors, temperature and time. Annealing conditions were chosen and their range is shown in Table 3. Annealing temperature should be selected in such a way that it is above the Tg and below the melting point of the selected material. The Tg value for PLA is around 55–60 °C, above which the molecular chain exhibit movement and displays a rubbery state [37]. Changes in crystallinity occur in amorphous and semi-crystalline materials above Tg.

Table 3 Selected heat treatment conditions

Jeol JSM 6390 electron microscope was utilized to obtain the surface morphology of additively manufactured components before and after annealing. The transverse cross-sectional SEM was taken for the water jet cut surface. JSM 6390 had the capability of × 300,000 magnification with 3 nm resolution. A thin 10 mm glass slide was placed on sample stubs with carbon tape and gold was coated utilizing JFC 1600. This ion bombarding system coats micro specimens with gold rapidly and efficiently, improving surface visibility. The SEM tests were carried out using a 20 kV accelerating voltage and a magnification of 250 times. Bruker D8 advanced X-ray diffraction machine was employed to generate the diffraction pattern of both thermoplastics. Scanning ranges from 3 to 80° was used to obtain the intensity counts to analyze the crystallinity behavior of the material. Microstructural characterization was performed to analyze the effects of annealing on the samples. An elaborated methodology of this study is presented in Fig. 5.

Fig. 5
figure 5

Experimental Methodology

3 Results and discussion

The next sections discuss a thorough analysis of the impact of process factors and heat treatment on the ultimate tensile strength of PLA and PLA-CF.

3.1 Influence of process parameters on the ultimate tensile strength of PLA and PLA-CF

The ultimate tensile strength of PLA models based on ASTM D638 Type IV at the selected process parameters is given in Table 4. The relationship between the process variables infill percentage (ρ), layer height (h), extruder temperature (T), print velocity (V), and response parameter ultimate tensile strength (σu) is shown in Eqs. 1, 2, and 3.

Table 4 Ultimate tensile strength of PLA

For triangle infill patterns,

$$ \sigma_{u,tr} = 15.1172 + 0.0875\rho - 11.2667h + 0.0486T - 0.0789V $$
(1)

For grid infill patterns,

$$ \sigma_{u,gr} = 14.7817 + 0.0875\rho - 11.2667h + 0.0486T - 0.0789V $$
(2)

For gyroid infill patterns,

$$ \sigma_{u,gy} = 16.2061 + 0.0875\rho - 11.2667h + 0.0486T - 0.0789V $$
(3)

The R2 value of the regression equations for PLA is obtained as 85.57%. The ultimate tensile strength of 20% PLA-CF models based on ASTM D638 Type IV at the selected process parameters is shown in Table 5. The relationship between the selected process parameters and the response variable ultimate tensile strength for PLA-CF is shown in Eqs. 4, 5, and 6.

Table 5 Ultimate tensile strength of PLA-CF [38]

For triangle infill patterns,

$$ \sigma_{u,tr} = 25.6311 + 0.0736\rho - 9.2726h + 0.0288T - 0.0424V $$
(4)

For grid infill patterns,

$$ \sigma_{u,gr} = 25.9419 + 0.0736\rho - 9.2726h + 0.0288T - 0.0424V $$
(5)

For gyroid infill patterns,

$$ \sigma_{u,gy} = 26.5057 + 0.0736\rho - 9.2726h + 0.0288T - 0.0424V $$
(6)

The R2 value of the regression equations for PLA-CF is obtained as 91.81%. The main effects plot for means and SN ratios of PLA and PLA-CF with respect to the process parameters are shown in Figs. 6 and 7 respectively. The analysis of variance and response table for SN ratios of PLA are shown in Tables 6 and 7 respectively. Tables 8 and 9 show the analysis of variance and response table for SN ratios of PLA-CF.

Fig. 6
figure 6

Main effects plot for means of a PLA and, b PLA-CF

Fig. 7
figure 7

Main effects plot for SN ratios of a PLA and, b PLA-CF

Table 6 Analysis of variance for PLA samples
Table 7 Response table for SN ratios of PLA samples
Table 8 Analysis of variance for PLA-CF samples
Table 9 Response table for SN ratios of PLA-CF samples
Table 10 Mechanical strength of PLA and PLA-CF after thermal annealing
Fig. 8
figure 8

Comparative plots of ultimate tensile strength of PLA and PLA-CF

Infill volume, printing speed, pattern, layer height, and extruder temperature have the most influence on the ultimate tensile strength of PLA. The ranking order of the impact of process variables on the tensile strength of PLA-CF is infill volume, printing speed, layer height, pattern, and extruder temperature. As the material percentage increases, the mechanical strength of printed components increases significantly. The volume of infill for each specimen is the most crucial parameter influencing ultimate tensile strength. Layer height and print speed are inversely proportional to ultimate tensile strength. As the thickness of each layer rises, the possibility of voids creation becomes dominant and thereby reduces tensile strength. Low printing velocity helps in the successful completion of the printing of complex geometries. As printing speed increases, vibrations occur and interlayer adhesion weakens affecting its mechanical strength. The gyroid pattern produced maximum strength for both materials. These patterns were able to produce higher strength in lower infill density specimens too. The curvy pattern is thus a possible solution for high strength-to-weight ratio applications. Nozzle temperature had the least influence on the ultimate tensile strength. From the plots, it is clear that the increase in extruder temperature slightly improved the strength which might be due to the proper melting of thermoplastics. The highest tensile strength of 31.11 MPa was achieved for PLA tensile model at the optimized process parameters printing conditions. PLA-CF showed an ultimate tensile strength of 37.27 MPa at the optimized printing parameters. PLA-CF showcased higher strength than normal PLA tensile specimens.

3.2 Impact of heat treatment parameters on the ultimate tensile strength of PLA and PLA-CF

A further study was made to understand the influences of annealing on the ultimate tensile strength of PLA and PLA-CF. The importance of thermal annealing for strength enhancement had been researched in the past [39, 40]. This work demonstrates detailed analysis of thermal annealing conditions to optimize their level to maximize the tensile strength. The significance of thermal annealing in FFF is that the process itself is based on the material extrusion at high temperatures and rapid cooling which will eventually create stress and reduce crystallinity within the samples. Ultimate tensile strength values of PLA and PLA-CF after the heat treatment process at temperatures of 65, 95, 125, and 155 °C at different durations of 30, 60, 120, and 240 min are shown in Table 10.

The annealing temperatures were chosen with the materials’ glass transition and melting temperatures in reference. The Tg of PLA lies around 60 °C. Annealing above glass transition results in re-arrangement of molecular chains and improvement of crystallinity. Highest tensile strength of 38.27 MPa was attained for PLA dog bone samples after annealing at 95 °C for 1 h duration. Highest tensile strength of 42.49 MPa was obtained for PLA-CF tensile models after annealing at 95 °C for 2 h. A large duration time did not significantly improve the mechanical strength of both specimens. Annealing temperatures above cold crystallization showed no improvement in tensile strength. The cold crystallization point of PLA lies around 110–115 °C. Degradation of polymer chains at elevated temperatures for a longer duration resulted in lower mechanical strength of thermoplastics. The impact of annealing on PLA tensile models exhibited an improvement of 23.02% whereas PLA-CF displayed an increase of 14.01% for the ultimate tensile strength values. Annealing effects were studied on the fully solid tensile specimen and the results are represented in Fig. 8.

3.3 Influence of annealing on crystallinity and microstructures of PLA and PLA-CF

XRD tests were performed on annealed and non-annealed PLA and PLA-CF to study the impacts of heat treatment on the specimens. Figure 8 demonstrates the diffraction patterns obtained for both thermoplastics with the scanning ranges from 3 to 80°. Both PLA and PLA-CF behaved as an amorphous materials without heat treatment. Crystallinity peaks were found on thermally annealed 3D printed samples. Maximum intensity peak was observed at a 2θ of 16.772°. PLA displayed a crystallinity percentage of only 3.91% whereas annealing of PLA at 95 °C for 1 h duration increased the crystallinity index to 28.7%. More crystalline planes were formed after the optimal heat treatment. The crystallinity index of PLA-CF increased from 5.93 to 30.86% after the heat treatment at 95 °C for 2 h duration. The non-annealed samples had a large amorphous region without crystalline peaks. This could be a reason for the strength enhancement of thermoplastic PLA and PLA-CF at optimum annealing conditions. The XRD plots are shown in Fig. 9.

SEM imaging was also conducted on these samples to study the surface morphology. Both transverse and longitudinal sections were examined and the micrographs are given in Figs. 10 and 11 respectively. Micrographs showed improvement in the merging of layers and this interlayer diffusion could be a reason for the strength improvement after the annealing process. Although the outer surface exposed to direct temperature had flaky or blistery nature, the interlayer and raster bonding was found to be strong. SEM imaging with 250 times magnification was utilized for studying the surface patterns. The increase in volume on account of the larger density of crystalline area could be observed from the micro-analysis. These characterization techniques strengthened the authenticity of the experimental data on the ultimate tensile strength of fused filament fabricated thermoplastics.

4 Conclusions

The impact of parametric analysis and thermal annealing on the ultimate tensile strength and microstructure of PLA and PLA-CF were studied. Proper choice of process parameters aids in improving the tensile properties of FFF components. Process parameters were ranked according to their impact on the response variable in the order of infill volume, print velocity, pattern, layer height, and extruder temperature. The highest tensile strength was obtained for maximum infill percentage where the amount of material significantly influences strength values. The gyroid infill pattern showed maximum tensile strength for both PLA and PLA-CF as the wavy pattern helps in building strong interlayer bonds. PLA and PLA-CF dog bone specimens produced 31.11 and 37.27 MPa tensile strength respectively at the optimized processing conditions. Annealing of PLA samples at 95 °C for 1 h duration revealed a maximum ultimate tensile strength of 38.27 MPa, yielding a 23.02% improvement in strength compared to the normal PLA. Annealing of PLA-CF samples at 95 °C for 2 h duration showed a maximum ultimate tensile strength of 42.49 MPa, yielding a 14.01% improvement in strength compared to the normal PLA-CF. Ultimate tensile strength showed improvement at the selected annealing temperature between Tg and cold crystallization temperature. X-ray diffraction results proved the growth in the crystallinity percentage after the heat treatment process and SEM micrographs showed good diffusion and interlayer bonding after thermal annealing post-processing.

Fig. 9
figure 9

XRD results of fused filament fabricated a PLA, and b PLA-CF

Fig. 10
figure 10

SEM micrographs of the transverse cross-section of a Non-annealed PLA, b PLA annealed at 95 °C for 1 h, c Non-annealed PLA-CF, and d PLA-CF annealed at 95 °C for 2 h

Fig. 11
figure 11

SEM micrographs of a longitudinal cross-section of a Non-annealed PLA, b PLA annealed at 95 °C for 1 h, c Non-annealed PLA-CF, and d PLA-CF annealed at 95 °C for 2 h

Process parameter optimization and thermal annealing heat treatment process could definitely enhance the mechanical strength of fused filament fabricated thermoplastics. This study involved the detailed analysis of annealing conditions on the ultimate tensile strength of PLA as well as composite PLA. The selection of optimized parameters and annealing conditions strengthened the 3D printed models. The distortion effects on the specimen due to thermal annealing can be considered a future scope of this study. The applications which demand a high strength-to-weight ratio can obviously adapt these processing methods. The thermal stability of material extrusion-based additive manufacturing might be enhanced by implementing a thermal annealing process. The growth of 3D printing and its applications can be advanced by employing appropriate heat treatment post-processing methodology.