원시데이터 수집 시스템
선정목록으로

Classification of faults in friction stir processed composites using a machine learning and ensemble learning approach

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (3) 자동차 인테리어 소재

기본 정보

저자
  1. Pragya Saxena — Symbiosis Skills and Professional University (SSPU), Pune, MH, 412101, India
  2. Arunkumar Bongale — Symbiosis Institute of Technology, Symbiosis International (Deemed University), Pune, MH, 412115, India
DOI
10.1088/2053-1591/ad8ca2
저널
Materials Research Express
발행년도
2024
발행기관
IOP Publishing
피인용수
3
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1088/2053-1591/ad8ca2
토픽
Mechanical Behavior of Composites
OpenAlex ID
W4403857384

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(3) 자동차 인테리어 소재
R&D 측면
분석·모델링
확신도
0.70
근거 용어
machine learning, friction stir processing, defect detection, sensor data, composites
판단 근거
본 논문은 금속 복합재 제조 공정(FSP) 중 발생하는 결함을 머신러닝으로 탐지하는 기술을 다룹니다. 이는 코오롱인더스트리의 직접적인 제품(섬유, 필름 등) 연구는 아니나, 엔지니어링 플라스틱(23)이나 자동차 부품(3) 제조 공정의 스마트 팩토리 및 품질 관리(결함 탐지) 시스템 구축에 응용 가능한 기술입니다.
R&D 활용 포인트
복합소재 및 엔지니어링 플라스틱 제조 공정의 실시간 모니터링 및 결함 자동 분류 시스템(AI 기반 품질 관리) 개발에 활용 가능합니다.
평가 입력
본문 65,747자 중 30,032자 발췌

초록

Abstract Aluminium alloy-based surface composites with hard reinforcement particles have a wide scope in the aerospace and automobile manufacturing industries. In this paper, the aluminium composites, manufactured by friction stir processing (FSP) with varying parameters are investigated for the faults that occurred during the fabrication process. In this study, Al6061 alloy surface composites reinforced with copper and graphene are fabricated using Friction Stir Processing (FSP) on a CNC milling machine. The process involves heat generation through friction, leading to a uniform distribution of reinforcement particles in the matrix. Various sensors (vibration, current, and dynamometer) are used to monitor specific parameters during the FSP experimentation. The Taguchi L27 orthogonal array is employed to design experiments for analyzing sensor data from vibration sensors, current sensors, and dynamometers during composite fabrication. Data is collected in the time domain and processed using Python libraries. Also, it explores a machine-learning approach to detect defects of surface hybrid composites with an Al6061 alloy matrix, reinforced with copper and graphene nano-powders, using friction stir processing and a tungsten carbide tool on a milling machine. Multi-sensor time series data (vibration, force, and current) collected during fabrication, is preprocessed and labelled with normal and defective categories (e.g., pin break, brazing break, rough surface, no composite) using visual inspection. The important time domain and frequency domain features are extracted using different libraries in python. Then, various types of feature selection techniques, viz filter, wrapper, and embedded methods are implemented to select the most relevant features. The selected subset of features from all selection methods used are applied to different machine learning and ensemble learning classifiers, and their performances are evaluated. The optimal combinations of the type of feature selection method and classifier used, are obtained for efficient classification of surface defects in composited formed by FSP. The impact of feature selection on classification accuracy for defect identification in FSP-fabricated composites using multisensory data is conducted. Among filter methods, the Chi-square feature selection combined with the Gradient Boosting algorithm delivers the best performance. Forward feature selection with the Random Forest classifier achieves high accuracy in wrapper methods. Additionally, the Random Forest importance selection technique paired with the Random Forest classifier provides the highest accuracy among embedded feature selection methods. The real-time monitoring and defect detection system can be developed in the future for the composites developed by FSP using the developed models.

본문 65,747자

본문 펼치기
Symbiosis International University Symbiosis Institute of Technology Symbiosis International University Symbiosis Institute of Technology Symbiosis International University Symbiosis Institute of Technology Symbiosis International University Symbiosis Institute of Technology composites, defects, feature selection, sensor data, machine learning classification September 18th, 2024 [https://doi.org/10.21203/rs.3.rs-4834721/v1](https://doi.org/10.21203/rs.3.rs-4834721/v1)   This work is licensed under a Creative Commons Attribution 4.0 International License. [Read Full License](https://creativecommons.org/licenses/by/4.0/) Aluminium alloy based surface composites with hard reinforcement particles have wide scope in aerospace and automobile manufacturing industries. In this paper, the aluminium composites, manufactured by friction stir processing (FSP) with varying parameters are investigated for the faults occurred during fabrication process. It explores a machine-learning approach to detect defects of surface hybrid composites with an Al6061 alloy matrix, reinforced with copper and graphene nano-powders, using friction stir processing and a tungsten carbide tool on a milling machine. Multi-sensor time series data (vibration, force, and current) collected during fabrication, is preprocessed and labelled with normal and defective categories (e.g., pin break, brazing break, rough surface, no composite) using visual inspection. The important time domain and frequency domain features are extracted using different libraries in python. Thenafter, various types of feature selection techniques, viz filter, wrapper and embedded methods are implemented to select most relevant features. The selected subset of features from all selection methods used, are applied to different machine learning and ensemble learning classifiers and their performances are evaluated. The optimal combinations of the type of feature selection method and classifier used, are obtained for efficient classification of surface defects in composited formed by FSP. The real time monitoring and defect detection system can be developed in future for the composites developed by FSP using the developed models. Friction stir processing (FSP) has recently been established as the advanced method not only to alter the exterior microstructure and characteristics of substance but also to create high-quality surface composites through localized plastic deformation without undergoing melting of the material. Thus, it is an environmentally friendly technique for manufacturing surface composites. FSP has recently been utilized to obtain refined grain microstructure in aluminium alloy-based composites by adding suitable reinforcements and other metal alloys. It is based upon the principles of Friction Stir Welding (FSW) developed by researchers at The Welding Institute, UK [1], for joining two metal pieces utilizing the heat caused by friction. The joining of dissimilar metals, ultrasonic-assisted, and underwater joinings is obtained much more efficiently with friction stir welding technologies. FSP is utilized significantly in various applications, such as aerospace [2] and the automobile sector, requiring improved physical, chemical, and surface mechanical properties of metallic materials. Recent studies indicate that fundamental mechanisms drive significant microstructural and textural changes during FSW or FSP of different metals and alloys, resulting in a promising technique for fabricating surface hybrid composites [3]. FSP consists of a specifically shaped tool with a shoulder integrated with a pin, which, in rotating condition, is moved in the direction of the surface of the metal workpiece as fixed on a machine bed. The pin, integrated into the shoulder, is pushed inside the workpiece so that tool shoulder comes in complete contact with the metal surface. The FSP tool is then passed over the specified lane over the workpiece surface to be processed. The thermal energy is produced due to the friction produced when the tool shoulder slides over the metal surface, ensures localized recrystallization on the workpiece surface [4]. The recrystallization helps refine the microstructure of the grain near the matrix surface in the traversed region. Recent research includes improving the mechanical, thermal, and microstructural properties of the composites manufactured by FSP, with a wide range of mechanical tests optimizing the process parameters [5]. The influence of various factors on the surface characteristics is beneficial in determining the ideal range of values for achieving the desired results. However, today’s industry demands high production in less time with fewer defects, which leads to the application of Industry 4.0 in FSW and FSP of metal alloys or composites. The application of a machine learning approach for real-time monitoring surface composite manufacturing using the FSP technique with the help of multi-sensor data analysis is very rare. The recent research in this field includes the condition monitoring of the FSW and FSP of the composites utilizing machine learning techniques with the collected sensor data. Machine learning methods significantly regulate the process parameters and monitor friction stir welding and processing techniques. As surveyed by Ammar H. Elsheikh et al. [6], the utilization of machine learning techniques in FSW was examined. The study focused on predicting joint characteristics, online process csontrol, tool failure analysis, and the application of optimization techniques with machine learning methods. The study encompassed various methodologies, including linear regression, kNN, random forest, ANN, SVM, fuzzy system, adaptive neuro-fuzzy inference system, and random vector functional link [7]. Shivraman Thapliyal et al. [8] utilized a machine learning-based model to investigate how input factors influence the physical characteristics during the copper welding by FSW. It was observed that the neural network obtained the maximum accuracy using a deep leaning model in predicting the ultimate tensile strength over kNN, decision tree, and information gain methods. Researchers are now attempting to employ real-time monitoring by integrating multiple sensors throughout the FSP. Bipul Das et al. [9] utilized the online torque sensor data recorded during the FSW process by using the discrete wavelet technique to identify the process faults. Also, the feature selection methods employ the chosen features in the support vector machine to predict the tensile strength of the joints formed by the FSW of AA1100. In another similar study by Sangyoung Yoon et al. [10], defects are identified in the laminated composites using deep learning by highly non-linear solitary waves. The several characteristics influence the classification efficiency of the deep learning algorithms which is investigated. It is observed that the proposed algorithm achieved high accuracies in recognizing the defects and locating them on the composite surfaces. These studies indicate the possibilities of utilizing machine learning and deep learning techniques to achieve online detection system for identification of defects in the composites. The applicability of machine learning (ML) classifiers, fitted and tested on different systems, is investigated by Yuxuan Chen et al. [11] for predicting the faults in air conditioners using sensor data. After selecting suitable features with feature selection techniques, they investigated the significant improvement in the accuracies of machine learning-based classifiers. In another work, Hossein Moosaei et al. [12] attempted to improve the classification accuracy by simultaneously implementing the feature selection and machine learning classification by the twin k-class support vector machine (SVM) algorithm. It was found that the method improved the classification accuracy significantly. An investigation conducted by Ayat Naji Hussain et al. [13] includes applying feature extraction techniques, feature selection techniques, and utilizing machine learning based classifiers to automatically classify the foot disorders to help in leg rehabilitation. It was obtained that the feature selection techniques help in modifying the classification accuracies of the machine learning models up to 99%. Wei Guan et al. [14] evaluated the distinctive patterns of change in the force signals as measured by force sensors for FSW joints, including metal joints that have defects and metal joints that do not have defects, using Fast Fourier transform to analyze the distortion in waveform in the traverse force helping in investigating the material flow and defect formation. Zhiwei Li et al. [15] introduced a technique for circular laser scanning by sensing many parameters in the 5-axis RFSW. The laser displacement sensor underwent rotational movement around the tool, generating a sequence of measured points to capture the three-dimensional form of the workpiece accurately. Using a laser displacement sensor decreases the required quantity of sensors and enables dependable process sensing. Sharda et al. [16], 2013, proposed a hybrid filter-type technique for selecting features that combines two methods, Relief-F and Pearson Correlation. The technique aims to reduce the complexity of the classifier and achieve high accuracy in classification algorithms. The result is a feature set with improved performance. The increasing popularity of IIoT tools and applications has led to a growing interest in online condition monitoring systems that offer remote access capabilities. Utilizing these tools to monitor production operations can result in improved performance and heightened efficiency. A group of researchers working on tool wear prediction utilized a tool wear dataset [17]. Various feature selection techniques, including the PCC, random forest (RF), PCC with RF and PCA with PCC, were employed. The same group of authors also utilized the dataset to estimate the Remaining Useful Life (RUL) of the cutting tool in milling [18]. The more the level of excellence in feature engineering conducted on the raw data, higher is the accuracy of the forecast. Adham E. Ragab et al. [19] presented the development of an online monitoring system utilizing Raspberry Pi and thermocouple and force sensors for the purpose of monitoring the peak temperature and axial force during spot welding using friction stir process (FSSW). They examined influence of tool rotation rpm, plunge rate, and time duration on maximum temperatures and axial forces during spot welding by FSW. The study by Santwana Gudadhe et al. [20] involved the classification of cerebral CT images by hemorrhage using various machine learning classifiers. A method is created by combining the features based on texture and transform to develop a combined feature-based approach. The proposed collaborative feature extraction technique enhances the accuracy of CT image classification compared to the features extraction based on texture and transform respectively. The transform-based feature approach utilizes the energy coefficients of CT images. A review work by Balachandar K et al. [21] focuses on the present level of comprehension and advancement of the input factors during the friction based joining and processing techniques. They focused that to determine the most likely causes of failure, many techniques are employed to gather data, such as vibration monitoring. Thermal imaging refers to the process of using specialized equipment to capture and display the infrared radiation emitted by objects, allowing for the visualization of heat patterns and temperature variations. Some researchers examined the additive manufacturing of multilayered Al6061 alloy using the friction stir powder additive manufacturing [22]. The goal was to modify physical and grain structural characteristics of the alloy by reducing the temperature variation in the direction of process. This was achieved by maintaining the substrate in close proximity to its designated temperature for artificial aging by utilizing an external heat source within a closed-loop system. In this paper, the machine learning approach is utilized for classification of surface defects occurring in composites manufactured by FSP. The multi-senosor data from vibration (tool, matrix), current (tool) and force sensors (matrix) mounted on the milling machine, is collected at a sampling rate of 1000 Hz with the help of a data acquisition system during the fabrication of surface composite samples by FSP. The raw sensor collected is subjected to preprocessing, i.e., data cleaning, eliminating noise, outliers, etc. The relevant features of the preprocessed data are extracted to characterize and reduce the dimension of data. Also, the ten most important features are selected using each of the feature selection techniques used. Figure 1 shows the proposed framework for classifying faults in the composite samples prepared by FSP. The paper is categorized into five sections. Section 1 provides an introduction to the framework of the defect classification of composites with related literature. Section 2 represents the material and detailed methodology, viz., sample preparation, FSP experimentation, and, Physical identification of surface defects in fabricated composites utilized for the preparation and analysis of composites. Section 3 represents the sensor data analysis including data acquisition and preprocessing; extraction of relevant features, selection of important features; fault classification models; and, evaluation of models. Section 4 represents the discussion of results, including; extracted features, selected features, performance evaluation using classification models, and comparative result analysis. Section 5 throws light on an important conclusion regarding the selection of optimal methods for the effective classification of faults in surface composites. 2.1 Experimentation Detail In the study, the surface composites of Al6061 alloy matrix with copper and graphene reinforcements are prepared by FSP on the CNC milling machine. FSP parameters selected are: Tool rpm = 1000 rpm, Tool feed = 45 mm/min, depth of cut = pin length, i.e., 5 mm [23]. The experimentation involves advancing FSP tool into the Al6061 alloy matrix having holes filled with reinforcement with traverse direction motion. The rubbing action between the tool shoulder and the matrix filled with reinforcement causes friction and the heat generation which produces surface composite with uniform distribution of the particles [24]. Various sensors pre-installed on the milling machine, are utilized, during FSP experimentation, i.e., composite fabrication, for analyzing specific parameters. These include two vibration sensors (spindle and table), one current sensor (spindle), and a dynamometer (table) with loads in X, Y, Z axes. The FSP setup for multisensor data collection is shown in Fig. 2. 2.2 Signal Acquisition The composites prepared by FSP are likely to be subjected to various surface defects due to fabrication or machining errors. These defects are identified with the help of signals collected through various sensors, such as vibration sensor, current sensor, and dynamometer. Vibration sensors are sensitive to surface condition and any irregularities on surface may alter their amplitude resulting in detection of faults. The current sensor mounted on the machine spindle, determines the variation in the amount of current drawn by spindle providing insights into the stability of the operation and and indicate inconsistenies occurred due to defects. A table-based dynamometer, is placed between workpiece and machine bed, for collecting the signals for load in X, Y and Z directions to obtain slight variation in the axial and transverse loads [25] on the matrix plate during FSP which indicate presence of defects. When a defect occurs as the tool is passed over the matrix surface with reinforcement filled into the holes, the magnitudes of the cutting forces suddenly increase. Vibration levels might vary significantly during FSP. The vibration mainly affects the holding devices for tool or workpieces in multiple directions [26]. A current sensor is installed on the machine spindle and determines the current drawn by the tool during process. Also, the vibrations caused during the process are investigated in this study using accelerometers. Two vibration sensors, one on tool spindle, and another on the machine bed where matrix plate is fixed, are utilized for measuring vibration signals on the tool and on the composite being prepared respectively. The signal acquisition equipment are mentioned in Table 1. A signal acquisition system by National Instruments, (NI USB-6210) has been used to collect the data for further processing. The data acquisition module acts as a medium that helps to digitize the analog signals collected from all the sensors so that they can be synchronized and analyzed simultaneously. One data file consists of the multisensory data during one pass (lap) of FSP tool travel on the matrix filled with reinforcement to form surface composites. Table 1 <u>Details of Signal Collection equipment and sampling frequency</u> 1 Vibration (Tool) Tool spindle VBR1/D0-3V 2 Vibration (Matrix) Machine bed VBR1/D0-3V 3 Current (Tool) Tool spindle Pico TA018 4 Dynamometer (Load cell X) Machine bed XEEPL FHC 031 5 Dynamometer (Load cell Y) Machine bed XEEPL FHC 031 6 Dynamometer (Load cell Z) Machine bed XEEPL FHC 031 2.3 Sensor data processing The sensor data collected is preprocessed, i.e., cleaned and organized, to structure data and remove unnecessary data. This includes the data being transformed or encoded into a more understandable form so that the computer can easily comprehend the multi-sensor signals as recorded. The data labelling includes defining the target variables for each sensor data. According to the visual inspection of the composites prepared, the data is categorized in terms of their defect condition. The reason for the occurrence of these surface defects is the manual sample preparation and experimentation errors. The data is split into features (X) and labels (y). The features refer to the multi-sensor data. The five different labels (categories) as the target variable (y) are selected as normal composite, pin-break composite, rough surface composite, no composite, and brazing-break composite. Figure 3 shows the raw sensor data signals for vibration (table) sensor for all five labels of composites. Normal composite refers to those samples where moderate levels of vibration, current and cutting forces with no significant changes in sensor readings are observed. Pin break type composites are those in which, after the FSP tool traverses, the pin is broken from the shoulder and is stuck into the matrix surface. It is caused by excessively high pin temperature due to the lack of a sufficient amount of release of material chips during the tool traverse. The break point refers to the sudden increase in current drawn by motor due to excessive load and a moderate rise in vibration amplitudes during the end of tool travel. In the rough surface type composites, an uneven surface composite layer is formed which includes voids and clusters of particles. The reason is the uneven surface contact between the tool and matrix surface during FSP due to excessive traverse speed resulting in lack of axial pressure on the matrix surface and improper recrystallization. High cutting forces occur throughout the tool traverse in the rough surface composites. a moderate rise in vibration amplitudes is observed during the end of tool travel in pin break and brazing break composites. No composite type are those in which the tool is not properly in contact with the matrix surface and the holes filled with reinforcement during FSP. This results in no or negligible dispersion embedding the reinforcement into the matrix and hence no manufacturing of composite occurs. This type of composite fabrication shows a significant drop in vibration, current and force signals. The brazing break type composites refer to the composites during fabrication of whom, the brazed tool (FSP tool is a steel body brazed with tungsten carbide shoulder and pin) undergoes failure as the rise in temperature in the tool body reaches the brazing temperature (450C approx.) during the tool traverse.֯ There is a gradual rise and then a sudden drop in the vibration signals during the brazing failure. However, the current and load in z direction suddenly rise and drop at the breaking point. Figure 4 shows the detailed methodology adopted for fault classification of surface composites prepared by FSP. Also, the detailed explanation on the steps followed in the methodology, such as sensor data processing, feature extraction, feature selection, and classification of faults in the methodology are discussed in the current and sections further. 2.4 Feature Extraction The important characteristics of sensor data which reflect the distinct and significant characteristics of the process, are extracted for characterizing various aspects of data. The sensor data is acquired at each millisecond as the FSP tool is traversed on the matrix surface. Several significant characteristics of signals in the temporal and spectral domain are retrieved at every second from the preprocessed dataset for reducing the dimension of data and analyzing it effectively. The features are retrieved using standard python libraries including NumPy, SciPy, Pandas, scikit-learn, etc. The time domain and frequency domain features represent the variation in signals with time and frequency bands respectively. Time based or temporal characteristics are displayed with their functions in Table 4. These features obtain the time-based characteristics of the signal such as its trend, variability, dynamics, etc. These features study the amplitude statistics, such as mean, median, variance, etc., which provides insights into the central tendency, spread and distribution, etc. The signal shape, magnitude, variation, frequency, stability, etc., are studied by these features. Table 4: Methods utilized in various types of feature selection techniques 1 ECDF Empirical cumulative distribution function concerning time 2 Interquartile range Difference between the upper and lower quartile values of a time series signal. 3 Kurtosis Measurement of tailedness of a signal. 4 Maximum Calculation of highest amplitude of a signal. 5 Mean Calculates the average amplitude of signal. 6 Mean absolute deviation Measure of the variability of signal. 7 Median Middle value or mean of two middle values in a signal. 8 median absolute deviation Average distance of data from the median of the signal. 9 Minimum Determines the smallest utility in signal. 10 RMS value Root mean square of the signal. 11 Skewness Amount of deviation of the data from the sample mean, indicating the extent of asymmetry. 12 Standard deviation Deviation from the mean of a time series signal. 13 Variance Calculates Signal variance. 14 absolute energy Determines the true energy of a signal. 15 Distance Computes signal travelled distance. 16 Entropy Calculate the Shannon entropy of the signal. The frequency domain or spectral features provide insight into the spectral characteristics of a signal. They reveal the energy distribution across various components related to frequency in the signal. These features obtain the significant frequency magnitude, dispersion, shape, variation, etc. These are displayed with their functions in Table 5. Table 5: Methods used in various machine learning and ensemble learning models 1 FFT Mean coefficient Calculates the average amount of every frequency in the spectrogram. 2 Fundamental frequency The signal's lowest periodic waveform frequency. 4 LPCC Cepstral coefficients for linear prediction. 5 MFCC Calculates the Mel-frequency cepstral coefficients. 6 Maximum power spectrum Highest signal's spectral density and power. 7 Maximum frequency Highest signal frequency 8 Median frequency Calculates the centre point of the power distribution. 9 Power_bandwidth Bandwidth of the signal's power spectrum density. 10 Spectral centroid Represents Barycenter of the spectrum. 11 Spectral_decrease Quantifies reduction in amplitude of the spectra. 12 Spectral distance Computes the signal spectral gap. 13 Spectral entropy Calculates signal's spectral entropy using the Fourier transform. 14 Spectral kurtosis Measures dispersion relative to the average value. 15 Spectral positive turning Calculates count of positive inflection points in signal by FFT 16 Spectral roll-off Calculates frequency below to signal's total power is contained. 17 Spectral roll-on Computes the signal spectral roll-on 18 Spectral_skewness Quantifies the lack of symmetry relative to its average. 19 Spectral slope It calculates the gradient of frequency data. 20 Spectral spread Quantifies the extent to which the values in the spectrum deviate from their average value. 21 Spectral variation Calculates the degree of variability in the spectrum over time. 22 Wavelet absolute mean Calculates the wavelet scales' absolute mean value using the Continuous Wavelet Transform (CWT). 23 Wavelet energy Calculates the CWT energy for each scale of the wavelet. 24 Wavelet entropy Continuous Wavelet Transform (CWT) entropy of the signal. 25 Wavelet standard Calculates standard value of the CWT for each scale of wavelet. 26 Wavelet variance Calculates variance of each wavelet scale using CWT Table 6: Methods utilized in various types of feature selection techniques 1 Filter Methods Chi square method F_classif method Information gain Correlation Mean absolute difference Variance threshold 2 Wrapper Methods Forward feature selection (FFS) Recursive feature elimination (RFE) 3 Embedded Methods Lasso Regularization Random Forest Importance 2.5 Feature selection The technique for selection of features is the act of choosing very important relevant features among the extracted features which promotes to develop simpler models for further analysis. The reduced dimension of data helps to improve the accuracies of the machine learning classifiers with a shorter training time and reduced overfitting. In this study, three different types of feature selection techniques are utilized: Filter type, wrapper type and embedded type methods. These methods select the variables or features based on the attributes of the data and are independent of the machine learning approach. In these methods, the features are ranked based on their relevance and highest rank features are chosen to induce the classification models. The filter methods utilized in the study are: Chi square method, F_classif method, information gain, correlation, dispersion ratio, mean absolute difference and variance threshold methods. Among filter methods, Chi square method for selecting important characteristics is utilized to perform the chi square (χ2) test which measures the autonomy among two parameters and identifies most informative ten characteristics according to their importance with respect to the target parameter. The F_Classif method for feature selection is used for calculating the ANOVA F-statistic values for all the features extracted and selecting the top ten features based on those values. The information gain method is utilized to obtain mutual information between the features and their target variables by mutual_info_classif function. The features with ten highest scores obtained are selected for further analysis. The correlation method quantifies the linear interconnection of the features with target variable. The correlation coefficients are calculated and most significant ten features are selected. The Mean Absolute Difference (MAD) is used to calculate the mean absolute deviation or variability of each feature from the feature's mean value and features with ten highest variabilities are selected. Variance Threshold is used to eliminate features with low variance. In all of the filter methods utilized, the features are ranked based on the respective evaluation criteria (different for all methods) by eliminating the features having constant or quasi constant values. The filter methods provide simple and powerful methods to eliminate irrelevant, duplicated, correlated, and hence the redundant features in an easier and quicker way. These use the machine learning models for evaluating the quality for selecting the subset of features. It involves the training of new model on each feature subset and determines best performing feature subset based on machine learning algorithm. They are also capable to detect the interactions between the variables, so provide better prediction performance than that by filter methods. The wrapper methods used in this study are: forward feature selection (FFS) and recursive feature elimination (RFE) techniques. FFS begins with an empty model, adds features one by one, and evaluates the model, until the accuracy is increased. On the contrary, RFE begins with a model with all features, evaluates the model, eliminates features one by one based on least importance, until desired number of features is reached. The embedded techniques perform the feature selection during the training of data in machine learning classification algorithm. These methods are comparatively faster than the wrapper methods and achieve higher accuracies in comparison to filter methods with lower risk of overfitting of data. Embedded methods utilized in the study are: Lasso regularization and Random Forest Importance methods. Lasso regularization method can shrink some of the coefficients to zero so that some features can be eliminated. Random Forest Importance method involves building of random forest trees, calculating feature importance, and eliminating the unimportant features until the condition is achieved. Table 6 shows methods used for various the feature selection types discussed. Feature classification refers to the categorization of features using machine learning. The selected features of the sensor data are classified using different machine learning classification algorithms (classifiers). Figure 5 shows the workflow of the classification of defects in FSP prepared composites using machine learning approach [27]. The multi-sensor data selected using feature selection techniques, which is in the form of features and their labels, divides itself into a training and a testing dataset. The machine learning classifier is fit with the labelled training data and its efficacy is tested with the unlabelled test dataset by comparing the predicted labels with the true labels of the test dataset. Also, there is scope for adjustment of different parameters of the ML model using the hyperparameter tuning [28]. Eight classifiers are utilized to classify the features selected by each of the selection methods as discussed individually. The Different machine learning (LR, NB, kNN, SVM, DT) [29], [30] and ensemble learning classifiers (RF, AB, GB) [31]–[33] categorize the selected feature data on dataset for training and validate it on the test dataset. Various feature selection methods and machine learning classifiers are utilized for identifying and categorizing the most important features and hence classifying the defects in fabricated composites. i. k-Nearest Neighbors method (kNN) The k-Nearest Neighbors is a non-parametric method which clusters the data and assigns a new label to the data on the basis of the closeness of the values according to the Euclidean distance between the data points to make classification of data. It calculates the distance to the training data using the selected distance metric.The hyperparameter tuning is used for adjustment of parameters, i.e., the number of neighbours and window size. kNN is a non-parametric method capable of handling multisensory data. ii. Support vector machine (SVM) Support Vector Machine method applied for multi-class classification, is capable to handle high dimensional data exhibiting non-linear complex relationships among data. Two approaches are mainly used: one versus one where all the pairs of classes are considered for training the model and one versus all where n number of output classes and n number of classification models are trained concurrently while accounting for the separation between the real class and the remaining classes. iii. Gradient boosting classifier (GB) Gradient boosting is an ensemble method that constructs models in a sequential manner. Every subsequent model is educated to rectify the mistakes committed by its previous models. The algorithm consists of initializing the model with a base estimator and then adding more models iteratively by computing errors. Then the model is trained to predict errors and the ensemble is updated with new model for classification and evaluation of the model. iv. Decision tree classifier (DT) The decision tree classifier is highly useful for classification of time series sensor data since it is capable of handling non-linear relationships of data and feature interactions. It is a non-parametric type of machine learning technique that is easier to interpret, robust to noise, and provide a measure of feature importance. However, it may promote overfitting of data during training and data instability, i.e., small variation in data may lead to different splits. These limitations can be overcome by using ensemble methods such as, random forest classifiers, etc. v. Random forest Classifier (RF) Random Forest is a type of ensemble method for classification that improves the accuracy of predictions by combining multiple decision trees trained on various groups of the data and using averaging. The random forest method combines predictions from many decision trees and generates the final output based on the majority vote among these predictions. It functions in two separate stages. The initial stage is creating a random forest by combining N decision trees. The second stage involves creating predictions for each independent tree that was constructed in the beginning stage. Random forest classifier is capable to effectively manage extensive datasets with a high number of dimensions. Also, it improves the precision of the model and mitigates the risk of overfitting the data. vi. Ada boost classifier (AB) The AdaBoost or Adaptive Boosting, is a magnifying approach employed as an ensembling technique among different machine learning approaches. The technique includes reassigning weightage to each instance, with bigger weights given to examples that were categorized erroneously. While the data is trained, it produces a variable number of decision trees. When first model is built, the improperly categorized data in the first model gets a priority. This imposes these data records to be provided as intake to the second model and so on. This method continues til it is designated by a specific quantity of base learners needed to generate. vii. Naïve bayes (NB) It is a widely used machine learning method employed for tasks involving classification, such as text classification. This algorithm is classified as a generative learning algorithm, as it models the input distribution for a certain class or category. This approach relies on the premise that the characteristics of the input data are statistically unrelated for the class, enabling the algorithm to produce fast and accurate predictions. viii. Logistic Regression (LR) It is a statistical technique and a machine learning method utilized for classification tasks, relying on the principle of probability. This method is employed when the dependent variable, also known as the target variable, is categorical in nature. Logistic Regression is a commonly employed method because to its great efficiency and little requirement for computer resources. It exhibits enhanced efficiency by eliminating variables that possess negligible or no correlation with the output variable. Table 7 displays the methods used for various types of classification models used. Table 7: Selected list of features by wrapper methods used with accuracy scores 1 Machine Learning Models LR NB kNN SVM DT 2 Ensemble Learning Models RF AB GB The machine learning classifiers are utilized to categorize the training set of data and then classification is employed on the test data. The classification of the data as conducted by the model algorithm, is afterwards, validated from the true values with the help of evaluation of models [34] which suggests how the model has performed in terms of predicting classes. There are several measures which determine the model performance: i) Accuracy This evaluates the model's accuracy by calculating the accuracy as the percentage of correctly anticipated instances to the total number of occurrences. Also, it can be determined as the rate of accurately recognized affirmative instances and true negatives to the overall positive and negative values. It is expressed as: #### Accuracy = Number of correct instances Total number of occurences …………………...(1) ii) Precision It quantifies the precision of optimistic forecasts. The term "precision" refers to the precise ratio of accuracy predicted the ratio of positive cases to the overall cases or instances predicted as positive. It helps in determining the frequency at which a positive test accurately identifies a true positive. The term "positive predictive value" refers to the proportion of real positive results compared to false positive results. It is expressed as: #### True Positives Precision = True Positives + False Positives …………………….(2) iii) Recall It is also called as sensitivity or the real positive rate. It evaluates the model's capacity to accurately identify and include all events that are classified as positive. The term "precision" refers to the ratio of correctly predicted positive instances to the total confirmed positive instances. It evaluates the test's ability to yield a positive result when the condition is present. It can be expressed as: #### True Positives Recall = True Positives + False Negatives …………………………….(3) iv) F1 score It integrates the measures of precision and recall into a unified metric. It is especially beneficial in cases where there is an imbalanced distribution of classes. Also, it is said to be the harmonic mean of the recall and accuracy. It can be expressed as: #### F 1 = 2 ∗ precision ∗ recall precision + recall ……………………….(4) The sensor data recorded during the manufacturing of surface composites by FSP, includes six incoming signals, i.e., three cutting forces (X, Y and Z directions on matrix), one current (tool spindle) and two vibration sensors (tool spindle and matrix). The multi sensor signals are digitized for synchronized analysis with the help of the data acquisition system module. The raw sensor data is preprocessed and labelled with their defect condition as target variables. Then important features are extracted, and most important fewer features are selected for further analysis. The fault identification and classification of the surface defects in the composites is performed using different machine learning classifiers with their performance evaluation. The classification algorithms utilized include kNN, SVM, GB, decision tree, and random forest, ada boost, naive bayes, and logistic regression. The performance of all the classifiers used are compared using different evaluation metrics. The python programming in Jupiter notebook was used for extracting, selecting and classifying the sensor data. 3.1 Feature Extraction The features are extracted from the raw sensor data (six sensors) that can be processed while preserving the information in the original dataset using standard libraries in python. Different time (temporal) and feature (spectral) domain features are extracted at a sampling frequency of 1000 Hz and a window size of 1000 samples is selected for the extraction. Time domain features are extracted by ‘NumPy’ (numerical python) and ‘pandas’ libraries in python. Spectral domain features are extracted using ‘PyWavelets’, ‘scikitlearn’, ‘joblib’, ‘SciPy’ (Scientific Python) libraries, etc. Time domain features extracted in the present research are 16 for each raw sensor data. The frequency domain features extracted are 26 for each sensor data. Overall, 252 features are extracted which includes 96 time domain and 156 sprectral features for all six sensor data. All the extracted features, alongwith the label (condition of defect) are stored in the form of csv files where the features are considered as the independent parameter and label is taken as the target parameter. 3.2 Feature Selection The most important ten features relevant for defect classification are selected out of the extracted features dataset using the features selection techniques including various filter methods, viz., Chi Square method, F_classif method, information gain method, correlation method, dispersion ratio, mean absolute difference, and, variance threshold method. Also, various wrapper methods, such as, forward feature selection and recursive feature elimination methods, and embedded methods, such as lasso regularization, and random forest importance method are utilized for feature selection. Among all the filter methods used for feature selection, i.e., Chi square, F_classif, information gain, correlation, dispersion ratio, mean absolute difference and variance threshold method, It is obtained that among these, the information gain filter method achieves high performance accuracies with the machine learning classification models. This approach quantifies the quantity of data acquired about one variable through another variable. The information gain is well-suited for capturing complex dependency of features on the target variable, rendering it a good option for selecting the sensor data exhibiting linear as well as non-linear relationships. From the extracted time domain and spectral domain features, ten most important features are selected by calculating the mutual information (MI) of features with respect to the target variables. This calculated value refers to the reduction in uncertainty of target variable, given the feature. Then, the features are ranked according to their mutual information scores as calculated and the features with top ten MI scores are selected for further classification. Table 8 displays the record of ten most significant characteristics selected by each of the six filter methods used. Table 8 <u>Selected ten features by each of the Filter methods</u> 1 1_ECDF Percentile_0 2 1_ECDF Percentile_1 2_ECDF Percentile_1 2_Mean 1_Root mean square 1_Median 3_LPCC_1 2_Spectral distance 3 1_Max 2_Median 1_ECDF Percentile_0 3_LPCC_11 4_Spectral distance 3_MFCC_0 3_Spectral distance 4 1_Mean 2_Root mean square 5 1_Median 2_Wavelet absolute mean_1 1_Mean 3_Spectral slope 3_LPCC_1 3_LPCC_10 3_LPCC_11 3_LPCC_2 3_MFCC_0 3_MFCC_1 3_MFCC_10 1_ECDF Percentile_1 3_Spectral centroid 5_Spectral distance 1_Spectral distance 6 1_Root mean square 2_Wavelet absolute mean_4 1_Min 3_MFCC_9 0_Spectral distance 7 3_Histogram_5 2_Wavelet absolute mean_5 3_LPCC_2 3_Power bandwidth 8 1_Wavelet energy_7 9 1_Wavelet standard deviation_7 10 1_Wavelet variance_7 2_Wavelet absolute mean_6 2_Wavelet absolute mean_7 2_Wavelet absolute mean_8 1_Wavelet absolute mean_8 1_Wavelet absolute mean_7 1_Wavelet absolute mean_6 1_Wavelet absolute mean_5 3_LPCC_10 4_Histogram_5 3_MFCC_11 3_MFCC_11 4_Histogram_4 3_Spectral centroid 3_MFCC_1 4_Power bandwidth 3_MFCC_9 Among the two wrapper methods used, i.e., forward feature selection (FFS) and recursive feature elimination (RFE) for selecting the significant features for classification of sensor data, it is obtained that the features selected by FFS are more efficiently classified by machine learning. In FFS, one by one the features, which improve the model performance the most (highest accuracy scores), are added until ten most significant features are achieved. It is advantageous for the large set of data, is less computationally expensive, promotes incremental improvement, and prevents multicollinearity which is common issue in sensor data. Table 9 shows the ten selected features by both of the wrapper type methods with individual acuuracy scores. Table 9 <u>Selected list of features by wrapper methods used with accuracy scores</u> Feature Accuracy Score Feature Accuracy Score 1 1_ECDF Percentile 0.996 2_ECDF Percentile_1 1067.3 2 1_Mean 0.996 2_Mean 1107.4 3 4_ECDF Percentile_1 0.996 2_Median 1081.9 4 4_ECDF_0 0.996 2_Root mean square 1115.9 5 1_FFT mean coefficient_69 0.996 2_Wavelet absolute mean_1 6 3_Wavelet variance_0 0.996 2_Wavelet absolute mean_4 7 4_Wavelet absolute mean_0 0.996 2_Wavelet absolute mean_5 8 4_Wavelet energy_4 0.996 2_Wavelet absolute mean_6 9 5_MFCC_0 0.996 2_Wavelet absolute mean_7 10 5_Spectral centroid 0.996 2_Wavelet absolute mean_8 1037.6 1055.6 1077.3 1091.1 1099.3 1103.7 In this study, among embedded methods for selecting important characteristics, Lasso regularization and random forest importance methods are utilized to select ten very important characteristics of the dataset. It is obtained that the Random Forest Importance method is capable of handling large amount of data having non-linear relationships, prevents overfitting, and creates ranking of feature importances. Hence the features selected by this method achieve high accuracy with the machine learning classifiers. Table 10 shows the list of top ten features selected by both of the embedded methods alongwith the rank of importance for further classification. Table 10 <u>Selected list of features by embedded methods used with accuracy scores</u> 1 3_Spectral decrease 0.811674 3_Wavelet energy_0 0.013291 2 2_Histogram_6 0.615873 3_Wavelet standard deviation_0 0.011518 3 0_Spectral kurtosis 0.582926 1_Root mean square 0.011256 4 1_Spectral kurtosis 0.535394 1_ECDF Percentile_0 0.010952 5 2_Histogram_9 0.487217 1_Mean 0.010774 6 5_Spectral centroid 0.392809 1_Median 0.009951 7 5_Spectral decrease 0.374709 3_Wavelet variance_0 0.009383 8 1_Fundamental frequency 0.259443 1_ECDF Percentile_1 0.008665 9 0_Maximum frequency 0.158904 1_Wavelet absolute mean_4 0.008509 10 1_MFCC_4 0.079898 1_Wavelet absolute mean_8 0.008349 The selected features of multi-sensor data with all the techniques utilized for selecting features (filter, wrapper and embedded type methods), are provided to different machine learning and ensemble learning classifiers, i.e., KNN, SVM, GB, decision tree, random forest, Ada Boost, naive bayes, and logistic regression. For classification, the selected data, i.e., features (X) and labels (y) are divided into training (70%) and testing (30%) datasets. The labelled training dataset (X1, y1) data is provided towards the machine learning models for fitting or training purpose. However, the unlabelled testing set (X2) is provided for the performance evaluation, i.e., for validating the predicted label values with the true labels (y2). The evaluation of the accuracies of classifiers for the selected features by all the filter methods used suggest that the highest performance is obtained with the features selected by Information gain method of feature selection. The metrics for performance of the features selected by this method are shown in Table 11. It is obtained that among all the classifiers used, the Gradient Boosting classifier achieves highest accuracy i.e., 0.99 for classification of the data. Figure 6 (a) shows the bar plot for comparing the accuracies of all the machine learning based classifiers used. Figure 6 (b) shows that ROC curve for classification model of the selected features is nearly perfect in distinguishing between positive and negative classes with no false positives or false negatives and AUC = 1. The reason for the excellent performance of GB classifier is that it builds the model sequentially by fitting new models to the residual errors made by previous models by improving mistakes of the other models, leading to high efficiency. Also, being ensemble of multiple trees, it captures non-linear relationships, can model complex patterns, handles overfitting, and involves feature interactions. Table 11 <u>Performance of the classifiers of features selected by Information gain FS method</u> 1 KNN 0.96 0.96 0.95 0.95 2 SVM 0.98 0.98 0.98 0.98 3 Gradient Boosting Classifier 0.99 0.99 0.99 0.99 4 Decision Tree 0.94 0.94 0.94 0.94 5 Random Forest 0.98 0.98 0.98 0.98 6 Ada Boost Classifier 0.85 0.87 0.84 0.84 7 Naive Bayes 0.91 0.91 0.91 0.91 8 Logistic Regression 0.98 0.98 0.98 0.98 The classification models are examined for their efficacies to classify the features selected by both the wrapper methods used, i.e., FFS and RFE, suggests that the highest performance is obtained with the variables chosen by FFS method. The metrics for the performance of the classifiers are shown in Table 12. It is obtained that Random Forest classifier achieves maximum accuracy i.e., 0.99 for classification of the data. Figure 7 (a) shows the bar plot for comparison of accuracies by all the machine learning and ensemble learning classifiers used. Figure 7 (b) displays the ROC curve for classification model of the selected features which is good in distinguishing between positive and negative classes with no false positives or false negatives and AUC is 0.98 which is close to 1. The reason for the excellent performance of Random Forest classifier is that being an ensemble learning technique, it produces multiple decision trees and integrates the results obtained by all of them, perfroms averaging reducing the variance of the model leading to enhanced and precise forecasts in comparison to a single decision tree. Also, it employs bootstrap aggregating or bagging which includes training of every tree from the random data subset, while reducing overfitting and enhancing generalization. Table 12 <u>Performance of the classifiers of features selected by FFS method</u> 1 KNN 0.97 0.97 0.97 0.97 2 SVM 0.98 0.98 0.98 0.98 3 Gradient Boosting Classifier 0.98 0.98 0.98 0.98 4 Decision Tree 0.91 0.92 0.91 0.91 5 Random Forest 0.99 0.99 0.99 0.99 6 Ada Boost Classifier 0.67 0.70 0.66 0.64 7 Naive Bayes 0.92 0.92 0.92 0.92 8 Logistic Regression 0.88 0.89 0.86 0.86 The multiple machine learning and ensemble learning classifiers are investigated of performance of the classification algorithms on the data features selected by both the embedded methods used suggest that the highest performance is obtained with the features selected by Random Forest Importance method of feature selection. The metrics to evaluate performance of the classifiers are shown in Table 13. It is obtained that the classifiers used, the Random Forest classifier achieves maximum accuracy i.e., 0.96 for classification of the data. Figure 8 (a) shows the bar plot for comparison of accuracies of all the machine learning classifiers used. Figure 8 (b) shows that ROC curve for classification model of the selected features is good in distinguishing between positive and negative classes and AUC is 0.95 which is close to 1. The reason for the better performance of Random Forest classifier is that it is an ensembles different decision trees simultaneously and can model complex non-linear relationships and features interactions without requiring explicit specification. Random forest classification is especially useful for time series data, as acquired in the present study, where relationships can be highly non-linear and intricate. Table 13 <u>Performance of the classifiers of features selected by RFI method</u> 1 KNN 0.81 0.81 0.81 0.81 2 SVM 0.83 0.84 0.82 0.82 3 Gradient Boosting Classifier 0.93 0.93 0.93 0.93 4 Decision Tree 0.94 0.95 0.93 0.95 5 Random Forest 0.96 0.96 0.96 0.96 6 Ada Boost Classifier 0.43 0.43 0.43 0.42 7 Naive Bayes 0.65 0.75 0.65 0.62 8 Logistic Regression 0.80 0.78 0.78 0.75 3.4 Comparative Result Analysis This subsection discusses the comparison and analysis of efficiency of various machine learning classifiers utilized for the selected features with different feature selection techniques. Table 14 displays the comparative analysis of performance of several feature selection techniques used with different classifiers for the detecting and classifying the surface defects on the composites prepared by FSP. This analysis verifies that the chi square method for feature selection method performs better among other filter methods. Similarly, the forward feature selection method performs well among wrapper methods, and, random forest feature selection performs well among embedded feature selection methods. It is obtained that the ensemble type machine learning classifiers perfrom better than other classifiers. Table 14 <u>Comparison of Model Accuracies of several feature selection methods for all classifiers.</u> 1 Chi-Square 0.88 0.68 0.87 0.90 0.90 0.50 0.74 0.50 2 F_classif 0.53 0.44 0.53 0.52 0.54 0.39 0.46 0.32 3 Information Gain 0.96 0.98 0.99 0.94 0.98 0.85 0.91 0.99 4 Correlation 0.57 0.58 0.64 0.65 0.66 0.50 0.52 0.55 5 Mean Absolute Difference 0.98 0.95 0.98 0.94 0.98 0.75 0.85 0.88 6 Variance Threshold 0.56 0.59 0.66 0.65 0.66 0.50 0.53 0.54 7 Forward Feature Selection 0.99 0.98 0.98 0.91 0.99 0.67 0.92 0.88 8 Recursive Feature elimination 0.99 0.98 0.98 0.91 0.99 0.67 0.92 0.88 9 LASSO regularization 0.92 0.93 0.93 0.89 0.94 0.43 0.81 0.90 10 Random Forest importance 0.96 0.77 0.95 0.94 0.96 0.61 0.80 0.66 Investigation, includes fabricating Al6061 alloy composites with copper and graphene reinforcement via FSP and analyzing multi-sensor data to identify and classify surface defects. During each FSP process, data from vibration sensors, current sensors, and dynamometers are collected and processed. Features are extracted to reduce data size and highlight significant characteristics. These features are labeled based on five defect conditions—normal composite, pin break, rough surface, no composite, and brazing break composite—determined by visual inspection. Various feature selection methods and machine learning classifiers are employed to determine the key characteristics that have the highest significance. and classify the defects. The study focuses on the significance of techniques for selecting important features in enhancing accuracies achieved by classification models and aims to identify the optimal techniques, providing recommendations for researchers working with the dataset. The results reveal optimal combinations of machine learning classifiers and feature selection methods for classifying defects in FSP-prepared composites. The highest accuracies were achieved with the following combinations of feature selection and machine learning techniques: 1. Among all the Filter Methods used, Information gain feature selection in combination with Gradient Boosting ensemble technique achieves maximum accuracy. 2. Among all the Wrapper Methods used, Forward Feature Selection in combination with Random Forest ensemble technique achieves maximum accuracy. 3. Among all embedded methods used, Random Forest importance in combination with Random Forest ensemble technique achieves maximum accuracy. FSP – Friction Stir Processing FFS - Forward feature selection RFE - Recursive feature elimination LR – Logostic Regression NB – Naive Bayes kNN – k-Nearest Neighbours SVM – Support Vector Machines DT – Decision Trees RF – Random Forest AB – Ada Boosting GB – Gradient Boosting 5 Authors’ declaration This manuscript is the authors’ original work and has not been published elsewhere. All authors have checked the manuscript and have agreed to this submission. 6 Author Contributions Pragya Saxena: Writing – original draft, Methodology, Review and editing; Arunkumar Bongale: Review, Formal Analysis, Conceptualization; Satish Kumar: Project administration, Formal Analysis Conceptualization, Results and discussions.; Rajesh Kodbal: Review and Formal Analysis. 7 Funding No funding sources were provided for publishing the manuscript. 1. G. K. Padhy, C. S. Wu, and S. Gao, “Friction stir based welding and processing technologies processes, parameters, microstructures and applications: A review,” J. Mater. Sci. Technol., vol. 34, no. 1, pp. 1–38, 2018, doi: 10.1016/j.jmst.2017.11.029. 2. V. C. Kale, “Aluminium Based Metal Matrix Composites for Aerospace Application: A Literature Review,” IOSR J. Mech. Civ. Eng., vol. 12, no. 6, pp. 2278–1684, 2015, doi: 10.9790/1684-12653136. 3. A. Heidarzadeh et al., Friction stir welding/processing of metals and alloys: A comprehensive review on microstructural evolution, vol. 117. Elsevier Ltd, 2021. doi: 10.1016/j.pmatsci.2020.100752. 4. S. A. Alidokht, A. Abdollah-zadeh, S. Soleymani, and H. Assadi, “Microstructure and tribological performance of an aluminium alloy based hybrid composite produced by friction stir processing,” Mater. Des., vol. 32, no. 5, pp. 2727–2733, 2011, doi: 10.1016/j.matdes.2011.01.021. 5. M. M. Tash and E. R. I. Mahmoud, “Development of in-Situ Al-Si/CuAl2 metal matrix composites: Microstructure, hardness, and wear behavior,” Materials (Basel)., vol. 9, no. 6, 2016, doi: 10.3390/ma9060442. 6. A. H. Elsheikh, “Applications of machine learning in friction stir welding: Prediction of joint properties, real-time control and tool failure diagnosis,” Eng. Appl. Artif. Intell., vol. 121, no. June 2022, p. 105961, 2023, doi: 10.1016/j.engappai.2023.105961. 7. M. Sajid, A. K. Malik, M. Tanveer, and P. N. Suganthan, “Neuro-Fuzzy Random Vector Functional Link Neural Network for Classification and Regression Problems,” IEEE Trans. Fuzzy Syst., vol. 32, no. 5, pp. 2738–2749, 2024, doi: 10.1109/TFUZZ.2024.3359652. 8. S. Thapliyal and A. Mishra, “Machine learning classification-based approach for mechanical properties of friction stir welding of copper,” Manuf. Lett., vol. 29, pp. 52–55, 2021, doi: 10.1016/j.mfglet.2021.05.010. 9. B. Das, S. Pal, and S. Bag, “Torque based defect detection and weld quality modelling in friction stir welding process,” J. Manuf. Process., vol. 27, pp. 8–17, 2017, doi: 10.1016/j.jmapro.2017.03.012. 10. S. Yoon et al., “Defect detection in composites by deep learning using solitary waves,” Int. J. Mech. Sci., vol. 239, no. October 2022, p. 107882, 2023, doi: 10.1016/j.ijmecsci.2022.107882. 11. Y. Chen, A. Ebrahimifakhar, Y. Hu, and D. P. Yuill, “Generalizability of machine learning-based fault classification for residential air-conditioners,” Energy Build., vol. 295, no. June, p. 113263, 2023, doi: 10.1016/j.enbuild.2023.113263. 12. H. Moosaei and M. Hladík, “Sparse solution of least-squares twin multi-class support vector machine using ℓ0 and ℓp-norm for classification and feature selection,” Neural Networks, vol. 166, pp. 471– 486, 2023, doi: 10.1016/j.neunet.2023.07.039. 13. A. Naji Hussain, S. A. Abboud, B. A. baki Jumaa, and M. N. Abdullah, “Impact of feature reduction techniques on classification accuracy of machine learning techniques in leg rehabilitation,” Meas. Sensors, vol. 25, no. September 2022, p. 100544, 2023, doi: 10.1016/j.measen.2022.100544. 14. W. Guan et al., “Detection of tunnel defects in friction stir welded aluminum alloy joints based on the in-situ force signal,” J. Manuf. Process., vol. 71, no. July, pp. 1–11, 2021, doi: 10.1016/j.jmapro.2021.09.014. 15. Z. Li, H. Zhao, X. Zhang, J. Dong, L. Hu, and H. Gao, “Multi-parameter sensing of robotic friction stir welding based on laser circular scanning,” J. Manuf. Process., vol. 89, no. 92, pp. 92–104, 2023, doi: 10.1016/j.jmapro.2023.01.060. 16. S. Sharda et al., “A hybrid machine learning technique for feature optimization in object-based classification of debris-covered glaciers,” Ain Shams Eng. J., vol. 13, no. 6, p. 101809, 2022, doi: 10.1016/j.asej.2022.101809. 17. S. Sayyad, S. Kumar, A. Bongale, K. Kotecha, G. Selvachandran, and P. N. Suganthan, “Tool wear prediction using long short-term memory variants and hybrid feature selection techniques,” Int. J. Adv. Manuf. Technol., vol. 121, no. 9–10, pp. 6611–6633, 2022, doi: 10.1007/s00170-022-09784-y. 18. S. Sayyad, S. Kumar, A. Bongale, K. Kotecha, and A. Abraham, “Remaining Useful-Life Prediction of the Milling Cutting Tool Using Time–Frequency-Based Features and Deep Learning Models,” Sensors, vol. 23, no. 12, 2023, doi: 10.3390/s23125659. 19. A. E. Ragab et al., “Open-source real-time monitoring system of temperature and force during friction stir spot welding,” J. Eng. Res., no. July, 2023, doi: 10.1016/j.jer.2023.08.020. 20. S. Gudadhe, A. Thakare, and A. M. Anter, “A novel machine learning-based feature extraction method for classifying intracranial hemorrhage computed tomography images,” Healthc. Anal., vol. 3, no. April, p. 100196, 2023, doi: 10.1016/j.health.2023.100196. 21. K. Balachandar, R. Jegadeeshwaran, J. Lakshmipathi, and D. Saravanakumar, “Friction Stir Welding Tool Condition Prediction Using Vibrational Analysis through Machine Learning - A Review,” J. Phys. Conf. Ser., vol. 1969, no. 1, 2021, doi: 10.1088/1742-6596/1969/1/012051. 22. B. Chaudhary, N. K. Jain, J. Murugesan, and V. Patel, “Friction stir powder additive manufacturing of Al 6061 alloy: Enhancing microstructure and mechanical properties by reducing thermal gradient,” J. Mater. Res. Technol., vol. 26, pp. 1168–1184, 2023, doi: 10.1016/j.jmrt.2023.07.270. 23. P. Saxena, A. Bongale, S. Kumar, and P. Jadhav, “Investigation of microstructural and wear behavior of Al6061 surface composites fabricated by friction stir process using Taguchi approach,” Mater. Res. Express, vol. 9, no. 1, 2022, doi: 10.1088/2053-1591/ac4a2d. 24. P. Saxena, A. Bongale, S. Kumar, and P. Jadhav, “Microstructural and sensor data analysis of friction stir processing in fabricating Al6061 surface composites,” Eng. Res. Express, vol. 5, no. 1, p. 015065, 2023, doi: 10.1088/2631-8695/acc158. 25. Y. Y. Lim and C. K. Soh, “Effect of varying axial load under fixed boundary condition on admittance signatures of electromechanical impedance technique,” J. Intell. Mater. Syst. Struct., vol. 23, no. 7, pp. 815–826, 2012, doi: 10.1177/1045389X12437888. 26. M. Shah, V. Vakharia, R. Chaudhari, J. Vora, D. Y. Pimenov, and K. Giasin, “Tool wear prediction in face milling of stainless steel using singular generative adversarial network and LSTM deep learning models,” Int. J. Adv. Manuf. Technol., vol. 121, no. 1–2, pp. 723–736, 2022, doi: 10.1007/s00170-02209356-0. 27. M. Liu, H. Li, H. Zhou, H. Zhang, and G. Huang, “Development of machine learning methods for mechanical problems associated with fibre composite materials: A review,” Compos. Commun., vol. 49, p. 101988, 2024, doi: https://doi.org/10.1016/j.coco.2024.101988. 28. L. Yang and A. Shami, “On hyperparameter optimization of machine learning algorithms: Theory and practice,” Neurocomputing, vol. 415, pp. 295–316, 2020, doi: https://doi.org/10.1016/j.neucom.2020.07.061. 29. S. R. Anvari, F. Karimzadeh, and M. H. Enayati, “Wear characteristics of Al-Cr-O surface nanocomposite layer fabricated on Al6061 plate by friction stir processing,” Wear, vol. 304, no. 1–2, pp. 144 151 2013 doi: 10 1016/j wear 2013 03 014 30. O. Iparraguirre-Villanueva, K. Espinola-Linares, R. O. Flores Castañeda, and M. Cabanillas-Carbonell, “Application of Machine Learning Models for Early Detection and Accurate Classification of Type 2 Diabetes,” Diagnostics, vol. 13, no. 14, 2023, doi: 10.3390/diagnostics13142383. 31. S. Verma, M. Gupta, and J. P. Misra, “Performance evaluation of friction stir welding using machine learning approaches,” MethodsX, vol. 5, pp. 1048–1058, 2018, doi: 10.1016/j.mex.2018.09.002. 32. B. A. Tama and S. Lim, “Ensemble learning for intrusion detection systems: A systematic mapping study and cross-benchmark evaluation,” Comput. Sci. Rev., vol. 39, p. 100357, 2021, doi: https://doi.org/10.1016/j.cosrev.2020.100357. 33. A. Taha and O. Barukab, “Android Malware Classification Using Optimized Ensemble Learning Based on Genetic Algorithms,” Sustainability, vol. 14, no. 21, 2022, doi: 10.3390/su142114406. 34. U. V Nikam and V. M. Deshmuh, “Performance Evaluation of Machine Learning Classifiers in Malware Detection,” in 2022 IEEE International Conference on Distributed Computing and Electrical Circuits and Electronics (ICDCECE), 2022, pp. 1–5. doi: 10.1109/ICDCECE53908.2022.9793102. Framework for classification of faults in composites fabricated by FSP Experimental setup with sensors Sensor data signals for vibration (table) sensor for all five labels of composites Detailed Methodology adopted for fault classification of surface composites prepared by FSP Machine learning process for classification of defects in composites. (a) Bar plot for comparison of accuracy scores of all ML classifiers; (b) ROC curve for classification of sensor data; for features selected by Information gain method (a) Bar plot for comparison of accuracy scores of all ML classifiers; (b) ROC curve for classification of sensor data; for features selected by FFS method (a) Bar plot for comparison of accuracy scores of all ML classifiers; (b) ROC curve for classification of sensor data; for features selected by RF method

섹션 본문 83문단 · 62,300자

(제목 없음)

1Aluminium alloy-based surface composites with hard reinforcement particles have a wide scope in the aerospace and automobile manufacturing industries.In this paper, the aluminium composites, manufactured by friction stir processing (FSP) with varying parameters are investigated for the faults that occurred during the fabrication process.In this study, Al6061 alloy surface composites reinforced with copper and graphene are fabricated using Friction Stir Processing (FSP) on a CNC milling machine.The process involves heat generation through friction, leading to a uniform distribution of reinforcement particles in the matrix.Various sensors (vibration, current, and dynamometer) are used to monitor specific parameters during the FSP experimentation.The Taguchi L27 orthogonal array is employed to design experiments for analyzing sensor data from vibration sensors, current sensors, and dynamometers during composite fabrication.Data is collected in the time domain and processed using Python libraries.Also, it explores a machine-learning approach to detect defects of surface hybrid composites with an Al6061 alloy matrix, reinforced with copper and graphene nanopowders, using friction stir processing and a tungsten carbide tool on a milling machine.Multi-sensor time series data (vibration, force, and current) collected during fabrication, is preprocessed and labelled with normal and defective categories (e.g., pin break, brazing break, rough surface, no composite) using visual inspection.The important time domain and frequency domain features are extracted using different libraries in python.Then, various types of feature selection techniques, viz filter, wrapper, and embedded methods are implemented to select the most relevant features.The selected subset of features from all selection methods used are applied to different machine learning and ensemble learning classifiers, and their performances are evaluated.The optimal combinations of the type of feature selection method and classifier used, are obtained for efficient classification of surface defects in composited formed by FSP.The impact of feature selection on classification accuracy for defect identification in FSP-fabricated composites using multisensory data is conducted.Among filter methods, the Chi-square feature selection combined with the Gradient Boosting algorithm delivers the best performance.Forward feature selection with the Random Forest classifier achieves high accuracy in wrapper methods.Additionally, the Random Forest importance selection technique paired with the Random Forest classifier provides the highest accuracy among embedded feature selection methods.The real-time monitoring and defect detection system can be developed in the future for the composites developed by FSP using the developed models.Nomenclature FSP Friction Stir Processing FFS Forward feature selection RFE Recursive feature elimination LR Logostic Regression

Introduction

2Friction stir processing (FSP) has recently been established as the advanced method not only to alter the exterior microstructure and characteristics of substance but also to create high-quality surface composites through localized plastic deformation without undergoing melting of the material.Thus, it is an environmentally friendly technique for manufacturing surface composites.FSP has recently been utilized to obtain refined grain microstructure in aluminium alloy-based composites by adding suitable reinforcements and other metal alloys.It is based upon the principles of Friction Stir Welding (FSW) developed by researchers at The Welding Institute, UK [1], for joining two metal pieces utilizing the heat caused by friction.The joining of dissimilar metals, ultrasonic-assisted, and underwater joinings is obtained much more efficiently with friction stir welding technologies.FSP is utilized significantly in various applications, such as aerospace [2] and the automobile sector, requiring improved physical, chemical, and surface mechanical properties of metallic materials.Recent studies indicate that fundamental mechanisms drive significant microstructural and textural changes during FSW or FSP of different metals and alloys, resulting in a promising technique for fabricating surface hybrid composites [3].FSP consists of a specifically shaped tool with a shoulder integrated with a pin, which, in rotating condition, is moved in the direction of the surface of the metal workpiece as fixed on a machine bed.The pin, integrated into the shoulder, is pushed inside the workpiece so that the tool shoulder comes in complete contact with the metal surface.The FSP tool is then passed over the specified lane over the workpiece surface to be processed.The thermal energy is produced due to the friction produced when the tool shoulder slides over the metal surface, ensuring localized recrystallization on the workpiece surface [4].The recrystallization helps refine the microstructure of the grain near the matrix surface in the traversed region.

3Recent research includes improving the mechanical, thermal, and microstructural properties of the composites manufactured by FSP, with a wide range of mechanical tests optimizing the process parameters [5].

4The influence of various factors on the surface characteristics is beneficial in determining the ideal range of values for achieving the desired results.However, today's industry demands high production in less time with fewer defects, which leads to the application of Industry 4.0 in FSW and FSP of metal alloys or composites.The application of a machine learning approach for real-time monitoring surface composite manufacturing using the FSP technique with the help of multi-sensor data analysis is very rare.The recent research in this field includes the condition monitoring of the FSW and FSP of the composites utilizing machine learning techniques with the collected sensor data.Machine learning methods significantly regulate the process parameters and monitor friction stir welding and processing techniques.As surveyed by Ammar H. Elsheikh et al [6], the utilization of machine learning techniques in FSW was examined.The study focused on predicting joint characteristics, online process csontrol, tool failure analysis, and the application of optimization techniques with machine learning methods.The study encompassed various methodologies, including linear regression, kNN, random forest, ANN, SVM, fuzzy system, adaptive neuro-fuzzy inference system, and random vector functional link [7].Shivraman Thapliyal et al [8] utilized a machine learning-based model to investigate how input factors influence the physical characteristics during copper welding by FSW.It was observed that the neural network obtained the maximum accuracy using a deep leaning model in predicting the ultimate tensile strength over kNN, decision tree, and information gain methods.Researchers are now attempting to employ real-time monitoring by integrating multiple sensors throughout the FSP.

5In a recent study by Ammar H. Elsheikh et al [6], a survey was conducted to examine the utilization of machine learning techniques in FSW to predict joint characteristics, real-time process control, tool failure analysis, and applying optimization techniques with machine learning methods.Bipul Das et al [9] utilized the real-time torque signals in the FSW process by using the discrete wavelet transform to identify the defects in the process.Also, the feature selection methods employed the chosen features in the support vector machine to predict the ultimate tensile strength of the joints formed by the FSW of AA1100.Another similar study conducted by Sangyoung Yoon et al [10] included the study of the occurrence of defects in laminated composites using deep learning by highly non-linear solitary waves.These studies indicated the possibilities of utilizing machine learning and deep learning techniques to achieve an online detection system for identifying defects in composites.

6The applicability of machine learning classifiers, trained and tested on different systems, was investigated by Yuxuan Chen et al [11] for predicting the faults in air conditioners using sensor data.After implementing feature selection techniques, they also studied the significant improvement in the accuracy of machine learning-based classifiers.In another work, Hossein Moosaei et al [12] attempted to improve the classification accuracy by simultaneously implementing the feature selection and machine learning classification by twin k class support vector machine algorithm.It was found that the method introduced improved the classification accuracy significantly.An investigation conducted by Ayat Naji Hussain et al [13] included applying feature extraction techniques, feature selection techniques, and machine learning-based classifiers to classify foot disorders to help in leg rehabilitation automatically.The feature selection techniques were obtained to help modify the classification accuracies of the machine learning models up to 99%.

7Wei Guan et al [14] evaluated the distinctive patterns of change in the force signals as measured by force sensors for FSW joints, including metal joints that have defects and metal joints that do not have defects, using Fast Fourier transform to analyze the waveform distortion in the traverse force helping in the understanding of the material flow and defect formation.Zhiwei Li et al [15] introduced a technique for circular laser scanning by sensing many parameters in the 5-axis RFSW.The laser displacement sensor underwent rotational movement around the tool, generating a sequence of measured points to capture the three-dimensional form of the workpiece accurately.These decreased the required quantity of sensors and enabled dependable process sensing.Sharda et al [16], 2013, proposed a hybrid filter-based feature selection technique that combines two methods, Relief-F and Pearson Correlation.This technique reduced the classifier's complexity and achieved high accuracy in classification algorithms.The result is a feature set with improved performance.The increasing popularity of IIoT tools and applications has led to a growing interest in online condition monitoring systems that offered remote access capabilities.Utilizing these tools to monitor production operations could improve performance and increase efficiency.Adham E. Ragab et al [17] presented the development of an online monitoring system utilizing Raspberry Pi, thermocouple and force sensors to monitor the peak temperature and axial force during spot welding using the friction stir process (FSSW).They examined the influence of tool rotation, plunge rate, and time duration on maximum temperatures and axial forces during spot welding by FSW.

8The study by Santwana Gudadhe et al [18] involved classifying cerebral C.T. images by hemorrhage using various machine-learning classifiers.A method was created by combining the features based on texture and transformation to develop a joint feature-based approach.The suggested collaborative feature technique enhanced the accuracy of C.T. image classification compared to the texture and transform-based approaches.The transform-based feature approach utilized the energy coefficients of C.T. images.A review work by Balachandar et al [19] focused on the present level of comprehension and advancement of the input factors during friction-based joining and processing techniques.They focused on determining the most likely causes of failure and employed many methods to gather data, such as vibration monitoring.

9The monitoring of machine and tool conditions is an emergent manufacturing technology development.The control and online, real-time monitoring of process parameters is a crucial component of the Industry 4.0 framework.Indicators of an anomaly that may arise during machining include deviations from typical operation parameters-such as alterations in force generation, temperature fluctuations, vibrations, or power consumption-which may increase or decrease.The data acquired via intelligent sensors facilitates the extraction of concealed information and the application of diverse algorithms to forecast the state of the machine.Some studies included real-time fault identification in centrifugal pumps [20], break condition monitoring and fault diagnosis in bearings [21,22], and fault detection in the gearboxes of automobiles and machines [23].Conversely, the literature seldom addressed sensor data analysis, process control, condition monitoring, and monitoring of processes involving friction stir processing.

10Online monitoring and control of FSW was executed by Debasish Mishra et al [24] in 2020.The researchers utilized signals from various sensors and processed the data through a cloud-based machine-learning algorithm.The objective was to implement a feedback system to forecast and prevent weld defects.In order to implement the Industry 4.0 concept [25] using sensor data, the authors above developed a number of methods and techniques for monitoring and controlling efficient data exchange features in the FSW process earlier in 2018.FSW involved the exchange of solid-state material between the tool and workpiece via the generation of heat caused by the tool pin's continuous churning.Therefore, real-time monitoring of the conditions of tools and machines is essential to prevent breakdowns and other defects.Researchers have utilized real-time data collection from sensors (vibration signals) to monitor the condition of friction stir welding tools under both normal and faulty conditions.To predict and prevent defects, they have analyzed this data using machine learning techniques (BFT classifier) [26].An additional investigation conducted by Liao et al [27] identified flaws in friction stir welding by implementing a defect prediction model that monitored the welding process of aluminum alloy Al2219 in real time.The researchers utilized a range of machine learning techniques, including discrete wavelet transform for feature extraction, Ant Colony Optimization for feature selection, KNN model for feature evaluation, and others.Using data gathered from various sensors (e.g., force, vibration, acoustic emission, pressure, and displacement), several authors [28] devised an algorithm to examine the condition of the tool and surface defects that may occur during the broaching process.The data could effectively identify tool wear and surface irregularities during broaching, including scoring, spreading, overheating, etc Numerous researchers have endeavored to achieve control over the FSP with regard to particulate size and distribution uniformity through real-time manipulation of process parameters such as temperature, force, speed, and torque, among others.Nevertheless, the disadvantage was the intricate nature of the instrumentation and control systems.A torque control loop was established using the current signals of the motor connected to the CNC machine tool, which were obtained by some researchers [29].The friction stir welding method was utilized to examine the impact of workpiece vibration on the thermal and microstructural characteristics of Al5083 alloy sheets during spot welding [30].An author-led group [31] constructed a control strategy model for friction stir welding.By utilizing algebraic equations to describe the power consumption, they were capable of forecasting the state of the weld.This methodology encompassed adjusting variables such as tool traverse speed, rotation speed, plunging depth, and so forth to reduce energy consumption, and experimental outcomes were utilized to validate the model.An additional simulation model-based approach [32] utilizing the Eulerian-Lagrangian finite element method assisted in the comprehension of the mechanisms underlying the formation of cavities and defects in the FSW of Al6061 plates.Dynamometer (force) and pyrometer (temperature) measurements of force and temperature confirmed the model-predicted values.A clamping and instrumented configuration was established on a CNC milling machine to quantify process forces throughout FSW [33].A flexible fixture was also devised to secure the workpiece to the milling table in an adjustable manner, thereby impeding any transverse or lateral motions that might occur during FSW.

11Bipul Das et al [9] utilized the online torque sensor data recorded during the FSW process by using the discrete wavelet technique to identify the process faults.Also, the feature selection methods employ the chosen features in the support vector machine to predict the tensile strength of the joints formed by the FSW of AA1100.In another similar study by Sangyoung Yoon et al [10], defects are identified in the laminated composites using deep learning by highly non-linear solitary waves.The several characteristics influence the classification efficiency of the deep learning algorithms which is investigated.It is observed that the proposed algorithm achieved high accuracies in recognizing the defects and locating them on the composite surfaces.These studies indicate the possibilities of utilizing machine learning and deep learning techniques to achieve online detection system for identification of defects in the composites.The applicability of machine learning (ML) classifiers, fitted and tested on different systems, is investigated by Yuxuan Chen et al [11] for predicting the faults in air conditioners using sensor data.After selecting suitable features with feature selection techniques, they investigated the significant improvement in the accuracies of machine learning-based classifiers.In another work, Hossein Moosaei et al [12] attempted to improve the classification accuracy by simultaneously implementing the feature selection and machine learning classification by the twin k-class support vector machine (SVM) algorithm.It was found that the method improved the classification accuracy significantly.An investigation conducted by Ayat Naji Hussain et al [13] includes applying feature extraction techniques, feature selection techniques, and utilizing machine learning based classifiers to automatically classify the foot disorders to help in leg rehabilitation.It was obtained that the feature selection techniques help in modifying the classification accuracies of the machine learning models up to 99%.

12Wei Guan et al [14] evaluated the distinctive patterns of change in the force signals as measured by force sensors for FSW joints, including metal joints that have defects and metal joints that do not have defects, using Fast Fourier transform to analyze the distortion in waveform in the traverse force helping in investigating the material flow and defect formation.Zhiwei Li et al [15] introduced a technique for circular laser scanning by sensing many parameters in the 5-axis RFSW.The laser displacement sensor underwent rotational movement around the tool, generating a sequence of measured points to capture the three-dimensional form of the workpiece accurately.Using a laser displacement sensor decreases the required quantity of sensors and enables dependable process sensing.Sharda et al [16], 2013, proposed a hybrid filter-type technique for selecting features that combines two methods, Relief-F and Pearson Correlation.The technique aims to reduce the complexity of the classifier and achieve high accuracy in classification algorithms.The result is a feature set with improved performance.The increasing popularity of IIoT tools and applications has led to a growing interest in online condition monitoring systems that offer remote access capabilities.Utilizing these tools to monitor production operations can result in improved performance and heightened efficiency.A group of researchers working on tool wear prediction utilized a tool wear dataset [34].Various feature selection techniques, including the PCC, random forest (RF), PCC with RF and PCA with PCC, were employed.The same group of authors also utilized the dataset to estimate the Remaining Useful Life (RUL) of the cutting tool in milling [35].The more the level of excellence in feature engineering conducted on the raw data, higher is the accuracy of the forecast.Adham E. Ragab et al [17] presented the development of an online monitoring system utilizing Raspberry Pi and thermocouple and force sensors for the purpose of monitoring the peak temperature and axial force during spot welding using friction stir process (FSSW).They examined influence of tool rotation rpm, plunge rate, and time duration on maximum temperatures and axial forces during spot welding by FSW.The study by Santwana Gudadhe et al [18] involved the classification of cerebral CT images by hemorrhage using various machine learning classifiers.A method is created by combining the features based on texture and transform to develop a combined feature-based approach.The proposed collaborative feature extraction technique enhances the accuracy of CT image classification compared to the features extraction based on texture and transform respectively.The transform-based feature approach utilizes the energy coefficients of CT images.A review work by Balachandar et al [19] focuses on the present level of comprehension and advancement of the input factors during the friction based joining and processing techniques.They focused that to determine the most likely causes of failure, many techniques are employed to gather data, such as vibration monitoring.Thermal imaging refers to the process of using specialized equipment to capture and display the infrared radiation emitted by objects, allowing for the visualization of heat patterns and temperature variations.Some researchers examined the additive manufacturing of multilayered Al6061 alloy using the friction stir powder additive manufacturing [36].The goal was to modify physical and grain structural characteristics of the alloy by reducing the temperature variation in the direction of process.This was achieved by maintaining the substrate in close proximity to its designated temperature for artificial aging by utilizing an external heat source within a closedloop system.

13Sensor data analysis for machine or tool condition monitoring in FSW and FSP has been attempted in recent studies with the help of vibration sensor and dynamometer data analysis using a machine learning approach.This attempt needs to be extended for the multi-sensor data analysis for the composites fabricated by FSP for detection of the surface defects which is rarely found in the existing literature.Some recent studies include the prediction of the defects that occurred in the tool and machine condition during FSP using multi-sensor data analysis with the help of a machine learning approach.The approach needs to be extended to conduct the realtime condition monitoring of composites for identification and further prevention of defects from occurring in the tool and composites during fabrication by FSP.This highlights the need to extract time domain features from the time series sensor data collected, classify the data using machine learning classifiers, and evaluate their performance.These are the knowledge gaps specifically addressed by the current study.

14This study fabricates Al6061 alloy-based surface composites using predetermined weight percentages of copper and graphene nanoparticles as reinforcements.Copper and graphene nanopowders (5-10 nm) are ballmilled in various compositions (1:1, 1:2, 1:3, etc), and holes are drilled into the Al6061 plates to accommodate the reinforcement mixtures based on their densities and volumes.FSP (Friction Stir Processing) is used with tungsten carbide tools featuring different pin profiles (cylindrical, conical, square, triangular) due to their hightemperature resistance and efficient reinforcement distribution.The experiment follows the Taguchi method using an L27 orthogonal array with three variables: copper wt%, graphene wt%, and the number of FSP passes, each at three levels.The design results in 108 samples (27 × 4 tool geometries).Two samples are prepared per run, with the best chosen based on visual inspection.Sensors (vibration, current, force) collect data during FSP for further analysis using machine learning.Surface composites are visually categorized into five defect types: normal, pin break, rough surface, brazing break, and no composite.FESEM and EDS analysis confirm the successful fabrication and uniform dispersion of reinforcement particles.The machine learning approach is utilized for classification of surface defects occurring in composites manufactured by FSP.The multi-senosor data from vibration (tool, matrix), current (tool) and force sensors (matrix) mounted on the milling machine, is collected at a sampling rate of 1000 Hz with the help of a data acquisition system during the fabrication of surface composite samples by FSP.The raw sensor collected is subjected to preprocessing, i.e., data cleaning, eliminating noise, outliers, etc The relevant features of the preprocessed data are extracted to characterize and reduce the dimension of data.Also, the ten most important features are selected using each of the feature selection techniques used.Figure 1 shows the proposed framework for classifying faults in the composite samples prepared by FSP.The paper is categorized into five sections.Section 1 provides an introduction to the framework of the defect classification of composites with related literature.Section 2 represents the material and detailed methodology, viz., sample preparation, FSP experimentation, and, Physical identification of surface defects in fabricated composites utilized for the preparation and analysis of composites.Section 3 represents the sensor data analysis including data acquisition and preprocessing; extraction of relevant features, selection of important features; fault classification models; and, evaluation of models.Section 4 represents the discussion of results, including; extracted features, selected features, performance evaluation using classification models, and comparative result analysis.Section 5 throws light on an important conclusion regarding the selection of optimal methods for the effective classification of faults in surface composites.

Equipment and methodology 2.1. Experimentation detail

15In the study, the surface composites of the Al6061 alloy matrix with copper and graphene reinforcements are prepared by FSP on the CNC milling machine.FSP parameters selected are Tool rpm = 1000 rpm, Tool feed = 45 mm min −1 , and depth of cut = pin length, i.e., 5 mm [37].The experimentation involves advancing the FSP tool into the Al6061 alloy matrix having holes filled with reinforcement with traverse direction motion.The rubbing action between the tool shoulder and the matrix filled with reinforcement causes friction and heat generation which produces a surface composite with a uniform distribution of the particles [38].Various sensors pre-installed on the milling machine, are utilized, during FSP experimentation, i.e., composite fabrication, for analyzing specific parameters.These include two vibration sensors (spindle and table), one current sensor (spindle), and a dynamometer (table) with loads in X, Y, Z axes.The FSP setup for multi-sensor data collection is shown in figure 2.

Signal acquisition

16The composites prepared by FSP are likely to be subjected to various surface defects due to fabrication or machining errors.These defects are identified with the help of signals collected through various sensors, such as vibration sensors, current sensor, and dynamometer.Vibration sensors are sensitive to surface conditions and any irregularities on the surface may alter their amplitude resulting in the detection of faults.The current sensor mounted on the machine spindle determines the variation in the amount of current drawn by the spindle providing insights into the stability of the operation and indicating inconsistencies occurred due to defects.A table-based dynamometer is placed between the workpiece and the machine bed, for collecting the signals for load in X, Y, and Z directions to obtain a slight variation in the axial and transverse loads [39] on the matrix plate during FSP which indicates presence of defects.When a defect occurs as the tool is passed over the matrix surface with reinforcement filled into the holes, the magnitudes of the cutting forces suddenly increase.Vibration levels might vary significantly during FSP.The vibration mainly affects the holding devices for tools or workpieces in multiple directions [40].A current sensor is installed on the machine spindle and determines the current drawn by the tool during the process.Also, the vibrations caused during the process are investigated in this study using accelerometers.Two vibration sensors, one on tool spindle, and another on the machine bed where the matrix plate is fixed, are utilized for measuring vibration signals on the tool and on the composite being prepared respectively.The signal acquisition equipment are mentioned in table 1.A signal acquisition system by National Instruments, (NI USB-6210) has been used to collect the data for further processing.The data acquisition module acts as a medium that helps to digitize the analog signals collected from all the sensors so that they can be synchronized and analyzed simultaneously.One data file consists of the multisensory data during one pass (lap) of FSP tool travel on the matrix filled with reinforcement to form surface composites.

Sensor data processing

17The sensor data collected is preprocessed, i.e., cleaned and organized, to structure data and remove unnecessary data.This includes the data being transformed or encoded into a more understandable form so that the computer can easily comprehend the multi-sensor signals as recorded.The data labelling includes defining the target variables for each sensor data.According to the visual inspection of the composites prepared, the data is categorized in terms of their defect condition.The reason for the occurrence of these surface defects is the manual sample preparation and experimentation errors.The data is split into features (X) and labels (y).The features refer to the multi-sensor data.The five different labels (categories) as the target variable (y) are selected as normal composite, pin-break composite, rough surface composite, no composite, and brazing-break composite.

18Figure 3 shows the raw sensor data signals for the vibration (table) sensor for all five labels of composites.Normal composite refers to those samples where moderate levels of vibration, current, and cutting forces with no significant changes in sensor readings are observed.Pin break type composites are those in which, after the FSP tool traverses, the pin is broken from the shoulder and is stuck into the matrix surface.It is caused by excessively high pin temperature due to the lack of a sufficient amount of release of material chips during the tool traverse.The break point refers to the sudden increase in current drawn by the motor due to excessive load and a moderate rise in vibration amplitudes during the end of tool travel.In the rough surface type composites, an uneven surface composite layer is formed which includes voids and clusters of particles.The reason is the uneven surface contact between the tool and matrix surface during FSP due to excessive traverse speed resulting in a lack of axial pressure on the matrix surface and improper recrystallization.High cutting forces occur throughout the tool traverse in the rough surface composites.A moderate rise in vibration amplitudes is observed during the end of tool travel in pin break and brazing break composites.No composite types are those in which the tool is not properly in contact with the matrix surface and the holes are filled with reinforcement during FSP.This results in no or negligible dispersion embedding the reinforcement into the matrix and hence no manufacturing of composite occurs.This type of composite fabrication shows a significant drop in vibration, current, and force signals.The brazing break type composites refer to the composites during fabrication of whom, the brazed tool (FSP tool is a steel body brazed with tungsten carbide shoulder and pin) undergoes failure as the rise in temperature in the tool body reaches the brazing temperature (450֯ C approx.) during the tool traverse.There is a gradual rise and then a sudden drop in the vibration signals during the brazing failure.However, the current and load in z direction suddenly rise and drop at the breaking point.Figure 4 shows the detailed methodology adopted for fault classification of surface composites prepared by FSP.Also, the detailed explanation on the steps followed in the methodology, such as sensor data processing, feature extraction, feature selection, and classification of faults in the methodology are discussed in the current and sections further.

Feature extraction

19The important characteristics of sensor data which reflect the distinct and significant characteristics of the process, are extracted for characterizing various aspects of data.The sensor data is acquired at each millisecond as the FSP tool is traversed on the matrix surface.Several significant characteristics of signals in the temporal and spectral domain are retrieved at every second from the preprocessed dataset for reducing the dimension of data and analyzing it effectively.The features are retrieved using standard python libraries including NumPy, SciPy, Pandas, scikit-learn, etc The time domain and frequency domain features represent the variation in signals with time and frequency bands respectively.) sensor for all five labels of composites.

Time domain features

20Time-based or temporal characteristics are displayed with their functions in table 2. These features obtain the timebased characteristics of the signal such as its trend, variability, dynamics, etc These features study the amplitude statistics, such as mean, median, variance, etc, which provides insights into the central tendency, spread and distribution, etc The signal shape, magnitude, variation, frequency, stability, etc, are studied by these features.

Spectral-domain features

21The frequency domain or spectral features provide insight into the spectral characteristics of a signal.They reveal the energy distribution across various components related to frequency in the signal.These features obtain the significant frequency magnitude, dispersion, shape, variation, etc These are displayed with their functions in table 3.

Feature selection

22The technique for selection of features is the act of choosing very important relevant features among the extracted features which promotes to develop simpler models for further analysis.The reduced dimension of data helps to improve the accuracies of the machine learning classifiers with a shorter training time and reduced overfitting.In this study, three different types of feature selection techniques are utilized: Filter type, wrapper type and embedded type methods.

Filter methods

23These methods select the variables or features based on the attributes of the data and are independent of the machine learning approach.In these methods, the features are ranked based on their relevance, and the highest rank features are chosen to induce the classification models.The filter methods utilized in the study are the Chi-square method, F_classif method, information gain, correlation, dispersion ratio, mean absolute difference, and variance threshold methods.Among filter methods, Chi-square method for selecting important characteristics is utilized to perform the chi-square (χ 2 ) test which measures the autonomy among two parameters and identifies the most informative ten characteristics according to their importance with respect to the target parameter.The F_Classif method for feature selection is used for calculating the ANOVA F-statistic values for all the features extracted and selecting the top ten features based on those values.The information gain method is utilized to obtain mutual information between the features and their target variables by the mutual_info_classif function.The features with the ten highest scores obtained are selected for further analysis.The correlation method quantifies the linear interconnection of the features with the target variable.The correlation coefficients are calculated and the most significant ten features are selected.The Mean Absolute Difference (MAD) is used to calculate the mean absolute deviation or variability of each feature from the feature's mean value and features with ten highest variabilities are selected.Variance Threshold is used to eliminate features with low variance.In all of the filter methods utilized, the features are ranked based on the respective evaluation criteria (different for all methods) by eliminating the features having constant or quasi-constant values.The filter methods provide simple and powerful methods to eliminate irrelevant, duplicated, correlated, and hence redundant features in an easier and quicker way.

Wrapper methods

24These use the machine learning models for evaluating the quality for selecting the subset of features.It involves the training of a new model on each feature subset and determines the best-performing feature subset based on the machine learning algorithm.They are also capable of detecting the interactions between the variables, so provide better prediction performance than by filter methods.The wrapper methods used in this study are forward feature selection (FFS) and recursive feature elimination (RFE) techniques.FFS begins with an empty model, adds features one by one, and evaluates the model until the accuracy is increased.On the contrary, RFE begins with a model with all features, evaluates the model, and eliminates features one by one based on least importance, until the desired number of features is reached.

Embedded techniques

25The embedded techniques perform the feature selection during the training of data in machine learning classification algorithm.These methods are comparatively faster than the wrapper methods and achieve higher accuracies in comparison to filter methods with lower risk of overfitting of data.Embedded methods utilized in the study are: Lasso regularization and Random Forest Importance methods.Lasso regularization method can shrink some of the coefficients to zero so that some features can be eliminated.Random Forest Importance method involves building of random forest trees, calculating feature importance, and eliminating the unimportant features until the condition is achieved.Table 4 shows methods used for various the feature selection types discussed.

Fault classification

26Feature classification refers to the categorization of features using machine learning.The selected features of the sensor data are classified using different machine learning classification algorithms (classifiers).Figure 5 shows the workflow of the classification of defects in FSP-prepared composites using machine learning approach [41].

27The multi-sensor data selected using feature selection techniques, which is in the form of features and their labels, divides itself into a training and a testing dataset.The machine learning classifier is fit with the labeled training data and its efficacy is tested with the unlabelled test dataset by comparing the predicted labels with the true labels of the test dataset.Also, there is scope for adjustment of different parameters of the ML model using hyperparameter tuning [42].Eight classifiers are utilized to classify the features selected by each of the selection methods as discussed individually.The Different machine learning (LR, NB, kNN, SVM, DT) [43,44] and ensemble learning classifiers (RF, AB, GB) [45][46][47] categorize the selected feature data on the dataset for training and validate it on the test dataset.Various feature selection methods and machine learning classifiers are utilized for identifying and categorizing the most important features and hence classifying the defects in fabricated composites.

k-nearest neighbors method (kNN)

28The k-Nearest Neighbors is a non-parametric method that clusters the data and assigns a new label to the data on the basis of the closeness of the values according to the Euclidean distance between the data points to make classification of data.It calculates the distance to the training data using the selected distance metric.The hyperparameter tuning is used for adjustment of parameters, i.e., the number of neighbors and window size.kNN is a non-parametric method capable of handling multisensory data.

Support vector machine (SVM)

29The support Vector Machine method applied for multi-class classification, is capable of handling high dimensional data exhibiting non-linear complex relationships among data.Two approaches are mainly used: one versus one where all the pairs of classes are considered for training the model and one versus all where n number of output classes and n number of classification models are trained concurrently while accounting for the separation between the real class and the remaining classes.

Gradient boosting classifier (GB)

30Gradient boosting is an ensemble method that sequentially constructs models.Every subsequent model is educated to rectify the mistakes committed by its previous models.The algorithm consists of initializing the model with a base estimator and then adding more models iteratively by computing errors.Then the model is trained to predict errors and the ensemble is updated with a new model for classification and evaluation of the model.

Decision tree classifier (DT)

31The decision tree classifier is highly useful for the classification of time series sensor data since it is capable of handling non-linear relationships of data and feature interactions.It is a non-parametric type of machine learning technique that is easier to interpret, robust to noise and provides a measure of feature importance.However, it may promote overfitting of data during training and data instability, i.e., small variations in data may lead to different splits.These limitations can be overcome by using ensemble methods such as random forest classifiers, etc 2.6.5.Random forest classifier (RF) Random Forest is a type of ensemble method for classification that improves the accuracy of predictions by combining multiple decision trees trained on various groups of the data and using averaging.The random forest method combines predictions from many decision trees and generates the final output based on the majority vote among these predictions.It functions in two separate stages.The initial stage is creating a random forest by combining N decision trees.The second stage involves creating predictions for each independent tree that was constructed in the beginning stage.Random forest classifier is capable of effectively managing extensive datasets with a high number of dimensions.Also, it improves the precision of the model and mitigates the risk of overfitting the data.

Ada boost classifier (AB)

32The AdaBoost or Adaptive Boosting, is a magnifying approach employed as an ensembling technique among different machine learning approaches.The technique includes reassigning weightage to each instance, with bigger weights given to examples that were categorized erroneously.While the data is trained, it produces a variable number of decision trees.When the first model is built, the improperly categorized data in the first model gets a priority.This imposes these data records to be provided as intake to the second model and so on.This method continues til it is designated by a specific quantity of base learners needed to generate.

Naïve bayes (NB)

33It is a widely used machine learning method employed for tasks involving classification, such as text classification.This algorithm is classified as a generative learning algorithm, as it models the input distribution for a certain class or category.This approach relies on the premise that the characteristics of the input data are statistically unrelated to the class, enabling the algorithm to produce fast and accurate predictions.

Logistic regression (LR)

34It is a statistical technique and a machine learning method utilized for classification tasks, relying on the principle of probability.This method is employed when the dependent variable, also known as the target variable, is categorical.Logistic Regression is a commonly employed method because of its great efficiency and little requirement for computer resources.It exhibits enhanced efficiency by eliminating variables that possess negligible or no correlation with the output variable.Table 5 displays the methods used for various types of classification models.

Evaluation of models

35The machine learning classifiers are utilized to categorize the training set of data and then classification is employed on the test data.The classification of the data as conducted by the model algorithm, is afterwards, validated from the true values with the help of evaluation of models [48] which suggests how the model has performed in terms of predicting classes.There are several measures which determine the model performance:

36(i) Accuracy: This evaluates the model's accuracy by calculating the accuracy as the percentage of correctly anticipated instances to the total number of occurrences.Also, it can be determined as the rate of accurately recognized affirmative instances and true negatives to the overall positive and negative values.It is expressed as:

37Number of correct instances Total number of occurences 1

38(ii) Precision: It quantifies the precision of optimistic forecasts.The term 'precision' refers to the precise ratio of accuracy predicted by the ratio of positive cases to the overall cases or instances predicted as positive.It helps in determining the frequency at which a positive test accurately identifies a true positive.The term 'positive predictive value' refers to the proportion of real positive results compared to false positive results.It is expressed as:

39True Positives True Positives False Positives 2

40(iii) Recall: It is also called as sensitivity or the real positive rate.It evaluates the model's capacity to accurately identify and include all events that are classified as positive.The term 'precision' refers to the ratio of correctly predicted positive instances to the total confirmed positive instances.It evaluates the test's ability to yield a positive result when the condition is present.It can be expressed as:

41True Positives True Positives False Negatives 3

42(iv) F1 score: It integrates the measures of precision and recall into a unified metric.It is especially beneficial in cases where there is an imbalanced distribution of classes.Also, it is said to be the harmonic mean of recall and accuracy.It can be expressed as:

43precision recall precision recall 1 2 4

Results and discussion

44The sensor data recorded during the manufacturing of surface composites by FSP includes six incoming signals, i.e., three cutting forces (X, Y, and Z directions on matrix), one current (tool spindle), and two vibration sensor (tool spindle and matrix).The multi-sensor signals are digitized for synchronized analysis with the help of the data acquisition system module.The raw sensor data is preprocessed and labeled with their defect condition as target variables.Then important features are extracted, and most importantly fewer features are selected for further analysis.The fault identification and classification of the surface defects in the composites is performed using different machine learning classifiers with their performance evaluation.The classification algorithms utilized include kNN, SVM, GB, decision tree, random forest, ada boost, naive bayes, and logistic regression.The performance of all the classifiers used is compared using different evaluation metrics.The python programming in Jupiter notebook was used for extracting, selecting, and classifying the sensor data.

Feature extraction

45The features are extracted from the raw sensor data (six sensors) that can be processed while preserving the information in the original dataset using standard libraries in python.Different time (temporal) and feature (spectral) domain features are extracted at a sampling frequency of 1000 Hz and a window size of 1000 samples is selected for the extraction.Time domain features are extracted by 'NumPy' (numerical python) and 'pandas' libraries in python.Spectral-domain features are extracted using 'PyWavelets', 'scikit-learn', 'joblib', 'SciPy' (Scientific Python) libraries, etc Time domain features extracted in the present research are 16 for each raw sensor data.The frequency domain features extracted are 26 for each sensor data.Overall, 252 features are extracted which includes 96 time domain and 156 spectral features for all six sensor data.All the extracted features, along with the label (condition of the defect) are stored in the form of CSV files where the features are considered as the independent parameter and label is taken as the target parameter.

Feature selection

46The most important ten features relevant for defect classification are selected out of the extracted features dataset using the features selection techniques including various filter methods, viz., Chi-Square method, F_classif method, information gain method, correlation method, dispersion ratio, mean absolute difference, and, variance threshold method.Also, various wrapper methods, such as, forward feature selection and recursive feature elimination methods, and embedded methods, such as lasso regularization, and random forest importance methods are utilized for feature selection.3.2.1.Feature selection using filter methods Among all the filter methods used for feature selection, i.e., Chi-square, F_classif, information gain, correlation, dispersion ratio, mean absolute difference, and variance threshold method, It is obtained that among these, the information gain filter method achieves high-performance accuracies with the machine learning classification models.This approach quantifies the quantity of data acquired about one variable through another variable.The information gain is well-suited for capturing complex dependency of features on the target variable, rendering it a good option for selecting the sensor data exhibiting linear as well as non-linear relationships.From the extracted time domain and spectral domain features, the ten most important features are selected by calculating the mutual information (MI) of features concerning the target variables.This calculated value refers to the reduction in uncertainty of the target variable, given the feature.Then, the features are ranked according to their mutual information scores as calculated, and the features with the top ten MI scores are selected for further classification.Table 6 displays the record of the ten most significant characteristics selected by each of the six filter methods used.

Feature selection using wrapper methods

47Among the two wrapper methods used, i.e., forward feature selection (FFS) and recursive feature elimination (RFE) for selecting the significant features for classification of sensor data, it is obtained that the features selected by FFS are more efficiently classified by machine learning.In FFS, one by one the features, that improve the model performance the most (highest accuracy scores), are added until the ten most significant features are achieved.It is advantageous for the large set of data, is less computationally expensive, promotes incremental improvement, and prevents multicollinearity which is a common issue in sensor data.Table 7 shows the ten selected features by both of the wrapper type methods with individual accuracy scores.

Feature selection using embedded methods

48In this study, among embedded methods for selecting important characteristics, Lasso regularization and random forest importance methods are utilized to select ten very important characteristics of the dataset.It is obtained that the Random Forest Importance method is capable of handling large amounts of data having nonlinear relationships, prevents overfitting, and creates a ranking of feature importances.Hence the features selected by this method achieve high accuracy with the machine learning classifiers.Table 8 shows the list of top ten features selected by both of the embedded methods along with the rank of importance for further classification.

Performance evaluation using classification models

49The selected features of multi-sensor data with all the techniques utilized for selecting features (filter, wrapper, and embedded type methods), are provided to different machine learning and ensemble learning classifiers, i.e., KNN, SVM, GB, decision tree, random forest, Ada Boost, naive bayes, and logistic regression.For classification, the selected data, i.e., features (X) and labels (y) are divided into training (70%) and testing (30%) datasets.The labelled training dataset (X 1 , y 1 ) data is provided for the machine learning models for fitting or training purposes.However, the unlabelled testing set (X 2 ) is provided for the performance evaluation, i.e., for validating the predicted label values with the true labels (y 2 ).

Model performance by filter methods of feature selection

50The evaluation of the accuracies of classifiers for the selected features by all the filter methods used suggests that the highest performance is obtained with the features selected by the Information gain method of feature selection.The metrics for the performance of the features selected by this method are shown in table 9.It is obtained that among all the classifiers used, the Gradient Boosting classifier achieves the highest accuracy i.e., 0.99 for the classification of the data.Figure 6(a) shows the bar plot for comparing the accuracies of all the machine learning-based classifiers used.Figure 6(b) shows that ROC curve for classification model of the selected features is nearly perfect in distinguishing between positive and negative classes with no false positives or false negatives and AUC = 1.The reason for the excellent performance of GB classifier is that it builds the model sequentially by fitting new models to the residual errors made by previous models by improving mistakes of the other models, leading to high efficiency.Also, being ensemble of multiple trees, it captures non-linear relationships, can model complex patterns, handles overfitting, and involves feature interactions.

Model performance by wrapper methods of feature selection

51The classification models are examined for their efficacies to classify the features selected by both the wrapper methods used, i.e., FFS and RFE, suggesting that the highest performance is obtained with the variables chosen by the FFS method.The metrics for the performance of the classifiers are shown in table 10.It is obtained that the Random Forest classifier achieves maximum accuracy i.e., 0.99 for classification of the data.Figure 7(a) shows the bar plot for comparison of accuracies by all the machine learning and ensemble learning classifiers used.Figure 7(b) displays the ROC curve for the classification model of the selected features which is good in distinguishing between positive and negative classes with no false positives or false negatives and AUC is 0.98 which is close to 1.The reason for the excellent performance of the Random Forest classifier is that being an ensemble learning technique, it produces multiple decision trees and integrates the results obtained by all of them, performs averaging and reducing the variance of the model leading to enhanced and precise forecasts in comparison to a single decision tree.Also, it employs bootstrap aggregating or bagging which includes training of every tree from the random data subset, while reducing overfitting and enhancing generalization.

Model Performance by Embedded methods of Feature Selection

52The multiple machine learning and ensemble learning classifiers investigated of performance of the classification algorithms on the data features selected by both the embedded methods used suggesting that the highest performance is obtained with the features selected by the Random Forest Importance method of feature selection.The metrics to evaluate the performance of the classifiers are shown in table 11.It is obtained that the classifier used, the Random Forest classifier achieves maximum accuracy i.e., 0.96 for classification of the data.Random forest classification is especially useful for time series data, as acquired in the present study, where relationships can be highly non-linear and intricate.

Comparative result analysis

53This subsection discusses the comparison and analysis of the efficiency of various machine learning classifiers utilized for the selected features with different feature selection techniques.Table 12 displays the comparative analysis of the performance of several feature selection techniques used with different classifiers for detecting and classifying the surface defects on the composites prepared by FSP.This analysis verifies that the chi-square

Conclusion

54The investigation focuses on the classification of surface defects in Al6061-based composites fabricated by Friction Stir Processing (FSP) with copper and graphene reinforcements, using a machine learning approach.The main objective is to develop a framework for real-time defect identification based on multisensory data collected from vibration, current, and force sensors mounted on the milling machine during FSP.Data is collected at a high sampling rate (1000 Hz), and the process involves several steps, including data acquisition, preprocessing (noise elimination, outlier removal), and feature extraction to reduce dimensionality.Multisensory data from vibration (tool and matrix), current (tool), and force (matrix) sensors is collected during FSP.The raw data is cleaned and preprocessed to remove noise and irrelevant information.The preprocessed data is used for feature extraction to reduce its size while maintaining significant characteristics for fault classification.Five surface defect categories are identified visually: normal composite, pin break, rough surface, no composite, and brazing break composite.Both time-domain and frequency-domain features are extracted from the sensor data, which helps capture the dynamic behavior of the FSP process.The extracted features are then subjected to feature selection to identify the most relevant ones for defect classification.Several feature selection techniques are employed, such as Information Gain, Chi-square, Forward Feature Selection, and Random Forest importance, to reduce data complexity and retain the most important characteristics.

55Various machine learning classifiers are employed to classify the surface defects, including Gradient Boosting, Random Forest, and other ensemble techniques.The classifiers are evaluated using accuracy and other performance metrics.Different combinations of feature selection and classification models are tested to determine the optimal approach for fault classification.

56The main findings of the research are summarized as:

57• Filter Methods: The combination of Information Gain feature selection with the Gradient Boosting classifier achieved the highest accuracy for fault classification in surface composites.

58• Wrapper Methods: Among wrapper methods, Forward Feature Selection combined with the Random Forest classifier provided the highest classification accuracy.

59• Embedded Methods: The combination of Random Forest importance (as a feature selection technique) with the Random Forest classifier yielded the highest accuracy among embedded methods.

60The results highlight the importance of feature selection in enhancing the performance of machine learning classifiers for defect classification.These optimal combinations of feature selection techniques and machine learning classifiers are crucial for the development of a real-time monitoring and defect prediction system for FSP composites.The optimal combinations of the feature selection techniques and machine learning classification techniques for identifying the defects on the composites prepared by FSP are crucial for the development of the real-time monitoring system and defect prediction system for the composites being manufactured by FSP.

Figure 1 .

61Figure 1.Framework for classification of faults in composites fabricated by FSP.

Figure 2 .

62Figure 2. Experimental setup with sensors.

Figure 3 .

63Figure 3. Sensor data signals for vibration (table)sensor for all five labels of composites.

Figure 4 .

64Figure 4. Detailed methodology adopted for fault classification of surface composites prepared by FSP.

Figure 5 .

65Figure 5. Machine learning process for classification of defects in composites.

Figure 6 .

66Figure 6.(a) Bar plot for comparison of accuracy scores of all ML classifiers; (b) ROC curve for classification of sensor data; for features selected by Information gain method.

Figure 7 .

67Figure 7. (a) Bar plot for comparison of accuracy scores of all ML classifiers; (b) ROC curve for classification of sensor data; for features selected by FFS method.

Figure 8 .

68Figure 8.(a) Bar plot for comparison of accuracy scores of all ML classifiers; (b) ROC curve for classification of sensor data; for features selected by RF method.

Table 1 .

69Details of signal collection equipment and sampling frequency.

Table 2 .

70List of time domain features extracted with their function.

Table 3 .

71List of frequency domain features with their function.

Table 4 .

72Methods utilized in various types of feature selection techniques.

73S. no.

Table 5 .

74Methods used in various machine learning and ensemble learning models.

Table 6 .

75Selected ten features by each of the Filter methods.

Table 7 .

76Selected list of features by wrapper methods used with accuracy scores.

Table 8 .

77Selected list of features by embedded methods used with accuracy scores.

Table 9 .

78Performance of the classifiers of features selected by information gain FS method.

79Figure 8(a)shows the bar plot for comparison of accuracies of all the machine learning classifiers used.Figure8(b) shows that the ROC curve for the classification model of the selected features is good in distinguishing between positive and negative classes and AUC is 0.95 which is close to 1.The reason for the better performance of the Random Forest classifier is that it ensembles different decision trees simultaneously and can model complex non-linear relationships and feature interactions without requiring explicit specification.

Table 10 .

80Performance of the classifiers of features selected by the FFS method.

Table 11 .

81Performance of the classifiers of features selected by the RFI method.forfeature selection method performs better than other filter methods.Similarly, the forward feature selection method performs well among wrapper methods, and, random forest feature selection performs well among embedded feature selection methods.It is obtained that the ensemble-type machine learning classifiers perform better than other classifiers.Another comparison of the obtained results with the relevant literature results have been shown in table13.

82method

Table 12 .

83Comparison of Model Accuracies of several feature selection methods for all classifiers.

참고문헌 49건

  1. Wear characteristics of Al–Cr–O surface nano-composite layer fabricated on Al6061 plate by friction stir processing Wear · Elsevier BV · 2013 10.1016/j.wear.2013.03.014
  2. Fault diagnosis of helical gear box using naïve Bayes and Bayes net International Journal of Decision Support Systems · Inderscience Enterprises Ltd. · 2015 10.1504/ijdss.2015.067252
  3. Effect of varying axial load under fixed boundary condition on admittance signatures of electromechanical impedance technique Journal of Intelligent Material Systems and Structures · SAGE Publishing · 2012 10.1177/1045389x12437888
  4. Design and development of fixture and force measuring system for friction stir welding process using strain gauges Journal of Mechanical Science and Technology · Springer Science+Business Media · 2015 10.1007/s12206-015-0134-x
  5. Fault diagnosis of bearings through vibration signal using Bayes classifiers International Journal of Computer Aided Engineering and Technology · Inderscience Publishers · 2013 10.1504/ijcaet.2014.058002
  6. Microstructure and tribological performance of an aluminium alloy based hybrid composite produced by friction stir processing Materials & Design (1980-2015) · Elsevier BV · 2011 10.1016/j.matdes.2011.01.021
  7. Fault diagnosis of automobile hydraulic brake system using statistical features and support vector machines Mechanical Systems and Signal Processing · Elsevier BV · 2014 10.1016/j.ymssp.2014.08.007
  8. Application of multi-sensor signals for monitoring tool/workpiece condition in broaching International Journal of Computer Integrated Manufacturing · Taylor & Francis · 2008 10.1080/09511920701233357
  9. Application of Support Vector Machine (SVM) and Proximal Support Vector Machine (PSVM) for fault classification of monoblock centrifugal pump International Journal of Data Analysis Techniques and Strategies · Inderscience Publishers · 2009 10.1504/ijdats.2010.030010
  10. Toward an Affordable Automation Scheme of Friction Stir Processing Volume 2A: Advanced Manufacturing · 2015 10.1115/imece2015-53314
  11. Development of in-Situ Al-Si/CuAl2 Metal Matrix Composites: Microstructure, Hardness, and Wear Behavior Materials · Multidisciplinary Digital Publishing Institute · 2016 10.3390/ma9060442
  12. Torque based defect detection and weld quality modelling in friction stir welding process Journal of Manufacturing Processes · Elsevier BV · 2017 10.1016/j.jmapro.2017.03.012
  13. A Comparative Study on Machine Learning Algorithms for Smart Manufacturing: Tool Wear Prediction Using Random Forests Journal of Manufacturing Science and Engineering · ASM International · 2017 10.1115/1.4036350
  14. Friction stir based welding and processing technologies - processes, parameters, microstructures and applications: A review Journal of Material Science and Technology · Elsevier BV · 2017 10.1016/j.jmst.2017.11.029
  15. Performance evaluation of friction stir welding using machine learning approaches MethodsX · Elsevier BV · 2018 10.1016/j.mex.2018.09.002
  16. A review on sensor based monitoring and control of friction stir welding process and a roadmap to Industry 4.0 Journal of Manufacturing Processes · Elsevier BV · 2018 10.1016/j.jmapro.2018.10.016
  17. Effects of Vibration on Microstructure and Thermal Properties of Friction Stir Spot Welded (FSSW) Aluminum Alloy (Al5083) International Journal of Precision Engineering and Manufacturing · Springer Science+Business Media · 2019 10.1007/s12541-019-00134-9
  18. Model-based proposal of a control strategy for friction stir welding 2019 IEEE 4th Colombian Conference on Automatic Control (CCAC) · 2019 10.1109/ccac.2019.8920996
  19. Building a multi-signal based defect prediction system for a friction stir welding process Procedia Manufacturing · Elsevier BV · 2019 10.1016/j.promfg.2020.01.089
  20. Real time monitoring and control of friction stir welding process using multiple sensors CIRP journal of manufacturing science and technology · Elsevier BV · 2020 10.1016/j.cirpj.2020.03.004
  21. Analysis of defect formation mechanisms and their effects on weld strength during friction stir welding of Al 6061-T6 via experiments and finite element modeling The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2020 10.1007/s00170-020-05353-3
  22. Condition monitoring of FSW tool using vibration analysis – A machine learning approach Materials Today Proceedings · Elsevier BV · 2020 10.1016/j.matpr.2020.04.903
  23. On hyperparameter optimization of machine learning algorithms: Theory and practice Neurocomputing · Elsevier BV · 2020 10.1016/j.neucom.2020.07.061
  24. Friction stir welding/processing of metals and alloys: A comprehensive review on microstructural evolution Progress in Materials Science · Elsevier BV · 2020 10.1016/j.pmatsci.2020.100752
  25. Ensemble learning for intrusion detection systems: A systematic mapping study and cross-benchmark evaluation Computer Science Review · Elsevier BV · 2020 10.1016/j.cosrev.2020.100357
  26. Machine learning classification-based approach for mechanical properties of friction stir welding of copper Manufacturing Letters · Elsevier BV · 2021 10.1016/j.mfglet.2021.05.010
  27. Friction Stir Welding Tool Condition Prediction Using Vibrational Analysis Through Machine Learning – A Review Journal of Physics Conference Series · IOP Publishing · 2021 10.1088/1742-6596/1969/1/012051
  28. Detection of tunnel defects in friction stir welded aluminum alloy joints based on the in-situ force signal Journal of Manufacturing Processes · Elsevier BV · 2021 10.1016/j.jmapro.2021.09.014
  29. Investigation of microstructural and wear behavior of Al6061 surface composites fabricated by friction stir process using Taguchi approach Materials Research Express · IOP Publishing · 2022 10.1088/2053-1591/ac4a2d
  30. A hybrid machine learning technique for feature optimization in object-based classification of debris-covered glaciers Ain Shams Engineering Journal · Elsevier BV · 2022 10.1016/j.asej.2022.101809
  31. Tool wear prediction in face milling of stainless steel using singular generative adversarial network and LSTM deep learning models The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2022 10.1007/s00170-022-09356-0
  32. Performance Evaluation of Machine Learning Classifiers in Malware Detection 2022 IEEE International Conference on Distributed Computing and Electrical Circuits and Electronics (ICDCECE) · 2022 10.1109/icdcece53908.2022.9793102
  33. Tool wear prediction using long short-term memory variants and hybrid feature selection techniques The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2022 10.1007/s00170-022-09784-y
  34. Defect detection in composites by deep learning using solitary waves International Journal of Mechanical Sciences · Elsevier BV · 2022 10.1016/j.ijmecsci.2022.107882
  35. Android Malware Classification Using Optimized Ensemble Learning Based on Genetic Algorithms Sustainability · Multidisciplinary Digital Publishing Institute · 2022 10.3390/su142114406
  36. Impact of feature reduction techniques on classification accuracy of machine learning techniques in leg rehabilitation Measurement Sensors · Elsevier BV · 2022 10.1016/j.measen.2022.100544
  37. Fault classification and timing prediction based on shipment inspection data and maintenance reports for semiconductor manufacturing equipment Computers & Industrial Engineering · Elsevier BV · 2023 10.1016/j.cie.2022.108972
  38. Multi-parameter sensing of robotic friction stir welding based on laser circular scanning Journal of Manufacturing Processes · Elsevier BV · 2023 10.1016/j.jmapro.2023.01.060
  39. Applications of machine learning in friction stir welding: Prediction of joint properties, real-time control and tool failure diagnosis Engineering Applications of Artificial Intelligence · Elsevier BV · 2023 10.1016/j.engappai.2023.105961
  40. Microstructural and sensor data analysis of friction stir processing in fabricating Al6061 surface composites Engineering Research Express · IOP Publishing · 2023 10.1088/2631-8695/acc158
  41. A novel machine learning-based feature extraction method for classifying intracranial hemorrhage computed tomography images Healthcare Analytics · Elsevier BV · 2023 10.1016/j.health.2023.100196
  42. Generalizability of machine learning-based fault classification for residential air-conditioners Energy and Buildings · Elsevier BV · 2023 10.1016/j.enbuild.2023.113263
  43. Remaining Useful-Life Prediction of the Milling Cutting Tool Using Time–Frequency-Based Features and Deep Learning Models Sensors · Multidisciplinary Digital Publishing Institute · 2023 10.3390/s23125659
  44. Application of Machine Learning Models for Early Detection and Accurate Classification of Type 2 Diabetes Diagnostics · Multidisciplinary Digital Publishing Institute · 2023 10.3390/diagnostics13142383
  45. Sparse solution of least-squares twin multi-class support vector machine using <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="d1e4265" altimg="si5.svg"><mml:msub><mml:mrow><mml:mi>ℓ</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:math> and <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="d1e4275" altimg="si52.svg"><mml:msub><mml:mrow><mml:mi>ℓ</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi></mml:mrow></mml:… Neural Networks · Elsevier BV · 2023 10.1016/j.neunet.2023.07.039
  46. Friction stir powder additive manufacturing of Al 6061 alloy: Enhancing microstructure and mechanical properties by reducing thermal gradient Journal of Materials Research and Technology · Elsevier BV · 2023 10.1016/j.jmrt.2023.07.270
  47. Open-source real-time monitoring system of temperature and force during friction stir spot welding Journal of Engineering Research · Elsevier BV · 2023 10.1016/j.jer.2023.08.020
  48. Neuro-Fuzzy Random Vector Functional Link Neural Network for Classification and Regression Problems IEEE Transactions on Fuzzy Systems · Institute of Electrical and Electronics Engineers · 2024 10.1109/tfuzz.2024.3359652
  49. Development of machine learning methods for mechanical problems associated with fibre composite materials: A review Composites Communications · Elsevier BV · 2024 10.1016/j.coco.2024.101988