Sei sulla pagina 1di 11

Journal of Manufacturing Systems 41 (2016) 266276

Contents lists available at ScienceDirect

Journal of Manufacturing Systems


journal homepage: www.elsevier.com/locate/jmansys

Technical Paper

Online non-contact surface nish measurement in machining using


graph theory-based image analysis
M. Samie Tootooni a , Chenang Liu b , David Roberson b , Ryan Donovan a , Prahalad K. Rao c, ,
Zhenyu (James) Kong b , Satish T.S. Bukkapatnam d
a
Department of Systems Science and Industrial Engineering, Binghamton University, Binghamton, NY 13902, United States
b
Grado Department of Industrial and Systems Engineering, Virginia Polytechnic Institute and State University, Blacksburg, VA 24061, United States
c
Department of Mechanical and Materials Engineering, University of Nebraska-Lincoln, Lincoln, NE 68588-0526, United States
d
Department of Industrial and Systems Engineering, Texas A&M University, College Station, TX 77843, United States

a r t i c l e i n f o a b s t r a c t

Article history: This work addresses the following open research question: what non-contact measurement techniques
Received 14 January 2016 and analytical approaches are required to assess the surface nish of a workpiece in situ during con-
Received in revised form ventional machining without stopping the machine tool? The goal is to track variations in surface nish
19 September 2016
during conventional machining without stopping the machine tool so that quick compensatory action
Accepted 19 September 2016
can be taken in case of a process drift. In pursuit of this goal, the objective of this work is non-contact,
Available online 27 October 2016
vision-based online measurement of surface nish in a conventional machining operation, such as out-
side diameter (OD) turning on a lathe. To realize the foregoing objective, algebraic graph theoretic image
Keywords:
Non-contact surface measurement
processing is used. The approach is based on converting an image of a surface into an unweighted and
In situ surface nish measurement undirected network graph. The graph theoretic invariant, Fiedler number (2 ), is estimated, and sub-
Machining sequently invoked as a discriminant of workpiece surface roughness. The advantage of the proposed
Algebraic graph theory approach is that it eschews complex image ltering and segmentation steps. The central hypothesis is
that the graph-based topological quantier Fiedler number (2 ) estimates surface nish in a conventional
machining operation with accuracy Sa 2 m (arithmetic average areal surface roughness, m) when
Sa is in the range of 1-10 m. This hypothesis is tested on conventional cylindrical (outside diameter)
turning of shafts by using an optical imaging setup (CCD camera) incorporated into a lathe machine.
Through statistical modeling it is demonstrated that the Fiedler number (2 ) tracks surface nish varia-
tions in situ for steel and aluminum alloy shafts (4340 and 6061 grades, respectively) in near real-time
with a maximum error of approximately Sa 2 m. This measurement error was veried to be within
15% of the actual measured surface nish. Tests were also carried out under three different rotational
speeds (0 rpm, 45 rpm, 245 rpm); and the approach was consequently attested to be robust to rotational
speeds. The computational time for estimating the surface nish from this approach was assessed to be
within tenth of a second, thus validating its practical applicability.
2016 The Society of Manufacturing Engineers. Published by Elsevier Ltd. All rights reserved.

1. Introduction lathe. This objective is realized by applying algebraic graph theo-


retic analysis to online images of the surface of a turned workpiece
1.1. Objective acquired with an in situ CCD camera. The hypothesis tested is that
the graph-based topological quantier Fiedler number (2 ) esti-
The goal of this work is to track variations in surface nish during mates surface nish in a conventional machining operation with
conventional machining without stopping the machine tool so that accuracy Sa 2 m. In conventional machining operations (milling,
quick compensatory action can be taken in case of a process drift. turning) the workpiece surface nish is typically in the range of
The specic research objective is non-contact, vision-based, online (Sa) 0.510 m [1]. As will be explained in Section 1.3, laser scat-
measurement of surface nish of a workpiece in a conventional tering and speckle techniques are not amenable for this range of
machining operation, such as outside diameter (OD) turning on a surface nish typical to conventional machining [2,3]. Accordingly,
this paper addresses the following open research question: what
non-contact measurement techniques and analytical approaches
Corresponding author. Tel.: 402-472-3458. are required to assess the surface nish of a workpiece in situ during
E-mail address: rao@unl.edu (P.K. Rao). conventional machining without stopping the machine tool?

http://dx.doi.org/10.1016/j.jmsy.2016.09.007
0278-6125/ 2016 The Society of Manufacturing Engineers. Published by Elsevier Ltd. All rights reserved.
M.S. Tootooni et al. / Journal of Manufacturing Systems 41 (2016) 266276 267

1.2. Signicance and novelty

Surface nish is consequential to the functional integrity of engi-


neering components as it inuences critical performance-related
aspects, such as wear, fatigue, thermal behavior, lubrication, service
life, among others [4,5]. Furthermore, quantication of surfaces n-
ish is not only vital for quality assurance purposes, but also valuable
for tracking the performance of the manufacturing process [6,7].
Therefore, it is practically expedient to devise online approaches for
detecting surface nish variations of components during their man-
ufacture, so that timely compensatory action can be taken when the
process drifts out of control.
The prevalent norm is to assess the surface nish post-
machining using a stylus-based or optical measurement technique.
Consequently, there is little opportunity to capture and correct pro-
cess anomalies through contact-based approaches. To alleviate this
bottleneck, in this work, a high frame rate (15 fps), ve megapixel
(2448 2048) CCD camera was used to gauge the surface quality of
a workpiece during machining on a lathe (Section 5). The camera
acquires surface images of the workpiece online (without stop- Fig. 1. Capabilities of different measurement techniques, vis--vis the amplitude
ping the machine). Subsequent analysis of these surface images2 and wavelength of features; after De Chiffre et al. and Schwenke et al. [4,9]. The
using the algebraic graph theoretic approach proposed in this work amplitude of a typical conventional turned surface is in the region of 110 m (akin
affords assessment of surface nish in near real-time; the delay to root mean square roughness, Sq), whilst the wavelength (spacing) is in the range
of 10500 m (akin to distance of feed marks in turning).
due to computation is less than tenth of a second, the estimated
arithmetic mean surface nish (Sa) is within 2 m of the actual
surface nish measured ofine using optical prolometry. Perti- (akin to root mean square roughness, Sq), whilst the wavelength
nently, the approach does not predicate that the machine must (spacing) is in the range of 10500 m (akin to distance of feed
come to a stop; indeed it is shown through experimentation on marks in turning).
different materials that the approach is robust to rotational speed. Furthermore, given their complexity, it is intractable to incor-
Hence, the presented approach is capable of assessing the surface porate sophisticated techniques, such as scanning electron and
nish through direct, image-based measurement in conventional interference microscopy techniques into a conventional machining
machining online and in situ. setup, where the relatively harsh operating conditions (vibration,
chips, fumes coolant splashes) may damage the precision elements.
1.3. Research challenges limitations of the state-of-the-art Consequently, non-contact in situ assessment of surface morphol-
ogy in conventional machining remains an open research problem.
In situ surface nish assessment is a challenging proposition, To address this gap, researchers use indirect, temporal sensor-
particularly more so for conventional machining than for precision based techniques, namely, vibration, force, acoustic emissions,
surfaces. In conventional machining, the feed marks are known to among others, for online assessment of surface quality [10,11]. The
determine much of the surface roughness [1]. Accordingly, quanti- present work uses images as opposed to temporal sensor signals,
tative relationships have been developed to connect the feed and which is a direct surface nish inspection approach; it therefore
tool geometry with surface roughness Ra [17]. However, vari- has the potential to bridge the prevalent shortcoming in in situ
ous process anomalies including seizures, built-up edge and tool monitoring of conventional machining operations.
wear can severely compromise the accuracy of such an estimate. The novel contribution of this work is in using image-based
Therefore in situ estimation is highly desirable [38]. In this context, algebraic graph theoretic topological invariants, namely, Fiedler
high-resolution optical techniques, such as laser light scattering number (2 ), to track surface nish variations online in machining.
and laser speckle techniques are limited by the wavelength of vis- This paper is organized as follows: a brief review of the litera-
ible light. Laser light scattering and speckle techniques are not ture related to the area of online surface nish in conventional
physically capable of measuring surfaces whose root mean square machining is presented in Section 2; the graph theoretic approach
roughness (i.e., Rq, Sq) is greater than the wavelength of light for quantication of surface quality is elucidated in Section 3; the
(400700 nanometers, nm) [2,3]. The typical roughness range (Sa, approach is demonstrated using numerically generated surfaces in
Sq) for conventional machining processes (turning, milling, shap- Section 4, as well as experimentally acquired images of turned sur-
ing, drilling) is generally between 0.5 and 10 micrometers (m) [1]. faces in Section 5; and nally, the conclusions are summarized in
Therefore, optical methods, such as laser speckle, reectance, and Section 6.
ellipsometry, are more suitable for measurement of precision, sub-
micron (<1 m) and ultraprecision (<50 nm) surface nish, akin to 2. A brief review of the related research
those obtained from ultraprecision polishing and diamond turning.
A succinct review of the challenges in non-contact estimation of In the context of online surface roughness measurement in
surface nish in conventional machining is presented by Gupta and machining, Kurada and Bradley [12], and more recently, Lu [13]
Raman [8]. have published comprehensive review articles. Based on these
For instance, Fig. 1 shows the capabilities of different surface review articles, it is observed that the most commonly examined
metrology techniques contingent on the amplitude to spacing ratio surface roughness range was between 0.10 m and 4.0 m (Sa, Sq),
(H/D ratio) of the surface features. The H/D ratio of conventional tur- with another common range being from 2 m to 16 m (Sa, Sq).
ning, as annotated in Fig. 1, is in the region of 0.10.01; it is evident The previous research with a wider roughness ranges show a pos-
that light scattering and interference microscopy are not feasible sible lack of precision for distinguishing 12 m changes. Another
in conventional machining [4,9]. This is because, the amplitude of conspicuous shortcoming in the existing literature is the predomi-
a typical conventional turned surface is in the region of 110 m nance of stationary workpiece conditions; research has not been
268 M.S. Tootooni et al. / Journal of Manufacturing Systems 41 (2016) 266276

extensively dedicated for rotating/non-stationary scenarios as Applying wavelet transform by Chang and Ravathur [24] and
done in this work. neural network by Tsai et al. [26] requires determination of basis
Herewith the existing literature on optical methods for sur- functions (Chang and Ravathur used a Daubechies basis wavelet
face nish estimation of machined workpieces, specically those decomposition) and a network structure in advance, respectively.
that utilized computer vision as the core method of acquisition The graph theoretic approach described in this paper does not need
and analysis, is briey reviewed. Computer vision techniques focus any such pre-dened entity. Furthermore, these two works mea-
on obtaining image features that can be directly or indirectly cor- sure the surface roughness of a stationary workpiece in shaping
related to the quality of the surface being examined. The most [24,26], grinding, polishing [24], and milling [26] processes while
common method of surface quality estimation is to obtain gray- the focus of this work is on surface roughness measurement of
level information from the image, and then to use this value (or a both stationary and non-stationary (online) workpiece rotating on
derived feature) as a direct correlation with surface roughness as a lathe.
evidence in Refs. [1420]. It is evident that very few prior studies report in situ assess-
For instance, Kiran et al. [14] used a CCD camera to capture the ment of surfaces machined using turning. In contrast, the proposed
gray intensity distribution of surfaces obtained from different pro- method also demonstrates a potential for real-time, in-process
cesses, namely, as grinding, milling, sandblasting, and shaping. The implementation. The most notable differences between this work
variance of the intensity histogram was correlated with surface and existing successful prediction methods are: (i) reasonable
roughness (Ra) of these surfaces. More recently, Kumar et al. [17] alignment with surface nish ranges (110 m) observed in a prac-
used an intensity interpolation approach to enhance the image of tical conventional machining application; (ii) a relatively precise
conventional machined surfaces from a CCD camera, and subse- resolution (Sa 12 m) for estimation; and (iii) estimation of
quently, extract a gray-scale feature (which the authors termed as surface nish for a rotating workpiece, i.e., without stopping the
Ga ). Kamguem et al. [21] describe a similar gray level image pixel machine.
analysis technique for estimating the surface roughness of a sta-
tionary turned workpieces; the approach has error in the range of 3. Graph-theoretic representation and quantication of
918% for prole surface roughness (Ra) in the range of 225 m. surface morphology
Several works utilize neural networks or complex polynomial
models for the construction of a prediction algorithm as described Algebraic graph theoretic approaches have been previously used
by Lee et al. [22,23]. For instance, Chang et al. used features derived to describe topological relationships in images [27]. For example,
through the Fourier or Wavelet transform of the image [24]. While the eigen spectra of graphs is used for segmenting (partitioning) an
fractal mapping and wavelet decomposition of surfaces have been image based on brightness, texture, and color of pixels [27]. How-
proposed to quantify multi-scale aspects of surface morphology, ever, algebraic graph theoretic image processing techniques are
these methods often entail estimation of statistics over several primarily intended toward clustering or segmenting graphs recon-
length scales, and are computationally intensive and time con- structed from images, which are inhomogeneous in appearance.
suming [25]. The graph theoretic approach proposed in this work In contrast, machined surfaces are typically homogenous, i.e., the
overcomes these challenges as it is a computationally efcient, various morphological features, such as tool feed marks, are dis-
non-contact surface nish measurement technique, which does not tributed uniformly over the surface. The homogenous morphology
require sifting through length scales. As representative examples of machined surfaces encountered in machining presents an oppor-
of image-based surface roughness monitoring, approaches were tunity for applying the graph theoretic approach; this homogeneity
developed by Gupta and Raman [8], Tsai et al. [26] and Chang and assumption is an essential assumption in this work.
Ravathur [24]. The two phased approach depicted in Fig. 2 used to realize graph
Gupta and Raman [8] used a HeNe 5 mW laser light source theoretic representation and subsequent quantication of ultrapre-
to illuminate a rotating pre-machined workpiece (140 rpm and cision surface morphology from optical micrograph images. Before
285 rpm) with surface nish (Ra) in the range of 30120 m, whose proceeding, it is noted that the efcacy of the presented approach
reection is captured by a CCD camera. Various features, such as is contingent on optical image quality. Therefore, the reliability of
mean intensity, rms intensity, among others were extracted from results is intrinsically tied to imaging conditions, such as focus,
the resulting gray image. These features were in turn correlated lighting, ltering, and other environmental aspects. Accordingly,
with the actual surface nish in terms of a multiple regression in the turning experiments described in this work, care is taken
model, with accuracy (R2 ) approaching 95%. The delay time for the to maintain consistent imaging conditions. For instance, in the
approach was not specied. machining case study described in Section 5, the lighting and cam-
Although their non-contact image-based methodology was era exposure conditions are maintained identical across all tests.
able to estimate surface characteristics, the work of Gupta and
Raman [8] has two drawbacks. First, the surface roughness range 3.1. Phase 1: graph representation of optical images scanned
(30120 m) studied by Gupta and Raman [8] is outside the typi- using a laser interferometer
cal range of surface roughness in conventional turning (110 m).
Another downside of their work is in the intricate laser-based setup Let IMN be the matrix representation of a M N pixels optical
which requires several ne adjustments, particularly, of the laser image of a turned surface. The image is aligned such that the feed
strobing parameters, and location on a vibration-free table. marks appear column-wise, as shown in Fig. 3. Due to homogeneity
Tsai et al. [26] used the Fourier transform of the image in con- of feature distribution in machining (see Fig. 9), each row of I may
junction with a neural network for steel specimens with roughness
of 6.3100 m and 1.650 m, respectively. Chang and Ravathur
[24] utilized features extracted from the wavelet transform of the
image for use in regression modeling of the surface roughness;
they considered shaped, ground, and polished steel surfaces. Not all
roughness values were explicitly listed, however, and the shaped
steel specimens varied from 2 m to 15 m. The response time of
Tsai et al.s [26] method is reported to be 2 s, while the computa- Fig. 2. Overview of the methodology for graph theoretic quantication of surface
tion delay of Chang and Ravathurs [24] method is unspecied. morphology.
M.S. Tootooni et al. / Journal of Manufacturing Systems 41 (2016) 266276 269

threshold (r) is used to make the similarity matrix S sparse and


binary. This signicantly reduces the computational complexity,
particularly the eigen decompositions. To the best of the authors
knowledge, there is no closed form solution that optimizes for r.
One of the advantages of this work is that,  is a Heaviside step
function for which the threshold (r) is set equal to the average of wij ,
i=1 j=1
wij
i.e., r = M M
, which relaxes the selection of the threshold,
M2
because, the threshold can be adaptively estimated contingent on
the input image, as opposed to selecting a heuristically determined
number. The emphasis of the subsequent section is to identify a
Fig. 3. A portion of the turned workpiece experimentally obtained in this work. The parameter for quantifying the topology of the graph G. Such quan-
pixel rows are taken across the feed marks. tiers of network topology can be obtained from the Laplacian Eigen
Spectrum of the graph G as described in Section 3.2 [28,30].
be treated to be the vertex (or node) of the undirected graph G (V,
E) with nodes (vertices) V and edges E [28]. From the M rows of I 3.2. Phase 2: quantication of surface morphology using graph
vectors F(I) , I = {1, 2, . . . M} are constructed, which are row vectors theoretic topological invariants
of image pixel values. The pairwise comparison metrics wij between
F(I) are computed using a kernel function [27]. First the degree di of a node i is computed, which is a count of
the number of edges that are incident upon the node, and obtain
wij = (Fi , Fj )i, j I. (1)
the diagonal degree matrix D structured from di ,
These row-wise pixel comparisons are critical for facilitating
analysis of homogeneous surfaces as they allow inclusion of fea-

j=M

di = wij i, j I, (4)
tures up to a length of N pixels scales; and consequently, the
j=1
computation complexity reduces from a bi-quadratic O(M2 N2 )
to quadratic O(M2 ) number. Next a threshold function  is applied D def diag(d1 , . . ., dM ). (5)
which converts wij into binary form,
Next, the normalized Laplacian L of the graph G is dened,
(wij ) = wij = (0, 1) (2)
L def D(1/2) (D S) D(1/2) . (6)
It is reiterated that the row-wise pixels are taken in a manner
to cut across the feed marks, as shown in Fig. 3. This is necessary L is analogous to Kirchhoff matrix encountered in electrical
to capture and compare the difference in surface texture due to networks [32]. Thereafter, the eigen spectrum of L is computed
spacing of the feedmarks across the workpiece. as,
The binary symmetric similarity matrix S = [wij ] represents the Lv =  v. (7)
graph G with only those nodes satisfying the threshold condition
set in Eq. (2) being connected, i.e., if an edge exists between any Noting that L is symmetric positive semidenite matrix, i.e.,
two nodes i and j i, j I then wij = 1, else wij = 0. L 0, its eigenvalues ( ) are non-negative, and bounded between
The topology of G inculcates the effect of multi-scale features 0 and 2, i.e., 0 i 2. The smallest non-zero eigenvalue (2 ) is
simultaneously without the need to sift through different length termed the Fiedler number and the corresponding eigenvector (v2 )
scales as typically required in wavelet decomposition and fractal as the Fiedler vector [28,33]. Barring pathological scenarios, the
mapping. The topology of the graph G is dependent on the nature Fiedler number is bounded as follows, 0 < 2 < 1 [28]. In the forth-
of the kernel () and threshold () functions. In this work the coming sections, it is validated using numerically generated, as well
following radial basis kernel and threshold function pairs are used, as experimentally acquired machined (cylindrical OD turning) sur-
  faces that the graph theoretic topological invariant Fiedler number
||Fi Fj ||2 (2 ) can track surface nish variations. The mathematical implica-

I2 tions of the Fiedler number (2 ) and why it is able to distinguish
wij = (Fi , Fj ) = e i, j I, I = (1. . .M).
subtle surface variations are explained in the authors recent pub-
  lications [34].
= ||Fi Fj ||2 (3)
 4. Simulation of 3D surface proles with varying surface
1, wij r roughness
(wij ) = wij =
0. wij > r The graph theoretic approach is demonstrated using articially
M M generated surfaces, which are aligned closely with experimen-
wij
where r = i=1 i=1
and where I is the standard deviation of tal investigations of this work (Section 5). The research question
M2
the elements in the Euclidean distance matrix . The Radial Basis is to examine whether the Fiedler number is capable of detec-
Kernel is chosen because it smoothens the pairwise comparisons ting changes in surface roughness (Sa, Sq). In this study, 3D
wij = (Fi , Fj ) in the (0,1] interval, as evident from the following rough surfaces are generated with known root mean square sur-
limit: lim wij = 1 and lim wij = 0. This smoothening negates face roughness (Sq). The surfaces have Gaussian distributed peak
Fi Fj 0 Fi Fj heights (Fig. 4); the surfaces are obtained using an FFT-based
the effect of noise to a modest degree, and was suitable for grayscale approach [35]. The Sq is varied from 3 m to 30 m, in integer steps
images in the existing literature [27]. of 3 m, to emulate the typical surface roughness range of conven-
Typically, the threshold function  in Eq. (2) is a heuristic, man- tional machining processes, such as turning, milling, shaping [1];
ually tuned entity or a so-called hard threshold i.e., a threshold representative examples are shown in Fig. 4. Given the inherent
(r) is selected by the user. In the graph segmentation literature, nature of the FFT algorithm used for surface generation [35], it is
researchers customarily select such hard threshold (r) [2931]. The noted that average surface roughness (Sa) cannot be controlled,
270 M.S. Tootooni et al. / Journal of Manufacturing Systems 41 (2016) 266276

Fig. 4. Three representative surfaces with underlying random Gaussian distribution with different surface roughness (Sq and Sa).

however, the Sa was directly proportional to Sq, as exemplied in number can detect changes in surface roughness with a resolution
Fig. 4. of 3 m (Sq). The results from this study are closely corrobo-
In order to estimate the Fiedler number, the top view, akin to an rated by experimental results discussed in the subsequent section
optical image of the generated surfaces, (Fig. 4, bottom row) is used (Section 5).
for analysis; viz., the input image I in Eq. (1). For each of the 10 lev-
els of surface roughness, 75 surfaces and accompanying images are
5. Practical implementation
obtained, and subsequently analyzed using the Radial Basis Kernel
function delineated in Eq. (3). The resulting Fiedler number vs. sur-
5.1. Experimental setup and in situ image acquisition
face roughness (Sq) trend is graphed in Fig. 5. The Fiedler number
decreases with increase in surface roughness, however, the trend
The aim of this study is to apply the presented graph theoretic
is not linear.
approach for in situ measurement of surface nish in a conventional
Next, it is statistically veried whether the difference in (mean)
cylindrical machining (turning) operation. The experimental setup
Fiedler number is signicant with respect to surface nish. For this
used to acquire images of the workpiece in situ during turning is
purpose Tukeys statistical pairwise comparison test was used, the
shown in Fig. 7. These images are used for estimating the surface
results from which are visually depicted in Fig. 6 [36]. Based on
roughness of the workpiece in near real-time via the Fiedler number
the Tukey test results, it reasonable to conclude that the Fiedler
(2 ). In other words, each image (I) of the workpiece surface serves
as input to the graph theoretic approach, and culminates in a Fiedler
number (2 ) following the process delineated in Eqs. (1)(7). The
experimental setup is depicted in Fig. 7(a) and (b).

Fig. 5. Fiedler number vs. surface roughness (Sq) of articially generated 3D sur- Fig. 6. p-Values for the pair-wise differences using Tukeys method. A lower p-value,

faces. The error bars are 1(/ n) in length (n = 75, and  is the pooled standard typically, p-val. 0.05 indicates there is a statistically signicant difference in Fiedler
deviation). number between two comparisons.
M.S. Tootooni et al. / Journal of Manufacturing Systems 41 (2016) 266276 271

Table 1
Workpiece conditions (segments) as per descending order of surface roughness (Sa) used in this work.

AISI 4340 alloy steel shaft 6061 aluminum alloy shaft Feed (in/rev) (mm/rev) Segment label
Roughness (Sa) (m) Roughness (Sa) (m)

23.22 17.4 0.0200 (0.5 mm/rev) 9 (roughest)


19.21 9.86 0.0180 (0.45 mm/rev) 8
15.18 12.51 0.0160 (0.40 mm/rev) 7
10.08 8.71 0.0130 (0.325 mm/rev) 6
6.96 5.17 0.0100 (0.250 mm/rev) 5
4.5 3.48 0.0080 (0.20 mm/rev) 4
3.37 1.7 0.0057 (0.1425 mm/rev) 3
2.77 0.85 0.0036 (0.09 mm/rev) 2
2.16 0.52 0.0018 (0.045 mm/rev) 1 (smoothest)

cutting speed of 256 rpm and the depth of cut is set as 0.0250 in.
(0.625 mm). Keeping this setting constant, nine roughness levels
along the length were achieved by varying the feed, as shown in
Table 1. Each segment reported in Table 1 is a 1 in. long (25 mm)
contiguous portion. For verication purposes, the surface rough-
ness for each segment was measured ofine by a Wyko NT1100
non-contact optical surface proler. For each type of shaft, three
sample locations from each segment were measured with the opti-
cal proler. The average of these three measurements for each
segment is shown in Table 1.
To eliminate the effect of fumes, chips, and coolant, the shafts
were pre-machined; i.e., the images are acquired when no cutting
takes place. However, for acquiring the images, the machine head-
stock is varied under three different rotation speeds (states): static
(0 rpm), at the minimum possible speed on the lathe (45 rpm), and
the actual speed at which the workpieces are machined (256 rpm)
to examine the effect the rotational speed on the images for calcu-
lating the Fiedler numbers (2 ). In order to extend this work to true
production scenarios, a pneumatic xture will be used to continu-
ously clear away debris, moreover, the camera lens will be enclosed
in a clear quartz window to protect from coolant splashes.
The standoff distance of the camera from workpiece, the angle
in which the image is acquired, and lighting are critical parameters.
These were xed so that the highest possible image quality (high
Fig. 7. (a) and (b) Two views of on the benchtop lathe-based test bed showing the
CCD camera mounted on the underside of the workpiece. The stand-off distance resolution, minimum glare) was obtained; these conditions remain
between the workpiece shown (1 in. aluminum 6061 shaft) and camera is approx- xed throughout the test. Likewise, camera parameters, such as
imately 0.5 in. This distance can be varied using more expensive telescopic lenses; exposure time and framerate are also consequential to image qual-
the setup shown above uses a xed focal length lens (f = 12 mm). ity, these were maintained at the maximum limit (66 ms and 15 fps,
respectively). For each segment on the workpiece 25 images were
As shown in Fig. 7, a pilot test bed was set up on a Leblond
manual geared lathe. The shafts machined were of two different
materials, namely, a 1.2 in. (30.4 mm) 4340 alloy steel shaft, and
a 1 in. (25.4 mm) 6061 aluminum alloy shaft. The image acqui-
sition system consisted of a compact instrumentation imaging
lens (12 mm xed focal length) attached to a CCD camera (Point
Grey Grasshopper3 GS3-U3-50S5C). The camera has a resolution
of 2448 2048 (5 megapixel) resolution. A diffuse white LED light
source (Advanced Illumination) was used; the intensity of this light
source is close to 20,000 lux. The LED light source was positioned
on the far end of the tool carriage. The angle of the illumination
was adjusted such that the least amount of glare was cast upon
the workpiece. Fig. 7(a) and (b) illustrates the manner in which the
camera was positioned. The camera is located on the bottom side
of the tool carriage, and images are taken as the carriage moves
along the longitudinal feed direction (toward the headstock, neg-
ative Z direction in the lathe coordinate convention). Essentially,
these tests emulate a cylindrical (OD) turning scenario.
These shafts were machined by turning with a dead center as
shown in Fig. 7 using a carbide insert.1 The machining is done at a

Fig. 8. (Left) Cropping image of a sample location of the rst area. The nal
cropped images are approximately 3 mm 1.5 mm (600 pixels in length 300 pixel
1
Grade: KTI50 Insert Shape & Angle: Triangular 60 , Tool Material: Coated Car- in breadth, as annotated). (Right) An illustration of one cropped sample from each
bide, Relief Angle: 0 Insert IC: in. Insert Radius: 1/64 in. segment of the AISI 4340 alloy steel shaft.
272 M.S. Tootooni et al. / Journal of Manufacturing Systems 41 (2016) 266276

Fig. 9. Representative images of the nine sections for the Al 6061 workpiece. The units for surface roughness (Ra) are in micrometers (m), the feed is in inch per revolution;
the feed is exactly reproduced from the machine tool. The surface roughness increases proportional to the feed rate.

captured from slightly different locations, thereafter the camera is pixel (3 mm 1.5 mm) image, the total computation time2 for the
translated to the subsequent segment. Representative images from Fiedler number is approximately 0.05 s (i.e., less than a tenth of a
the CCD camera are shown in Fig. 9. second). The computation time for cropping the image is vanish-
ingly small (less than 1 ms) due to build in functions in Matlab. Thus
indicating suitability of the method for real-time applications. Thus
5.2. Image preprocessing
a measurement delay of approximately 1/10th s is associated with
detecting a process drift. To compensate for the process drift, a cor-
Due to the reective nature of metal surfaces, optical glare
rective loop will be necessary. Such a corrective control loop will
and diffusion are unavoidable. Hence, only certain portions of the
add two more types of delays, namely, decision and control action
image are usable for analysis. In addition, the curvature of the
delays. Completing the control loop is part of the future work of
workpiece distorts the feed mark as noted in Fig. 8. The graph
this research.
theoretic image analysis procedure ideally requires a at surface,
The results are presented in Fig. 11. A clear decreasing, albeit
entailing that cropping and rotation of the image are needed to
nonlinear, trend can be recognized from Fig. 11; the Fiedler num-
produce a nal image with parallel feed marks and uniform illumi-
ber decreases with increasing surface roughness. This result bears
nation.
a noteworthy resemblance to the numerical case study with 3D
The curvature and glare area as well as dark area are contin-
surfaces described in Section 4, where the (nonlinear) decrease
gent on the workpiece diameter, hence, cropping of the image
in Fiedler number with increase in surface roughness was rst
is required to select an evenly illuminated portion of the image,
depicted in Fig. 5. Pertinently, the trends observed in Fig. 11 are
and the rotation angle needed to achieve near-vertical feed marks.
found to be robust to the rotational speed.
These preprocessed images will serve as inputs to the graph the-
The Fiedler number vs. Sa trend is however not unambiguous in
oretic algorithm (matrix IMN ) in Eq. (1). Therefore, the cropped
the last three segments, namely, segments 7, 8 and 9, as observed
area should be large enough to be representative of the surface
from Fig. 11. This is because the inordinately high cutting feed used
morphology of the part. On the other hand, if the cropped area
for obtaining the high surface roughness in segments 7, 8, and 9,
is very large, more noise (such as glare-affected, dark/obscured,
leads to surface imperfections, such as cracks, adhered chip residue
or curvature prone areas) will be introduced. Hence, the location
from built-up-edge as shown in Fig. 12(a). These imperfections vio-
and size of the crop are heuristically chosen and done once for a
late the homogeneity assumption (see Section 3). Furthermore, the
given diameter of the workpiece, and remain xed thereafter. The
surface roughness obtained in these segments (7, 8, and 9) is sub-
cropping parameters were estimated ofine after an initial set of
stantially outside the typical surface nish ranges (see Fig. 12(b))
data were acquired. In a practical scenario, these parameters will be
observed in practice (0.510 m).
calibrated ofine. Representative images obtained for the Al 6061
Continuing with the analysis, Tukeys pairwise statistical com-
shaft obtained after post-processing are shown in Fig. 9. The corre-
parison tests are conducted to test the hypothesis whether there
sponding ofine measurement of the surface nish using the optical
is a signicant difference in Fiedler number (2 ) with respect to
prolometer data is shown in Fig. 10.
different segments on the workpiece. The results from Tukeys pair-
wise comparison test (p-values) are shown in Fig. 13(a) and (b) for
5.3. Fiedler number calculation and estimation of surface the AISI 4340 alloy steel and 6061 aluminum alloy shafts, in every
roughness experimental rotational speed, respectively.
For the AISI 4340 alloy steel shaft, the Fiedler number is
The Fiedler numbers calculated from these images were cor- able to distinguish the difference between 31 of the 36 pair-
related with the surface roughness (Sa) using a regression model. wise comparisons of surface nish segments at 5% level of
Approximately 25 images were acquired for each of the nine seg-
ments demarcated on the workpiece, in all close to 225 images
were acquired. The computation time for the Fiedler number (2 ) 2
Run on a Dell Latitude E5540 Laptop with Intel CoreTM i7-4600U CPU @
is contingent on the size of the input image. For a 600 pixel 300 2.70 GHz Processor.
M.S. Tootooni et al. / Journal of Manufacturing Systems 41 (2016) 266276 273

Fig. 10. Representative data from the optical prolometer (Wyko NT1100) for the nine sections of the Al 6061 workpiece. Note the surface imperfections in segments 7, 8,
and 9.


Fig. 11. Fiedler number (2 ) vs. segment (Ra value). The error bars are 1(/ n) in length from the mean Fiedler number (2 ), n is the number of replications for each feed
rate condition (n = 25). (a) Result for the three experimental machine states of the AISI 4340 alloy steel shaft. (b) Result for the three experimental machine states of the 6061
aluminum alloy shaft.

signicance (), i.e., p-value < 0.05 = . Likewise, for the 6061 alu- = a2 + b +
Sa (8)
minum shaft, the Fiedler number is statistically signicant for 2 + c
28 (for static and 45 rpm states) and 29 (for 256 rpm state)
out of 36 pairwise comparisons. These results attest the via-
bility of the graph theoretic approach for in situ surface nish where a, b, and c are different parameters, which are contingent
measurement. on the shaft material, shaft turning speed, camera setting, and esti-
Next, the trends observed in Fig. 11 are quantied using a non- mated a priori from based on experimental data; is the model
linear regression model. Segments 7, 8, and 9 are excluded from this prediction error; and 2 is the Fiedler number estimated for the
model due to reasons noted earlier. The aim is to obtain a surface image. The LHS of Eq. (8) Sa is the estimated surface roughness.
roughness reading from an image, given the shaft size and extracted Eq. (8) is a typical single-degree rational regression model, and is
Fiedler number (2 ). The regression model in this work takes the one of the common ways to capture nonlinear trends, such as those
following general form, observed in Fig. 11.
274 M.S. Tootooni et al. / Journal of Manufacturing Systems 41 (2016) 266276

Fig. 12. The surface imperfections evident in segment 9 (machined at a feed of 0.5 mm/rev) for the Al 6061 workpiece. (a) Optical micrograph image; (b) data obtained from
the optical prolometer (Wyko NT1100) showing the effect of surface imperfections.

This model was chosen given its simplicity; a more complicated The model parameters are determined based on ofine analy-
exponential or higher order parametric model, or black-box model, sis. For each case, about 65% of the data (80 images) are used to
such as a neural network may be used for higher accuracy. However, estimate parameters a, b, and c from Eq. (8) and (35)% (40 images)
using such complex modeling approaches hinders tractable appli- are applied for validation. The results from the analysis are sum-
cation from a practical computational time perspective. Given its marized in Table 2 for the AISI 4340 alloy steel and 6061 aluminum
simple algebraic nature, the time for estimating the surface rough- alloy, respectively for the three different states. From this result, it
ness (Sa), once the Fiedler number (2 ) is estimated from Eq. (8), is is further evident that the Fiedler number correlates closely with
vanishingly small (less than three signicant decimal places). the observed surface nish.

Fig. 13. Results from Tukeys pairwise statistical test conducted to assess statistical difference (p-value) in Fiedler number with respect to different segments (Ra and Rq
values). The values reported are statistical signicance, p-value. A p-value less than the signicance level implies a statistically relevant difference; is typically set at 0.05.
(a) Results for the AISI 4330 alloy steel shaft (31 out of 36 comparisons are statistically different at = 0.05). (b) Results for the 6061 aluminum alloy shaft 28 (29 for 256 rpm
state) out of 36 comparisons are statistically different at = 0.05.
M.S. Tootooni et al. / Journal of Manufacturing Systems 41 (2016) 266276 275

Table 2
Parameters estimate, the models t, and summary of the results for the AISI 4340 alloy steel and 6061 aluminum alloy in the three different turning speeds.

Condition Parameter a Parameter b Parameter c Squared error (validation result, 40 images)

4340 0 rpm 0.3959 0.9598 0.4807 0.009


4340 45 rpm 0.3008 0.9846 0.4719 0.015
4340 256 rpm 0.5445 1.369 0.4213 0.154
6061 0 rpm 1.829 1.735 0.4382 0.497
6061 45 rpm 0.6666 0.7872 0.4866 0.076
6061 256 rpm 2.746 2.591 0.3767 1.008

Fig. 14. Estimated vs. measured arithmetic mean surface roughness (Sa) for different headstock rpm. (a) Results for the AISI 4340 steel shaft. (b) Results for the Al 6061 shaft.
Barring one instance the estimated surface roughness error is within 2 m of the actual.

The estimated surface roughness Sa and the actual (measured) correction loop by integrating a closed-loop controller. Further-
surface roughness from the prolometer using the test data are jux- more, the authors are investigating the applicability of graph theo-
taposed in Fig. 14, from where it is evident that, barring one instance retic methods for evaluation of free-form surface geometries [37].
in Fig. 14(a) for the high dynamic speed (256 rpm), the majority of
the data points indicate that the surface nish is estimated with Acknowledgements
an accuracy of Sa 12 m. This translates to less than 15% overall
estimation error. This inference attests to the validity of the central The authors acknowledge the help of the machinists at the Har-
hypothesis of this research made in Section 1.1. ris Manufacturing Lab at Virginia Tech Mr. Phillip Ratcliff, Mr.
Randy Waldron, Mr. W. Randall Monk, Mr. Kelly Snidow, and Mr.
6. Conclusions Joe Linkous; and the machinists and technicians at the Watson
School, Binghamton University: Mr. Victor Fiori, Mr. Robert Pulz,
The graph theoretic topological invariant Fiedler number (2 ) Mr. David Richner, and Mr. Robert Mess. The authors thank the
was proposed to measure surface nish of turned shafts in situ using three anonymous reviewers for their time, patience, and construc-
a CCD camera setup. First, the approach was tested in a simula- tive comments which have doubtlessly improved upon the rigor
tion study where 3D surface proles with surface roughness (Sq) in of this work. One of the authors (S. Bukkapatnam) acknowledges
the range of 330 m were numerically generated (Section 4). The support from the National Science Foundation for this research via
Fiedler number (2 ) showed an increasing trend, albeit nonlinear, Award Number - CMMI 1432914.
with decrease in surface roughness.
Next, machining (OD turning) experiments were conducted on References
a lathe. Two shafts, one AISI 4340 steel, and the other Al 6061,
were machined (OD turning) on a lathe with feed varying between [1] DeGarmo E, Black JT, Kosher R. Material and processing in manufacturing. New
York, NY: John Wiley and Sons; 2003.
45 m/rev and 500 m/rev to obtain different magnitude of surface
[2] Bennett JM. Recent developments in surface roughness characterization. Meas
roughness (average surface roughness, Sa roughly between 1 m Sci Technol 1992;3:1119.
and 20 m) under three different conditions along their length at [3] Vorburger T, Teague E. Optical techniques for on-line measurement of surface
256 rpm cutting speed, and 625 m depth of cut with a carbide topography. Precis Eng 1981;3:6183.
[4] De Chiffre L, Kunzmann H, Peggs G, Lucca D. Surfaces in precision engi-
cutting tool. Thereafter, images of the different areas of the shaft neering, microengineering and nanotechnology. CIRP Ann Manuf Technol
were taken using the CCD camera, rst when the machine is static 2003;52:56177.
(0 rpm) and two other speeds, namely, 45 rpm and 256 rpm. [5] Jiang X. Precision surface measurement. Philos Trans R Soc A Math Phys Eng
Sci 2012;370:4089114.
Subsequently, the Fiedler number was estimated in less than [6] Jiang X, Scott PJ, Whitehouse DJ, Blunt L. Paradigm shifts in surface metrol-
tenth of a second, and correlated with ofine surface rough- ogy. Part 2: the current shift. Philos Trans R Soc A Math Phys Eng Sci
ness measurements in a rational regression setting. The difference 2007;463:207199.
[7] Jiang X, Scott PJ, Whitehouse DJ, Blunt L. Paradigm shifts in surface metrol-
between actual surface roughness and that estimated from the ogy. Part 1: historical philosophy. Philos Trans R Soc A Math Phys Eng Sci
Fiedler number was less than 15%; the error in terms of arithmetic 2007;463:204970.
mean average surface roughness (Sa) is 2 m, when Sa is in the [8] Gupta M, Raman S. Machine vision assisted characterization of machined sur-
faces. Int J Product Res 2001;39:75984.
range of 110 m. Thus, the approach was found robust to rota-
[9] Schwenke H, Neuschaefer-Rube U, Pfeifer T, Kunzmann H. Optical methods for
tional speed, and it does not require the machine to be stopped. As dimensional metrology in production engineering. CIRP Ann Manuf Technol
part of ongoing research the focus is on completing the process 2002;51:68599.
276 M.S. Tootooni et al. / Journal of Manufacturing Systems 41 (2016) 266276

[10] Rao P, Bukkapatnam S, Beyca O, Kong Z, Komanduri R. Real-time identica- [24] Chang SI, Ravathur JS. Computer vision based non-contact surface roughness
tion of incipient surface morphology variations in ultra-precision machining assessment using wavelet transform and response surface methodology. Qual
process. Trans ASME J Manuf Sci Eng 2014;136:021008. Eng 2005;17:43551.
[11] Liang SY, Hecker RL, Landers RG. Machining process monitoring and control: [25] Jiang X, Scott P, Whitehouse DJ. Wavelets and their applications for surface
the state-of-the-art. Trans ASME J Manuf Sci Eng 2004;126:297310. metrology. CIRP Ann Manuf Technol 2008;57:5558.
[12] Kurada S, Bradley C. A review of machine vision sensors for tool condition [26] Tsai D-M, Chen J-J, Chen J-F. A vision system for surface roughness assessment
monitoring. Comput Ind 1997;34:5572. using neural networks. Int J Adv Manuf Technol 1998;14:41222.
[13] Lu C. Study on prediction of surface quality in machining process. J Mater [27] Shi J, Malik J. Normalized cuts and image segmentation. IEEE Trans Pattern Anal
Process Technol 2008;205:43950. Mach Intell 2000;22:888905.
[14] Kiran MB, Ramamoorthy B, Radhakrishnan V. Evaluation of surface roughness [28] Chung FRK. Spectral graph theory. Providence, RI: American Mathematical Soci-
by vision system. Int J Mach Tools Manuf 1998;38:68590. ety; 1997.
[15] Gadelmawla ES. A vision system for surface roughness characterization using [29] Nascimento MC, De Carvalho AC. Spectral methods for graph clustering a
the gray level co-occurrence matrix. NDT & E Int 2004;37:57788. survey. Eur J Oper Res 2011;211:22131.
[16] Khalifa O, Densibali A, Faris W. Image processing for chatter identication in [30] Von Luxburg U. A tutorial on spectral clustering. Stat Comput
machining processes. Int J Adv Manuf Technol 2006;31:4439. 2007;17:395416.
[17] Kumar R, Kulashekar P, Dhanasekar B, Ramamoorthy B. Application of digital [31] Schaeffer SE. Graph clustering. Comput Sci Rev 2007;1:2764.
image magnication for surface roughness evaluation using machine vision. [32] Mohar B. The Laplacian spectrum of graphs. Graph Theory Comb Appl
Int J Mach Tools Manuf 2005;45:22834. 1991;2:87198.
[18] Zhisheng Z, Zixin C, Jinfei S, Ruhong M, Fang J. A neural network-based machine [33] Fiedler M. Algebraic connectivity of graphs. Czechoslov Math J
vision method for surface roughness measurement. In: International confer- 1973;23:298305.
ence on mechatronics and automation. 2009. p. 32937. [34] Rao PK, Beyca OF, Kong Z, Bukkaptanam ST, Case KE, Komanduri R. A
[19] Dutta S, Kanwat A, Pal SK, Sen R. Correlation study of tool ank wear with graph theoretic approach for quantication of surface morphology and its
machined surface texture in end milling. Measurement 2013;46:424960. application to chemical mechanical planarization (CMP) process. IIE Trans
[20] Chen Z, Xu F. Application of gray level co-occurrence matrix method in 2015;47:1088111.
characterization of cylindrical grinding surface roughness. Appl Mech Mater [35] Wu J-J. Simulation of rough surfaces with FFT. Tribol Int 2000;33:4758.
2014;433:2113. [36] Montgomery DC. Introduction to statistical quality control. John Wiley & Sons;
[21] Kamguem R, Tahan SA, Songmene V. Evaluation of machined part sur- 2008.
face roughness using image texture gradient factor. Int J Precis Eng Manuf [37] Rao P, Kong Z, Kunc V, Smith R, Love L, Duty C. Assessment of dimen-
2013;14:18390. sional integrity and spatial defect localization in additive manufacturing (AM)
[22] Lee BY, Juan H, Yu SF. A study of computer vision for measuring surface rough- using spectral graph theory (SGT). ASME Trans J Manuf Sci Eng 2015;138:
ness in the turning process. Int J Adv Manuf Technol 2002;19:295301. 05100719.
[23] Lee BY, Yu SF, Juan H. The model of surface roughness inspection by vision [38] Cheng C, Wang Z, Hung W, Bukkapatnam STS. Proceedia Manufacturing, 1;
system in turning. Mechatronics 2004;14:12941. 2015. p. 60718, http://dx.doi.org/10.1016/j.promfg.2015.09.044.

Potrebbero piacerti anche