Next Article in Journal
Next-Generation Nafion Membranes: Synergistic Enhancement of Electrochemical Performance and Thermomechanical Stability with Sulfonated Siliceous Layered Material (sSLM)
Previous Article in Journal
Molecular Simulations of Interface-Driven Crosslinked Network Formation and Mechanical Response in Composite Propellants
Previous Article in Special Issue
Optimization of UV-Curable Polyurethane Acrylate Coatings with Hexagonal Boron Nitride (hBN) for Improved Mechanical and Adhesive Properties
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Modeling and Compensation Methods for Trajectory Errors in Continuous Fiber-Reinforced Thermoplastic Composites Using 3D Printing

1
School of Mechanical Engineering, University of Science and Technology Beijing, Beijing 100083, China
2
School of Mechanical Engineering, Jiangsu University of Science and Technology, Zhenjiang 212000, China
3
School of Aerospace Engineering and Applied Mechanics, Tongji University, Shanghai 200092, China
*
Authors to whom correspondence should be addressed.
Polymers 2025, 17(13), 1865; https://doi.org/10.3390/polym17131865
Submission received: 31 May 2025 / Revised: 29 June 2025 / Accepted: 1 July 2025 / Published: 3 July 2025

Abstract

Defects arising from the 3D printing process of continuous fiber-reinforced thermoplastic composites primarily hinder their overall performance. These defects particularly include twisting, folding, and breakage of the fiber bundle, which are induced by printing trajectory errors. This study presents a follow-up theory assumption to address such issues, elucidates the formation mechanism of printing trajectory errors, and examines the impact of key geometric parameters—trace curvature, nozzle diameter, and fiber bundle diameter—on these errors. An error model for printing trajectory is established, accompanied by the proposal of a trajectory error compensation method premised on maximum printable curvature. The presented case study uses CCFRF/PA as an exemplar; here, the printing layer height is 0.1~0.3 mm, the fiber bundle radius is 0.2 mm, and the printing speed is 600 mm/min. The maximum printing curvature, gauged by the printing trajectory of a clothoid, is found to be 0.416 mm−1. Experimental results demonstrate that the error model provides accurate predictions of the printed trajectory error, particularly when the printed trajectory forms an obtuse angle. The average prediction deviations for line profile, deviation kurtosis, and deviation area ratio are 36.029%, 47.238%, and 2.045%, respectively. The error compensation effectively mitigates the defects of fiber bundle folding and twisting, while maintaining the printing trajectory error within minimal range. These results indicate that the proposed method substantially enhances the internal defects of 3D printed components and may potentially be applied to other continuous fiber printing types.

1. Introduction

In light of the rapid advancements in high-end equipment, there is an escalating demand for materials and structures that exhibit high performance, lightweight characteristics, integration, and multifunctionality. Traditional composite material molding techniques often fall short of these stringent requirements, particularly when fabricating intricate geometric composite structures. Continuous fiber-reinforced thermoplastic composites via 3D printing (CFRTPCs 3DP), a groundbreaking composite material molding technology, offers a streamlined process with high material utilization [1,2,3]. It eliminates the need for molds and facilitates the integrated molding of complex composite structures. This presents a compelling technical solution for the cost-effective and expedited production of lightweight, high-strength composite material structures [4,5,6,7,8,9,10,11,12].
The current state of CFRTPCs 3DP technology is still in its nascent stage. The strength of printed parts lags significantly behind that of traditional hot-pressed composite parts, with the finished components exhibiting internal defects and insufficient strength [13,14,15,16,17]. This falls short of meeting the mechanical performance requirements of high-end equipment structures. A major issue stems from the multi-source nature and uncertainty of the printing process parameters of continuous fiber prepreg filament (CFPF). This leads to deviations between the actual printing trajectory of CFPF and the designed trajectory during the printing process. These discrepancies are particularly pronounced when printing the bending part, where they can result in distortion, folding, or even fracture of the fiber bundle, as shown in Figure 1. These defects seriously degrade product quality and impede the application and wider adoption of continuous fiber-reinforced composite materials [18].
A multitude of studies indicate that the current CFRTPCs 3DP technology faces significant challenges when fabricating continuous fiber-reinforced composites with intricate shapes and good mechanical properties. The primary determinant affecting the strength, geometric precision, and accuracy of printed components is the printing trajectory [19]. Shiratori et al. [20] examined the impact of printing trajectory process parameters on the performance and defects of printed components. They found that when printing bending trajectories with CFPF, the fiber bundle may twist, fold, or even break. As the radius of the CFPF increases, a larger curvature radius of the fiber trajectory in the bending section is required, leading to greater trajectory errors [21]. Wang et al. [22] discovered that as the corner angle decreases, the printing trajectory transitions at the corner along an approximate arc curve, causing the enclosed gap area between the ideal and printed trajectories to expand. This approximate transition arc has a minimum radius, and the curvature radius of the printed trajectory at the corner must exceed this value; otherwise, it cannot be printed. Zhang et al. [23] investigated the misalignment of fibers during the printing of straight trajectories and the correlation between printing parameters and fiber corner radius. Particularly when using CFPF to print curves, fluctuations, twists, and peeling can occur during the CFPF printing process, similar to automatic fiber placement [24], detrimentally affecting the quality of the printed test pieces. Research has demonstrated that as the diameter of the CFPF and the printing thickness increase, the ability to control accuracy and adhesion performance diminishes [25]. During the printing of any trajectory other than a straight line, the actual printing trajectory of CFPF often deviates from the planned trajectory. These discrepancies become more noticeable in regions with greater curvature and larger fiber bundles. Shang et al. [26] discovered that the resin material did not solidify promptly during the printing process. Consequently, continuous fibers were dragged a certain distance at the peak and valley, resulting in the final printed sine path’s amplitude being less than the design value. Therefore, the difference between the actual amplitude and the design amplitude must be factored into calculations. Kim et al. [27] employed finite element model analysis in the laying of CFPF to minimize defects caused by fiber twisting during the turning process. Wang [28] was the first to propose a mathematical model for the formation of CFPF printing trajectory errors. He investigated the intrinsic relationship between CFPF printing nozzle diameter, minimum curvature radius, trajectory corner angle, and trajectory error through numerical simulation. This work optimized the CFPF printing trajectory and reduced printing trajectory errors. However, despite the detailed exploration of the trajectory error formation mechanism and the examination of their patterns, Wang did not produce a comprehensive theoretical model. Consequently, the scope for compensating printing trajectory errors remains limited. Hao et al. [29] used linear, polynomial spline curves, and flow field functions to parameterize the traction trajectory directly for describing curved fiber trajectories. Niu et al. [30] proposed a method to control the curvature of the reference trajectory via a local curvature correction algorithm. This significantly reduced gap errors such as bending and wrinkling between adjacent trajectories, decreasing the gap error rate from 45.8% to 4.2%. While this trajectory planning approach significantly reduces the gap rate, it overlooks the underlying mechanisms causing trajectory errors. Consequently, it is challenging to improve internal defects. Karimi et al. [31] provide a comprehensive examination of two main FDM mechanisms: in situ fusion and ex situ prepreg, supplementing their discussion with relevant examples using various reinforcing elements. Moreover, they also explore several less commonly used mechanisms. Each mechanism presents its unique set of advantages and disadvantages, suggesting that further refinements and modifications are necessary to enhance the strength of 3D-printed FDM parts, making them comparable to those manufactured using traditional methods. For example, compaction rollers can be attached to the FDM machine to apply more pressure on the printed layers, thereby filling the voids and gaps and leading to improved mechanical properties. Zhang et al. [32] introduced on the three distinct groups of defects that may occur during the additive manufacturing process. And analysis was conducted to summarize the failure behaviors of CFR3DP and to pinpoint the primary causes of such failures.
In summary, existing research has examined the correlation between printing trajectory process parameters and molding defects. While several scholars have explored fiber trajectory errors in the CFPF printing process to varying extents, a comprehensive analysis of the underlying causes of these trajectory defects and errors remains lacking. Notably, the precise relationship between multi-source parameters (such as process, material, and structural parameters) and trajectory error formation has yet to be thoroughly investigated. Such errors significantly influence the size accuracy and internal defects of printed components and can potentially result in printing failures. Consequently, there is an urgent need for further research into the mechanisms of trajectory error formation in CFRTPCs 3DP, as well as trajectory error modeling and compensation techniques.
This study addresses the aforementioned issues by proposing a follow-up theory assumption which elucidates the formation mechanism of trajectory errors in CFRTPCs 3DP. It examines the impact of key geometric parameters, including trajectory curvature, printing nozzle inner diameter, and CFPF diameter, on these trajectory errors. A model for these errors has been developed, and a compensation method, based on maximum printing curvature, is proposed. Additionally, a technique for measuring the maximum printing curvature, based on the printing trajectory of a clothoid, is introduced. The accuracy of the error model and the feasibility of the compensation method are confirmed through error compensation experiments.

2. Theory and Method

2.1. Assumption of Follow-Up Theory

As illustrated in Figure 2, the CFRTPCs 3DP trajectory planning typically presumes that the CFPF is cylindrical and coaxial with the printing nozzle. However, this assumption deviates from reality as the extrusion speed of the CFPF surpasses the printing speed, causing an excess of the CFPF to accumulate inside the printing nozzle. Furthermore, the outer layer of resin on the CFPF is often scraped off by the printing nozzle, adding to the material buildup within it. To counter the risk of clogging, the printing nozzle’s inner diameter is designed to be larger than that of the CFPF, allowing for free movement of the CFPF at the nozzle outlet. Consequently, the position of the CFPF at this outlet varies from the ideal printing trajectory during the printing process. As a result, the actual printing trajectory is influenced not only by the diameter of the CFPF, the inner diameter of the printing nozzle, the extrusion speed, and the feed speed, but also by the radius of curvature and the bending angle of the ideal printing trajectory.
This study examines the mechanism underlying printing trajectory errors attributed to specific geometric parameters, namely printing trajectory curvature, CFPF diameter, and printing nozzle inner diameter, premised on the following hypotheses:
  • Disregarding the impacts of adhesion, elasticity, and inertia forces of the CFPF;
  • The impact of the motion precision of 3D printing equipment is disregarded.
  • Within the nozzle, the CFPF is passively extruded and subjected to tension.
Given the aforementioned assumptions, and confined by the physical parameters of the nozzle’s arc-shaped inner wall and the printing feed direction, the CFPF invariably makes contact with the nozzle’s inner wall at a point, where they are tangent to each other. The CFPF moves along the normal speed component of the contact point, i.e., the CFPF generates follow-up movement under the nozzle’s traction, as shown in Figure 3.
Currently, the distance at the center between the CFPF and the nozzle equates to the differential in their radii.
O p n O c f ¯ = Δ r = r p n r c f
where r c f represents the radius of the CFPF, r p n denotes the radius of the inner wall of the printing nozzle, and Δ r is the difference in radius between the CFPF and the nozzle. As per the velocity synthesis theorem in kinematics, when the angle between the normal vector at the point of contact between the CFPF and the inner wall of the nozzle aligns with the feed speed v p n of the nozzle at a certain angle β , the relationship can be expressed as:
v p n = v t + v c f = v t e t + v c f e c f
v c f = v p n cos β

2.2. Mechanism of Printed Trajectory Error Formation

As shown in Figure 4, when the ideal printing trajectory is a smooth curve, the CFPF exhibits a lag relative to the ideal trajectory point according to the assumption of follow-up theory. It is tangential to the inner wall of the nozzle with its tangent vector running perpendicular to the tangent vector of the printing trajectory point. Notably, the actual printing trajectory is located on the exterior of the ideal trajectory. The parametric equation of the ideal printing trajectory is as follows:
x O p n = φ p n t y O p n = ω p n t t : t 0 t 1 t 0 t 1
The radius of curvature for the ideal printing trajectory is as follows:
R p n = φ p n 2 t + ω p n 2 t 3 2 φ p n t ω p n t φ p n t ω p n t
The tangent vector of the ideal printing trajectory is as follows:
τ p n = φ p n t ω p n t T
The unit tangent vector of the ideal printing trajectory is as follows:
τ ^ p n = τ p n τ p n
The parametric equation of the actual printing trajectory of CFPF is:
x O c f = φ c f t y O c f = ω c f t t : t 0 t 1 t 0 t 1
According to the assumption of follow-up theory, the actual and ideal printing trajectory points share the same tangent simultaneously, as illustrated in Figure 4:
x O c f y O c f = x O p n y O p n Δ r τ ^ p n
The parameterized equation representing the actual printing trajectory of CFPF is determined as:
x O c f = φ p n t Δ r φ p n t ω p n 2 t + φ p n 2 t y O c f = ω p n t Δ r ω p n t ω p n 2 t + φ p n 2 t
The explicit equations governing the trajectory error model is determined as:
Δ x = Δ r f 2 ( x ) + 1 Δ y = Δ r f ( x ) f 2 ( x ) + 1
where y = f ( x ) is the equation of the ideal printing trajectory.
As depicted in Figure 4, the curvature radius of the actual printing trajectory is:
R c f = R p n 2 + Δ r 2
The discrepancy between the actual and ideal printing trajectory curvature radii is denoted as:
Δ R = R p n 2 + Δ r 2 R p n
By differentiating the aforementioned equation with respect to Δ R , we can deduce that:
Δ R = R p n R p n 2 + Δ r 2 1 0
It is established that Equation (14) is decreasing, implying that an increase in the ideal printing trajectory curvature radius leads to a decrease in the error of the actual printing trajectory. Taking the S-shaped printing trajectory as an example, as shown in Figure 5, it can be seen that:
  • The dragging effect of the nozzle’s inner wall on the CFPF results in a lag at the actual printing point. This subsequently leads to deviations in both the shape and position of the S-shaped printing trajectory.
  • The greater the curvature of the ideal printing trajectory, the greater the printing trajectory error; at the inflection point A where the curvature is zero, the ideal printing trajectory coincides with the actual printing trajectory.
  • As the curvature of the actual printing trajectory decreases, the printed trajectory elongates, and consequently, the envelope area of the printed trajectory expands.

2.3. Modeling the Error in Printing Trajectory

The printed trajectory’s geometric errors are characterized by three metrics: line profile, deviation kurtosis, and deviation area ratio. These metrics are defined as follows:
  • Line profile
In the simply connected region bounded by the actual and ideal printing trajectories, the actual printing trajectory is situated between two envelope lines. These lines encompass a series of circles with radius ς , whose centers align with the ideal printing trajectory. When ς assumes its minimum value, it represents the line profile of the actual printing trajectory.
  • Deviation kurtosis
The ratio of the line profile to the length of the ideal printing trajectory, within the simply connected region bounded by the actual and ideal printing trajectories, is referred to as the deviation kurtosis.
χ = ς L p n × 100 %
where L p n represents the length of the ideal printing trajectory within this simply connected region, χ 0 , + .
  • Deviation area ratio
The deviation area ratio refers to the proportion of the area enclosed by the actual printing trajectory and the ideal printing trajectory, compared to the area enclosed solely by the ideal printing trajectory.
γ = 0 s . t .   S p n = 0 S c f S p n S p n × 100 % s . t .   S p n 0
where S p n represents the area bounded by the ideal printing trajectory, while S c f denotes the area encompassed by the actual printing trajectory, γ 0 , + , as illustrated in Figure 6.

2.4. Compensation for Printing Trajectory Errors

In instances where the printing trajectory embodies a continuous, non-smooth curve, the CFPF exhibits a marked susceptibility to distortion and folding, thereby significantly impacting both the accuracy of the print and the mechanical properties of the resultant parts. To mitigate the errors associated with the printing trajectory, this paper introduces a methodology for fitting the bending angle of said trajectory into a printable maximum curvature arc trajectory.
As illustrated in Figure 7, the slope of the front bending angle side is denoted as k f r o n t = tan θ 0 for the bending angle inflection point C x c , y c on the ideal printing trajectory c 0 . By selecting a point O on the bisector of the bending angle of printing trajectory c and drawing a line perpendicular to AC, we have O A ¯ = 1 k max , where k max represents the maximum curvature that can be printed. In a similar manner, by choosing point B such that OB is perpendicular to BC, we can deduce that:
x A y A = x C y C 1 k max cot α p n 2 cos θ 0 sin θ 0
x B y B = x C y C 1 k max cot α p n 2 cos α p n + θ 0 sin α p n + θ 0
x O y O = x C y C 1 k max cos θ 0 cot α p n 2 + sin θ sin θ 0 cot α p n 2 cos θ 0
where α p n represents the bending angle of the printing trajectory.
As illustrated in Figure 7, an arc is drawn using point A as the origin and point B as the endpoint, based on a radius 1 k max to match the bending angle. The corresponding parametric equation for this fitted arc is:
x f y f = x C y C 1 k max cos θ 0 cot α p n 2 + sin θ 0 cos ϕ sin θ 0 cot α p n 2 cos θ 0 sin ϕ
where ϕ θ 0 π 2 , θ 0 α p n + π 2 . Currently, the arc length of the fitted arc c is as follows:
s c = 1 k max π α p n
The analysis of the geometric error mechanism in the printing trajectory reveals that a significant error in the bending angle of the printing trajectory persists after fitting, due to the gap between the CFPF and the printing nozzle, as shown in Figure 8. Consequently, this paper proposes a compensation for the positional error of the fitted printing trajectory using an inverse kinematics model. This approach yields the actual motion trajectory of the printing nozzle while concurrently compensating for the extrusion speed of the CFPF.
Utilizing Equation (9), the parameter equation for the compensated nozzle motion trajectory can be derived by finding the inverse solution for the fitted printed trajectory c .
x O p n y O p n = x O c f y O c f + Δ r τ ^ p n
τ ^ p n = R θ τ ^ c f
R θ = cos θ sin θ sin θ cos θ = 1 R c f R c f 2 Δ r 2 Δ r Δ r R c f 2 Δ r 2
Upon substituting Equations (23) and (24) into Equation (22), the following is derived:
x O p n y O p n = x O c f y O c f + Δ r k c f R c f 2 Δ r 2 Δ r Δ r R c f 2 Δ r 2 τ ^ c f
where τ ^ c f represents the unit tangent vector of the compensated printing trajectory, τ ^ p n signifies the unit tangent vector of the fitted printing trajectory, R c f and R p n are their corresponding curvature radii, k c f is the curvature of the compensated printing trajectory, and R θ is the rotation transformation matrix from τ ^ c f to τ ^ p n , as depicted in Figure 9.
Subsequently, the interpolation algorithm is utilized to calculate the interpolation points x p n , i , y p n , i of the compensated printing trajectory. These points represent the coordinates of the actual motion trajectory of the nozzle. As illustrated in Figure 10, let us assume that the nozzle is moving at a velocity denoted as v p n , i ; then:
t p n , i = 1 v p n , i x p n , i + 1 x p n , i 2 + y p n , i + 1 y p n , i 2
τ p n , i = x p n , i + 1 x p n , i y p n , i + 1 y p n , i
It can be inferred from Equation (10) that:
x c f , i y c f , i = x p n , i y p n , i Δ r Δ l x p n , i + 1 x p n , i y p n , i + 1 y p n , i
Δ l = x p n , i + 1 x p n , i 2 + y p n , i + 1 y p n , i 2
Subsequently, the compensated extrusion speed of the CFPF is determined by the equation:
v c f , i = 1 t p n , i x c f , i + 1 x c f , i 2 + y c f , i + 1 y c f , i 2
The methodology for compensating printing trajectory errors is illustrated in Figure 11.

3. Results and Analysis

3.1. Printing Devices Materials and Parameters

As illustrated in Figure 12, the Original Prusa MK4S 3D Printer from Prusa Research a.s. was employed for conducting CFPF printing experiments in this study. We designed two independent printing nozzles based on the printer, one of which was used to print CFPF, the other was used to print polymer matrix (PAHT, PLA, ABS, PA, etc.). The diameters of the two printing nozzles are 1.2 mm and 0.4 mm, respectively. Concurrently, to validate the effectiveness of the error compensation model, we employed Matlab R2020a to generate representative trajectories. These were subsequently optimized based on the error compensation model via arc fitting, position compensation, and line interpolation, thereby producing the actual printing trajectory code. The CFPF was pre-prepared prior to printing, and the appropriate nozzle was selected via control command during the actual printing process. This allowed for the separate printing of the matrix and CFPF.
The matrix used in this research is polyamide high temperature (PAHT), which is purchased from the manufacturer FusRock (Suzhou Fosi Luoke New Materials Co., Ltd. Suzhou, China). The continuous fiber-reinforced filament adopted in this study is continuous carbon fiber-reinforced filament (CCFRF), which is also purchased from FusRock. The CFPF utilized in this study is CCFRF/PA, which was prepared using a laboratory-developed device specifically designed for the preparation of CCFRF/PA. Subsequently, the optimal preparation process parameters were determined through rigorous testing. Material parameters and printing parameters are detailed in Table 1 below.

3.2. Maximum Printable Curvature Measurement

This study employs the clothoid printing trajectory to determine the maximum printable curvature. It is observed that the curvature k increases linearly with the arc length s, thus meeting the following condition:
k s = c k s 0 < c k
The variable ck represents the control parameter for the curvature growth rate. Based on the principles of differential geometry, we can deduce the following conclusions:
θ s = 0 s k t d t = 1 2 c k s 2
The variable θ represents the angle between the tangent of the trajectory and the horizontal axis. The clothoid printing trajectory parameter equation can be obtained through Fresnel integration as follows:
x s = 0 s cos θ t d t = 0 s cos c k 2 t 2 d t y s = 0 s sin θ t d t = 0 s sin c k 2 t 2 d t
As shown in Figure 13, this paper designs a clothoid printing trajectory with arc length s e n d and curvature k e n d of its endpoint P e n d . It is posited that the curvature at point P max represents the maximum printable curvature k max when further printing becomes unfeasible. Furthermore, s max denotes the arc length measured from the commencement of printing at point O to point P max , and b is the width of the CFPF after printing.
In order to facilitate accurate measurement and inhibit the folding of CFPF, it is advisable to design the value of s e n d to be as large as feasible. Given the values k e n d = 0.5   mm 1 , s e n d = 100   mm , and c k = 0.005 , the printing trajectory is illustrated in Figure 14a. By employing the print process parameters as described (printing speed 600 mm/min, printing layer height 0.2 mm, printing temperature 270 °C, ambient temperature 25 °C), the actual printing trajectory, illustrated in Figure 14b, can be achieved.From Figure 14b, it is evident that when θ max = 11 2 π , the printing process cannot proceed. This issue arises from the clearance, denoted as Δ r , existing between the nozzle and the CFPF. When the printing curvature is excessively large, the nozzle tends to revolve around the CFPF, failing to drag the latter and thus, unable to print the intended curvature. At this juncture, Equations (31) and (32) informs us that: s = 83.135   mm , k max = 0.416   mm 1 .

3.3. Simulation and Printing Experiments

To investigate the error patterns and characteristics of printed trajectories at varying corner angles, GeoGebra was employed to simulate these trajectories based on a predefined error model ( Δ r = 0.4   mm ). The findings are presented in Figure 15. The simulations show that as the corner angle increases, the line profile decreases monotonically, and the deviation kurtosis first increases and then decreases, while the deviation area ratio first decreases and then increases (Table 2). When the corner angle is 30°, the line profile and the deviation area ratio reach the maximum values of 0.4 mm and 62%, respectively, while the deviation kurtosis has its maximum value of 2.69% when the corner angle is 60°.
To investigate the sensitivity of the compensation method to the corner angle and layer height, trajectories pre- and post-compensation were examined using uniform design experiments (corner angle 30°~150°, layer height 0.1~0.3 mm). The findings are presented in Table 3.
Printing uncompensated trajectory at different corner angles according to the process parameters as described (printing speed 600 mm/min, printing temperature 270 °C, ambient temperature 25 °C, as specified in reference [19]), the results are shown in Figure 16. It is evident that the uncompensated printed trajectory, with a corner of 30°~120°, exhibits significant distortion and folding in the CFPF at the corner. As the angle nears 150°, the distortion and folding effects become less pronounced. However, a wave-like phenomenon emerges, primarily attributed to an excessive layer height (0.3 mm) and insufficient compaction of the CFPF.
The printed trajectory with different corner angles is compensated by an arc with a curvature of k max , and printed with the process parameters as described above, the result is shown in Figure 17. It is evident that the compensated printing trajectory effectively mitigates the risk of printing defects such as twisting and folding. However, there is a corresponding increase in the geometric error, particularly noticeable when the corner angle is small. Furthermore, when the layer height exceeds 0.25 mm, the printing trajectory exhibits a wave-like phenomenon, as depicted in Figure 17b,e. This is attributed to the insufficient compaction of the CFPF. Consequently, it is suggested that the printing layer height be maintained between approximately 0.1 and 0.2 mm for optimal results.
To analyze the accuracy of the prediction model for the printing trajectory error, we define the prediction deviation of printing trajectory error as follows:
δ = E u E p E u × 100 %
where E u is the uncompensated printed trajectory error, and E p is the predicted printed trajectory error. The standard deviation of δ is as follows:
σ = 1 n i = 1 n δ i μ 2
where μ is the mean value of δ , n is the total number of samples, and the calculation results are shown in Table 4.
The data in Table 4 demonstrates that with 30 ° α p n 150 ° , the error prediction deviation is notably high. This is primarily due to an excessive prediction deviation associated with small corner angles. However, when 90 ° α p n 150 ° , the mean prediction deviations for line profile, deviation kurtosis, and deviation area ratio are 36.029%, 47.238%, and 2.045%, respectively. The standard deviations are 3.749%, 1.204%, and 7.674%, while the extreme deviations at 9.176%, 2.875%, and 17.874%. From these results, it is evident that the error model accurately predicts the printing trajectory error for obtuse angle trajectories. Therefore, this model is suitable for forecasting errors in obtuse angle printing trajectories.
Table 3 was consulted to compute the mean, standard deviation, and other pertinent evaluation indices of the printing trajectory error both pre- and post-compensation, the results of which are presented in Table 5.
To assess the correlation between the errors in the printed trajectory (pre- and post-compensation) with respect to the folding angle and layer height, we employ the Pearson correlation coefficient, defined as:
C o r r A , B = C o v A , B V a r A V a r B
where A and B denote two random variables, Cov(A, B) signifies the covariance between A and B, Var(A) represents the variance of A, and Var(B) represents the variance of B.
According to the calculations in Table 3, the correlation coefficients of the printing trajectory error with corner angle before compensation are −0.944, −0.945, and −0.952, while after compensation, they are −0.928, −0.929, and −0.966. The correlation coefficients of the printing trajectory error with layer height before compensation are −0.191, −0.21, and −0.361, whereas after compensation, they are −0.162, −0.149, and −0.391. It is evident that there is a significant negative correlation between the printing trajectory error with corner angle, both pre- and post-compensation, as the correlation coefficients are close to −1. However, the correlation coefficients of the printing trajectory error with layer height, both before and after compensation, are closer to 0, implying a weak correlation. This suggests that the impact of layer height on the printing trajectory error is negligible.
We plotted the change curve of printing trajectory error with corner angle and layer height as the abscissa, as shown in Figure 18. Figure 18a illustrates that the line profile of a compensated printed trajectory becomes larger when the corner angle is an acute angle. The smaller the corner angle, the more significant the increase in the line profile after compensation. For instance, at a corner angle of 30°, the line profile expands by approximately 2.24 mm. However, if the corner angle is an obtuse angle, the change in the line profile post-compensation is so minor that it can be disregarded. Figure 18b,c illustrate that the deviation kurtosis and deviation area ratio of the printed trajectory remains largely consistent before and after compensation. After compensation, the mean deviation area ratio exhibited a reduction from 47.4% to 31.898%, while the mean deviation kurtosis rose from 6.9% to 7.56%. Additionally, all standard deviations experienced marginal decreases.
In summary, this error compensation technique effectively mitigates issues related to twisting and folding while maintaining high printing accuracy.

4. Conclusions

This paper addresses defects such as fiber bundle twisting, folding, and breakage caused by printing trajectory errors in CFRTPCs 3DP. A follow-up theory assumption is proposed to elucidate the formation mechanism of these printing trajectory errors from a theoretical standpoint. It also examines the impact of key geometric parameters, including trajectory curvature, printing nozzle inner diameter, and fiber bundle diameter, on these printing trajectory errors. Moreover, a model for printing trajectory error is established, and a trajectory error compensation method based on maximum printable curvature is proposed. The efficacy of this method is confirmed through error compensation experiments.
The conclusions drawn from the practical printing test and subsequent data analysis are as follows:
  • The error model provides accurate predictions of the printed trajectory error, particularly when the printed trajectory forms an obtuse angle. The average prediction deviations for line profile, deviation kurtosis, and deviation area ratio are 36.029%, 47.238%, and 2.045%, respectively.
  • The layer height demonstrates a low sensitivity to printing trajectory errors. However, the emergence of wave-shaped defects may be observed when the layer height exceeds 0.25 mm. Consequently, it is suggested that the optimal layer height be maintained within the range of 0.1 to 0.2 mm.
  • The correlation between the printed trajectory errors observed before and after compensation and the corner angle is markedly negative. A sharper corner in the printed trajectory corresponds to a larger trajectory error.
  • After compensation, both fiber bundle twisting and folding defects were effectively mitigated. The deviation area ratio decreased by an average of 15.502%, while there was an observed increase in the line profile by an average of 0.824 mm. Additionally, the deviation kurtosis experienced an average increase of 0.66%.
In summary, this trajectory error compensation method effectively mitigates the issues of twisting and folding during printing, while maintaining minimal impact on printing accuracy. These findings suggest that this method significantly improves the defects associated with the CFRTPCs 3DP printing process and could potentially be applied to other continuous fiber printing types.

Author Contributions

Conceptualization, M.L. and W.L.; methodology, M.L. and Y.W.; software, S.Q.; validation, S.L. and S.Q.; formal analysis, X.Y.; investigation, S.L.; data curation, S.L.; writing—original draft preparation, M.L.; writing—review and editing, W.L. and Y.W.; project administration, M.L.; funding acquisition, W.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by National Natural Science Foundation of China, grant number 52475049.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding authors.

Acknowledgments

Thanks to each of the authors for their contributions to the manuscript and for the support of the funding project.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Parveez, B.; Kittur, M.I.; Badruddin, I.A.; Kamangar, S.; Hussien, M.; Umarfarooq, M.A. Scientific advancements in composite materials for aircraft applications: A review. Polymers 2022, 14, 5007. [Google Scholar] [CrossRef] [PubMed]
  2. Zhang, J.; Lin, G.; Vaidya, U.; Wang, H. Past, present and future prospective of global carbon fiber composite developments and applications. Compos. Part B Eng. 2023, 250, 110463. [Google Scholar]
  3. Trzepieciński, T.; Batu, T.; Kibrete, F.; Lemu, H.G. Application of composite materials for energy generation devices. J. Compos. Sci. 2023, 7, 55. [Google Scholar]
  4. Van de Werken, N.; Tekinalp, H.; Khanbolouki, P.; Ozcan, S.; Williams, A.; Tehrani, M. Additively Manufactured Carbon Fiber-Reinforced Composites: State of the Art and Perspective. Addit. Manuf. 2019, 31, 100962. [Google Scholar] [CrossRef]
  5. Goh, G.D.; Yap, Y.L.; Agarwala, S.; Yeong, W.Y. Recent progress in additive manufacturing of fiber reinforced polymer composite. Adv. Mater. Technol. 2019, 4, 1800271. [Google Scholar]
  6. Dong, K.; Ke, H.; Panahi-Sarmad, M.; Yang, T.; Huang, X.; Xiao, X. Mechanical properties and shape memory effect of 4D printed cellular structure composite with a novel continuous fiber-reinforced printing path. Mater. Des. 2021, 198, 109303. [Google Scholar]
  7. Lincoln, R.L.; Scarpa, F.; Ting, V.P.; Trask, R.S. Multifunctional composites: A metamaterial perspective. Multifunct. Mater. 2019, 2, 043001. [Google Scholar]
  8. Frketic, J.; Dickens, T.; Ramakrishnan, S. Automated manufacturing and processing of fiber-reinforced polymer (FRP) composites: An additive review of contemporary and modern techniques for advanced materials manufacturing. Addit. Manuf. 2017, 14, 69–86. [Google Scholar]
  9. Cheng, Y.; Li, J.; Qian, X.; Rudykh, S. 3D printed recoverable honeycomb composites reinforced by continuous carbon fibers. Compos. Struct. 2021, 268, 113974. [Google Scholar]
  10. Fidan, I.; Imeri, A.; Gupta, A.; Hasanov, S.; Nasirov, A.; Elliott, A.; Alifui-Segbaya, F.; Nanami, N. The trends and challenges of fiber reinforced additive manufacturing. Int. J. Adv. Manuf. Technol. 2019, 102, 1801–1818. [Google Scholar]
  11. Matsuzaki, R.; Ueda, M.; Namiki, M.; Jeong, T.K.; Asahara, H.; Horiguchi, K.; Nakamura, T.; Todoroki, A.; Hirano, Y. Three-dimensional printing of continuous-fiber composites by in-nozzle impregnation. Sci. Rep. 2016, 6, 23058. [Google Scholar] [CrossRef] [PubMed]
  12. Tian, X.; Liu, T.; Yang, C.; Wang, Q.; Li, D. Interface and performance of 3D printed continuous carbon fiber reinforced PLA composites. Compos. Part A Appl. Sci. Manuf. 2016, 88, 198–205. [Google Scholar] [CrossRef]
  13. Dickson, A.N.; Barry, J.N.; McDonnell, K.A.; Dowling, D.P. Fabrication of continuous carbon, glass and Kevlar fibre reinforced polymer composites using additive manufacturing. Addit. Manuf. 2017, 16, 146–152. [Google Scholar] [CrossRef]
  14. Araya-Calvo, M.; López-Gómez, I.; Chamberlain-Simon, N.; León-Salazar, J.L.; Guillén-Girón, T.; Corrales-Cordero, J.S.; Sánchez-Brenes, O. Evaluation of compressive and flexural properties of continuous fiber fabrication additive manufacturing technology. Addit. Manuf. 2018, 22, 157–164. [Google Scholar] [CrossRef]
  15. Chacón, J.M.; Caminero, M.A.; Núñez, P.J.; García-Plaza, E.; García-Moreno, I.; Reverte, J.M. Additive manufacturing of continuous fiber reinforced thermoplastic composites using fused deposition modeling: Effect of process parameters on mechanical properties. Compos. Sci. Technol. 2019, 181, 107688. [Google Scholar] [CrossRef]
  16. Naranjo-Lozada, J.; Ahuett-Garza, H.; Orta-Castañón, P.; Verbeeten, W.M.H.; Sáiz-González, D. Tensile properties and failure behavior of chopped and continuous carbon fiber composites produced by additive manufacturing. Addit. Manuf. 2019, 26, 227–241. [Google Scholar] [CrossRef]
  17. Uşun, A.; Gümrük, R. The mechanical performance of the 3D printed composites produced with continuous carbon fiber reinforced filaments obtained via melt impregnation. Addit. Manuf. 2021, 46, 102112. [Google Scholar] [CrossRef]
  18. Dreifus, G.; Goodrick, K.; Giles, S.; Patel, M.; Foster, R.M.; Williams, C.; Lindahl, J.; Post, B.; Roschli, A.; Love, L.; et al. Path optimization along lattices in additive manufacturing using the Chinese postman problem. 3D Print. Addit. Manuf. 2017, 4, 98–104. [Google Scholar] [CrossRef]
  19. Liu, J.; Kang, Y.; Ma, C.; Wang, Y. Research on a Fiber Corner Compensation Algorithm in a 3D Printing Layer of Continuous Fiber-Reinforced Composite Materials. Appl. Sci. 2022, 12, 6687. [Google Scholar] [CrossRef]
  20. Shiratori, H.; Todoroki, A.; Ueda, M.; Matsuzaki, R.; Hirano, Y. Mechanism of folding a fiber bundle in the curved section of 3D printed carbon fiber reinforced plastics. Adv. Compos. Mater. 2020, 29, 247–257. [Google Scholar] [CrossRef]
  21. Matsuzaki, R.; Nakamura, T.; Sugiyama, K.; Ueda, M.; Todoroki, A.; Hirano, Y.; Yamagata, Y. Effects of set curvature and fiber bundle size on the printed radius of curvature by a continuous carbon fiber composite 3D printer. Addit. Manuf. 2018, 24, 93–102. [Google Scholar] [CrossRef]
  22. Wang, Y.; Liu, J.; Yu, Y.; Zhang, Q.; Li, H.; Shi, G. Research on the Simulation Model of Continuous Fiber-Reinforced Composites Printing Track. Polymers 2022, 14, 2730. [Google Scholar] [CrossRef]
  23. Zhang, H.; Chen, J.; Yang, D. Fibre misalignment and breakage in 3D printing of continuous carbon fibre reinforced thermoplastic composites. Addit. Manuf. 2021, 38, 101775. [Google Scholar] [CrossRef]
  24. Grant, C. Automated processes for composite aircraft structure. Ind. Robot 2006, 33, 117–121. [Google Scholar] [CrossRef]
  25. Yamawaki, M.; Kouno, Y. Fabrication and mechanical characterization of continuous carbon fiber-reinforced thermoplastic using a preform by three-dimensional printing and via hot-press molding. Adv. Compos. Mater. 2017, 27, 209–219. [Google Scholar] [CrossRef]
  26. Shang, J.; Tian, X.; Luo, M.; Zhu, W.; Li, D.; Qin, Y.; Shan, Z. Controllable inter-line bonding performance and fracture patterns of continuous fiber reinforced composites by sinusoidal-path 3D printing. Compos. Sci. Technol. 2020, 192, 108096. [Google Scholar] [CrossRef]
  27. Kim, B.C.; Weaver, P.M.; Potter, K. Computer aided modelling of variable angle tow composites manufactured by continuous tow shearing. Compos. Struct. 2015, 129, 256–267. [Google Scholar] [CrossRef]
  28. Wang, Y. Research on Key Technology of “Independent Extrusion” Continuous Fiber Reinforced Composites 3D Printing. PhD Thesis, University of Science and Technology Beijing, Beijing, China, 2022. [Google Scholar]
  29. Hao, P.; Liu, D.; Wang, Y.; Liu, X.; Wang, B.; Li, G.; Feng, S. Design of manufacturable fiber path for variable-stiffness panels based on lamination parameters. Compos. Struct. 2019, 219, 158–169. [Google Scholar] [CrossRef]
  30. Niu, X.; Liu, Y.; Wu, J.; Yang, T. Curvature-controlled trajectory planning for variable stiffness composite laminates. Compos. Struct. 2022, 238, 111986. [Google Scholar] [CrossRef]
  31. Karimi, A.; Rahmatabadi, D.; Baghani, M. Various FDM Mechanisms Used in the Fabrication of Continuous-Fiber Reinforced Composites: A Review. Polymers 2024, 16, 831. [Google Scholar] [CrossRef]
  32. Zhang, X.; Zheng, X.; Yang, T.; Song, L.; Yang, L. Research progress on process defects and failure behaviors of continuous fiber-reinforced composite materials via 3D printing. Acta Mater. Compos. Sin. 2024, 41, 4478–4501. [Google Scholar]
Figure 1. (a) Twisted and folded fiber bundles; (b) broken fiber bundles.
Figure 1. (a) Twisted and folded fiber bundles; (b) broken fiber bundles.
Polymers 17 01865 g001
Figure 2. The state of CFPF at the nozzle outlet under different printing trajectories. si: State at time point i.
Figure 2. The state of CFPF at the nozzle outlet under different printing trajectories. si: State at time point i.
Polymers 17 01865 g002
Figure 3. Analysis of CFPF motion, predicated on the assumption of follow-up theory.
Figure 3. Analysis of CFPF motion, predicated on the assumption of follow-up theory.
Polymers 17 01865 g003
Figure 4. Continuous smooth printing trajectory error formation mechanism analysis.
Figure 4. Continuous smooth printing trajectory error formation mechanism analysis.
Polymers 17 01865 g004
Figure 5. Simulation results of S-shaped continuous smooth 3D printing trajectory.
Figure 5. Simulation results of S-shaped continuous smooth 3D printing trajectory.
Polymers 17 01865 g005
Figure 6. Schematic diagram of printing trajectories error.
Figure 6. Schematic diagram of printing trajectories error.
Polymers 17 01865 g006
Figure 7. Schematic diagram of trajectory fitting.
Figure 7. Schematic diagram of trajectory fitting.
Polymers 17 01865 g007
Figure 8. The fitted and compensated printed trajectory.
Figure 8. The fitted and compensated printed trajectory.
Polymers 17 01865 g008
Figure 9. Principle of printing trajectory error compensation.
Figure 9. Principle of printing trajectory error compensation.
Polymers 17 01865 g009
Figure 10. Principle of CFPF extrusion speed compensation.
Figure 10. Principle of CFPF extrusion speed compensation.
Polymers 17 01865 g010
Figure 11. The algorithmic procedure for error compensation of the printing trajectory.
Figure 11. The algorithmic procedure for error compensation of the printing trajectory.
Polymers 17 01865 g011
Figure 12. The CFRTPCs 3DP devices.
Figure 12. The CFRTPCs 3DP devices.
Polymers 17 01865 g012
Figure 13. Clothoid printing trajectory.
Figure 13. Clothoid printing trajectory.
Polymers 17 01865 g013
Figure 14. (a) Planned clothoid printing trajectory; (b) Actual Printing Effect of clothoid printing trajectory.
Figure 14. (a) Planned clothoid printing trajectory; (b) Actual Printing Effect of clothoid printing trajectory.
Polymers 17 01865 g014
Figure 15. Simulation results of printed trajectory with different corner angles.
Figure 15. Simulation results of printed trajectory with different corner angles.
Polymers 17 01865 g015
Figure 16. Uncompensated Printing with different corner angles and layer height. (a) αpn = 30°, △h = 0.15 mm; (b) αpn = 60°, △h = 0.25 mm; (c) αpn = 90°, △h = 0.1 mm; (d) αpn = 120°, △h = 0.2 mm; (e) αpn = 150°, △h = 0.3 mm.
Figure 16. Uncompensated Printing with different corner angles and layer height. (a) αpn = 30°, △h = 0.15 mm; (b) αpn = 60°, △h = 0.25 mm; (c) αpn = 90°, △h = 0.1 mm; (d) αpn = 120°, △h = 0.2 mm; (e) αpn = 150°, △h = 0.3 mm.
Polymers 17 01865 g016
Figure 17. Compensated printing with different corner angles and layer height. (a) αpn = 30°, △h = 0.15 mm; (b) αpn = 60°, △h = 0.25 mm; (c) αpn = 90°, △h = 0.1 mm; (d) αpn = 120°, △h = 0.2 mm; (e) αpn = 150°, △h = 0.3 mm.
Figure 17. Compensated printing with different corner angles and layer height. (a) αpn = 30°, △h = 0.15 mm; (b) αpn = 60°, △h = 0.25 mm; (c) αpn = 90°, △h = 0.1 mm; (d) αpn = 120°, △h = 0.2 mm; (e) αpn = 150°, △h = 0.3 mm.
Polymers 17 01865 g017
Figure 18. Comparison of error compensation before and after printing trajectories with different corner angle and layer height. (a) Line profile versus corner angle; (b) deviation kurtosis versus corner angle; (c) deviation area ratio versus corner angle; (d) line profile versus layer height; (e) deviation kurtosis versus layer height; (f) deviation area ratio versus layer height.
Figure 18. Comparison of error compensation before and after printing trajectories with different corner angle and layer height. (a) Line profile versus corner angle; (b) deviation kurtosis versus corner angle; (c) deviation area ratio versus corner angle; (d) line profile versus layer height; (e) deviation kurtosis versus layer height; (f) deviation area ratio versus layer height.
Polymers 17 01865 g018
Table 1. PAHT and CFPF material parameters.
Table 1. PAHT and CFPF material parameters.
PAHTCFPF
ParametersValueParametersValue
Filament diameter, mm1.75Filament diameter, mm0.4
Density, g/cm31.21Tensile strength, MPa1200
Tensile strength, MPa69.29 ± 1.17Printing speed, mm/min300~1000
Bending strength, MPa112.64 ± 1.6Printing temperature, °C260~300
Printing temperature, °C280~320Fiber Type1.5 k
Base plate temperature, °C80~100prepreg resinPAHT
Table 2. Error prediction result based on the printing trajectory error model.
Table 2. Error prediction result based on the printing trajectory error model.
Corner AngleError Prediction
Line   Profile   ς p /(mm) Deviation   Kurtosis   χ p Deviation   Area   Ratio   γ p
30°0.42.1%62%
60°0.382.69%55%
90°0.2672.23%39%
120°0.1661.7%35%
150°0.0771.1%38%
Table 3. Uniform design experiment and results.
Table 3. Uniform design experiment and results.
No.Influencing FactorsUncompensatedCompensated
Corner   Angle   α p n /(°) Layer   Height   Δ h /(mm) Line   Profile   ς u /(mm) Deviation   Kurtosis   χ u Deviation   Area   Ratio   γ u Line   Profile   ς u /(mm) Deviation   Kurtosis   χ u Deviation   Area   Ratio   γ u
1300.151.5614%69%3.813.8%66%
2600.251.3111%53%2.912.1%52%
3900.10.394.1%43%0.574.7%43%
41200.20.283.3%37%0.354%37%
51500.30.122.1%35%0.163.2%34%
Table 4. Analysis of the fluctuation of error prediction.
Table 4. Analysis of the fluctuation of error prediction.
Evaluation Index 30 ° α p n 150 ° 90 ° α p n 150 °
Line   Profile   Prediction   Deviation   δ ς Deviation   Kurtosis   Prediction   Deviation   δ χ Deviation   Area   Ratio   Prediction   Deviation   δ γ Line   Profile   Prediction   Deviation   δ ς Deviation   Kurtosis   Prediction   Deviation   δ χ Deviation   Area   Ratio   Prediction   Deviation   δ γ
Mean value50.687%60.452%2.502%36.029%47.238%2.045%
Standard deviation18.218%16.484%7.417%3.749%1.204%7.674%
Max value74.359%85%10.145%40.714%48.485%9.302%
Min value31.538%45.61%−8.571%31.538%45.61%−8.571%
Extreme deviations42.821%39.39%18.716%9.176%2.875%17.874%
Table 5. Analysis of the fluctuation of error before and after compensation.
Table 5. Analysis of the fluctuation of error before and after compensation.
Evaluation IndexUncompensatedCompensated
Line   Profile   ς u /(mm) Deviation   Kurtosis   χ u Deviation   Area   Ratio   γ u Line   Profile   ς c /(mm) Deviation   Kurtosis   χ c Deviation   Area   Ratio   γ c
Mean value0.7326.9%47.4%1.5567.56%31.898%
Standard deviation0.5864.713%12.484%1.4984.459%11.569%
Max value1.5614%69%3.813.8%66%
Min value0.122.1%35%0.163.2%34%
Extreme deviations1.4411.9%34%3.6410.6%32%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Liu, M.; Qu, S.; Li, S.; Yan, X.; Li, W.; Wang, Y. Modeling and Compensation Methods for Trajectory Errors in Continuous Fiber-Reinforced Thermoplastic Composites Using 3D Printing. Polymers 2025, 17, 1865. https://doi.org/10.3390/polym17131865

AMA Style

Liu M, Qu S, Li S, Yan X, Li W, Wang Y. Modeling and Compensation Methods for Trajectory Errors in Continuous Fiber-Reinforced Thermoplastic Composites Using 3D Printing. Polymers. 2025; 17(13):1865. https://doi.org/10.3390/polym17131865

Chicago/Turabian Style

Liu, Manxian, Sheng Qu, Shuo Li, Xiaoqiang Yan, Wei Li, and Yesong Wang. 2025. "Modeling and Compensation Methods for Trajectory Errors in Continuous Fiber-Reinforced Thermoplastic Composites Using 3D Printing" Polymers 17, no. 13: 1865. https://doi.org/10.3390/polym17131865

APA Style

Liu, M., Qu, S., Li, S., Yan, X., Li, W., & Wang, Y. (2025). Modeling and Compensation Methods for Trajectory Errors in Continuous Fiber-Reinforced Thermoplastic Composites Using 3D Printing. Polymers, 17(13), 1865. https://doi.org/10.3390/polym17131865

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop