Abstract
Dynamic compliance of machine tool spindle is a necessary input for stability limit prediction. It can be determined by a single input–single output modal analysis, so called tap test. Despite methodology of modal analysis is well known for many years and there are several commercially available software packages supporting it, executing the experiments and evaluation of the results require both knowledge and skill. Therefore, there is a need for automation of all stages of data acquisition and signal processing to make this method applied in industry. This article presents the methodology, algorithms and software which execute all operations and analysis automatically; thus, they can be done directly on the factory floor without the involvement of highly qualified personnel. It enables completing of the tap test and obtaining proper results by an operator who do not have any knowledge on modal analysis. This article presents examples of the software application in factory floor conditions.
Keywords
Introduction
Self-excited vibrations (chatter) not only limits productivity of machining processes but also causes poor surface finish and early wear/breakage of cutting tools. 1 Thus, prediction of the chatter onset is critical for the realization of productive machining. Basic input for the calculation of the stability limit is frequency response function (FRF) of the machine tool structure obtained from single input–single output (SISO) modal analysis.1,2 During so called tap test, the machine tool spindle or a tool held in it is excited with a modal hammer with built-in force transducer. The response of the machine tool structure can be measured with an accelerometer. The FRF is then determined by combining the Fourier spectrum of both the impact force measurement and the accelerometer measurement. Resultant dynamic compliance or FRF of the spindle allows for determination of specific combination of machining parameters that results in the maximum chatter-free material removal rate.
Modal analysis allows for computing of modal parameters (frequency, damping, stiffness and mass) of vibrating system. During the tap test, the energy of the impulse excitement is distributed continuously in the frequency domain. A force impulse excites all frequencies within its useful frequency range, which is inversely proportional to the duration of the impulse.
3
Modal hammer tips of different hardness allow for a different impulse time excitement.
4
In the SISO modal analysis, vibrations of a tool or specially prepared shank clamped in the spindle are induced by the hit of a modal hammer and measured by an accelerometer fixed on the other side of the tool.5
–7 Assuming that the system is linear, time-invariant, it can be represented as the linear superposition of a number of single-degree-of-freedom (1DOF) characteristics. FRF
where
A characteristic point of the system dynamic compliance is its minimum real part which determines the minimal stable axial depth on the stability lobe diagram (see Figure 1). Therefore, Re(

Dependence of stability lobe diagram on minimum real part of dynamic compliance based on Altintas and Weck. 9
Modal parameters of such system—mass, damping and stiffness—can be calculated from FRF for each modal mode separately using characteristic features of the real and imaginary parts of FRF4,5,10 (see Figure 2). The resonance frequency
where
and modal mass is equal to

FRF characteristic features of single mode.
Finally, modal damping can be calculated as
Presented methodology is well known and seems to be quite easy. Unfortunately, it is not in factory floor practice.
Difficulties in the tap test signal processing and FRF interpretation
During the tap test, the operator implements several hits of the modal hammer into the special shank clamped in the spindle. Next subsequent single excitement and response signals must be identified and extracted from the entire acquired force and acceleration signals. The segmented signals covering single hits have to be evaluated for their correctness—proper signal amplitude, absence of saturation of the signal (overload of preamplifier) or double hits. Wrong signals (force and vibration) must be eliminated, because using them in the analysis makes results unreliable (see Figure 3).

Wrong excitations and responses.
Double hits as well as leakage and an overload of accelerometer preamplifier can be seen in the signals. A selection of short fragments of measured signals containing the actual exciting force and object acceleration signals is an important and time-consuming stage of experimental modal analysis. Browsing the entire signal, assessing every force and response signal and rejecting non-proper ones require lots of time, experience and attention from the operator.
After collecting correct signals, their spectra are calculated, which allow for computing of the average FRF. Next troublesome step is identification of frequency ranges corresponding to the singular modes. It is based on selection of the frequency range of the individual mode in real and imaginary part of the FRF. Synchronized observation of the two plots increases accuracy of such selection (Figure 4).

Frequency ranges.
When the frequency range corresponding to a particular mode is identified, modal parameters can be determined from characteristic features of real and imaginary parts of the FRF according to formulas (2)–(5).11,12
Then, analyzing obtained FRF, selection of the frequency ranges corresponding to the single modes and determination of FRF features (
There is a lot of commercial software focused on an area of modal analysis; however, there is a lack of software which is helpful in SISO modal analysis and modal parameters. Execution of modal analysis is difficult even using professional, excellent commercial software like CutPro 10 which results in withdrawal from using it. Therefore, broader implementation of modal analysis in the industry necessitates automation of the entire process of signal acquisition, segmentation, evaluation, mode frequency range identification and modal parameter calculation.
Automatic modal analysis
The motivation of the project 17 was inspired by requests of aerospace industry partners, who need modal analysis, but have no enough experience, highly qualified personnel to use CutPro 10 in everyday practice. The developed software15 –17 gathers expert experience in manual modal analysis, signal processing and converts it into computer algorithms.
Signal segmentation
An automatic signal segmentation is based on the detection of the beginning of a single hit. It is recognized in the force signal as exceeding of a threshold, which is five times higher than the maximum value during the first 5 ms of entire signal (see Figure 5). Then, the segment of 50 ms of the signal is extracted, beginning from the 5 ms preceding the threshold crossing. 50 ms is far longer time than needed for decreasing of the damped vibration signal below a noise level.

Hits and responses extraction method.
Selection of correct signals
The extracted excitement and response signals must be examined to identify whether they are correct, meaning meet the following criteria
Maximum of the excitement force is higher than 10 N;
Absence of signal saturation indicating overload of hammer and/or accelerometer preamplifiers;
Absence of double hit, the hammer bounce—occurrence of the second maximum of the force signal within 50 ms window.
Out of all correct signals, five with highest maximum force are taken for further analysis. Figure 6 presents example of time domain signals extracted from entire signal using presented criteria and their spectra.

(a) Extracted time domain signals of hammer excitation, (b) system responses and (c, d) their spectra.
Automatic mode detection
As spectrum of the excitation signal descends with the frequency, the FRF becomes less reliable. Thus, frequency range is assumed to be useful when average excitation spectrum is higher than 20% from its maximum value. 7 On the other hand, because the response of the structure is measured using accelerometer, the signal needs to be integrated twice in frequency domain, in order to get the displacement. This results in extremely high, also unreliable signal values for the lowest frequencies. Therefore, in the example presented in Figure 6, the useful frequency range was limited from the left side—to 200 Hz. Of course, this lower limit can be changed if more massive structures of lower natural frequencies are to be analyzed.
In the next step, complex FRFs are computed for every extracted excitation and response signals, and obtained results are averaged. Then, the coherence function is calculated and used for assessment of distortion, lack of correlation or non-linearity. The function value is 1 for linear system with no distortion of input and output. 9 It can have values between 0 and 1, and values closer to 0 indicate distortion, lack of correlation or non-linearities.
Automatic mode detection begins with searching of local minima in Im(

Automatic mode detection method.

Recognized frequency ranges.
For the modes considered relevant, nearest maximum and minimum values of Re(
Modal parameters computed for FRF example shown in Figure 8.
Modal parameters applied in equation (1) give the FRF model, shown in Figure 9. As can be seen here, when system modes are widely separated from each other, FRF model is correct (e.g. for 1st, 5th and 8th modes). However, if the system modes are located closely (especially 2nd and 3rd modes in Figure 9), the modes influence each other which results in overestimation of the system compliance, and dramatically reduces the correlation between experimental and estimated FRFs.

Automatic modal analysis result—modeled versus experimental FRF.
Automatic optimization of the FRF model
A difference between the model and experimental function can be noted in Figure 9 for frequency range corresponding to 2nd and 3rd modes. Let us consider only these two modes and calculate 2DOF FRF model of the system. By substituting modal parameters from 2nd and 3rd rows of Table 1 into the transfer function equation (1), two single plots, each representing the single mode, are obtained (see Figure 10). The 2DOF characteristic is then found by superposition of single modes. Superposition of modes closely located to each other results in overestimation of modal damping and poor correlation between experimental and estimated characteristics.

Characteristics of 2DOF system obtained by mode superposition.
In order to increase correlation between experimental and estimated FRFs, the methodology of modal damping optimization was developed. It is based on iterative changes of single-mode damping by comparing the resultant entire model correlation with the experimental FRF.
Automatic optimization of the model is implemented in three successive stages. Each of the stages aims to damping adjustments minimizing the difference between the magnitude of the model and the experimental FRF at modal frequency seen in Figure 10. The magnitude of modeled FRF (

Comparison of optimized with the experimental FRF.
Automatic adjustment of modal damping allows for increasing the correlation between experimental and estimated FRFs being still simple mathematical method.
Automatic Single-Input-Single-Output Modal Analysis software
Methods and algorithms described in the previous section were applied in Automatic Single-Input-Single-Output Modal Analysis (ASISOMA) software programmed in the NI LabVIEW environment. In industrial default mode, the user is guided through stages of experiments and analysis until getting the results of modal analysis, which are modal characteristics and minimum of real FRF part—Re(

Examples of ASISOMA program front panel working in the scientific mode.
Example of ASISOMA front panels in this mode is presented in Figure 13. The picture presents dynamic compliance with its modal parameters.

Examples of ASISOMA program front panel working in the industrial mode.
Experimental setup
Measurement setup for 1D SISO modal analysis is simple and easy to use in factory floor conditions. It consists of a modal hammer (here, it is Brüel & Kjær 8206-03), accelerometer (here, B&K 4514-001), conditioning amplifier (here, B&K NEXUS 2693), DAQ card (here, NI USB-6259 BNC) and PC with LabVIEW 2010 environment (Figure 14).

Measurement setup.
Industry application
Described methodology was applied in the aerospace industry facility in the Aviation Valley in Poland. 17 The objective of the test was determination of dynamic condition of 12 identical computer numerical control (CNC) machining centers (two lines, six machines in each line) DMU 70 eVo Linear. The developed software automatically creates reports with obtained results. Examples of parts of it are presented in Figure 15.

Fragments of automatically generated report on the SISO modal analysis.
The most indicative of the chatter resistance is the minimum of real part of FRF. These values for all 12 tested machines are presented in Figure 16. The average values are marked by a dashed line. Values much lower than average were considered as safe (green field), and values much higher than average were considered as indication for maintenance. One machine—the third in the first line—appeared to be in the worst condition. Actually, it was already withdrawn from production, waiting for maintenance. The best results on both axes were achieved by machine two in the second line.

Dynamic compliance of tested high-speed spindles.
Simultaneously, the speed spindle error motions were tested according to ANSI/ASME Standard B5.54-1992
18
with our own software.
19
Obtained results (example shown in Figure 17) confirm those presented by the automatic modal analysis. Machine 2/2 has the lowest measured dynamic compliance and total radial error movement 5.6 µm. On the other hand, machine 2/4, which is on the

Example of the speed spindle error motion testing.
Conclusion
Conventional experimental modal analysis requires both knowledge and skill for evaluation of registered signals, selection of the proper hits and selection of the frequency ranges corresponding to the single modes. All this necessary knowledge and skills were converted into algorithms by innovative application of modal analysis formulas and signal processing methods. Using the software developed on the base of these algorithms, all necessary operations and analysis are automatized; thus, they can be executed directly on the factory floor without the engagement of highly qualified personnel.
The experimental test performed in factory floor conditions confirms the usability of developed automatic modal analysis methodology and the software.
While working in the industrial mode, the program performs all necessary calculation without operator intervention. Only few hits are needed with a modal hammer while measuring acceleration to have a ready characteristic in a moment. The program automatically executes the following steps:
Extraction of hit and responses from entire signal, with rejection of non-proper ones;
Computation of signal spectra and FRF;
Detection of vibration modes, rejecting irrelevant ones;
Calculation of the complex FRF model ready to be presented in several forms: amplitude–frequency characteristic, phase–frequency characteristic and amplitude–phase–frequency characteristic (hodograph).
Created ASISOMA software not only has different interface and/or functionality than existing on the market but also creates a new added value due to full automatization of signal evaluation and processing.
Footnotes
Declaration of Conflicting Interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was financially supported by the Structural Funds in the Operational Program—Innovative Economy (IE OP) financed from the European Regional Development Fund–Project “Modern material technologies in aerospace industry,” no. POIG.01.01.02-00-015/08-00.
