Abstract
This study proposed a dynamic parameters’ identification method for the feeding system of computer numerical control machine tools based on internal sensor. A simplified control model and linear identification model of the feeding system were established, in which the input and output signals are from sensors embedded in computer numerical control machine tools, and the dynamic parameters of the feeding system, including the equivalent inertia, equivalent damping, worktable damping, and the overall stiffness of the mechanical system, were solved by the least square method. Using the high-order Taylor expansion, the nonlinear Stribeck friction model was linearized and the parameters of the Stribeck friction model were obtained by the same way. To verify the validity and effectiveness of the identification method, identification experiments, circular motion testing, and simulations were conducted. The results obtained were stable and suggested that inertia and damping identification experiments converged fast. Stiffness identification experiments showed some deviation from simulation due to the influences of geometric error and nonlinear of stiffness. However, the identification results were still of reference significance and the method is convenient, effective, and suited for industrial condition.
Introduction
High speed and high precision are the important development directions of computer numerical control (CNC) machines. However, accuracy and stability problems arise because of the increase in the rotating speed of the spindle and the feeding speed of servo system. High feed rate means the enlargement of the system tracking error. To reduce the tracking error and improve the machining accuracy of the machine tools, researchers have taken some measures on the controller of the machine tool, such as improving the position and speed gains of the machine controller and using the feedforwards of speed or acceleration.1,2 However, the high-gain parameters affect the stability of the control system. In addition, the stability problem of high-speed cutting, that is, the cutting instability (such as chatter) in the processing process in the case of large cut depth, high rotation speed of the spindle, and high feeding speed condition, often plagues the researchers and users. To solve the problems, it is needed to conduct system parameter identification and accurate dynamics modeling for the feed system of the CNC machine tools.
The parameter identification and modeling of the servo system have been repeatedly researched. Under the open-loop control condition of the motor, Kaan Erkorkmaz and Altintas 3 identified the dynamic parameters of the worktable, including inertia, damping, and Coulomb friction, using unbiased least square algorithm. Chyun-Chau Fuh and Tsai 4 proposed an identification method for the dynamic parameter of the servo system using the continuous and disordered signals with fixed band width as drive signals. The test proved that the method effectively avoided the disturbance of the uncertain high-frequency signals and presented convergent identification results. Varanasi and Nayfeh 5 drove the system using the sinusoidal signal generated by the signal generator. On the basis of analyzing the amplitude–frequency characteristics of the input and output signals, the frequency-response function of the system was obtained. Pislaru et al. 6 from the University of Huddersfield in the United Kingdom employed the Morle wavelet to identify the natural frequency and damping ratio of the feed system of the NC machine tool. The results obtained were further compared with that obtained by Bode diagram method. The comparison result revealed that the wavelet identification method showed higher identification accuracy than Bode diagram method. Lee et al. 7 realized the modal parameter identification of ball screw using the profile error measurement and iterative method of planar grating.
Although there are many methods2,3 for precisely identifying the parameters of dynamic equations as well as the effects of friction, it is described in the published lectures such as Söderström and Stoica 8 and Armstrong-Helouvry. 9 But in these methods, special experimental platforms generally required to be established or special controller are needed in order to generate stimulating signal for system identification, some of identification are under open-loop control condition. Whereas these methods are difficult to realize for commercial CNC system due to its close structure, especially in the industrial field.
The servo system of the machine tool contains position, velocity, and current sensors. Meanwhile, commercial NC system also provides users with increasing open resources and allows users to access the sensor information conveniently. Obviously, the method of parameter identification using the information from internal sensor is more applicable to the in-machine or online detection in the processing and production field. However, the parameter identification of the servo system based on internal sensor has rarely been reported in previous researches.
In this study, a simplified control model and linear identification model of the feeding system were established, and the dynamic parameters for the feeding system of commercial CNC machine tools are identified using system identification method under closed-loop condition; to stimulate dynamic of the feeding system, special programmed G-code is used, and the method is suitable for commercial CNC system in industrial field.
The feed system model for CNC machine tools
Typical CNC machine feeding system generally comprises servo driver, alternating current (AC) servo motor, and the mechanical system. The mechanical system is composed of connector, ball screw, screw nut, guide rail, worktable, and so on, as shown in Figure 1. The motor drives the rotation of the ball screw and the movement of screw nut in turn to realize the transformation from the rotational motion of motor to the linear motion of worktable. Worktable is supported by sliding or rolling guide rail. The servo motor and the ball screws were connected by the coupler directly or the reducer. In this figure,

Schematic diagram of a feeding system in CNC machine tools.
The torsional stiffness

The closed-loop servo system model with the friction.
As shown in Figure 2, the system is nested of current loop, speed loop, and position loop. The feedback of the speed loop is from the motor encoder, while that of the position loop is sourced from the highly accurate grating scale.
The principal for the identification on the dynamic parameter of the feed system
As for the double mass system in Figure 2, the differential equation of the motor shaft can be established as
where
By Laplace transformation, the equation is written as
where
Let
After discretization, there is
where
Let
and
where
According to equation (2), the matrix vector equation is obtained
In the equation above,
and
Dynamic parameters can be obtained as follows
As for the worktable, the differential equation below is supported
where
where
Using the same identification methods, [
Followed by the parameters’ identification, four signals were used, including the current
The parameter identification for the Stribeck friction model
The frictional force modeling is necessary for accurate control of the servo system of the NC machine tool. Stribeck friction model
13
can accurately describe the characteristics of the friction at low speed and is most widely used at present. When the worktable of the machine tool moves along the guide rail at uniform speed under no-load condition, since
where
If the servo axis of the machine tool was run at uniform speed while different speeds under no-load condition, the relationship of the current
Stribeck model is described as follows 13
Let
According to the Taylor equation, the equation above can be expanded by sixth order as
Equation (7) is rewritten as
where
In case of obtaining multiple sets of
Thus, equation (6) is altered into
Using least square method,
In the model above, the viscous damping force is treated as part of the friction. However, the viscous damping force is excluded from the fictional force in the identification model above.
Thus
Identification experiment for dynamic parameters of the servo system of a large-scale CNC gear grinding machine
The identification experiment is conducted on the dressing system of the grinding wheel of a large-scale CNC gear grinding machine, as shown in Figure 3(a). The diamond dressing wheel is installed on feeding axis

Identification testing setup: (a) the dressing servo feed system of the large-scale NC gear grinding machine and (b) data collection setup.
To ensure the feed system stimulated continuously, initial input signal of the identification for dynamic parameter beyond the friction is generated from specially designed CNC G-code. Under the driving effect of G-code, the position signal of the machine tool was exhibited as the secondary segmented curve with constant acceleration. Figure 4 displays the curves of the position, speed, and acceleration of the machine tool trajectory.

The input signals used in the identification: (a) time–accelerate curve, (b) time–velocity curve and (c) time–position curve.
The identification experiments are repeated for five times for the feed axes

The input and output signals for the identification: (a) identification signals for inertia and damping and (b) identification signals for the stiffness.
Figure 6 shows the identification results. The identification results suggest that the equivalent rotational inertia

The identification results of the inertia

The identification result on the stiffness
The identified dynamic parameters of axes
The dynamic parameters of the axes
The parameter identification experiments for Stribeck model of the servo system were performed on the dressing system of the grinding wheel of a large-scale CNC gear grinding machine. With the data acquisition system, the current

The forward friction test data on axis
Results of the parameters’ identification for Stribeck model.
As one of the most common motions in CNC machining process, circular motion can directly reflect the dynamic characteristics of the servo system at low and high speeds.
10
Therefore, the parameter identification method is validated by comparing the simulation and experimental results of the circular motion in the dressing system for the grinding wheel of the large-scale CNC grinding machine. Control model of the servo system is small different with the model described in Figure 2 with P controller; this controller introduces the speed feedforward coefficient
The simulation conditions are as follows:

Comparison of experimental results and simulation results of the circular motion of servo system.
The results of the simulation and experiment are shown in the figure. To ensure that the results are displayed normally in the polar co-ordinate, all the values displayed in Figure 9 are adjusted by adding a constant (here 2 × 10−5) to the contour errors. The curves by the simulation and the experiments show their similar profiles and behaviors at different places especially at four quadrants of the circular motion. As shown in the figure, there appears to be a good correspondence between the two sets of the results for the protrusions on the horizontal axis. Although the correspondence is not good enough for the protrusions on the vertical axis, the test results suggested that the errors between the curves by the simulation and experiment are no more than 3 μm, and dynamic behaviors shown by the simulation and experiment curves including emerge time, lasting-time, and the maximum value of height of the protrusions are in good consistency. This outcome proves that the dynamic characteristics of the simulation system constructed are consistent with those of the real system. Meanwhile, the dynamic parameters used in the simulation are basically consistent with those in real system. However, there are differences between the values of simulation and identification parameters.
To index the performance of the presented methods, relative error between identification and simulation parameters is obtained as in Table 3.
Relative error for identification parameters to simulation for
From the table, all relative errors are no more than 27% except
Conclusion
This article presented an identification method for the dynamic parameters of the servo system using the internal signals of the CNC system. The identification model for the dynamic parameters of the servo system was first established. By solving this model using the least square method, the dynamic parameters including equivalent inertia, equivalent damping, worktable damping, and the overall stiffness of the mechanical system were available. Using the experimental method, the friction curve of the servo system of the NC machine tool was obtained. By high-order Taylor expansion on the Stribeck curve, the nonlinear model was linearized, and the five parameters of the Stribeck friction model were solved using the least square fitting method. Using the dynamic parameters obtained, the simulation model for the servo system of the large-scale CNC gear grinding machine was established. To verify the validity of the method, identification experiment was conducted to verify the effectiveness of identification method. The stable experiment results suggested that inertia and damping identification experiment converged fast. Stiffness identification experiments showed some error under the influences of nonlinear error and stiffness. However, the identification results were still of reference significance. Using the identification parameters, the circular motion of the CNC gear grinding machine system was simulated using the model and tested by the experiments; the results of comparison suggested that the identification method proposed in this article is valid.
Footnotes
Academic Editor: Yaguo Lei
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
This project was supported by the Natural Science Foundation of Shanghai of China (Grant No. 13ZR1427500), the Key Projects in the National Science & Technology Pillar Program of China (Grant No. 2012BAF01B02), and the National Natural Science Foundation of China (Grant No. 51005158).
