Next Article in Journal
Expected Impacts of the Massive Increase in Electric Vehicles in Slovakia
Next Article in Special Issue
Review and New Aspects in Combining Multipoint Moulding and Additive Manufacturing
Previous Article in Journal
Spam Classification Based on Signed Network Analysis
Previous Article in Special Issue
Improvement of Radiant Heat Efficiency of the Radiant Tube Used for Continuous Annealing Line by Application of Additive Manufacturing Technology
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Forecasting Warping Deformation Using Multivariate Thermal Time Series and K-Nearest Neighbors in Fused Deposition Modeling

1
Department of System Design and Control Engineering, Ulsan National Institute of Science and Technology, Ulsan 44776, Korea
2
Department of Mechanical Engineering, Ulsan National Institute of Science and Technology, Ulsan 44776, Korea
3
Department of Electrical and Computer Engineering, Carnegie Mellon University Africa, Regional ICT Center of Excellence Bldg, Kigali Innovation City, Bumbogo BP 6150, Kigali 20093, Rwanda
*
Author to whom correspondence should be addressed.
Appl. Sci. 2020, 10(24), 8951; https://doi.org/10.3390/app10248951
Submission received: 24 November 2020 / Revised: 9 December 2020 / Accepted: 14 December 2020 / Published: 15 December 2020
(This article belongs to the Special Issue Additive Manufacturing and System: From Methods to Applications)

Abstract

:
Over the past decades, additive manufacturing has rapidly advanced due to its advantages in enabling diverse material usage and complex design production. Nevertheless, the technology has limitations in terms of quality, as printed products are sometimes different from their desired designs or are inconsistent due to defects. Warping deformation, a defect involving layer shrinkage induced by the thermal residual stress generated during manufacturing processes, is a major factor in lowering the quality and raising the cost of printed products. This study utilized a variety of thermal time series data and the K-nearest neighbors (KNN) algorithm with dynamic time warping (DTW) to detect and predict the warping deformation in the printed parts using fused deposition modeling (FDM) printers. Multivariate thermal time series data extracted from thermocouples were trained using DTW-based KNN to classify warping deformation. The results showed that the proposed approach can predict warping deformation with an accuracy of over 80% by only using thermal time series data corresponding to 20% of the whole printing process. Additionally, the classification accuracy exhibited the promising potential of the proposed approach in warping prediction and in actual manufacturing processes, so the additional time and cost resulting from defective processes can be reduced.

1. Introduction

Additive Manufacturing (AM), also known as 3D printing, refers to a form of fabricating three-dimensional objects, where materials are deposited layer-by-layer to ensure even complex shapes. Due to this characteristic, AM has become a major source of paradigm shifts, as seen in various industries. From small and simple tools to industries that require huge sizes and high reliability, such as the aerospace, energy, engine, and biomedical industries, 3D printing technology is gradually expanding [1,2,3,4]. Despite the various potentials of 3D printing, some defects, such as thermal deformations and geometrical errors, have been major hindrances in AM processes. Such defects cause unnecessary time and cost increases in many manufacturing processes, crucially reducing the efficiency of the manufacturing industry. Therefore, defect minimization and detection, including early detection, are vital regarding increasing the efficiency and reliability of AM processes.
Since it is very important to ensure high reliability and quality in manufacturing, most studies have so far focused on finding optimal process parameters to minimize defects such as thermal deformations and geometrical errors [5,6,7,8,9,10,11]. Equbal et al. [5] aimed at optimizing process parameters using fused deposition modeling (FDM). The analysis of variance was also used to study the effect of three main parameters: raster angle, raster width, and raster to raster gap. Sun et al. [7] experimentally documented the influence of some process parameters on the part quality and micro property in selective laser melting. In this research, the effect of each process parameter on the quality and defect formation in manufacturing processes was described in detail. Although optimizing process parameters improves the overall quality of manufacturing, thus reducing the number of defects, it is still important to monitor the remaining defects. That is, in addition to parameter optimization, accurate defect early detection must also be performed. There are many studies regarding in-situ monitoring and early detection, and they have been the focus of conventional statistical methods [12,13]. Wu, Yu, and Wang [12] attempted to establish a sensor-based monitoring system for the conditions of machines to increase part quality. Generally, the use of acoustic emission sensors and hidden semi-Markov models serves as a diagnostic tool of FDM processes.
Recently, many studies have used machine learning (ML) techniques to detect defects using process parameter information [14,15,16,17,18]. Lyu and Manoochehri [18] presented that the use of artificial neural networks and support vector regression can facilitate the prediction accuracy of many models. In this study, the analysis of the relationship between product geometry, which is affected by defects, and process parameters were described. One of the factors that greatly affect the product geometry is warping deformation, which refers to the phenomenon in which a fabricated part is detached from a built platform. Such deformations usually start from corners, as this defect usually occurs due to thermal residual stresses. Most of these thermal defects, such as warping deformation, determine the final quality and are mainly caused by process parameters. However, it is not easy to forecast warping deformation using only process parameters, even with ML techniques. This is because it is not only difficult to directly identify how each process parameter affects the results but also because many input variables and input data are needed for ML.
Unlike prior research that has mainly focused on the relationship between process parameters and defect forecasting, this study aimed at predicting the defects of thermal time series data using in-situ monitoring. In addition, this study has focused on thermal deformation, especially the warping deformation in FDM, by analyzing thermal time-series patterns. For the in-situ monitoring of the heat data, a thermocouple device was used, and through the K-nearest neighbor (KNN) technique reflecting dynamic time warping (DTW), which is an ML technique, thermal time series data were analyzed to present a method for effectively predicting and detecting warping deformation. In addition, this study explores the feasibility of early detection of warping deformation. Note that early detection of warping deformation can potentially improve the printing quality through real-time introduction of corrective measures or save both time and material cost through halting the printing process, once warping deformation is detected. Additionally, a detailed method for predicting warping deformation through time-series analyses was discussed.
The paper is organized as follows. Section 2 explains the background of warping deformation and the DTW and KNN technique used in this study. Section 3 shows the experimental setup, data set, and model framework. Section 4 shows the results and discussion. Finally, Section 5 shows the conclusions, including the limitations and future works.

2. Backgrounds

2.1. K-Nearest Neighbors

The K-nearest neighbors algorithm (KNN) is a non-parametric supervised learning method used for both classification and regression. In regression, the KNN outputs the weighted average of the KNNs. That is, for an input x, the output estimate y can be expressed as
y ^ ( x ) = 1 k i = 1 k Y i ( x )
where Y i ( x ) is the output of the X i ( x ) nearest neighbor of x. The equation above can be rewritten as
y ^ ( x ) = 1 k i = 1 n Y i 1 x i { X 1 ( x ) , X k ( x ) } ,
where X i ( x ) is the i-th nearest neighbor of x. Using the Euclidian distance, this means that x X 1 ( x ) x X 2 ( x ) x X n ( x ) , where n is the total number of inputs. The parameter choice plays a fundamental role in the algorithm performance. Oftentimes, a number of K values are assessed before selecting the best one for a specific task. Note that, in general, a very small K often models the noise, while with a very large K, the neighbors lead to high bias. Some implementations also use a distance-based voting scheme, where closer neighbors, which correspond to setting a dynamic weight, have more influence, as shown in Equation (2).

2.2. Dynamic Time Warping

DTW is an algorithm used to obtain an effective alignment between two discrete signals. Let X = X 1 , X 2 , , X N and Y = Y 1 , Y 2 , , Y M be two time-dependent sequences. DTW seeks to find a non-linear warping of X and Y, such that the points with high similarities ( X i , Y j ) are aligned together. That is, the best alignment maximizes the sum of the similarities of the alignment pairs. Thus, DTW can be thought of as a mapping function f : X × Y   R , where for each pair ( x n , y m ) , there is an associated cost, which is also known as a local distance measure. The goal is to find the best alignment that is equivalent to
m i n i = 1 N j = 1 M f ( x i , y i ) ,
where f ( x i , y i ) is inversely proportional to the similarity between x i   and   y i .
Note that the warping path must satisfy the following three conditions: boundary condition, monotonicity condition, and step size condition. The boundary condition assesses whether the first elements of X and Y and the last elements of X and Y are aligned together. The monotonicity condition implies that for any ordered sequence X i , X j , where X i , X j is aligned to element Y i , Y j respectively, the order in the X sequence shall be maintained in the corresponding alignment in Y. Finally, the step size condition ensures that the alignment is bijective or that it has a one-to-one correspondence. That is, all the index pairs in a warping path p are pairwise distinct.

3. Experiments

3.1. Experimental Setup

All the experiments in this study were performed using a commercial desktop FDM machine Zortrax M200 Plus. The machine was equipped with four thermocouples operating in continuous mode to measure the specimen temperature during the printing process. The experimental test setup is shown in Figure 1. Type K thermocouples with 0.1 °C resolution and ±0.5 °C accuracy were mounted on special plastic holders to minimize the noise resulting from the vibration of the machine, and the holders were attached to the build platform at a distance of 10 mm from each specimen corner. The thermocouples were numbered according to their measuring corner. The surrounding temperatures of the specimen were recorded during the entire printing process using an eight-channel thermocouple temperature data logger OM-CP-OCTTEMP-A with a reading rate of 1 Hz, which was connected to a local computer.
As a specimen, a cuboid model with dimensions of 100   mm × 30   mm × 5   mm ( l × w × h ) as shown in Figure 2a was designed based on the works of Alsoufi and Elsayed [19]. Experiments were conducted with the extrusion temperature varying from 240 °C to 275 °C and platform temperature varying from 50 °C to 90 °C with 5 °C increments. All other manufacturing process parameters were kept constant and they are listed in Table 1.

3.2. Dataset and Preprocessing

The dataset had a total of 50 samples collected with various process parameter combinations, with each sample consisting of four thermal time series data. The samples were divided into two categories according to the existence or non-existence of warping deformation. After printing a specimen, the warping deformation of the specimen was specified by measuring the angle θ at each corner. The corner angle θ is obtained using the following equation:
θ = t a n 1 ( y x )
where y is the corner height and x is the horizontal distance of the corner from the nearest center of the specimen, both measured using a digital vernier caliper. In this work, the center point in between corners 1 and 4 and corners 2 and 3 were considered as the centers of the specimen. The parts peeled away with an angle greater than 1° with the platform were considered to have warping deformation. If a specimen had more than one warped corner, it was classified as a warped specimen. Images of the produced specimens with and without warping deformation are shown in Figure 3.
The thermal time series data extracted from the thermocouple sensors installed at the corners of the specimen with and without warping deformation are shown in Figure 4. As seen in the figure, TC1 and TC2, as well as TC3 and TC4, moved relatively similarly as their corner distance was closer.
The noise data at both ends of the data were removed to extract the patterns of the time series data in a unified interval. The length of each time series data was set as 2640 steps to conduct a model learning and performance evaluation. Min-max normalization was also conducted on the data for more stable learning. In general, min-max normalization is used to prevent certain features from overwhelming others and to make models more stable to learn. The min-max normalization is calculated as in Equation (5).
x = x     x m i n   x m a x     x m i n
where x is the original value, and x m a x and x m i n are the maximum and minimum values of each feature, respectively.

3.3. Model Training

In this paper, the KNN model was trained and evaluated in two different ways using thermal time series data to predict whether warping deformation occurs or not.
First, warping deformation was predicted based on the thermal time series data extracted after the entire printing process was completed. The data collected from the 50 samples were split into training and testing sets of 40 and 10 samples, respectively. 5-fold and 10-fold cross-validations were conducted to generalize the performance.
Another experiment was conducted using partial thermal time series data corresponding to a portion of the whole printing process to predict whether warping deformation occurs in end-products. The entire time-series data were divided into five segments and increased by 20%. The generalized performance was also compared and analyzed through cross-validation.

3.4. Performance Evaluation Methods

In the field of ML, the confusion matrix, also called the error matrix, is generally used to represent the performance of models. A corresponding matrix comprises class labels and subsets as in Table 2. In this study, the labels were classified into two classes: positive for warped samples and negative for unwarped samples.
Four subsets were considered based on the classified labels. True positive is the correct prediction of a warped sample, and true negative is the correct prediction of an unwarped sample. False positive is the incorrect prediction of an unwarped sample into a warped sample, and false negative is the incorrect prediction of a warped sample into an unwarped sample.
In this experiment, the evaluation metrics defined in Equations (6)–(10) were used based on the above-classified subsets to determine the classification performances of predicting and categorizing the occurrence of warping deformation.
Both the prediction error (ERR) and accuracy (ACC) provided general information on how many samples were misclassified, and they are expressed in Equations (6) and (7), respectively. Error is the sum of incorrect predictions divided by the number of predicted samples, and accuracy is the sum of correct predictions divided by the number of predicted samples. Accuracy has an inverse relationship with prediction error and can be expressed in terms of error as in Equation (7). Precision is the proportion of the warped samples among the ones predicted as warped, while recall is the proportion of the predicted samples as warped among the warped ones. F1-score is the harmonic mean of precision and recall. Higher values of the following three metrics indicate better predictive performances. These metrics are expressed in Equations (8)–(10).
E R R = F P   +   F N F P + F N + T P + T N
A C C = T P + T N F P + F N + T P + T N   =   1 E R R
P r e c i s i o n = T P T P + F P
R e c a l l = T P T P + F N
F 1 -score = 2 ( P r e c i s i o n + R e c a l l ) P r e c i s i o n   +   R e c a l l

4. Results and Discussion

As mentioned in Section 3.3, the performances of the warping deformation prediction in the two cases were compared and analyzed through various classification evaluation metrics. The performance results of the DTW-based KNN model are shown in Figure 5. The model was trained with 40 training data (25 warped data and 15 unwarped data) and tested with 10 testing data (5 warped data and 5 unwarped data) for warping prediction according to the K value. K is one of the major hyperparameters of the KNN algorithm. The results showed the lowest error rate of 10% and the highest accuracy of 90% when the K value was 26. Based on Figure 5 and Equations (6) and (7), the error rate and accuracy have an inverse relationship. The performance of classifying the time series patterns rapidly dropped with a K value greater than the highest performing K value. Once the K value exceeded 30, the DTW-based KNN model completely lost its classification capabilities.
The confusion matrix and receiver operating characteristic (ROC) curve evaluating the testing data using the highest performing K value are shown in Figure 6. As depicted in Figure 6a, all five unwarped samples were correctly classified, while one warped sample was classified as an unwarped sample.
The classification performance was as follows when evaluated based on the confusion matrix in the case of the warped data. The precision was 0.83, recall was 1.0, and f1-score was 0.91. However, in the case of the unwarped data, the precision was 1.0, recall was 0.8, and f-1 score was 0.89. The graph in Figure 6b shows the performance of the classification model at all the thresholds, where the area below the curve is called the area under the curve (AUC). A high AUC value signifies a high model performance. The AUC in this experiment was found to be 0.9, which is consistent with the accuracy.
K-fold cross-validation (CV) was performed to avoid any bias in the prediction performance for specific test samples due to the limited data and to generalize the performance. The k values of 5 and 10 were used along with 20% and 10% of the testing data, respectively. Figure 7 shows the obtained mean accuracy results according to the K values in each CV. At a K value of 3, 82% accuracy for the 5-fold CV and 84% accuracy for the 10-fold CV were obtained. Like the results obtained using a single testing set, the classification performance of the prediction model was drastically reduced as the K value exceeded a specific value (31 for the 5-fold CV and 36 for the 10-fold CV). Although the highest performance of the two CVs did not differ significantly, the k value with the lowest performance was smaller for the 5-fold CV.
The KNN model was also trained using the partial time series data rather than the entire data with the purpose of early detection of the warping deformation. The length of the partial time series data was adjusted by splitting the entire data into five equal sections. The early detection results using the partial time series according to the highest performing K values are listed in Table 3. The predictive model did not differ much in performance between the CVs, but it showed a difference depending on the length of the time-series data. For both the 5-fold and 10-fold CV, the overall performance of the model was lowest when only 20% of the data were fed, and it was highest when 40% of the data were fed. The experimental results have shown that warping deformation can be early detected with at least 80% accuracy even when using a small length of thermal time series data. The possibility of detecting the warping deformation using as little as 20 percent of the printing process implies two possible conclusions. First possibility is that the warping deformation occurs early in the printing process. The second possibility is that early patterns in heat data possess all the predictive power of warping deformation occurring in later stages of the printing.

5. Conclusions

This paper presented two types of warping deformation prediction methods in FDM based on a DTW-integrated KNN algorithm and multivariate thermal time series data. First, a KNN model was trained using the thermal time series data of a whole printing process to determine whether warping deformation had occurred. Second, only partial thermal time series data were fed into the predictive model to carry an early detection of the warping deformation in the specimens.
To ensure stable performance results, the value of the main parameter K of the KNN algorithm was searched using the K-elbow method. The key classification performance indicators were also compared and analyzed using 5-fold and 10-fold CVs to generalize the performance of the limited number of data.
The results showed 84% accuracy in the 10-fold cross-validation and 82% accuracy in the 5-fold cross-validation when the warping deformation was predicted based on the pattern of the entire thermal time series data. Moreover, the trained model showed a relatively good performance by predicting the warping deformation occurrence with an accuracy of 80% using thermal time series data corresponding to only 20% (one-fifth) of the entire printing time.
The proposed methodologies not only detected the defects in a printed product but also predicted warping deformation with high accuracy. According to the obtained results, this approach can be introduced to actual manufacturing processes as a quality monitoring system to support the inspection process of defective products. This study can also be used as a stepping stone to build a feedback control system for warping prediction that can significantly reduce the unnecessary time and additional cost resulting from printing defective products.
The presented study is limited due to a major element, which is data. In general, machine-learning-based prediction models show stronger performance when fed with more data. However, a limited amount of data was provided to the current model due to physical restraints. Another limitation is unbalanced data, which can lead to biased model prediction due to the data being skewed to particular target values. Although the unbalanced data problem was tackled in this study by printing a similar number of warped and unwarped samples, such a method cannot be applied in actual production processes. Hence, the authors aim to improve the prediction performance by increasing the number of samples and by trying to come up with a solution to the unbalanced data problem. The transfer of the presented results to other AM environments will also be investigated in the near future.

Author Contributions

D.S. are responsible for conceptualization, the model development and analysis of the results. A.M.C.B. contributed to conceptualization, experimental setup, data collecting, and curation. J.K. and M.B. investigate related works and methodology used in this paper. All authors contributed to writing of the manuscript. N.K. verified the model framework and results and supervised the project. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Ulsan National Institute of Science and Technology through the Development of 3D Printing based Smart Manufacturing core Technology research Fund under Grant 1.200069.01, and by Institute of Information & communications Technology Planning & Evaluation (IITP) grant funded by the Korea government (MSIT) (No. 2020-0-01336, Artificial Intelligence Graduate School Program (UNIST)).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Mehrpouya, M.; Dehghanghadikolaei, A.; Fotovvati, B.; Vosooghnia, A.; Emamian, S.S.; Gisario, A. The Potential of Additive Manufacturing in the Smart Factory Industrial 4.0: A Review. Appl. Sci. 2019, 9, 3865. [Google Scholar] [CrossRef] [Green Version]
  2. Goh, G.D.; Sing, S.L.; Yeong, W.Y. A review on machine learning in 3D printing: Applications, potential, and challenges. Artif. Intell. Rev. 2020, 1–32. [Google Scholar] [CrossRef]
  3. Ligon, S.C.; Liska, R.; Stampfl, J.; Gurr, M.; Mulhaupt, R. Polymers for 3D Printing and Customized Additive Manufacturing. Chem. Rev. 2017, 117, 10212–10290. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  4. Ngo, T.D.; Kashani, A.; Imbalzano, G.; Nguyen, K.T.Q.; Hui, D. Additive manufacturing (3D printing): A review of materials, methods, applications and challenges. Compos. B. Eng. 2018, 143, 172–196. [Google Scholar] [CrossRef]
  5. Equbal, A.; Sood, A.K.; Ansari, A.; Equbal, A. Optimization of process parameters of FDM part for minimizing its dimensional inaccuracy. Int. J. Mech. Prod. Eng. Res. Dev. 2017, 7, 57–66. [Google Scholar]
  6. Oliveira, J.P.; LaLonde, A.D.; Ma, J. Processing parameters in laser powder bed fusion metal additive manufacturing. Mater. Des. 2020, 193, 108762. [Google Scholar] [CrossRef]
  7. Sun, D.; Gu, D.; Lin, K.; Ma, J.; Chen, W.; Huang, J.; Sun, X.; Chu, M. Selective laser melting of titanium parts: Influence of laser process parameters on macro- and microstructures and tensile property. Powder Technol. 2019, 342, 371–379. [Google Scholar] [CrossRef]
  8. Gan, Z.; Li, H.; Wolff, S.J.; Bennett, J.L.; Hyatt, G.; Wagner, G.J.; Cao, J.; Liu, W.K. Data-Driven Microstructure and Microhardness Design in Additive Manufacturing Using a Self-Organizing Map. Engineering 2019, 5, 730–735. [Google Scholar] [CrossRef]
  9. Baturynska, I.; Semeniuta, O.; Martinsen, K. Optimization of Process Parameters for Powder Bed Fusion Additive Manufacturing by Combination of Machine Learning and Finite Element Method: A Conceptual Framework. Procedia CIRP 2018, 67, 227–232. [Google Scholar] [CrossRef]
  10. Jadhav, S.D.; Dadbakhsh, S.; Goossens, L.; Kruth, J.P.; Van Humbeeck, J.; Vanmeensel, K. Influence of selective laser melting process parameters on texture evolution in pure copper. J. Mater. Process. Technol. 2019, 270, 47–58. [Google Scholar] [CrossRef]
  11. Zhang, W.; Mehta, A.; Desai, P.S.; Higgs, C. Machine Learning enabled Powder Spreading Process Map for Metal Additive Manufacturing (AM). In Proceedings of the 28th Annual International Solid Freeform Fabrication Symposium, Austin, TX, USA, 7–9 August 2017; pp. 1235–1249. [Google Scholar]
  12. Wu, H.; Yu, Z.; Wang, Y. Real-time FDM machine condition monitoring and diagnosis based on acoustic emission and hidden semi-Markov model. Int. J. Adv. Manuf. Technol. 2017, 90, 2027–2036. [Google Scholar] [CrossRef]
  13. Liu, J.; Hu, Y.; Wu, B.; Wang, Y. An improved fault diagnosis approach for FDM process with acoustic emission. J. Manuf. Process. 2018, 35, 570–579. [Google Scholar] [CrossRef]
  14. Dučić, N.; Jovičić, A.; Manasijević, S.; Radiša, R.; Ćojbašić, Ž.; Savković, B. Application of Machine Learning in the Control of Metal Melting Production Process. Appl. Sci. 2020, 10, 6048. [Google Scholar] [CrossRef]
  15. Caggiano, A.; Zhang, J.; Alfieri, V.; Caiazzo, F.; Gao, R.; Teti, R. Machine learning-based image processing for on-line defect recognition in additive manufacturing. CIRP Ann. 2019, 68, 451–454. [Google Scholar] [CrossRef]
  16. Scime, L.; Beuth, J. Using machine learning to identify in-situ melt pool signatures indicative of flaw formation in a laser powder bed fusion additive manufacturing process. Addit. Manuf. 2019, 25, 151–165. [Google Scholar] [CrossRef]
  17. Kappes, B.; Moorthy, S.; Drake, D.; Geerlings, H.; Stebner, A. Machine Learning to Optimize Additive Manufacturing Parameters for Laser Powder Bed Fusion of Inconel 718. Available online: http://link-springer-com-443.webvpn.fjmu.edu.cn/chapter/10.1007%2F978-3-319-89480-5_39 (accessed on 13 May 2018).
  18. Lyu, J.; Manoochehri, S.I. Dimensional Prediction for FDM Machines Using Artificial Neural Network and Support Vector Regression. In Proceedings of the International Design Engineering Technical Conferences and Computers and Information in Engineering Conference, Anaheim, CA, USA, 18–21 August 2019; p. V001T02A033. [Google Scholar]
  19. Alsoufi, M.S.; Elsayed, A.E. Warping deformation of desktop 3D printed parts manufactured by open source fused deposition modeling (FDM) system. Int. J. Mech. Mechatron. Eng. 2017, 17, 7–16. [Google Scholar]
Figure 1. Images of the experimental setup (left) and the build platform with the four thermocouples (right).
Figure 1. Images of the experimental setup (left) and the build platform with the four thermocouples (right).
Applsci 10 08951 g001
Figure 2. (a) The sketch of cuboid model and (b) method of measurement at each corner.
Figure 2. (a) The sketch of cuboid model and (b) method of measurement at each corner.
Applsci 10 08951 g002
Figure 3. Printed specimens (a) with warping deformation and (b) without warping deformation.
Figure 3. Printed specimens (a) with warping deformation and (b) without warping deformation.
Applsci 10 08951 g003
Figure 4. (a) A sample of the thermocouple data from each corner of the not defected specimen; (b) A sample of the thermocouple data from each corner of the warping deformed specimen.
Figure 4. (a) A sample of the thermocouple data from each corner of the not defected specimen; (b) A sample of the thermocouple data from each corner of the warping deformed specimen.
Applsci 10 08951 g004
Figure 5. Performance change plot of the (a) error rate and (b) accuracy according to the hyperparameter K.
Figure 5. Performance change plot of the (a) error rate and (b) accuracy according to the hyperparameter K.
Applsci 10 08951 g005
Figure 6. (a) Confusion matrix and (b) receiver operating characteristic (ROC) curve based on the test data.
Figure 6. (a) Confusion matrix and (b) receiver operating characteristic (ROC) curve based on the test data.
Applsci 10 08951 g006
Figure 7. (a) 5-Fold Cross Validation and (b) 10-Fold Cross Validation curve based on the test data.
Figure 7. (a) 5-Fold Cross Validation and (b) 10-Fold Cross Validation curve based on the test data.
Applsci 10 08951 g007
Table 1. Printing process parameters.
Table 1. Printing process parameters.
Printing ParametersValuePrinting ParametersValue
MaterialABSExtrusion temperature (°C)240–275
Filament diameter (mm)1.75Platform temperature (°C)50–90
Nozzle diameter (mm)0.4Raster angle (°)±45
Layer height (mm)0.19Infill density (%)30
Printing speed (mm/s)66.7
Table 2. Confusion matrix representation for binary classification. Note that we defined “warping deformation” as abnormal.
Table 2. Confusion matrix representation for binary classification. Note that we defined “warping deformation” as abnormal.
Predicted Output
AbnormalNormal
Actual OutputAbnormalTrue Positive (TP)False Negative (FN)
NormalFalse Positive (FP)True Negative (TN)
Table 3. Warping deformation early detection performance results by the time series length.
Table 3. Warping deformation early detection performance results by the time series length.
Timeseries LengthPrecision
(5-CV/10-CV)
Recall
(5-CV/10-CV)
F1-Score
(5-CV/10-CV)
Accuracy
(5-CV/10-CV)
Best K Value
(5-CV/10-CV)
20%0.783/0.8330.750/0.7500.743/0.7430.800/0.8007/8
40%0.883/0.9160.850/0.8000.852/0.8130.880/0.8607/6
60%0.833/0.8660.850/0.8000.831/0.7960.860/0.8407/10
80%0.833/0.8660.850/0.8000.831/0.7960.860/0.8407/8
100%0.820/0.8660.750/0.8000.776/0.7960.820/0.8403/3
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Song, D.; Chung Baek, A.M.; Koo, J.; Busogi, M.; Kim, N. Forecasting Warping Deformation Using Multivariate Thermal Time Series and K-Nearest Neighbors in Fused Deposition Modeling. Appl. Sci. 2020, 10, 8951. https://doi.org/10.3390/app10248951

AMA Style

Song D, Chung Baek AM, Koo J, Busogi M, Kim N. Forecasting Warping Deformation Using Multivariate Thermal Time Series and K-Nearest Neighbors in Fused Deposition Modeling. Applied Sciences. 2020; 10(24):8951. https://doi.org/10.3390/app10248951

Chicago/Turabian Style

Song, Donghwan, Adrian Matias Chung Baek, Jageon Koo, Moise Busogi, and Namhun Kim. 2020. "Forecasting Warping Deformation Using Multivariate Thermal Time Series and K-Nearest Neighbors in Fused Deposition Modeling" Applied Sciences 10, no. 24: 8951. https://doi.org/10.3390/app10248951

APA Style

Song, D., Chung Baek, A. M., Koo, J., Busogi, M., & Kim, N. (2020). Forecasting Warping Deformation Using Multivariate Thermal Time Series and K-Nearest Neighbors in Fused Deposition Modeling. Applied Sciences, 10(24), 8951. https://doi.org/10.3390/app10248951

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