Advances in Manufacturing  2017, Vol. 5 Issue (2): 120-129

The article information

Feng-Tian Li,Li Ma,Lin-Tao Mi,You-Xuan Zeng,Ning-Bo Jin,Ying-Long Gao
Friction identification and compensation design for precision positioning
Advances in Manufacturing, 2017, 5(2): 120-129.
http://dx.doi.org/10.1007/s40436-017-0171-z

Article history

Received: 14 June, 2016
Accepted: 3 April, 2017
Published online: 6 May, 2017
Friction identification and compensation design for precision positioning
Feng-Tian Li1, Li Ma1, Lin-Tao Mi1, You-Xuan Zeng1, Ning-Bo Jin1, Ying-Long Gao1     
Received: 14 June, 2016/ Accepted: 3 April, 2017/ Published online: 6 May, 2017
Author: Li Ma, malian@shu.edu.cn
1 School of Mechatronic Engineering and Automation, Shanghai University, Shanghai 200072, People's Republic of China
Abstract: Precision positioning systems driven by linear motors are vulnerable to force disturbances owing to the reduction of gear transmission. The friction, included in the disturbance, can be modeled and compensated to improve the servo performance. This paper proposes a modified Stribeck friction model (SFM) and an optimization algorithm for consistency with the positioning platform. The compensators based on the friction model and disturbance observer (DOB) are simulated. The simulation results show that as compared with the DOB compensator (the velocity recovers by 5.19%), the friction model based compensator (the velocity recovers by 10.66%) exhibits a better performance after adding the disturbance. Moreover, compensation comparisons among the Coulomb friction, traditional SFM, and modified SFM are performed. The experimental results show that the following error with modified SFM compensation improves by 67.67% and 51.63% at a speed of 0.005 m/s and 0.05 m/s, compared with the Coulomb friction compensation. This demonstrates that the proposed model, optimization algorithm, and compensator can reduce the following error effectively.
Key words: Precision positioning     Friction compensation     Identification     Modeling    
1 Introduction

Owing to the increasing demand for high-speed and ultraprecision motion, various positioning systems driven by linear motors are widely used in industrial applications [1]. These systems, based on ironless permanent magnet synchronous linear motors (IPMSLMs), exhibit the advantages of high speed-thrust ratio, unlimited travel, and no transmission error [2, 3]. However, compared with the servo motor, IPMSLM is more sensitive to various force disturbances owing to the reduction of gear transmission.

The improvement of the servo performance of precision positioning systems, on one hand, depends on the properties of each mechanical part and the assembly accuracy, and on the other hand, relies on the control algorithm and anti-disturbance characteristic. The disturbance, which varies during the movement, is nonlinear and thus, hard to measure and model. A traditional proportion-integralderivative (PID) control algorithm cannot handle nonlinear disturbances effectively, especially for systems driven by linear motors. Therefore, a disturbance observer (DOB) is proposed to estimate the lumped disturbance by the difference between the output of the inverse nominal model and the control input [4]. Yan et al. [5] proposed a digital DOB included in the feedback-feedforward control structure to compensate the undesired nonlinearity and external load disturbance of the direct drive system. Zhang et al. [6] designed a DOB as a feedback compensator to compensate the force disturbance based on the disturbance model, and its performance was better at high speeds. Cho et al. [7] developed a periodical adaptive DOB, assuming that all the measured states and disturbances were periodic and repetitive, and it could compensate for the disturbances whose frequency components are below and above the bandwidth of the Q-filter of the DOB.

Contrary to other spurious noises, friction can be modeled, and it accounts for a large part of the disturbance. Therefore, the modeling, identification, and compensation of friction have been studied in depth [8-11]. However, as friction is difficult to measure directly, it can be estimated using other physical quantities. DOB [12] and experiment are two friction measuring methods. The DOB contains other noises besides friction, and the data obtained must be processed using complicated procedures to separate friction from other disturbances. In addition, friction can be acquired by experimental means, such as circuit loop [13], velocity loop, and positioning error [14]. There are several friction models commonly used, such as Stribeck friction model (SFM) [15], LuGre model, and Maxwell model [10]. The accuracy of complex parameter identification determines the accuracy of the friction model, which indicates that the estimation algorithm plays a dominant role in the process [16, 17]. Chen et al. [16] proposed an intelligent glowworm swarm optimization algorithm to identify the friction parameters and the convergence can be hastened only using a finite time parameter estimation law and nonlinear sliding mode technique. Harman et al. [18] developed an online input estimation method, based on which an online friction compensator with a good dynamic performance was designed. Piatkowski [19] presented a method for determining the parameters of LuGre and Dahl dynamic models, and it employed a numeric optimization. Lin et al. [20] proposed particle swarm optimization (PSO), genetic algorithm, and real-coded genetic algorithm-based optimization to evaluate the parameters of the nonlinear friction model, achieving a good positioning accuracy. Kabziński and Jastrze ˛bski [21] designed an estimation method using the operating amount of ultra-low speed experiments.

The dynamic friction model is comparatively complex, and its parameter identification is so complicated that the result is difficult to estimate. Moreover, the methods for determining friction are sometimes inaccurate. Massive experiments have demonstrated that the positioning error is closely related not only to the velocity, but also to the position of the worktable. Based on the above considerations, this paper proposes a modified SFM, the values of which are indicated by analog voltage. Furthermore, a parameter optimization algorithm based on the initial identification result of least squares method (LSM) is developed, exhibiting the advantages of shorter convergence time and higher identification accuracy. The design of friction compensator closely corresponds to the experimental data gathering. The effectiveness of the modified SFM, optimization algorithm, and compensator can be verified using experiments.

2 System description

A long-stroke ultra-precision XY positioning platform for nano-imprinting is shown in Fig. 1. The stage features a long range of 500 mm × 500 mm and high repeatability of 2 μm. The platform adopts the H-type mechanism owing to its capacity for heavy load and low torque during the long movement. The bottom layer is driven by dual IPMSLMs, whereas the upper layer is driven by a single IPMSLM. Incremental linear grating sensors with a resolution of 0.1 μm are selected for position inspection and feedback. In addition, in order to improve the efficiency and synchronization of the system, two digital hall sensors are used at the bottom layer. The Elmo driver is used and the PMAC control card of Delta Tau is adopted in the motion controller.

Fig. 1 XY precision positioning platform
3 Friction model3.1 Modified SFM

During the movement, friction can be divided into several sections according to the change of velocity, and the division principle is comparatively complex [20, 22]. SFM, which is the most commonly used friction model, can be expressed as Eq. (1).

(1)

where represents the velocity of the platform, Fs the maximum static friction, Fc the Coulomb friction, vs the SFM critical velocity, B the viscous friction coefficient, and δ the Stribeck shape factor, which is generally 2 [14].

Owing to the influence of installment inaccuracy of guide rails and other mechanic assembly errors, the force varies at different positions. Accordingly, a modified SFM is proposed and expressed as Eq. (2). According to the identification experiments and data analysis, Fs is a constant, whereas the values of Fc and B are different at different positions, which can be explained by the deformation of the guide rail, installation errors after measuring the straightness of the guide rail, and the parallelism between the linear motor and guide rail. Owing to the restrictive relation between the speed and motion time at a given position interval, Fc and B can be described as the piecewise function of x, representing the position of the worktable.

(2)
3.2 Experimental design

According to the control algorithm shown in Fig. 2, the position loop and velocity loop close in the PMAC, whereas the circuit loop closes in the driver. The signal, outputted by the PMAC to the driver from the digital to analog converter (DAC) port, is the analog voltage varying from -10 V to 10 V. The analog voltage is adjusted by the circuit loop and the final output is used to control the movement of the stage. The process can be expressed by the block diagram shown in Fig. 2.

Fig. 2 Control flow diagram of the system

During the positioning process, the force condition is expressed as Eq. (3), where M represents the mass of the load driven by the IPMSLM, Ft the motor thrust, Ff the friction during the movement, the acceleration of the movement, and F1 represents the other disturbances. Ft can be computed by Eq. (4), where Kc and Kt represent the circuit gain ratio and thrust coefficient, respectively, and Vout represents the output analog voltage of the PMAC. When the stage runs into a steady state (=0), Ft is equal to Ff regardless of other disturbances. Consequently, the friction of the system can be measured by the thrust of the motor. Considering the linear relationship between Vout and Ft, Vout, rather than Ft, is collected to perform the friction analysis, and thus, the influence of environment and motor noises can be avoided effectively.

(3)
(4)

We obtain the output analog voltage Vout for different positive velocities from 0 to 50 mm along the y-axis. After performing median filtering to eliminate the data with a gross error, the voltage-velocity curve can be obtained, as shown in Fig. 3. According to the SFM curve, the experimental graph is approximately consistent with the standard curve. This also indicates that the aforementioned method to represent friction using Vout is valid.

Fig. 3 The curve of output analog voltage and velocity
3.3 Parameter identification and optimization

In order to acquire the modified SFM of the system, it is necessary to perform parameter identification, which significantly influences the compensation accuracy. Therefore, after the initial identification result acquired by the LSM in MATLAB, we propose an optimal identification algorithm—a recursive algorithm (RA)—based on the minor difference between the identification result and the experimental result. The RA is illustrated as follows.

Step 1  Each iteration vector Θi consisting of four parameters (as shown in Eq. (5)), is substituted into Eq. (2), and Eq. (6) is obtained supposing that the platform moves in a positive direction, namely > 0, where i represents the iteration time with an initial value of 0, j the number of velocity samples varying from 1 to n, and F'i(vj) the modeled friction in each iteration. Θ0 is obtained from the identification result with LSM. The difference △Fi(vj) between the experimental friction and modeled friction is calculated by Eq. (7).

Step 2  Owing to the aforementioned minor difference, △Fi(vj) can also be expressed as Eq. (8), where Ai, j, Bi, j, Ci, j, and Di, j are expressedas Eq.(9). △Fci, △Fsi, △vsi, and △Bi are the computed values in each iteration and can be calculated by Eq. (10). In each iteration time, △Fi(vj), Ai, j, Bi, j, Ci, j, and Di, j are the vectors comprising of n members.

Step 3  Θi+1=(Fc(i+1), Fs(i+1), vs(i+1), B(i+1), ) is the initial value of the subsequent iteration and each member is computed by Eq. (11). The iteration will not end until a better identification result is obtained.

The evaluation of each iteration effect depends on the values of root-mean-square error (RMSE, Re) and R-squared, and they can be computed using Eqs. (12) and (13), respectively. The best identification result features a smaller value of RSME and larger R-squared simultaneously

(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
3.4 Identification results

The results of RA computed by MATLAB programming are shown in Table 1. The result of the third iteration is selected according to the judgment principle. Although the R-squared value of the sixth iteration is larger, it deviates from the experimental data, and thus can be ignored.

Table 1 Results of each iteration

The position interval is 50 mm in the experiment. Theoretically, the smaller the interval, the more accurate the model. However, the analog voltage, representing the friction, cannot be obtained precisely in an ultra-short period of time at a high speed. The experimental values and the corresponding fitting curves in each interval are shown in Fig. 4. There might be some minor differences between Fig. 3 and Fig. 4(f) although they are in the same measuring range, resulting from the change of environment. After parameter identification and optimization, the parameters of the modified SFM are listed in Table 2.

Fig. 4 The experimental values and fitting curves of each position interval
Table 2 Parameter identification results
4 Friction compensator design

The control algorithm of the system is illustrated in Fig. 5. It adopts a combination of discrete PID, velocity feedforward, acceleration feedforward, and Coulomb friction feedforward algorithms, among which the feedforward can effectively decrease the following error. However, in order to handle the disturbances during the movement, a friction compensator, as shown in Fig. 6, is designed. Owing to the shorter servo update period of 408 μs, it is possible that the sign of velocity, actual velocity, and actual position are the three parameters inputted to the modified SFM. The actual velocity can be obtained using a low-pass first order discrete filter (E(1 -z-1) shown in Fig. 5) after obtaining the actual position, in which E(1 -z-1)=Tsw/(1 +z-1+Tsw), Ts represents the servo update time of the system and w represents the cutoff frequency. Compared with inputting the command velocity and command position, this method can significantly improve the dynamic tracking error. The value of friction compensation is added to Vout; hence the data compensating port closely corresponds to the data gathering port, avoiding the noise introduced by the environment and motor.

Fig. 5 Servo control algorithm of the system
Fig. 6 Friction compensator design
5 Simulation of DOB compensator and friction compensator

Pulse signals are used as the input and output signals in the system, and the system modeling involves the conversion from pulse to position, velocity, and acceleration. The conversion equation used for the servo loop modeling is Eq. (14), where Dvel represents the command velocity, Dacel the command acceleration, Avel the actual velocity, F error the following error, Pos the command position, n the servo period, and Kaff, Kvff, Kfff, Kp, Ki, and Kd the acceleration feedforward, velocity feedforward, friction feedforward, and the PID values, respectively.

(14)

The parameters of the motor and control algorithm are listed in Table 3. Load mass (representing the end load driven by the linear motor), pole pitch, viscous coefficient, phase inductance, thrust factor, peak circuit, and phase resistance are the motor parameters used in the motor simulation, whereas Kaff, Kvff, Kfff, Kp, Ki, and Kd are welladjusted controller parameters used in the simulation.

Table 3 Motor and servo loop parameter

To a large extent, the positioning accuracy depends on the accuracy of velocity tracking. Therefore, the velocity loop is simulated in this sector instead. In the simulation system, the input of velocity loop is a step signal of 9 mm/ s. The simulation results with and without adding the friction disturbance at 200 ms are shown in Fig. 7, in which the friction disturbance is a step signal with a value of 20 N provided by the linear motor specification and its step time is 200 ms. The velocity drops by 9.6% with the friction, which demonstrates that the friction influences the performance of movement. Figure 8 shows the simulation results without compensation, with DOB compensator, and with friction compensator. Compared with non-compensation, the velocity of the DOB compensator increases by 5.19%, and the velocity of the friction compensator increases by 10.66% after a minor drop, as shown in the zoomed-in area with a red circle. Consequently, the proposed friction compensator achieves a better performance.

Fig. 7 Velocity response comparison curve
Fig. 8 Comparison curves of two compensators
6 Experiment results

By measuring the positioning error during the linear motions along the y-axis from -250 mm to 150 mm for different velocities from 0.1 m/s to 0.5 m/s, the errorvelocity curve obtained is shown in Fig. 9. It can be observed from the curve that the positioning error varies with the change of velocity. The main disturbance closely related to velocity is the friction along the movement. Thus, it can be concluded that the friction has a considerable influence on the positioning error. Accordingly, modeling and compensation of the friction are necessary to improve the platform performance.

Fig. 9 Relationship between positioning error and velocity along y-axis

The PMAC provides an open servo algorithm for users, and this function can be realized in two languages—assembly language and programmable logic controller (PLC). In the experiment, since PLC0 has the highest interruption priority compared to the others, the compensation program can be written to PLC0 and visited every three servo cycles. Hence the compensation value can be updated dynamically in order to realize real-time friction compensation.

The worktable performs a linear move from 0 to 50 mm at lower speed and higher speed, respectively. The following errors are selected when the motor steps into a steady state move. At the speed of 0.005 m/s (as shown in Fig. 10), the following errors with the Coulomb friction compensation, traditional SFM compensation, and modified SFM compensation are 10.683 μm, 5.886 μm, and 3.454 μm, respectively, indicating that the following error of the modified SFM decreased by 67.67% compared with the Coulomb friction compensation. Furthermore, at the speed of 0.05 m/s (as shown in Fig. 11), the following errors with the Coulomb friction compensation, traditional SFM compensation, and modified SFM compensation are 7.803 μm, 6.211 μm, and 3.774 μm, respectively, indicating that the following error of the modified SFM decreased by 51.63% compared with the Coulomb friction compensation. The jitter of the tracking errors results from the system performance with higher rigidity and lower damping. Thus, it can be concluded that the modified SFM based compensator improves the dynamic properties significantly.

Fig. 10 Comparison curves at a speed of 0.005 m/s
Fig. 11 Comparison curves at a speed of 0.05 m/s

The worktable performs a cosine move at the speed of 0.01 m/s with an acceleration time of 500 ms from -50 mm to 50 mm along the y-axis, and its motion expression is . The actual cosine trajectory curve is shown in Fig. 12. During the movement, the following errors with the modified SFM compensation and the Coulomb friction compensation are compared in Fig. 13. It can be concluded from the curve that under the circumstance of each velocity reversal, the compensation effect is not significant, whereas the following error can be decreased from approximately 10 μm to 3 μm by applying the modified SFM compensation after a period of velocity reversals.

Fig. 12 Trajectory curve of cosine motion
Fig. 13Comparison curves of following error for a cosine move
7 Conclusions

In this paper, a modified SFM and a parameter optimization algorithm—RA are proposed, and a friction compensator is designed based on them. The inputs are the sign of velocity, actual velocity, and actual position, whereas the output value is a deviation that represents the friction and can be computed online. The simulation results in the velocity loop demonstrate that the friction compensator performs better than the DOB compensator owing to the velocity recovery of 10.66%. The experimental results show that the following error improves by 67.67% and 51.63% at lower and higher velocities, respectively. This improvement of following error is attributed to the high correspondence between friction data gathering and compensating, as well as the online computation of friction. Therefore, this method can be applied in the trajectory tracking movement with a rigid demand for tracking accuracy. However, the proposed modified SFM has a limitation in terms of velocity reversals. Further studies are being conducted to handle the pre-sliding problem, thus improving the tracking accuracy in the entire motion process.

Acknowledgements Funding was provided by Shanghai Municipal Natural Science Foundation (Grant No. 13ZR1415800), National Natural Science Foundation of China (Grant No. 61573238), Innovation Program of Shanghai Municipal Education Commission of China (Grant No. 14YZ008), Jiangsu Key Laboratory for Advanced Robotics Technology Foundation (Grant No. JAR201304).
References
1. Chen MY, Lu JS(2014)High-precision motion control for a linear permanent magnet iron core synchronous motor drive in position platform.IEEE Trans Ind Inform 10(1), 99-108 doi:10.1109/TII.2013.2247044
2. Yao WH, Tung PC, Fuh CC, et al(2011)A robust uncertainty controller with system delay compensation for an ILPMSM system with unknown system parameters.IEEE Trans Ind Electron 58(10), 4727-4735 doi:10.1109/TIE.2011.2107711
3. Wu Y, Jiang H, Zou M(2012)The research on fuzzy PID control of the permanent magnet linear synchronous motor.Phys Procedia 24, 1311-1318 doi:10.1016/j.phpro.2012.02.196
4. Ruderman M, Iwasaki M(2015)Observer of nonlinear friction dynamics for motion control.IEEE Trans Ind Electron 62(9), 5941-5949 doi:10.1109/TIE.2015.2435002
5. Yan M, Huang K, Shiu Y, et al(2007)Disturbance observer and adaptive controller design for a linear-motor-driven table system.Int J Adv Manuf Technol 35(3-4), 408-415 doi:10.1007/s00170-007-1173-y
6. Zhang DL, Chen YP, Wu A, et al(2007)Precision motion control of permanent magnet linear motors.Int J Adv Manuf Technol 35(3-4), 301-308 doi:10.1007/s00170-006-0727-8
7. Cho K, Kim J, Choi SB, et al(2015)A high-precision motion control based on a periodic adaptive disturbance observer in a PMLSM.IEEE-ASME Trans Mechatron 20(5), 2158-2171 doi:10.1109/TMECH.2014.2365996
8. Feng B, Zhang D, Yang J, et al(2015)A novel time-varying friction compensation method for servomechanism.Math Probl Eng 1, 1-16
9. Wu W(2011)Disturbance compensation using feedforward and feedback for scanner direct current motor mechanism low speed regulation.J Dyn Syst Meas Control-Trans ASME 137(4), 1614-1619
10. Wang XJ, Wang SP(2012)High performance adaptive control of mechanical servo system with LuGre friction model: identification and compensation.J Dyn Syst Meas Control-Trans ASME 134(1), 011021 doi:10.1115/1.4004785
11. Shen JC, Lu QZ, Wu CH, et al(2014)Sliding-mode tracking control with DNLRX model-based friction compensation for the precision stage.IEEE-ASME Trans Mechatron 19(2), 788-797 doi:10.1109/TMECH.2013.2260762
12. Kim J, Cho K, Jung H et al (2014) A novel method on disturbance analysis and feed-forward compensation in permanent magnet linear motor system. In: International conference on intelligent system, pp 394-399
13. Villegas FJ, Hecker L, Peña ME, et al(2014)Modeling of a linear motor feed drive including pre-rolling friction and aperiodic cogging and ripple.Int J Adv Manuf Technol 73(1), 267-277
14. Tan WB, Li XW, Xiang HB, et al(2011)Parameter identification of LuGre model based on analysis of steady state error.Opt Precis Eng 3, 664-671
15. Li YX, Meng HR, Zhang B, et al(2015)Stribeck friction measure system of servo table based on Labview.Chin J Liq Cryst Disp 30(1), 180-185 doi:10.3788/YJYXS
16. Chen Q, Tao L, Nan Y, et al(2015)Adaptive nonlinear sliding mode control of mechanical servo system with LuGre friction compensation.J Dyn Syst Meas Control 138(2), 021003 doi:10.1115/1.4032068
17. Yeh S, Su H(2011)Development of friction identification methods for feed drives of CNC machine tools.Int J Adv Manuf Technol 52(1-4), 263-278 doi:10.1007/s00170-010-2720-5
18. Harman JJ, Kaufman MR, Shrestha DK(2014)Compensation and estimation of friction by using on-line input estimation algorithm.J Tribol 136(2), 325
19. Piatkowski T(2014)Dahl and LuGre dynamic friction models— the analysis of selected properties.Mech Mach Theory 73, 91-100 doi:10.1016/j.mechmachtheory.2013.10.009
20. Lin CJ, Yau HT, Tian YC(2013)Identification and compensation of nonlinear friction characteristics and precision control for a linear motor stage.IEEE-ASME Trans Mechatron 18(4), 1385-1396 doi:10.1109/TMECH.2012.2202679
21. Kabziński J, Jastrzębski M (2014) Practical implementation of adaptive friction compensation based on partially identified LuGre model. In: the 19th international conference on methods and models in automation and robotics (MMAR), pp 699-704
22. Wang XJ, Wang SP(2015)Output torque tracking control of direct-drive rotary torque motor with dynamic friction compensation.J Frankl Inst 352(11), 5361-5379 doi:10.1016/j.jfranklin.2015.08.021