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

Surface roughness prediction of machined components using gray level co-occurrence matrix and Bagging Tree

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (21) 에폭시수지(22) POM(폴리아세탈)

기본 정보

저자
  1. Dhiren Patel — Department of Mechanical Engineering PDPU Gandhinagar, Gujarat India
  2. H. Thakker — Department of Mechanical Engineering PDPU Gandhinagar, Gujarat India
  3. M. B. Kiran — Department of Industrial Engineering PDPU Gandhinagar, Gujarat India
  4. Vinay Vakharia — Department of Mechanical Engineering, PDPU Gandhinagar, Gujarat, India -382007|||Department of Mechanical Engineering PDPU Gandhinagar, Gujarat India
DOI
10.5937/fme2002468p
저널
FME Transaction
발행년도
2020
발행기관
Faculty of Agronomy in Čačak
피인용수
28
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.5937/fme2002468p
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W3023198205

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(21) 에폭시수지, (22) POM(폴리아세탈)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
Surface Roughness, Machine Learning, Image Processing, Stochastic Gradient Boosting, Machined components
판단 근거
본 논문은 머신러닝과 이미지 프로세싱을 이용해 가공 부품의 표면 거칠기를 예측하는 방법론을 다룹니다. 이는 코오롱인더스트리의 엔지니어링 플라스틱(23)이나 화학/수지(21) 분야의 성형 부품 제조 공정에서 품질 관리 및 표면 특성 분석 기술로 응용될 수 있습니다.
R&D 활용 포인트
엔지니어링 플라스틱 성형품이나 정밀 부품 제조 시, 비접촉식 머신 비전 기술을 활용하여 제품의 표면 품질(거칠기)을 실시간으로 모니터링하고 예측하는 공정 최적화 시스템에 활용 가능합니다.
평가 입력
본문 36,753자

초록

Surface Roughness of a machined component is crucial in identifying its functional capability when the manufactured specimen has metal to metal contact during operating condition since most wear and tear of the parts occurs due to friction between the surfaces of the moving parts. It is quite difficult to manually check the surface roughness of each component being manufactured on a manufacturing line. This paper aims to present a methodology to predict surface roughness using Image Processing, Computer Vision, and Machine Learning. Two machine learning algorithms Bagging Tree and Stochastic Gradient Boosting are compared and evaluated based on statistical parameters .It is observed that Stochastic Gradient Boosting predicts surface roughness in an efficient way both for training and Ten-fold cross-validation. The methodology used can be employed for online inspection and qualitative assessment of machined components.

본문 36,753자

본문 펼치기
# Surface Roughness Prediction of Machined Components Using Gray Dhiren R. Patel Level Co-occurrence Matrix and Department of Mechanical Engineering # Bagging Tree PDPU Gandhinagar, Gujarat India Harshit Thakker _Surface Roughness of a machined component is crucial in identifying its_ Department of Mechanical Engineering _functional capability when the manufactured specimen has metal to metal_ PDPU Gandhinagar, Gujarat _contact during operating condition since most wear and tear of the parts_ India _occurs due to friction between the surfaces of the moving parts. It is quite_ _difficult to manually check the surface roughness of each component being_ M B Kiran Associate Professor _manufactured on a manufacturing line. This paper aims to present a_ Department of Industrial Engineering _methodology to predict surface roughness using Image Processing,_ PDPU Gandhinagar, Gujarat India _Computer Vision, and Machine Learning. Two machine learning_ _algorithms Bagging Tree and Stochastic Gradient Boosting are compared_ Vinay Vakharia _and evaluated based on statistical parameters .It is observed that_ Assistant Professor _Stochastic Gradient Boosting predicts surface roughness in an efficient_ Department of Mechanical Engineering _way both for training and Ten-fold cross- validation. The methodology_ PDPU Gandhinagar, Gujarat India _used can be employed for online inspection and qualitative assessment of_ _machined components._ _Keywords:_ _Surface Roughness, Computer Vision, GLCM, Machine_ _Learning_ 1. INTRODUCTION Many researchers proposed different approaches to predict surface roughness based on machining theory Surface roughness is an important parameter that [2–7]. Surface measurement is mainly divided into two quantifies the quality and precision of the manufactured categories; (1) contact measurement, (2) non-contact workpiece [1]. It is measured after calculating the devi measurement [8–10]. Contact type measurements are ations towards the normal vector from an ideal surface used owing to a compact design, high measuring to the actual workpiece surface. Roughness measu accuracy, and ability to give consistent output for the rement is crucial since the irregularities present may surface being examined [11]. However, the study lead to the formation of crack and pits due to the conducted by [12] highlighted the advantages of interaction of the workpiece surface during operation. It measurement accuracy [12]. Numerous kinds of is observed that rough surface wears more quickly and research are going on non-contact type assessment of consists of a high coefficient of friction than the smooth surface roughness parameters using machine vision surfaces. Tool geometry, the material of workpiece, and systems and artificial intelligence technology, which machining parameters are the important factors that include methods like laser speckle, light scattering, and affect the surface roughness in manufacturing processes. optical interference [13–17]. Many authors have done To achieve a better surface finish of the workpiece, the regression modeling to develop a surface roughness combination of optimal machining parameters such as prediction model for the workpiece machined through speed, feed, and depth of cut needs to be selected. various manufacturing processes. Significant parameters Design of experiment (DOE) is a statistical method that and optimum levels determined, which can be utilized begins with the formulation of an orthogonal array, for achieving high-quality surface [18]. In regression which can be either full or fractional factorial so as to modeling, a mathematical model is developed between a confirm that all the variations in levels of parameters are target value and the input parameters. The number of considered in an optimized way. Taguchi orthogonal target value is generally one and, there is a relationship array is a method used in DOE in which the factors can between the independent and dependent variables. Due be evaluated independently of each other despite the to complex geometry and the high precision fractionality of the design. Various methods have been requirement of a workpiece, the surface roughness proposed by the authors for the evaluation of the prediction model is nonlinear in nature. Further roughness, which ranges from the qualitative nonlinear statistical models are not adaptive, i.e., they assessments based on visual and hepatic perception to can not learn from the historical data and maps input the quantitative instrumental measurement methods. and output accordingly. Machine learning regression Dhiren R. Patel Department of Mechanical Engineering PDPU Gandhinagar, Gujarat India Harshit Thakker Department of Mechanical Engineering PDPU Gandhinagar, Gujarat India M B Kiran Associate Professor Department of Industrial Engineering PDPU Gandhinagar, Gujarat India Vinay Vakharia Assistant Professor Department of Mechanical Engineering PDPU Gandhinagar, Gujarat India Received: November 2019, Accepted: Februaru 2020 Correspondence to: Dr.Vinay Vakharia Department of Mechanical Engineering, PDPU Gandhinagar, Gujarat, India - 382007 Email: Vinay.Vakharia@sot.pdpu.ac.in doi:10.5937/fme2002468P Many researchers proposed different approaches to predict surface roughness based on machining theory [2–7]. Surface measurement is mainly divided into two categories; (1) contact measurement, (2) non-contact measurement [8–10]. Contact type measurements are used owing to a compact design, high measuring accuracy, and ability to give consistent output for the surface being examined [11]. However, the study conducted by [12] highlighted the advantages of measurement accuracy [12]. Numerous kinds of research are going on non-contact type assessment of surface roughness parameters using machine vision systems and artificial intelligence technology, which include methods like laser speckle, light scattering, and optical interference [13–17]. Many authors have done regression modeling to develop a surface roughness prediction model for the workpiece machined through various manufacturing processes. Significant parameters and optimum levels determined, which can be utilized for achieving high-quality surface [18]. In regression modeling, a mathematical model is developed between a target value and the input parameters. The number of target value is generally one and, there is a relationship between the independent and dependent variables. Due to complex geometry and the high precision requirement of a workpiece, the surface roughness prediction model is nonlinear in nature. Further nonlinear statistical models are not adaptive, i.e., they can not learn from the historical data and maps input and output accordingly. Machine learning regression modeling emerges as an effective tool to adaptively map the input and target value while learning continuously from the historical data. Machine learning methods such as Artificial Neural Network (ANN), Support Vector Machine (SVM), Naïve Bayes, etc. were utilized to © Faculty of Mechanical Engineering, Belgrade. All rights reserved FME Transactions (2020) 48 468-475 468 estimate the roughness of machined surface when the features extracted were fed as an input to the algorithm and training and testing of feature set was done. Shandilya et al. [19] predicted the speed of average cutting in wire cut electric discharge machining for SiCp/6061 aluminum matrix composite by comparing two different models, Artificial Neural Network (ANN) and Response Surface Model (RSM). The experimental study demonstrates that prediction is more accurate using the ANN model compared to RSM. Al-Zubaidi et al. [20] compared a statistical model with the ANN model to predict roughness of Ti–6Al–4V ELI titanium alloy machined surface and concluded that through ANN modeling, one could obtain the better coefficient of correlation and less error of mean square. Bandapalli et al. [21] discussed surface roughness measurement of titanium alloy grade five in high-speed micro end milling using various methods like Multiple Regression Analysis (MRA), Group Method Data Handling (GMDH) and ANN. Li et al. [22] utilized the temperature and vibration data collected from multiple sensors to predict 3D printed component’s surface roughness. Better accuracy of surface roughness measurement was achieved by training prediction models using ensemble learning algorithms. A non-contact type instrument generally uses light in place of the stylus in contact-type measurement. Noncontact optical surface roughness measurement methods include ultrasonic methods, Scanning Tunnelling Microscopy (STM), and techniques based on machine vision [23]. Machine vision, particularly in manufacturing, is significant due to its non-contact type nature, flexibility, efficient characterization of surfaces, and minimum human intervention. High-resolution cameras are used to capture images of machined surfaces, and then it is processed using image processing techniques to extract useful information. A machine vision system is used in control of surface quality, measurement of tool wear, texture characterization, roughness measurement, determination of the severity of wears, etc. [24]. From the last few decades, analysis of surface texture of machined components is an active field of research as it has a significant role in the area of manufacturing and computer vision based on image processing. Jeyapoovan and Murugan [25] applied Euclidean and Hamming distances of milled specimen surface images captured from CCD camera. Classification of images and prediction of surface roughness was done by the establishment of a database based on capture signals of the reference images with the known values of surface roughness. A statistical method for roughness prediction based on the color distribution matrix was proposed by Liu et al. [26]. Results obtained through experiments on color images suggest that high accuracy can be achieved using a method based on overlap degree compared to other methods. Texture information extracted from grayscale images is considered as a suitable method to evaluate the roughness in the specimen. Gray Level cooccurrence matrix (GLCM) is a type of spatial domainbased texture feature extraction algorithms in which geometric features are extracted from the histogram and gray-level variance [27]. Machining processes like turning left the strong pattern on the machined surface;in this case, geometric features have been extracted, which carries better information. However, when the geometric features are extracted from the specimen processed through grinding, milling and lapping possess randomness. Therefore, GLCM alone is not suitable for feature extraction. For denoising, the images need to be pre-processed through filters to minimize noise and randomness. The present study proposes a methodology to predict the surface roughness based on GLCM, Weiner filter, and machine learning models. An experimental study was conducted on milled surfaces generated with variations in machining parameters like feed, speed, and depth of cut. A DOE based orthogonal array considered for carrying out the experiment and the milled specimens, roughness values measured with the profilometer. A Charge-Coupled Device (CCD) camera has been utilized in order to capture images, and then the images are pre-processed through wiener filter, and GLCM is used to extract the geometrical features. For surface roughness prediction, two machine learning regression models, bagging and Stochastic Gradient Boosting, have been applied so as to adapt to the non-linear nature of the dataset. The methodology used to predict surface roughness is shown in Figure 1. Figure 1: Flow chart of the methodology used FME Transactions VOL. 48, No 2, 2020 ▪ 469 2. SURFACE ROUGHNESS PARAMETERS In the present study, amplitude parameters have been used as they measure the vertical deviations of the machined surface, which is a very crucial part of the roughness measurement. Arithmetic Average Height (Ra) and Ten Point Height (Rz), parameters reflect the most important characteristics of surface topography, which are widely used by manufacturing industries. It is observed that these two parameters set the benchmark to validate the surface roughness of any given machined components. 2.1 Arithmetic Average Height (Ra) The arithmetic average height (Ra) is being used globally to check the quality of machined surfaces. Ra is mathematically defined as the arithmetical mean deviation of the profile that is being assessed for a single sampling length. This parameter satisfactorily captures the general trend of the deviations present on the surface. The mathematical formula of the arithmetic average height (Ra) is as follows: <u>1</u> _n_ ## Ra = n ∑ i = 1 yi (1) 2.2 Ten-Point Height (Rz) In comparison to Ra, Rz is more sensitive to the variations in the surface topography. According to ISO standard Rz is mathematically defined as a difference between the average of the five highest peaks and lowest valleys along the sampling length of the machined surface. The general formula for n-point height is given by: <u>1</u> _n_ _n_ ## Rz = n (∑ i = 1 Pi −∑ i = 1 Vi ) (2) where Vi is the depth of valley i with reference to centerline, Pi is the height of peak i with reference to centerline, and n is the number of peaks and valley. 3. EXPERIMENTAL PROCEDURE 3.1 Design of Experiment and Orthogonal Array The experiment was conducted on a CNC milling machine. The specimens were prepared from a cylindrical bar with 204 mm length and 30 mm diameter AISI 1040 steel, which normalized to 900 <sup>0</sup> C and hardened to 35 HRC. Design of Experiment (DOE) study conducted using orthogonal array and by considering operating parameters like cutting speed, feed, and depth of cut at different levels in order to conduct the experiments. DOE is a statistical method to conduct experiments which ensures that all the machining parameters and their interactions will be systematically investigated to avoid redundancy and biasness, which may occur during the conduction of experiments. The Latin Square Test Matrix is used as the design array, as the number of levels available in the present study is limited to five levels per parameter. With the Latin Square Test Matrix total of twenty-five, experimental runs have been performed. As shown in Figure 2, surface roughness was measured with surface roughness tester Handysurf 35A/B after each operation. Table 1 shows the measuring condition of the surface profilometer. Table 2 shows the level of operating parameters, and Table 3 shows the DOE table for the conduction of the experiment. Figure 2: Surface Profilometer (Handysurf 35 A/B) 3.2 Machine Vision and Preprocessing As shown in Figure 3, the machine vision system consists of a charge-coupled device camera with a high resolution and megapixel lens connected with a high end industrial central processor unit. The specimen was placed perpendicular to the worktable axis, and the angle between the normal light source and table was kept at 45 <sup>0</sup> while the optical axis of the camera kept perpendicular to the workpiece surface. Figure 3: Set-up of Machine Vision System Table 1: Parameters of surface profilometer Machining Type VMC Measurement Type Roughness Calculation Standard ISO'97/JIS'01/DIN Evaluation Length 8.00 mm Measuring Speed 0.6 mm/s Cut-off 0.8 mm Type of Filter Gaussian Measuring Range 160 µm Form Remove Straight <u>Unit</u> <u>mm/µm</u> 470 ▪ VOL. 48, No 2, 2020 FME Transactions Table 2: Levels of Operating Parameters <u>Levels</u> Operating Parameter Unit <u>-2</u> <u>-1</u> <u>0</u> <u>1</u> <u>2</u> <u>Speed</u> <u>RPM</u> 100 750 1500 2750 3600 <u>Feed</u> <u>mm/min</u> 150 800 1600 2900 3300 Depth of Cut mm 0.5 1 1.5 2 2.5 Table 3: Design of Experiments (DOE) Experiment Depth Speed Feed _X1_ _X2_ _X3_ <u>No</u> <u>of Cut</u> 1 100 150 0.5 -2 -2 -2 2 100 800 1 -2 -1 -1 3 100 1600 1.5 -2 0 0 4 100 2900 2 -2 1 1 5 100 3300 2.5 -2 2 2 6 750 150 0.5 -1 -2 -2 7 750 800 1 -1 -1 -1 8 750 1600 1.5 -1 0 0 9 750 2900 2 -1 1 1 10 750 3300 2.5 -1 2 2 11 1500 150 0.5 0 -2 -2 12 1500 800 1 0 -1 -1 13 1500 1600 1.5 0 0 0 14 1500 2900 2 0 1 1 15 1500 3300 2.5 0 2 2 16 2750 150 0.5 1 -2 -2 17 2750 800 1 1 -1 -1 18 2750 1600 1.5 1 0 0 19 2750 2900 2 1 1 1 20 2750 3300 2.5 1 2 2 21 3600 150 0.5 2 -2 -2 22 3600 800 1 2 -1 -1 23 3600 1600 1.5 2 0 0 24 3600 2900 2 2 1 1 <u>25</u> <u>3600</u> <u>3300</u> <u>2.5</u> <u>2</u> <u>2</u> <u>2</u> Figure 4: Sample Images Captured by CCD Camera While capturing the image of the machined surface, the images can be degraded due to the noises present in the vicinity of the image grabbing due to various reasons like improper lighting, presence of reflective surfaces in the facility, etc. Wiener filter is an adaptive and computationally simple algorithm and produces better results in comparison to linear noise filtering algorithms. When it comes to high-frequency parts of the images and preserving edges of it, wiener filter’s adaptive nature becomes more selective, and it also gives the best results with the noise constant power (“white”) additive noise. The main characteristics of the Wiener filter can be pointed out as (a) With spectral characteristics, it is assumed that the noise and signal are known and stationary linear random processes. (b) It is a requirement for the filter to be reliable; however, neglecting this requirement resulted in a non-causal solution. (c) Performance should end up with a minimum mean square error. Figure 4 shows sample images captured with a CCD camera while filtered images shown in Figure 5. Figure 5: Filtered Images 3.3 Feature Extraction Using GLCM Gray Level Co-occurrence Matrix (GLCM) algorithm is utilized for texture analysis by extracting texture features from captured images of machined components. It is one of the best second-order statistical methods used for image analysis. GLCM algorithm exploits the gray level distribution among the pixels of a filtered image in order to extract texture features such as correlation, contrast, entropy, cluster prominence, etc. GLCM considers relation between adjacent pairs of pixels in one offset as a second-order texture, where the first pixel is being considered as a reference and the other as a neighbouring pixel. Between pixel pair, GLCM creates the two-dimensional matrix madeup by joint probabilities of Pd and θ (i, j) separated by a distance d in a θ direction. In the present study θ was kept zero. Various features are calculated as: _Contras_ _t_ _:_ _N_ - 1 ## ∑ i, j = 0 Pi, j (− ln Pi, j ) (7) _N_ - 1 #### i, j = 0 Pi, j (− ln Pi, j ) _N_ - 1 #### i, j = 0 Pi, j (− ln Pi, j _N_ - 1 _i_, _j_ = 0 _Pi_, _j_ ( _i_ - _j_ _N_ - 1 2 _i_, _j_ = 0 _Pi_, _j_ ( _i_ - _j_ ) _N_ - 1 2 ## ∑ i, j = 0 Pi, j ( i − j ) (3) _Correlation:_ ⎡ #### N − 1 ⎢( i −μ 1 )( j −μ j ) _i_, _j_ = 0 _Pi_, _j_ ⎢ σ 2 σ 2 ⎡ ⎤ #### N − 1 ⎢( i −μ 1 )( j −μ j ) ⎥ ## ∑ i, j = 0 Pi, j ⎢⎢⎣ σ i 2 σ 2 j ⎥⎥⎦ (4) - 1 _j_ = ⎡ ⎢( _i_ −μ 1 <u>)(</u> _j_ _Pi_, _j_ ⎢ μ 1 <u>)(</u> _j_ −μ _j_ _N_ - 1 ⎢( _i_ −μ 1 _j_ −μ _j_ _i_, _j_ = 0 _Pi_, _j_ σ _i_ 2 σ 2 _j_ _i_ σ _j_ _Dissimilarity:_ _N_ - 1 _i_, _j_ = 0 _Pi_, _j_ _i_ - _j_ _N_ - 1 _i_, _j_ = 0 _Pi_, _N_ - 1 ## ∑ i, j = 0 Pi, j i − j (5) _Energy:_ _iN_, _j_ −= 10 _Pi_ 2, _j_ _iN_, _j_ −= 10 _Pi_ 2, _j_ ## ∑ iN, j −= 10 Pi 2, j (6) _Entropy:_ FME Transactions VOL. 48, No 2, 2020 ▪ 471 _Homogeneity:_ _Information Measure of Correlation 1:_ _Pi_ _N_ - 1 _Pi_ <u>,</u> _<u>j</u>_ _i_, _j_ = 0 _N_ - 1 _Pi_ <u>,</u> _<u>j</u>_ _i_, _j_ = 0 2 1 + ( _i_ - _j_ ) _N_ - 1 _Pi_ <u>,</u> _<u>j</u>_ (8) ## ∑ i, j = 0 2 1 + ( _i_ - _j_ ) _<u>Entropy</u>_ <u>−</u> _<u>HXY</u>_ <u>1</u> max <u>{</u> _HX_, _HY_ <u>}</u> <u>−</u> _<u>HXY</u>_ <u>1</u> (22) ( _i_ - _j_ ) <u>{</u> _HX_, _HY_ <u>}</u> _i_ - _j_ _Inverse Difference:_ _Pi_ <u>,</u> _N_ - 1 _Pi_ <u>,</u> _<u>j</u>_ _i_, _j_ = 0 1 + _i_ _N_ - 1 _Pi_ <u>,</u> _<u>j</u>_ _i_, _j_ = 0 1 + _i_ _N_ - 1 _Pi_ <u>,</u> _<u>j</u>_ (9) ## ∑ i, j = 0 1 + i − j _Information Measure of Correlation 2:_ 2 <u>(</u> _HXY_ 2 - _Entropy_ <u>)</u> 1 - _e_ <sup>−</sup> (23) Where, _i_ - _j_ _Inverse Difference Normalized:_ _p_ is the normalized co-occurrence matrix _Pi_ _N_ - 1 _Pi_ <u>,</u> _<u>j</u>_ _i_, _j_ = 0 ⎛ _N_ - 1 _Pi_ <u>,</u> _<u>j</u>_ _i_, _j_ 0 2 = ⎛ _i_ <u>−</u> _j_ ⎞ ⎜ 1 + ⎟ ⎝ 2 ⎠ _N_ ## px(i) = ∑ j = 1 Pi, j is the marginal row probabilities _N_ - 1 _Pi_ <u>,</u> _<u>j</u>_ (10) ## ∑ i, j 0 2 = ⎛ _pi_ <u>,</u> _<u>j</u>_ pi,j = _N_ <u>−</u> 1 ## ∑ i, j = 0 Pi, ## ∑ iN, j −= 1 _pi_ <u>,</u> _<u>j</u>_ _N_ <u>−</u> 1 <u>−</u> 1 _j_ = 0 _Pi_, _j_ 0 = ⎛ _i_ <u>−</u> _j_ ⎞ ⎜ 1 + ⎟ ⎝ 2 ⎠ _i_, _j_ = 0 _Pi_, _j_ _i_ <u>−</u> _j_ _Inverse Difference Moment Normalized:_ _N_ ## py(i) = ∑ j = 1 Pi, j is the marginal column probabilities _Pi_ <u>,</u> _i_ - _j_ 2 ### ( ) _N_ - 1 _Pi_ <u>,</u> _<u>j</u>_ _i_, _j_ = 0 ### ( _N_ - 1 _Pi_ <u>,</u> _<u>j</u>_ _i_, _j_ = 0 _i_ - _j_ 2 ### ( _N_ - 1 _Pi_ <u>,</u> _<u>j</u>_ (11) ## ∑ i, j = 0 i − j 2 ### ( ) 1 + 2 _N_ ## p(x-y)(k)= ∑ i, j = 1 Pi, j, where i − j =k, and k=0,1,…(N-1) _N_ ## p(x+y)(k)= ∑ i, j = 1 Pi, j, where i+j=k, and k=2,3,…..,2N _i_ - _j_ 1 + _N_ 2 _N_ _Sum of Squares Variance:_ _N_ - 1 _i_, _j_ = 0 _Pi_, _j_ - ( _i_ −μ _i_ _N_ - 1 2 _i_, _j_ = 0 _Pi_, _j_ - ( _i_ −μ _i_ ) _N_ - 1 2 ## ∑ i, j = 0 Pi, j * ( i −μ i ) (12) _N_ HX= −∑ _i_ = 1 _px_ ( _i_ ) ln ( _px_ ( _i_ )) _N_ HX= −∑ _i_ = 1 _px_ ( _i_ ) ln ( _px_ ( _i_ )) _N_ HY= −∑ _i_ = 1 _py_ ( _i_ ) ln ( _px_ ( _j_ )) _N_ HY= −∑ _i_ = 1 _py_ ( _i_ ) ln ( _px_ ( _j_ )) _Maximum Probability:_ #### max ( pi, j ) (13) _Autocorrelation:_ _N_ #### −∑ i = 1 px ( i ) Py ( j ) ln ( px ( i ) py ( y )) (14) _Cluster Prominence:_ _N_ #### HXY1= −∑ i = 1 pi, j ln ( px ( i ) py ( y )) _N_ - 1 4 _i_, _j_ = 0 ( _i_ + _j_ −μ _i_ −μ _i_ ) - _Pi_, _j_ _N_ - 1 4 _i_, _j_ = 0 ( _i_ + _j_ −μ _i_ −μ _i_ ) - _Pi_, _N_ - 1 4 ## ∑ i, j = 0 ( i + j −μ i −μ i ) * Pi, j (15) _Cluster Shade:_ _N_ - 1 3 _i_, _j_ = 0 ( _i_ + _j_ −μ _i_ −μ _i_ ) - _Pi_, _j_ _N_ - 1 3 _i_, _j_ = 0 ( _i_ + _j_ −μ _i_ −μ _i_ ) - _Pi_, _N_ - 1 3 ## ∑ i, j = 0 ( i + j −μ i −μ i ) * Pi, j (16) _Sum Average:_ 2 _N_ ## ∑ k = 2 Px + y ( k ) (17) _Sum Entropy:_ 2 _N_ ## ∑ k = 2 Px + y ( k ) *log ( Px + y ( k )) (18) _Difference Entropy:_ _N_ - 1 #### k = 0 Px − y ( k ) *log ( Px − y ( k )) _N_ - 1 #### k = 0 Px − y ( k ) *log ( Px − y ( k _N_ - 1 ## ∑ k = 0 Px − y ( k ) *log ( Px − y ( k )) (19) _Difference Varicance:_ _N_ - 1 2 _k_ = 0 ( _k_ - _Dissimilarity_ ) - _Px_ - _y_ ( _k_ _N_ - 1 2 _k_ = 0 ( _k_ - _Dissimilarity_ ) - _Px_ - _y_ ( _k_ ) _N_ - 1 2 ## ∑ k = 0 ( k − Dissimilarity ) * Px − y ( k ) (20) _N_ #### HXY2= −∑ i = 1 px ( i ) Py ( j ) ln ( px ( i ) py ( y )) 4. MACHINE LEARNING TECHNIQUES The surface texture features extracted using GLCM algorithm are used to map the surface roughness values for different specimens by creating a feature vector. This feature vector utilized as an input in various machine learning models to perform a regression analysis for the given data set to check the performance level of the machine learning models. The machine learning models used in this study are: 1. Stochastic Gradient Boosting 2. Bagging (Bootstrap Aggregation) Trees Algorithm 4.1 Stochastic Gradient Boosting Gradient Boosting is a group of weak prediction models. Extension of gradient boosting by minor modification resulted in the Stochastic Gradient Boosting algorithm. In each iteration, a base learner is a fit subset of the training data set selected randomly without any replacement. The size of the subset is a fixed fraction of the training data set. Smaller values of these fractions introduce randomness in the algorithm and thus prevent the algorithm from overfitting and thus acts as a regularizer. This also enhances the speed of the algorithm as the regression trees have to be fit to a smaller dataset after each iteration. _Sum Variance:_ 2 _N_ 2 ## ∑ k = 2 ( k − Sum Average ) * Px + y ( k ) ( 21 ) 472 ▪ VOL. 48, No 2, 2020 FME Transactions 4.2 Bagging Trees Algorithm Bagging (Bootstrap Aggregation) Trees is a subtype of decision trees algorithm, which is a supervised learning technique. It employs the ensemble learning method that combines a random set of decision trees having varying depths, which helps to reduce the variance inherent in a single decision tree. Several subsets of the training data are made, and each subset is used to train the individual decision trees randomly. This ensemble method makes the model more robust when compared to a single decision tree model. 5. RESULTS AND DISCUSSION In the present study, in order to predict the roughness value training and tenfold cross-validation was done using stochastic gradient boosting and bagged trees. During tenfold cross-validation, ten iterations were performed by dividing the dataset into ten equal size folds. In order to check the performance of the models, 25 instances and 21 features are used. While predicting the ‘Ra’ values, the performance of Bagging Trees algorithm is assessed by the coefficient of correlation and root mean square error for training and tenfold cross-validation and their values are 0.9587 and 0.9289 for the coefficient of correlation and 0.2111 and 0.3238 for root mean square error for training and tenfold cross-validation respectively. As shown in Table 4 while predicting the ‘Ra’ values, the performance of Stochastic Gradient Boosting algorithm is assessed by the coefficient of correlation and root mean square error for training and tenfold cross-validation and their values are 0.9985 and 0.8964 for the coefficient of correlation and 0.0421 and 0.3498 for root mean square error for training and tenfold cross-validation respectively. Table 4: Training and Tenfold Results for Predicting Ra Values dation and their values are 0.9977 and 0.9206 for the coefficient of correlation and 0.2515 and 1.5331 for root mean square error for training and tenfold cross-validation respectively. The results achieved by both the algorithms are found to be satisfactory since errors are in permissible limits. Table 5: Training and Tenfold Results for Predicting Rz Values Root Mean 0.2782 0.3142 0.0798 0.2563 <u>Square % error</u> Mean absolute 1.0388 1.3126 0.1979 0.9425 <u>error</u> Root mean 1.4138 2.1474 0.2515 1.5331 <u>squared error</u> Total Number 25 25 25 25 <u>of Instances</u> 6. CONCLUSION In this paper, the methodology has been proposed based on image processing and machine learning techniques in order to predict surface roughness of machined components. The Bagging Trees and Stochastic Gradient Boosting algorithm achieved satisfactory results for tenfold cross-validation for predicting ‘Ra’ value when Correlation coefficient considered, since higher values 0.9289 were observed with Bagging trees. The Bagging Trees and Stochastic Gradient Boosting algorithm have achieved satisfactory results for tenfold cross-validation in terms of the coefficient of correlation of 0.8305 and 0.9206 respectively while predicting ‘Rz’ value. However, based on the performance parameter: root mean square error, authors can conclude that the Stochastic Gradient Boosting algorithm is more viable as compared to Bagging Trees and also has an advantage that it is computationally simpler than the Bagging Trees algorithm. For future study deep learning methods such as Recurrent Neural Networks (RNN) and Long Short Term Memory (LSTM) Networks can be used for predicting surface roughness and other machining parameters. REFERENCES [1] Bas G, Stoev L, Durakbasa NM (2015) Assessment of the Production Quality in Machining by Integrating a System of High Precision Measurement. In: Procedia Eng. Elsevier B.V., pp 1616–1624 [2] Grzesik W (1996) A revised model for predicting surface roughness in turning. Wear 194:143–148. doi: 10.1016/0043-1648(95)06825-2 [3] Lin SC, Chang MF (1998) A study on the effects of vibrations on the surface finish using a surface topography simulation model for turning. Int J Mach Tools Manuf 38:763–782. doi: 10.1016 /S0890-6955(97)00073-4 [4] Kyun D, Ko TJ, Kim HS (2001) Optimization of feedrate in a face milling operation using a surface Stochastic Performance Bagging Trees <u>Gradient Boosting</u> Parameters Ten- TenTraining Training <u>Fold</u> <u>Fold</u> Correlation 0.9221 0.8305 0.9977 0.9206 <u>coefficient</u> Stochastic Gradient Bagging Trees Performance Bagging Trees <u>Boosting</u> Parameters Ten- TenTraining Training <u>Fold</u> <u>Fold</u> Correlation 0.9587 0.9289 0.9985 0.8964 <u>coefficient</u> Root Mean 0.2046 0.2247 0.0754 0.2825 <u>Square % error</u> Mean absolute 0.1537 0.1947 0.0289 0.2068 <u>error</u> Root mean 0.2111 0.3238 0.0421 0.3498 <u>squared error</u> Total Number of 25 25 25 25 <u>Instances</u> As shown in Table 5 while predicting the ‘Rz’ values, the performance of Bagging Trees algorithm is assessed by the coefficient of correlation and root mean square error for training and tenfold cross-validation and their values are 0.9221 and 0.8305 for the coefficient of correlation and 1.4138 and 2.1474 for root mean square error for training and tenfold cross-validation respectively. While predicting the ‘Rz’ values, the performance of Stochastic Gradient Boosting algorithm is assessed by the coefficient of correlation and root mean square error for training and tenfold cross-vali FME Transactions VOL. 48, No 2, 2020 ▪ 473 roughness model. Int J Mach Tools Manuf 41:451– 462. doi: 10.1016/S0890-6955(00)00039-0 [5] Chen CCA, Liu WC, Duffie NA (1998) A surface topography model for automated surface finishing. Int J Mach tools Manuf 38:543–550. doi: 10.1016 /S0890-6955(97)00100-4 [6] Ehrnann KF, Hong MS (1994) A Generalized Model of the Surface Generation Process in Metal Cutting. Ann CIRP 43:483–486. doi: 10.1016/ S0007-8506(07)62258-6 [7] Kim BH, Chu CN (1999) Texture prediction of milled surfaces using texture superposition method. Comput Aided Des 31:485–494. doi: 10.1016 /S0010-4485(99)00045-7 [8] Huaian Y, Liu J, Peng A, et al (2016) Visual method for measuring the roughness of a grinding piece based on color indices. Opt Express 24:583– 593. doi: 10.1364/OE.24.017215. [9] Alexander V V, Deng H, Islam MN, Terry Jr FL (2010) Non-Contact Surface Roughness Measurement of Crankshaft Journals Using a SuperContinuum Laser. In: Conf. Lasers Electro-Optics 2010. OSA Technical Digest (CD) (Optical Society of America, 2010), pp 3–4 [10] Leelawattananon T, Thowladda W, Chittayasothorn S (2015) Surface roughness measurement application using multi-frame techniques. In: 2015 Int. Conf. Comput. Appl. Technol. pp 86–91 [11] Radhakrishnan V (1970) Effect of stylus radius on the roughness values measured with tracing stylus instruments. wear 16:325–335. doi: 10.1016/00431648(70)90099-2 [12] Sherrington I, Smith EH (1988) Modern measu rement techniques in surface metrology: part I; stylus instruments, electron microscopy and nonoptical comparators. Wear 125:271–288. doi: 10.1016/0043-1648(88)90118-4 [13] Yang B, Yan C, Zhang J, Zhang H (2016) Refrac tive index and surface roughness estimation using passive multispectral and multiangular polarimetric measurements. Opt Commun 381:336–345. doi: 10.1016/j.optcom.2016.07.042 [14] Gong Y, Misture ST, Gao P, Mellott NP (2016) Surface Roughness Measurements Using Power Spectrum Density Analysis with Enhanced Spatial Correlation Length. J Phys Chem 120:22358– 22364. doi: 10.1021/acs.jpcc.6b06635 [15] Zhang X, Cui J, Wang W, Lin C (2017) A Study for Texture Feature Extraction of High-Resolution Satellite Images Based on a Direction Measure and Gray Level Co-Occurrence Matrix Fusion Algorithm. Urban Remote Sens Monit Synth Model Urban Environ 17:1474. doi: 10.3390/s17071474 [16] Yildirim M, Okutucu-özyurt T, Dursunkaya Z (2016) Optics & Laser Technology A numerical algorithm to determine straightness error, surface roughness, and waviness measured using a fi ber optic interferometer. Opt Laser Technol 85:19–29. doi: 10.1016/j.optlastec.2016.05.014 [17] Przestacki D, Majchrowski R, Marciniak-podsadna L (2016) Experimental research of surface roughness and surface texture after laser cladding. Appl Surf Sci 388:420–423. doi: 10.1016/j.apsusc.2015. 12.093 [18] Chuanmin Z, Peng G, Yinyue W, et al (2019) International Journal of Mechanical Sciences Surface roughness prediction model of SiCp / Al composite in grinding. Int J Mech Sci 155:98–109. doi: 10.1016/j.ijmecsci.2019.02.025 [19] Shandilya P, Jain PK, Jain NK (2013) International Conference On DESIGN AND MANUFACTURING, IConDM 2013 RSM and ANN Modeling Approaches For Predicting Average Cutting Speed During WEDM of SiC p / 6061 Al MMC. Procedia Eng 64:767–774. doi:10.1016/j.proeng.2013.09. 152 [20] Al-zubaidi S, Ghani JA, Hassan C, Haron C (2013) Prediction of Surface Roughness When End Milling Ti6Al4V Alloy Using Adaptive Neurofuzzy Inference System. 2013: [21] 21. Bandapalli C, Mohanbhai B (2017) Science Direct Experimental Investigation and Estimation of Surface Roughness using ANN, GMDH & MRA models in High Speed Micro End Milling of Titanium Alloy ( Grade-5 ). Mater Today Proc 47:1019–1028. doi: 10.1016/j.matpr.2017.01.115 [22] Li Z, Zhang Z, Shi J, Wu D (2019) Prediction of surface roughness in extrusion-based additive manufacturing with machine learning. Robot Comput Integr Manuf 57:488–495. doi:10.1016/j.rcim. 2019.01.004 [23] Dhanasekar B, Ramamoorthy BÃ (2008) Digital speckle interferometry for assessment of surface roughness. Opt Laser Technol 46:272–280. doi: 10.1016/j.optlaseng.2007.09.003 [24] 24. Bhat NN et al (2016) Tool condition moni toring by SVM classification of machined surface images in turning. Int J Adv Manuf Technol 83:1487–1502. doi: 10.1007/s00170-015-7441-3 [25] Jeyapoovan T, Murugan M (2013) Surface rough ness classification using image processing. Meas Elsevier 46:2065–2072. doi: 10.1016/j.measure ment.2013.03.014 [26] Liu J, Lu E, Yi H, et al. (2017) statistical matrix A new surface roughness measurement method based on a color distribution statistical matrix. Measurement. doi: 10.1016/j.measurement.2017.02.036 [27] 27. Patel DR,Vakharia V, Kiran MB (2019) Texture Classification of Machined Surfaces Using Image Processing and Machine Learning Techniques. FME Trans 47:865–872. doi: 10.5937/fmet1904865P NOMENCLATURES N Number of Gray Levels Ra Arithmetic Average Height (µm) Rz Ten Point Height (µm) Vi Depth of Valley i Pi Height of Peak i n Number of Peaks and Valleys 474 ▪ VOL. 48, No 2, 2020 FME Transactions d Distance _Greek symbols_ µ Mean Gray Level Intensity of p µx Mean Gray Level Intensity of px µy Mean Gray Level Intensity of py σ Standard Deviation of p σx Standard Deviation of px σy Standard Deviation of py θ Orientation _Abbreviations_ DOE Design of Experiment GLCM Gray Level Co-Occurrence Matrix ANN Artificial Neural Network SVM Support Vector Machine RSM Response Surface Model MRA Multiple Regression Analysis GMDH Group Method Data Handling STM Scanning Tunnelling Microscopy CCD Charge Coupled Device CNC Computer Numerical Control VMC Vertical Milling Centre RPM Revolution Per Minute _Subscript_ i Intensity of Pixel j Intensity of Pixel ПРЕДВИЂАЊЕ ХРАПАВОСТИ ПОВРШИНЕ КОД ОБРАЂЕНИХ КОМПОНЕНАТА ПРИМЕНОМ ГРЕЈ МАТРИЦЕ ИСТОВРЕМЕНИХ ПОЈАВА И ТЕХНИКЕ BAGGING Д.Р. Пател, Х. Такер, М.Б. Киран, В. Вакхариа Храпавост површине обрађене компоненте има значаја за одређивање њене функционалности када компонента израђена од метала у радним условима остварује контакт са другим металом, јер се највећи степен хабања јавља услед трења између површина покретних делова. Мануелна провера храпавости површине код сваке компоненте која се израђује на производној линији је отежана. Рад приказује методологију предвиђања храпавости површине применом обраде слике, компјутерског вида и машинског учења. Извршено је упоређивање два алгоритма за машинско учење, bagging и boosting, и обављена је њихова евалуација на основу статистичких параметара. Утврђено је да се техником boosting ефикасно предвиђа храпавост површине како код обуке тако и код десетоструке унакрсне валидације. Приказана методологија се може применити код online инспекције и квалитативне оцене обрађених компонената. FME Transactions VOL. 48, No 2, 2020 ▪ 475

섹션 본문 23문단 · 17,554자

(제목 없음)

1Surface Roughness of a machined component is crucial in identifying its functional capability when the manufactured specimen has metal to metal contact during operating condition since most wear and tear of the parts occurs due to friction between the surfaces of the moving parts. It is quite difficult to manually check the surface roughness of each component being manufactured on a manufacturing line. This paper aims to present a methodology to predict surface roughness using Image Processing, Computer Vision, and Machine Learning. Two machine learning algorithms Bagging Tree and Stochastic Gradient Boosting are compared and evaluated based on statistical parameters .It is observed that Stochastic Gradient Boosting predicts surface roughness in an efficient way both for training and Ten-fold cross-validation. The methodology used can be employed for online inspection and qualitative assessment of machined components.

INTRODUCTION

2Surface roughness is an important parameter that quantifies the quality and precision of the manufactured workpiece [1]. It is measured after calculating the deviations towards the normal vector from an ideal surface to the actual workpiece surface. Roughness measurement is crucial since the irregularities present may lead to the formation of crack and pits due to the interaction of the workpiece surface during operation. It is observed that rough surface wears more quickly and consists of a high coefficient of friction than the smooth surfaces. Tool geometry, the material of workpiece, and machining parameters are the important factors that affect the surface roughness in manufacturing processes. To achieve a better surface finish of the workpiece, the combination of optimal machining parameters such as speed, feed, and depth of cut needs to be selected. Design of experiment (DOE) is a statistical method that begins with the formulation of an orthogonal array, which can be either full or fractional factorial so as to confirm that all the variations in levels of parameters are considered in an optimized way. Taguchi orthogonal array is a method used in DOE in which the factors can be evaluated independently of each other despite the fractionality of the design. Various methods have been proposed by the authors for the evaluation of the roughness, which ranges from the qualitative assessments based on visual and hepatic perception to the quantitative instrumental measurement methods.

3Many researchers proposed different approaches to predict surface roughness based on machining theory [2][3][4][5][6][7]. Surface measurement is mainly divided into two categories; (1) contact measurement, (2) non-contact measurement [8][9][10]. Contact type measurements are used owing to a compact design, high measuring accuracy, and ability to give consistent output for the surface being examined [11]. However, the study conducted by [12] highlighted the advantages of measurement accuracy [12]. Numerous kinds of research are going on non-contact type assessment of surface roughness parameters using machine vision systems and artificial intelligence technology, which include methods like laser speckle, light scattering, and optical interference [13][14][15][16][17]. Many authors have done regression modeling to develop a surface roughness prediction model for the workpiece machined through various manufacturing processes. Significant parameters and optimum levels determined, which can be utilized for achieving high-quality surface [18]. In regression modeling, a mathematical model is developed between a target value and the input parameters. The number of target value is generally one and, there is a relationship between the independent and dependent variables. Due to complex geometry and the high precision requirement of a workpiece, the surface roughness prediction model is nonlinear in nature. Further nonlinear statistical models are not adaptive, i.e., they can not learn from the historical data and maps input and output accordingly. Machine learning regression modeling emerges as an effective tool to adaptively map the input and target value while learning continuously from the historical data. Machine learning methods such as Artificial Neural Network (ANN), Support Vector Machine (SVM), Naïve Bayes, etc. were utilized to estimate the roughness of machined surface when the features extracted were fed as an input to the algorithm and training and testing of feature set was done.

4Shandilya et al. [19] predicted the speed of average cutting in wire cut electric discharge machining for SiCp/6061 aluminum matrix composite by comparing two different models, Artificial Neural Network (ANN) and Response Surface Model (RSM). The experimental study demonstrates that prediction is more accurate using the ANN model compared to RSM. Al-Zubaidi et al. [20] compared a statistical model with the ANN model to predict roughness of Ti-6Al-4V ELI titanium alloy machined surface and concluded that through ANN modeling, one could obtain the better coefficient of correlation and less error of mean square. Bandapalli et al.

5[21] discussed surface roughness measurement of titanium alloy grade five in high-speed micro end milling using various methods like Multiple Regression Analysis (MRA), Group Method Data Handling (GMDH) and ANN. Li et al. [22] utilized the temperature and vibration data collected from multiple sensors to predict 3D printed component's surface roughness. Better accuracy of surface roughness measurement was achieved by training prediction models using ensemble learning algorithms.

6A non-contact type instrument generally uses light in place of the stylus in contact-type measurement. Noncontact optical surface roughness measurement methods include ultrasonic methods, Scanning Tunnelling Microscopy (STM), and techniques based on machine vision [23]. Machine vision, particularly in manufacturing, is significant due to its non-contact type nature, flexibility, efficient characterization of surfaces, and minimum human intervention. High-resolution cameras are used to capture images of machined surfaces, and then it is processed using image processing techniques to extract useful information. A machine vision system is used in control of surface quality, measurement of tool wear, texture characterization, roughness measurement, determination of the severity of wears, etc. [24]. From the last few decades, analysis of surface texture of machined components is an active field of research as it has a significant role in the area of manufacturing and computer vision based on image processing. Jeyapoovan and Murugan [25] applied Euclidean and Hamming distances of milled specimen surface images captured from CCD camera. Classification of images and prediction of surface roughness was done by the establishment of a database based on capture signals of the reference images with the known values of surface roughness. A statistical method for roughness prediction based on the color distribution matrix was proposed by Liu et al. [26]. Results obtained through experiments on color images suggest that high accuracy can be achieved using a method based on overlap degree compared to other methods. Texture information extracted from grayscale images is considered as a suitable method to evaluate the roughness in the specimen. Gray Level cooccurrence matrix (GLCM) is a type of spatial domainbased texture feature extraction algorithms in which geometric features are extracted from the histogram and gray-level variance [27]. Machining processes like turning left the strong pattern on the machined surface;in this case, geometric features have been extracted, which carries better information. However, when the geometric features are extracted from the specimen processed through grinding, milling and lapping possess randomness. Therefore, GLCM alone is not suitable for feature extraction. For denoising, the images need to be pre-processed through filters to minimize noise and randomness.

7The present study proposes a methodology to predict the surface roughness based on GLCM, Weiner filter, and machine learning models. An experimental study was conducted on milled surfaces generated with variations in machining parameters like feed, speed, and depth of cut. A DOE based orthogonal array considered for carrying out the experiment and the milled specimens, roughness values measured with the profilometer. A Charge-Coupled Device (CCD) camera has been utilized in order to capture images, and then the images are pre-processed through wiener filter, and GLCM is used to extract the geometrical features. For surface roughness prediction, two machine learning regression models, bagging and Stochastic Gradient Boosting, have been applied so as to adapt to the non-linear nature of the dataset. The methodology used to predict surface roughness is shown in Figure 1.

SURFACE ROUGHNESS PARAMETERS

8In the present study, amplitude parameters have been used as they measure the vertical deviations of the machined surface, which is a very crucial part of the roughness measurement. Arithmetic Average Height (R a ) and Ten Point Height (R z ), parameters reflect the most important characteristics of surface topography, which are widely used by manufacturing industries. It is observed that these two parameters set the benchmark to validate the surface roughness of any given machined components.

Arithmetic Average Height (R a )

9The arithmetic average height (R a ) is being used globally to check the quality of machined surfaces. R a is mathematically defined as the arithmetical mean deviation of the profile that is being assessed for a single sampling length. This parameter satisfactorily captures the general trend of the deviations present on the surface. The mathematical formula of the arithmetic average height (R a ) is as follows:

Ten-Point Height (R z )

10In comparison to R a , R z is more sensitive to the variations in the surface topography. According to ISO standard R z is mathematically defined as a difference between the average of the five highest peaks and lowest valleys along the sampling length of the machined surface. The general formula for n-point height is given by:

11where V i is the depth of valley i with reference to centerline, P i is the height of peak i with reference to centerline, and n is the number of peaks and valley.

Design of Experiment and Orthogonal Array

12The experiment was conducted on a CNC milling machine. The specimens were prepared from a cylindrical bar with 204 mm length and 30 mm diameter AISI 1040 steel, which normalized to 900 0 C and hardened to 35 HRC. Design of Experiment (DOE) study conducted using orthogonal array and by considering operating parameters like cutting speed, feed, and depth of cut at different levels in order to conduct the experiments. DOE is a statistical method to conduct experiments which ensures that all the machining parameters and their interactions will be systematically investigated to avoid redundancy and biasness, which may occur during the conduction of experiments. The Latin Square Test Matrix is used as the design array, as the number of levels available in the present study is limited to five levels per parameter. With the Latin Square Test Matrix total of twenty-five, experimental runs have been performed. As shown in Figure 2, surface roughness was measured with surface roughness tester Handysurf 35A/B after each operation. Table 1 shows the measuring condition of the surface profilometer. Table 2 shows the level of operating parameters, and Table 3 shows the DOE table for the conduction of the experiment.

Machine Vision and Preprocessing

13As shown in Figure 3, the machine vision system consists of a charge-coupled device camera with a high resolution and megapixel lens connected with a high end industrial central processor unit. The specimen was placed perpendicular to the worktable axis, and the angle between the normal light source and table was kept at 45 0 while the optical axis of the camera kept perpendicular to the workpiece surface.

Figure 4: Sample Images Captured by CCD Camera

14While capturing the image of the machined surface, the images can be degraded due to the noises present in the vicinity of the image grabbing due to various reasons like improper lighting, presence of reflective surfaces in the facility, etc. Wiener filter is an adaptive and computationally simple algorithm and produces better results in comparison to linear noise filtering algorithms. When it comes to high-frequency parts of the images and preserving edges of it, wiener filter's adaptive nature becomes more selective, and it also gives the best results with the noise constant power ("white") additive noise. The main characteristics of the Wiener filter can be pointed out as (a) With spectral characteristics, it is assumed that the noise and signal are known and stationary linear random processes. (b) It is a requirement for the filter to be reliable; however, neglecting this requirement resulted in a non-causal solution. (c) Performance should end up with a minimum mean square error. Figure 4 shows sample images captured with a CCD camera while filtered images shown in Figure 5.

Feature Extraction Using GLCM

15Gray Level Co-occurrence Matrix (GLCM) algorithm is utilized for texture analysis by extracting texture features from captured images of machined components. It is one of the best second-order statistical methods used for image analysis. GLCM algorithm exploits the gray level distribution among the pixels of a filtered image in order to extract texture features such as correlation, contrast, entropy, cluster prominence, etc. GLCM considers relation between adjacent pairs of pixels in one offset as a second-order texture, where the first pixel is being considered as a reference and the other as a neighbouring pixel. Between pixel pair, GLCM creates the two-dimensional matrix madeup by joint probabilities of P d and θ (i, j) separated by a distance d in a θ direction. In the present study θ was kept zero. Various features are calculated as:

Contrast:

16( )

17Correlation:

18Energy: 1

MACHINE LEARNING TECHNIQUES

19The surface texture features extracted using GLCM algorithm are used to map the surface roughness values for different specimens by creating a feature vector. This feature vector utilized as an input in various machine learning models to perform a regression analysis for the given data set to check the performance level of the machine learning models. The machine learning models used in this study are:

201. Stochastic Gradient Boosting 2. Bagging (Bootstrap Aggregation) Trees Algorithm

Stochastic Gradient Boosting

21Gradient Boosting is a group of weak prediction models. Extension of gradient boosting by minor modification resulted in the Stochastic Gradient Boosting algorithm. In each iteration, a base learner is a fit subset of the training data set selected randomly without any replacement. The size of the subset is a fixed fraction of the training data set. Smaller values of these fractions introduce randomness in the algorithm and thus prevent the algorithm from overfitting and thus acts as a regularizer. This also enhances the speed of the algorithm as the regression trees have to be fit to a smaller dataset after each iteration.

Bagging Trees Algorithm

22Bagging (Bootstrap Aggregation) Trees is a subtype of decision trees algorithm, which is a supervised learning technique. It employs the ensemble learning method that combines a random set of decision trees having varying depths, which helps to reduce the variance inherent in a single decision tree. Several subsets of the training data are made, and each subset is used to train the individual decision trees randomly. This ensemble method makes the model more robust when compared to a single decision tree model.

RESULTS AND DISCUSSION

23In the present study, in order to predict the roughness value training and tenfold cross-validation was done using stochastic gradient boosting and bagged trees. During tenfold cross-validation, ten iterations were performed by dividing the dataset into ten equal size folds. In order to check the performance of the models, 25 instances and 21 features are used. While predicting the 'R a ' values, the performance of Bagging Trees algorithm is assessed by the coefficient of correlation and root mean square error for training and tenfold cross-validation and their values are 0.9587 and 0.9289 for the coefficient of correlation and 0.2111 and 0.3238 for root mean square error for training and tenfold cross-validation respectively. As shown in Table 4 while predicting the 'R a ' values, the performance of Stochastic Gradient Boosting algorithm is assessed by the coefficient of correlation and root mean square error for training and tenfold cross-validation and their values are 0.9985 and 0.8964 for the coefficient of correlation and 0.0421 and 0.3498 for root mean square error for training and tenfold cross-validation respectively. As shown in Table 5 while predicting the 'R z ' values, the performance of Bagging Trees algorithm is assessed by the coefficient of correlation and root mean square error for training and tenfold cross-validation and their values are 0.9221 and 0.8305 for the coefficient of correlation and 1.4138 and 2.1474 for root mean square error for training and tenfold cross-validation respectively. While predicting the 'R z ' values, the performance of Stochastic Gradient Boosting algorithm is assessed by the coefficient of correlation and root mean square error for training and tenfold cross-vali-dation and their values are 0.9977 and 0.9206 for the coefficient of correlation and 0.2515 and 1.5331 for root mean square error for training and tenfold cross-validation respectively. The results achieved by both the algorithms are found to be satisfactory since errors are in permissible limits.

참고문헌 24건

  1. Tool condition monitoring by SVM classification of machined surface images in turning The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2015 10.1007/s00170-015-7441-3
  2. Optimization of feedrate in a face milling operation using a surface roughness model International Journal of Machine Tools and Manufacture · Elsevier BV · 2001 10.1016/s0890-6955(00)00039-0
  3. Texture prediction of milled surfaces using texture superposition method Computer-Aided Design · Elsevier BV · 1999 10.1016/s0010-4485(99)00045-7
  4. Surface roughness classification using image processing Measurement · Elsevier BV · 2013 10.1016/j.measurement.2013.03.014
  5. Modern measurement techniques in surface metrology: part I; stylus instruments, electron microscopy and non-optical comparators Wear · Elsevier BV · 1988 10.1016/0043-1648(88)90118-4
  6. Non-Contact Surface Roughness Measurement of Crankshaft Journals Using a Super-Continuum Laser Conference on Lasers and Electro-Optics · 2010 10.1364/cleo_apps.2010.afa3
  7. A study on the effects of vibrations on the surface finish using a surface topography simulation model for turning International Journal of Machine Tools and Manufacture · Elsevier BV · 1998 10.1016/s0890-6955(97)00073-4
  8. A surface topography model for automated surface finishing International Journal of Machine Tools and Manufacture · Elsevier BV · 1998 10.1016/s0890-6955(97)00100-4
  9. Effect of stylus radius on the roughness values measured with tracing stylus instruments Wear · Elsevier BV · 1970 10.1016/0043-1648(70)90099-2
  10. Prediction of Surface Roughness When End Milling<i>Ti6Al4V</i>Alloy Using Adaptive Neurofuzzy Inference System Modelling and Simulation in Engineering · Hindawi Publishing Corporation · 2013 10.1155/2013/932094
  11. Assessment of the Production Quality in Machining by Integrating a System of High Precision Measurement Procedia Engineering · Elsevier BV · 2015 10.1016/j.proeng.2015.01.535
  12. A revised model for predicting surface roughness in turning Wear · Elsevier BV · 1996 10.1016/0043-1648(95)06825-2
  13. Digital speckle interferometry for assessment of surface roughness Optics and Lasers in Engineering · Elsevier BV · 2007 10.1016/j.optlaseng.2007.09.003
  14. Experimental research of surface roughness and surface texture after laser cladding Applied Surface Science · Elsevier BV · 2015 10.1016/j.apsusc.2015.12.093
  15. Surface Roughness Measurement Application Using Multi-frame Techniques 2015 10.1109/ccats.2015.30
  16. A numerical algorithm to determine straightness error, surface roughness, and waviness measured using a fiber optic interferometer Optics & Laser Technology · Elsevier BV · 2016 10.1016/j.optlastec.2016.05.014
  17. Visual method for measuring the roughness of a grinding piece based on color indices Optics Express · Optica Publishing Group · 2016 10.1364/oe.24.017215
  18. Refractive index and surface roughness estimation using passive multispectral and multiangular polarimetric measurements Optics Communications · Elsevier BV · 2016 10.1016/j.optcom.2016.07.042
  19. Surface Roughness Measurements Using Power Spectrum Density Analysis with Enhanced Spatial Correlation Length The Journal of Physical Chemistry C · American Chemical Society · 2016 10.1021/acs.jpcc.6b06635
  20. A new surface roughness measurement method based on a color distribution statistical matrix Measurement · Elsevier BV · 2017 10.1016/j.measurement.2017.02.036
  21. Experimental Investigation and Estimation of Surface Roughness using ANN, GMDH &amp; MRA models in High Speed Micro End Milling of Titanium Alloy (Grade-5) Materials Today Proceedings · Elsevier BV · 2017 10.1016/j.matpr.2017.01.115
  22. Prediction of surface roughness in extrusion-based additive manufacturing with machine learning Robotics and Computer-Integrated Manufacturing · Elsevier BV · 2019 10.1016/j.rcim.2019.01.004
  23. Surface roughness prediction model of SiCp/Al composite in grinding International Journal of Mechanical Sciences · Elsevier BV · 2019 10.1016/j.ijmecsci.2019.02.025
  24. Texture classification of machined surfaces using image processing and machine learning techniques FME Transaction · Faculty of Agronomy in Čačak · 2019 10.5937/fmet1904865p