Skip to main content
Scientific Reports logoLink to Scientific Reports
. 2024 May 24;14:11906. doi: 10.1038/s41598-024-59053-z

FFF print defect characterization through in-situ electrical resistance monitoring

Heime Jonkers 1,✉,#, Alexander Dijkshoorn 1,#, Stefano Stramigioli 1, Gijs Krijnen 1
PMCID: PMC11126602  PMID: 38789430

Abstract

Fused filament fabrication is a popular fabrication technique. Currently there is a need for in-situ monitoring modalities to gather real-time information on prints, both for quality control and closed-loop control. Despite current advancements, effective and affordable in-situ monitoring techniques for non-destructive defect detection of voids and bonding quality are still limited. This work demonstrates in-situ monitoring of fused filament fabrication through electrical resistance measurements as an alternative to thermal and optical methods. A new, easy-to-implement setup is demonstrated which measures the electrical resistance of a conductively doped filament between the nozzle and single or multi-electrodes on the bed. Defects can be located in an unprecedented way with the use of encoded axes in combination with the observed resistance variations throughout the part. A model of the anisotropic electrical conduction is used to interpret the measurements, which matches well with the data. Warping, inter-layer adhesion, under-extrusion and overhang sagging print defects can be observed in the measurements of parts with a complex geometry, which would be difficult to measure otherwise. Altogether in-situ electrical resistance monitoring offers a tool for optimising prints by online studying the influence of the print parameters for quality assessment and it opens up possibilities for closed-loop control.

Subject terms: Engineering, Electrical and electronic engineering

Introduction

Additive manufacturing has shown great potential as a fabrication method in a wide range of fields due to its ability to quickly and cost-effectively produce complex, customized parts1. One of the most widely applied printing techniques is that of Fused Filament Fabrication (FFF), which works by extruding a molten thermoplastic from a hot end onto a build platform in a line-by-line, layer-per-layer process1. It offers simplicity, low cost and a wide variety of available materials and is therefore used in applications as diverse as aerospace, automotive, electronics, prosthetics, fashion, construction and education2,3. Despite its advantages, FFF is vulnerable to errors and failures due to uncertainties in equipment and process, limiting its consistency and time- and resource-efficiency4,5. These failures typically result in geometric deviations, voids, warping, compromised mechanical properties, delamination, lack of material and bad surface quality6,7. To fully realise the potential of FFF, these challenges need to be resolved4,6.

Therefore methods for monitoring the print process and measuring the part properties during printing are of the utmost importance6,8,9. Real-time, non-destructive in-situ monitoring modalities can be used to verify part quality and to inform closed-loop feedback. A measurement science road map for polymer-based additive manufacturing from 2016 by the National Institute of Standards and Technology specifically expressed the need for monitoring modalities with the required spatial-temporal resolution, combined with in-situ control and model integration, as well as fast and accurate big data analytics8. Furthermore the road map indicated that these techniques should be cost-effective, cover a large spatial area and can easily be integrated into 3D-printers. Research in this area has grown significantly since6. Various review articles give an overview of existing in-situ monitoring methods, e.g. thermal, optical, acoustic, vibration and force/pressure monitoring, as well as the current challenges4,6,9,10. These reviews show that thermal and optical methods, the ones most commonly used, have already been successfully demonstrated for defect detection and closed-loop control purposes. State-of-the-art examples of this are geometry monitoring through optical measurements with a digital twin11, real-time defect detection through measuring of melt pool temperature deviations12, real-time defect detection through comparison of combined thermal and optical imaging to a baseline13, real-time error detection and correction with cameras in combination with large-scale machine learning5 and a method to link real-time defect detection with an optical camera to structural part quality14.

Important disadvantages of optical and thermographic imaging methods are limited in-depth information as well as limited spatial and temporal resolution4. While these methods can be used to estimate the adhesion quality9, they only give indirect information on internal voids, layer-to-layer adhesion and bond quality, that can be difficult to interpret. X-ray computed tomography can give direct information on internal defects4,15, however this method is not suitable for in-situ monitoring of FFF due to costs and safety concerns10. Despite the advancements there is still a lack of effective and cheap in-situ monitoring techniques suitable for non-destructive fault detection that can directly measure the bond quality and presence of internal voids.

In-situ monitoring of electrical properties of prints has been proposed to fill this gap. The in-situ electrical capacitance measurement of prints for example, allows measuring the presence of inter- and intra-layer defects by means of two bed electrodes, providing a layer-by-layer quality assessment16,17. However, this technique requires prints to be close to the electrodes, making measurements on tall geometries impossible and essentially being a volumetric method. Furthermore for FFF it is expected that the metal nozzle significantly distorts the measurements.

A solution without the aforementioned limitations is the in-situ electrical resistance monitoring of prints with conductive filament. Conductive filaments are typically used for 3D-printing of sensors, electronics and heaters1821, but can also be used for in-situ monitoring. Initial work explored measuring the electrical resistance between two electrodes on the bed22 and between a bed and a nozzle electrode2325 to study the effect of printing parameters. This preliminary research is limited to rectangular, single or few layer prints with minor data analysis. However, it does show the viability of measuring the resistance of conductively doped filaments during printing to gain information about the bond quality, part geometry and possible defects.

This work, thus for the first time presents a full, non-destructive in-situ measurement modality by means of measuring the electrical resistance. It also demonstrates its capabilities for both simple and more complex print geometries and shows a model for easy data analysis and interpretation.

Figure 1 presents an overview of the measurement concept. An easy-to-implement setup with a newly designed print bed is presented that can measure the electrical resistance between the nozzle and single or multiple electrodes on the print bed, Fig. 1a. Measurements are performed for a square tube and other benchmark geometries. A conduction model, based on the author’s previous work26, is implemented to interpret measurement data and is used to set a resistance threshold for defects, Fig. 1b. Finally, defects like poor inter-layer adhesion, overhang sagging and warping can be located with the use of encoded axes in combination with the observed resistance variations throughout the part, Fig. 1c, that would be difficult to measure otherwise.

Figure 1.

Figure 1

Overview of the in-situ electrical resistance monitoring methodology. (a) A setup with a print bed with one or more electrodes is presented for measurements, where among others square tubes are printed and monitored. (b) A conduction model is implemented to predict the measurement data and give a resistance threshold for defect detection. (c) Defects can be visualized and located through the encoded axis and resistance data.

Results and discussion

Setup design for the printing platform

Figure 2 provides an overview of the developed in-situ printing resistance measurement platform, based upon a commercial FFF 3D-printer (Ender S1 Pro). Resistance measurements are performed between the brass extrusion nozzle and a gold electrode equipped PCB with an exposed 20 mm × 20 mm print area. The axes and extruder of the platform have been equipped with rotary encoders on the stepper motors for monitoring the printhead position. Synchronized digital oscilloscopes are used to measure the encoder signals and the sample resistance between the bed electrodes and the nozzle. Details are provided in the methodology section at the end and in supplementary materials S.2. The method requires conductive filament, or typically filaments with a conductive filler, in this case Propopasta Conductive PLA was chosen. The in-situ measurement method has already been tested successfully with commercially available conductive PLA and conductive TPU filaments in preliminary research on simple structures with single electrode22. Here we demonstrate its use on more complex structures with single and multiple electrodes, relate the results to anisotropic conductivity models and show the diagnostic potential of the method.

Figure 2.

Figure 2

Overview of the in-situ resistance measurement platform. (a) Overview of the printing platform. (b) Custom print bed with split gold corner contacts. (c) Extrusion and position rotation encoder hardware.

In-situ resistance measurements

To investigate the influence of the bed electrode configuration upon the in-situ resistance measurement, two electrode configurations were evaluated. The nozzle electrode was kept grounded while the bed electrode(s) served as current feeds in either a single corner or in parallel on all four corners. To evaluate the effects of electrode placement, a square, single-walled 20 mm × 20 mm × 20 mm tube was designed covering all corner electrodes. Three tubes were printed: one solid-walled tube, one tube with a 9 × 9 grid of 0.4 mm × 0.4 mm square holes and one tube with a 4 × 4 grid of 2.5 mm × 2.5 mm square holes. Detailed descriptions of the designed prints and slicing settings are presented in supplementary materials S.3.

In Fig. 3 an overview is presented of the square tubes, with each row representing the results for the specific design. The plotted data only displays nozzle movement during extrusion to enhance the visualization of the perforations, and is limited to a 0 Ω to 3 kΩ resistance range.

Figure 3.

Figure 3

Geometric effects of electrode placement in single-walled square tube. (a) Solid wall design. (f) Small perforation design. (k) Large perforation design. (b g,l) Recorded resistance between nozzle and electrode(s) for single and multi-electrode(s). (c,h,m) Highlighted recorded resistance for four layers including two layers of perforations if present. (d,i,n) Visualization of single-electrode resistance during printing, with electrode at bottom left. (e, j, o) Visualization of multi-electrode resistance during printing, electrodes at bottom right and left.

The first effect on resistance R is a R1/N relationship due to the progression of N layers, where each layer adds a conduction path in parallel between the electrodes, Fig. 3b. With the progression of layers the resistance also starts to increase again, since the series resistance of the layers adds up, especially for the multi-electrode measurements. This transition point is dictated by the geometry and the electrical anisotropy of the print, as will be elaborated upon in the modeling section. These effects are also shown in the perforated tubes, Fig. 3a, b , with the gaps in between resulting in resistance spikes as an effect of the reduced contact area in these sections, as illustrated by the higher resistance for the larger gaps. The R1/N relation reappears after printing on top of a layer of gaps, as an effect of the higher resistance region created by the gaps.

The difference in the geometry dependence of resistance due to single and multi-electrodes is highlighted in Fig. 3c showing four layers of the tube as indicated by the red rectangle, Fig. 3a. Each arc for the single-electrode (blue line) represents a walk of the nozzle across the perimeter of the square tube, increasing to a maximum at the outer edge from the corner electrode and then returning back to its minimum above the electrode’s corner. The multi-electrode measurement (red line) is expected to have peak resistance in between corner electrodes and minima at each corner, which can partly be observed in the resistance. In addition a slightly higher conduction is observed in the corner where the nozzle moves up to the next layer, as the effect of oozing and additional heating improves layer fusion. The suppression of the geometric effect by the multi-electrodes can clearly be seen from Fig. 3d, e, with the layer resistance becoming rather uniform after 2.5 mm for the multi-electrode measurement in comparison to the single-electrode measurement. Supplementary video S1 till S4 illustrate the single and multi-electrode tube measurements.

From Fig. 3h it becomes clear that the corner electrodes provide local minima for all resistance measurements. It also becomes apparent that the nozzle remains in contact with the sample at all perforations due to the small print gap, nevertheless resulting in a resistance spike for every perforation. The spikes can clearly be observed, locating the perforation defects in the print, Fig. 3i, j. Larger interruptions of printing, Fig. 3m, result in complete loss of contact with resistance spiking off-scale. The contact is reestablished at the pillars and the resistance has local minima above the electrodes. Breaking of the electrical contact between the nozzle and the pillars reveals itself as an increase in resistance at the edges, Fig. 3n, o. The overhanging sections of material in the first layer above the holes also have a clear resistance increase due to the printed line being the only point of electrical contact to the print.

Given the tube is a greatly simplified geometry in comparison to typical FFF printed objects, the Benchy calibration standard was scaled down to have a length of 20 mm and used as an example of single and multi-electrode measurements on a more intricate geometry, Fig. 4. In order to ensure contact to the bed electrodes a single layer brim was printed from the outside inwards, allowing for monitoring of the entire print.

Figure 4.

Figure 4

Effect of electrode placement on complex geometry realized in the Benchy standard. (a–e) Example print highlighting defect locations. (f–j) Visualization of single-electrode resistance during printing, with the electrode on the Benchy’ port back quarter. (k–o) Visualization of multi-electrode resistance during printing, with the electrodes on the quarters and bows.

Several occurring print defects can be noted from the example print, Fig. 4a–e. The first notable defects highlighted in red are the overhanging sections of the cabin arches in Fig. 4a, the rectangular windows in Fig. 4b and Fig. 4d, in both the single and multi-electrode resistance data. The second clear defect is a vertical ridge on the hull, Fig. 4c. This line is formed when the nozzle moves up to the next layer, resulting in some over-extrusion as the nozzle is parked during the z-movement. This ridge is not observed in the resistance data, suggesting that the inter-layer contact is near ideal for surrounding layers, given the over-extruded material does not seem to influence the conduction. If the over-extrusion would progress further, an observable conductance change would be expected, as more material would be present creating additional conduction paths.

Figure 4a–d show the deformed chimney, which is neither observed in the recorded encoder data nor in the form of discrepancies of the resistance recorded. Another feature commonly observed in the Benchy is a hull line where the infill of the deck transitions to a single wall, highlighted in red on the bottom of the curved bow, Fig. 4b. This defect can also be observed in Fig. 4f–h in the form of two lines of raised resistance. Interestingly, this effect is not seen in the multi-electrode data. Lastly, the lettering on the bottom of the Benchy as shown in Fig. 4e, j, o, was not properly formed due to the small feature size relative to the 0.4 mm nozzle. Comparison of Fig. 4j, o highlights the difference in uniformity of recorded resistances between the single and multi-electrode measurement, with the multi-electrodes capturing more detailed differences for the letter printing. Supplementary videos S5 and S6 illustrate the Benchy single and multi-electrode measurements and section S.4 shows the time and layer history of the multi-electrode Benchy measurement.

Electrical resistance model

The printing process introduces electrical anisotropy2730, which has to be taken into account when interpreting or predicting measurement outcomes. Therefore, the single-electrode measurements are compared with an anisotropic electrical resistance model based on earlier work26. At its core the model consists of an array of parallel transmission lines representing the lumped, printed track elements or traxels by coupled ordinary differential equations. They have a bulk material resistivity ρ in Ωm along the traxel direction and they are linked to each other via an inter-layer resistivity σ in Ωm2, together determining the anisotropic conduction, Fig. 5a. This layer and track-based description of the model captures the main effects of the line-wise 3D-printing method and helps in understanding the effect defects have on the electrical measurements. A measure for the amount of electrical anisotropy is given by the anisotropy ratio Γ, which is 1 for the isotropic case and tends to 0 when increasing anisotropy26:

Γ:=ρρ+σ/H 1

where H is the layer height that separates the interfaces.

Figure 5.

Figure 5

(a) A circuit representation of printed traxels with bulk and inter-layer resistance adapted from26, (b) printing of a single-wall square tube with a single bed electrode, (c) model implementation of square tube, (d) modeled voltage distribution, (e) resistance over time graph, (f) modeled conductance for every nozzle location in a printed square tube.

For a square tube, Fig. 5b, the print is folded open at the electrode position to obtain a 2D representation. Every layer is split in two sections: the part where the nozzle just passed by and the part where the nozzle still needs to come along for the respective layer, Fig. 5c. The nozzle is grounded and the bed electrode is put at a positive voltage Vpp. The layers have height H and width W and the x-coordinate runs around the tube perimeter, where the nozzle starts above the electrode. The model calculates the voltage distribution, Fig. 5d, and the total resistance. Supplementary materials S.5 explains the detailed model implementation. The resistance at every point is determined by sweeping over the nozzle position and number of layers, Fig. 5e. The conductance is also used for plots, Fig. 5f, since defects often cause the resistance to tend towards (or in practice the maximum measurement value of the oscilloscope), stretching the plot and color range. Plotting the conductance values therefore spreads the data more evenly over the color scale.

The lumped resistance approximation in26 gives the first expectations for the model outcomes. For very few layers N the resistance in horizontal direction is dominant and every new layer adds a parallel current path, lowering the resistance with R1/N. In case of many layers or large inter-layer resistivity the resistance in the vertical direction becomes dominant, where every layer added linearly increases the resistance RN. These scaling properties become clear when comparing single and multi-electrode measurements in Fig. 3b. The horizontal distance between electrodes for the multi-electrode lay-out is four times shorter, hence these measurements leave the R1/N regime and enter the RN regime significantly earlier. Besides the geometry, the measured resistance is also influenced by the print settings and material properties, where a lower print temperature results in higher ρ and σ19,29,31. Moreover the carbon-doped material has a positive temperature coefficient of resistivity (PTC) in the range of 0.01 K-1 0.02-121,32,33, hence adding heat raises the resistance22. Therefore in this research the samples are kept small with a big surface area to volume ratio, giving them a small thermal time constant. This makes it possible to focus on the geometry and an average ρ and σ in the model, neglecting thermal effects. Future work will focus on incorporating the thermal effects in the methodology.

The model and data show good agreement, Fig. 6a–d. The model uses the print parameters from the slicer (geometry and print speed) and uses fitted electrical parameters ρ=0.132Ωm and σ=3×10-6Ωm2. At the start the 1/N regime is clearly present, leveling off towards the end. The biggest deviations between model and data occur during the first layers, which can be explained from an increase in ρ and σ due to a relatively high average sample temperature during the first layers. Besides, the effect of the nozzle position on the resistance reduces with added layers. Multi-electrode measurements for the tube or other more complex geometries can also be modeled, but for every additional bed electrode the domain needs to be split and the system of equations grows. This reduces the practical applicability of the model in the case of multi-electrodes, making Finite Element Method (FEM) simulations more effective26,28. A FEM analysis of the tube with large perforations is demonstrated in supplementary materials S.6. In the future perhaps FEM simulation functionality can be integrated in the slicer software, to perform an electrical conduction simulation based on the used print settings and generated print path.

Figure 6.

Figure 6

Comparison of the model and single-electrode measurements for a square tube. (a) Resistance over time and (b) conductance over time, showing good agreement except for the first few layers. Comparing the spatial (c) conductance model and (d) conductance data, showing a similar distribution. (e) Comparison model and measured resistance for single-electrode tube printed at nozzle temperatures of 190 C and 220 C. Note the resistance runaway for the 190 C sample due to the occurrence of warping, losing contact with the bed electrode.

To demonstrate the effect of different values for ρ and σ, tubes printed with nozzle temperatures of 190 C and 220 C are compared in Fig. 6e. The general shapes are the same for the different temperatures, however there is a clear difference in ρ and σ. For the data of the 190 C sample the fitted parameters are ρ=0.14Ωm and σ=7×10-5Ωm2, resulting in significant anisotropy Γ=0.29 (compared to Γ=0.90 for the default print temperature). This indicates that the conduction model is essential in capturing the anisotropic electrical conduction for the changing geometry, where a simplified model could not achieve this. For the 220C data the fitted parameters become ρ=0.13Ωm and σ=8×10-6Ωm2, resulting in a lot less anisotropy Γ=0.76. Furthermore it is observed that the low temperature model warped after 140s, losing contact with the single-electrode and making the resistance run away. This shows that, in case of warping, a resistance change can be measured at the current nozzle location while it was caused somewhere else in the print.

The used model gives a lot of insight, however also has some limitations. Currently only single-walled geometries with parallel walls, homogeneous material properties and a fixed print speed can be modeled. From X-ray measurements on prints it is known that the properties are not homogeneous15, although single-walls are likely more homogeneous than solid prints. Moreover the model neglects thermal effects, which introduces both inhomogeneous and time-dependent material properties. Next to this the modeled contact properties are phenomenological26 and the value of σ cannot be predicted yet29. This makes it difficult to reliably fit σ in case of small anisotropy (ρHσ). This is not a problem however, since a small σ also does not significantly influence the resistance. Furthermore the model and the in-situ monitoring technique are not limited to FFF, but are suitable for any other material extrusion (MEX) 3D-printing technique, like direct ink writing. In the future the model will be extended to 3D to represent more complex geometries26. Furthermore adaptive models for real-time digital twins will be studied, to account for the influence of defects on model parameters.

Defect detection

The sensitivity of the method with respect to different defects is difficult to express quantitatively and heavily depends on the type of defect and the part geometry. During the first layers the resistance measurement is very sensitive to changes and defects, since added layers reduce the resistance relatively a lot, making an increase in resistance stand out. A big advantage of the method for high prints is the RN scaling, since the absolute resistance change stays the same for every new layer. This also means that in case of e.g. clogging, under-extrusion, sagging or warping, the resistance change is noticeable for very tall prints. Even in case of hourglass-shaped prints, like the hull-to-roof transition in the Benchy, defects can be measured without loss of detail. The constrictions only add an offset in the total resistance measurement, where on the other hand the capacitive method loses sensitivity with addition of material16,17. In case of prints that consist of several islands, a brim can be used to connect the parts and electrodes as was done for the Benchy.

In order to characterize the in-situ resistance monitoring method’s ability to detect many of the most common print defects, a test object was printed, as developed by34. The test object is shown in Fig. 7 and consists of several distinct features such as embedded letters on the xyz-axis, a cylindrical hole with matching cylinder and circular and square holes with an overhanging section. The data visualization and resistance range are consistent with that of the square tube and the Benchy figures.

Figure 7.

Figure 7

Multi-electrode resistance measurement of test object designed to highlight common print defects. (a) Circular and square pocket features for overhang evaluation. (b) Overhang defects visualized. (c) Side wall of circular pocket and pillar structure. (d) Thin pillar feature and overhang affected zone visualized. (e) Thin pillar, thick pillar and Z-letter feature on test object topside. (f) top layer resistance visualized. (g) First layer of test object and marks left by contact electrodes. h First layer resistance visualized.

The first detail highlighted in the test object shown in Fig. 7a, b, is the sagging overhanging section. This defect results from the lack of pushback on the nozzle by the printed filament, increasing the contact resistance between the conductive print and the nozzle. The effect of this sagging section on nearby layers is also shown in Fig. 7c, d with the edge of the hole showing an increased resistance relative to the surrounding layers. The high aspect ratio pillar is also observed to result in a high resistance, due to its small contact area relative to the surrounding print, highlighting the need for careful consideration of the print geometry for detection. The filament resistivity and the setup measurement range also influence the detection capabilities. From the estimate in supplementary materials S.7 it follows that for the measurement range of the current setup, a filament with a resistivity of 8 ×10-4Ωm 0.73 Ωm is required. This range comprises most of the commercially available, carbon-based, conductive filaments. The upper limit can easily be extended an order of magnitude with a different measurement device.

The high aspect ratio pillar along with the top layer are also highlighted in Fig. 7e, f, where the difference in contact area with respect to the larger diameter pillar stands out. Fig. 7g highlights the first layer of the print, with the red circles indicating the contact points from the split bed electrodes. In Fig. 7h the resulting resistance of the first layer is shown, reducing near the contacts as would be expected. Interestingly a step can be observed in the first layer resistance, following from the nozzle crossing the diagonal with two opposing electrodes. As the nozzle crosses the diagonal, the current suddenly has two electrodes close by, reducing the observed resistance significantly.

Several methods of defect detection would be possible on the basis of the observed resistance data. The most simple approach would be to implement threshold detection, where if the resistance crosses a certain set level, a defect is detected. This would be well suited to cover overhangs and under-extrusion defects and could possibly be extended to over-extrusion defects if a lower bound is employed. To also be able to deal with geometric effects, either a recording of a known successful print or a simulated print could be used as a baseline to set detection thresholds with a margin of error, like in12,13. For simple geometries the model can serve as baseline or threshold like in Fig. 1, convincingly detecting warping as shown in Fig. 6. The printing of the first layer could also be adapted in a closed-loop form, to realize a compensation of nozzle height on the basis of traxel resistance, where modeling could compensate for anisotropy and print path effects.

In future studies multiplexing can enable tomography, improving the ability to distinguish types of defects and to determine defect locations. Combined with AC measurements, this will allow for full electrical impedance tomography, where the electrical model is already implemented for AC26. By making use of sensor fusion with multiple monitoring modalities, the full potential of defect detection and closed-loop control can be unleashed6. Combined with machine learning models this data can for example be used for strength prediction in the final product14.

Conclusion

In summary, the presented in-situ electrical resistance monitoring allows for assessing the printing process and detection of among others warping, poor inter-layer adhesion, under-extrusion and overhang sagging in parts with a complex geometry in an unprecedented way. Multi-electrode measurements offer the benefit of suppressing the effect of nozzle position on the resistance, improving print characterization. For selected, relatively simple structures, the conduction model matches well with the data and serves as baseline for defect detection. Altogether in-situ electrical resistance monitoring offers a tool for quality assessment and for studying the influence of print parameter settings and it opens the way for closed-loop control.

Methods

Printing platform

The printing platform was based upon a Ender S1 Pro modified with Marlin firmware by Miguel Risco-Castillo35. It was fitted with a custom 20 mm × 20 mm PCB print bed with split gold electrodes and AS5600 based magnetic rotation encoders for printhead position/extrusion. The nozzle and print bed PID control were tuned to match the new setup and data was captured with TiePie HS5 digital oscilloscopes for synchronous resistance and voltage sampling at 5 kHz in 20 MΩ and 20 V DC range respectively. Detailed descriptions of each part of the printing platform can be found in supplementary materials (S.2).

Print slicing

Print geometries were sliced with Cura 5.2.1, with settings optimised for the use of Propopasta Conductive PLA: Tnozzle was 205 C, Tbed was 60 C, the flow multiplier was 100%. To ensure real world comparable printing a layer height of 0.2 mm, a 0.4 mm nozzle and a 8 mm brim or a three line skirt were used during printing to ensure consistent extrusion. To minimize variation in material cooling after extrusion, no fan cooling was employed. The parameters used for individual prints are reported in supplementary materials (S.3).

Encoder post-processing

Given analog encoder outputs consisting of a 0 V to 4.5 V signal representing a single revolution of the stepper motor’s axis, unwrapping was required. This was achieved by detecting jumps, sharpening it to a 1 sample jump and then normalizing the data to 0 to 2π. MATLAB(R2020b) unwrap() and medfilt() could then be used to unwrap the signal and filter it by fs/10 samples or around 10Hz. The final step is to correct the offset on each axis by subtracting the minimal value from all data points to ensure the start point of the print is at the x=0 and y=0 position.

Resistance post-processing

The resistance data was filtered with MATLAB(R2020b) movmean() function by fs/10, after which the date was reduced to 1/100 samples to achieve a time step of 20 ms, translating to a movement of 0.4 mm per step at the selected 20 mm s-1 printing speed. The color scale selected for the visualization of the data was ’Turbo’ with the color bar being scaled to a range of 0 kΩ to 3 kΩ to highlight the most relevant resistance changes. In addition to this filtering, an extrusion rate based retraction filter was created, allowing for masking of points where no extrusion occurred.

Model implementation

The model is implemented in Matlab (Matlab R2020a) and it is based upon the open-access code in36. The model is verified and validated with simple analytical models, FEM simulations and experiments in a previous study26,28. The geometrical parameters are taken from the slicer settings. The values for ρ and σ are fitted by hand, based on the slope and offset of the resistance data as a function of time.

Supplementary Information

Supplementary Video 1. (43.9MB, mp4)
Supplementary Video 2. (29.4MB, mp4)
Supplementary Video 6. (36.4MB, mp4)

Acknowledgements

This work was developed within the Printing Electro-Tomography project, funded by the European Research Council under Grant Agreement No. 966668. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Council Executive Agency. Neither the European Union nor the granting authority can be held responsible for them. The authors would also like to thank Patrick Neuvel and Tom Vaneker from the University of Twente and Johan Versteegh from UltiMaker for the valuable discussions.

Author contributions

H.J, A.D., S.S. and G.K. conceived the idea and experiments. H.J. designed the setup and performed the experiments, A.D. performed the modeling, H.J. and A.D. designed the experiments, analyzed the results and wrote the manuscript. H.J and A.D. wrote most of the text whereas S.S. and G.K. redacted the manuscript and supervised this study.

Data availibility

The datasets generated and/or analysed during the current study are available in the 4TU.ResearchData repository, https://doi.org/10.4121/c17ac579-bab1-4f58-ba67-a95182fd021f.v1.

Competing interests

The authors declare no competing interests.

Footnotes

Publisher's note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

These authors contributed equally: Heime Jonkers and Alexander Dijkshoorn.

Supplementary Information

The online version contains supplementary material available at 10.1038/s41598-024-59053-z.

References

  • 1.Gibson, I., Rosen, D. & Stucker, B. Additive Manufacturing Technologies: Rapid Prototyping to Direct Digital Manufacturing (Springer, 2010).
  • 2.Cano-Vicent A, et al. Fused deposition modelling: Current status, methodology, applications and future prospects. Addit. Manuf. 2021;47:102378. doi: 10.1016/j.addma.2021.102378. [DOI] [Google Scholar]
  • 3.Rajan K, Samykano M, Kadirgama K, Harun WSW, Rahman MM. Fused deposition modeling: Process, materials, parameters, properties, and applications. Int. J. Adv. Manuf. Technol. 2022;120:1531–1570. doi: 10.1007/s00170-022-08860-7. [DOI] [Google Scholar]
  • 4.AbouelNour Y, Gupta N. In-situ monitoring of sub-surface and internal defects in additive manufacturing: A review. Mater. Des. 2022;222:111063. doi: 10.1016/j.matdes.2022.111063. [DOI] [Google Scholar]
  • 5.Brion DAJ, Pattinson SW. Generalisable 3D printing error detection and correction via multi-head neural networks. Nat. Commun. 2022 doi: 10.1038/s41467-022-31985-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Oleff A, et al. Process monitoring for material extrusion additive manufacturing: A state-of-the-art review. Prog. Addit. Manuf. 2021;6:705–730. doi: 10.1007/s40964-021-00192-4. [DOI] [Google Scholar]
  • 7.Hsiang Loh G, Pei E, Gonzalez-Gutierrez J, Monzón M. An overview of material extrusion troubleshooting. Appl. Sci. 2020 doi: 10.3390/app10144776. [DOI] [Google Scholar]
  • 8.Pellegrino, J. et al. Measurement science roadmap for polymer-based additive manufacturing. In: Technical Report, National Institute of Standards and Technology. 10.6028/nist.ams.100-5 (2016).
  • 9.Fu Y, et al. In situ monitoring for fused filament fabrication process: A review. Addit. Manuf. 2021;38:101749. doi: 10.1016/j.addma.2020.101749. [DOI] [Google Scholar]
  • 10.Dou, C., Elkins, D., Kong, Z. J. & Liu, C. Online monitoring and control of polymer additive manufacturing processes. In Additive Manufacturing Design and Applications. 1–13. 10.31399/asm.hb.v24a.a0006968 (ASM International, 2023).
  • 11.Moretti M, Rossi A, Senin N. In-process monitoring of part geometry in fused filament fabrication using computer vision and digital twins. Addit. Manuf. 2021;37:101609. doi: 10.1016/j.addma.2020.101609. [DOI] [Google Scholar]
  • 12.Hossain R-E-N, Lewis J, Moore AL. In situ infrared temperature sensing for real-time defect detection in additive manufacturing. Addit. Manuf. 2021;47:102328. doi: 10.1016/j.addma.2021.102328. [DOI] [Google Scholar]
  • 13.AbouelNour Y, Gupta N. Assisted defect detection by in-process monitoring of additive manufacturing using optical imaging and infrared thermography. Addit. Manuf. 2023;67:103483. doi: 10.1016/j.addma.2023.103483. [DOI] [Google Scholar]
  • 14.Fu Y, Downey AR, Yuan L, Huang H-T. Real-time structural validation for material extrusion additive manufacturing. Addit. Manuf. 2023;65:103409. doi: 10.1016/j.addma.2023.103409. [DOI] [Google Scholar]
  • 15.Tronvoll SA, Vedvik NP, Elverum CW, Welo T. A new method for assessing anisotropy in fused deposition modeled parts using computed tomography data. Int. J. Adv. Manuf. Technol. 2019;105:47–65. doi: 10.1007/s00170-019-04081-7. [DOI] [Google Scholar]
  • 16.Chung D, Somaratna S. Laboratory simulation of capacitance-based layer-by-layer monitoring of three-dimensional printing. Sensors Actuators A Phys. 2017;268:101–109. doi: 10.1016/j.sna.2017.10.061. [DOI] [Google Scholar]
  • 17.Chakraborty P, Zhao G, Zhou C, Chung D. Unprecedented sensing of interlayer defects in three-dimensionally printed polymer by capacitance measurement. Smart Mater. Struct. 2018 doi: 10.1088/1361-665X/aae16e. [DOI] [Google Scholar]
  • 18.Flowers PF, Reyes C, Ye S, Kim MJ, Wiley BJ. 3D printing electronic components and circuits with conductive thermoplastic filament. Addit. Manuf. 2017;18:156–163. doi: 10.1016/j.addma.2017.10.002. [DOI] [Google Scholar]
  • 19.Watschke H, Hilbig K, Vietor T. Design and characterization of electrically conductive structures additively manufactured by material extrusion. Appl. Sci. 2019 doi: 10.3390/app9040779. [DOI] [Google Scholar]
  • 20.Schouten M, et al. A review of extrusion-based 3d printing for the fabrication of electro- and biomechanical sensors. IEEE Sens. J. 2021 doi: 10.1109/JSEN.2020.3042436. [DOI] [Google Scholar]
  • 21.Lazarus N, Bedair SS. Creating 3D printed sensor systems with conductive composites. Smart Mater. Struct. 2020 doi: 10.1088/1361-665x/abcbe2. [DOI] [Google Scholar]
  • 22.Dijkshoorn, A. et al. In-situ monitoring of layer-wise fabrication by electrical resistance measurements in 3D printing. In 2020 IEEE Sensors. 1–4. 10.1109/SENSORS47125.2020.9278632 (2020).
  • 23.Dijkshoorn, A., Neuvel, P., Stramigioli, S. & Krijnen, G. WO2022043505A1. In-situ Monitoring of Additive Manufacturing (2022).
  • 24.Dijkshoorn, A., Jonkers, H., Krijnen, G., Neuvel, P. & Stramigioli, S. In-situ monitoring for fused filament fabrication by means of multi-electrode resistance measurements. In SMSI 2023 Conference. 10.5162/smsi2023/p24 (2023).
  • 25.Parker H, et al. In-situ print characterization and defect monitoring of 3D printing via conductive filament and ohm’s law. Proc. Manuf. 2021;53:417–426. doi: 10.1016/j.promfg.2021.06.044. [DOI] [Google Scholar]
  • 26.Dijkshoorn A, Schouten M, Stramigioli S, Krijnen G. Modelling of anisotropic electrical conduction in layered structures 3D-printed with fused deposition modelling. Sensors. 2021 doi: 10.3390/s21113710. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Zhang J, et al. Resistivity and its anisotropy characterization of 3D-printed acrylonitrile butadiene styrene copolymer (ABS)/carbon black (CB) composites. Appl. Sci. 2017 doi: 10.3390/app7010020. [DOI] [Google Scholar]
  • 28.Dijkshoorn A, et al. Characterizing the electrical properties of anisotropic, 3D-printed conductive sheets for sensor applications. IEEE Sens. J. 2020;20:14218–14227. doi: 10.1109/JSEN.2020.3007249. [DOI] [Google Scholar]
  • 29.Daniel F, Gleadall A, Radadia AD. Influence of interface in electrical properties of 3D printed structures. Addit. Manuf. 2021;46:102206. doi: 10.1016/j.addma.2021.102206. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Pejak Simunec D, Sola A. Emerging research in conductive materials for fused filament fabrication: A critical review. Adv. Eng. Mater. 2022;24:2101476. doi: 10.1002/adem.202101476. [DOI] [Google Scholar]
  • 31.Stano G, Sayah N, Smith DE, Fleck TJ. Effect of process parameters in additively manufactured sensors prepared via material extrusion processes: Correlation among electrical, mechanical and microstructure properties. Addit. Manuf. Lett. 2024;9:100194. doi: 10.1016/j.addlet.2024.100194. [DOI] [Google Scholar]
  • 32.Daniel F, Patoary NH, Moore AL, Weiss L, Radadia AD. Temperature-dependent electrical resistance of conductive polylactic acid filament for fused deposition modeling. Int. J. Adv. Manuf. Technol. 2018 doi: 10.1007/s00170-018-2490-z. [DOI] [Google Scholar]
  • 33.Jonkers, H., Kosmas, D., Schmitz, J. & Krijnen, G. Thermal resistivity of FFF printed carbon black doped polymers. In 2023 IEEE FLEPS. 1–3. 10.1109/FLEPS57599.2023.10220388 (2023).
  • 34.Filament Test Cube (2017). https://www.thingiverse.com/thing:2166102 This work is licensed under the Creative Commons - Attribution - Share Alike license. For a copy of this license, visit https://creativecommons.org/licenses/by-sa/4.0/deed.en
  • 35.Risco-Castillo, M. Professional Firmware for the Creality Ender 3 v2/s1 Printers. https://github.com/mriscoc/Ender3V2S1.
  • 36.Dijkshoorn, A., Schouten, M., Stramigioli, S. & Krijnen, G. Model code of anisotropic electrical conduction in layered 3D-prints with fused deposition modeling. 10.4121/14364710.V1 (2021). [DOI] [PMC free article] [PubMed]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Supplementary Video 1. (43.9MB, mp4)
Supplementary Video 2. (29.4MB, mp4)
Supplementary Video 6. (36.4MB, mp4)

Data Availability Statement

The datasets generated and/or analysed during the current study are available in the 4TU.ResearchData repository, https://doi.org/10.4121/c17ac579-bab1-4f58-ba67-a95182fd021f.v1.


Articles from Scientific Reports are provided here courtesy of Nature Publishing Group

RESOURCES