Microsoft Word - modified 79-3 pagee1-14.doc IIUM Engineering Journal, Vol. 5, No. 2, 2004 Wahyudi et al. 1 ANTI-WINDUP SCHEME FOR PRACTICAL CONTROL OF POSITIONING SYSTEMS WAHYUDI, TARIG FAISAL AND ABDULGANI ALBAGUL Department of Mechatronics Engineering, International Islamic University, Malaysia, Jalan Gombak, 53100 Kuala Lumpur, Malaysia e-mail: wahyudi@iiu.edu.my, tarig_2@hotmail.com, albagul@iiu.edu.my Abstract: Positioning systems generally need a good controller to achieve high accuracy, fast response and robustness. In addition, ease of controller design and simplicity of controller structure are very important for practical application. For satisfying these requirements, nominal characteristic trajectory following controller (NCTF) has been proposed as a practical point-to-point (PTP) positioning control. However, the effect of actuator saturation can not be completely compensated for due to the integrator windup as the plant parameters vary. This paper presents a method to improve the NCTF controller for overcoming the problem of integrator windup using simple and classical tracking anti-windup scheme. The improved NCTF controller is evaluated through simulation using a rotary positioning system. The results show that the improved NCTF controller is adequate to compensate for the effect of integrator windup. Keywords: Positioning, point-to-point, integrator windup, compensation, controller, robustness. 1. Introduction Motion control systems play important roles in industrial process such as machine tools, semiconductor manufacturing systems and robotic systems. One type of motion control systems is the point-to-point (PTP) positioning system, which is used to move a plant from one point to another. The positioning systems generally need a good controller to satisfy some stringent requirements such as high accuracy, fast response and robustness. Up to now many types of controllers have been proposed and evaluated for positioning systems; for example the model following type controller such as controllers with disturbance observer [1-4], time-optimal controllers [5-8] and sliding mode controllers [9,10]. These controllers would give good positioning performance in cases an expert in motion control system designs the controller using the exact model and value of its parameters. In general, advanced controllers tend to be complicated and require deep knowledge of controller theory. However, in practical applications, engineers who are not expert in control system often need to design controller. In addition, exact modeling and parameter identifications are generally troublesome and time consuming tasks. Hence,  Correspondence author IIUM Engineering Journal, Vol. 5, No. 2, 2004 Wahyudi et al. 2 ease of controller design and simplicity of controller structure are very important in practical application. In order to overcome these problems, nominal characteristic trajectory following (NCTF) controller has been proposed as a practical controller for point-to-point (PTP) positioning systems [11]. It has been shown that, the NCTF control system has a good positioning performance and robustness [12, 13]. The NCTF controller is also effective in compensating the effect of the friction which is a source of positioning inaccuracy [14]. However, the effect of actuator saturation can not be completely compensated for due to integrator windup as a result of the variation of the plant parameters [15]. The NCTF controller gives an excessive overshoot when both actuator saturation and parameter variations (especially inertia variation) occur in the positioning systems. This paper describes a method to improve the NCTF controller for overcoming the degradation of the positioning performance due to the integrator windup. First, NCTF control concept and its controller design procedure are introduced. Then, an improved compensator for overcoming the integrator windup is described. Finally, the effectiveness of the improved NCTF controller is examined by simulation. 2. NCTF control concepts The structure of the NCTF control system is shown in Fig. 1. The NCTF controller consists of a nominal characteristic trajectory (NCT) and a compensator. The NCTF controller works under the following two assumptions: A DC or an AC servomotor is used as an actuator of the plant. PTP positioning systems are chosen, so r is constant and 0 r . Here, the objective of the NCTF controller is to make the plant motion follows the NCT and end at the origin of the phase plane ( , e e ). Figure 2 shows an example of a plant motion controlled by the NCTF controller. The motion comprises two phases. The first one is the reaching phase whilst the other one is the following phase. In the reaching phase, the compensator forces the plant motion to reach the NCT as fast as possible. However, in the following phase the compensator controls the plant motion so as to follow the NCT and end at the origin. The plant motion stops at the origin, which represents the end of the positioning motion. Thus, in the NCTF control system, the NCT governs the positioning response performance. The NCTF controller is designed based on a simple open-loop experiment of the plant as follows: Open-loop-drive the plant with stepwise inputs and measure the displacement and velocity responses of the plant. IIUM Engineering Journal, Vol. 5, No. 2, 2004 Wahyudi et al. 3 Plant + - Compensatore up e Nominal characteristic e  )e,e(P  dt d Controller O trajectory (NCT) r upu Fig. 1: NCTF control system. Plant motion NCT O RP : Reaching phase FP : Following phase FP RPe Error e E rr or ra te Fig. 2: NCT and plant motion. Figure 3(a) shows the stepwise inputs, and the velocity and displacement responses due to the stepwise inputs. In this paper, the rated input to the actuator ur is used as the height of the stepwise inputs. Construct the NCT by using the plant responses. The velocity and displacement responses are used to determine the NCT. Since the main objective of PTP system is to stop the plant at a certain position, a deceleration process is used, see curve A, Fig. 3(a). The h in Fig. 3 represents the maximum velocity. From the curve in the area A and h in Fig. 3(a), the NCT in Fig. 3(b) is determined. Since the NCT is constructed based on the actual responses of the plant, the NCT includes nonlinearity effects such as friction and saturation. The important NCT information, which will be used to design the compensator, are NCT inclination m near the origin and maximum error rate of h. In this case, from the relationship between plant dynamics of Eq. (1) and Fig. 3(b), it is clear that the inclination near origin m and the maximum error rate h relate with parameters of the plant as follows [12,15]: IIUM Engineering Journal, Vol. 5, No. 2, 2004 Wahyudi et al. 4   r h K u (1)   m (2) Design the compensator based on the NCT information. u r h h (b) Nominal characteristics trajectory (NCT) AA Input Velocity Displacement In pu t, D is pl ac em en t,V el oc ity Time h O Error e e E rr or r at e A A (a) Stepwise inputs and responses h m Fig. 3: NCT determination. Here, the following PI compensator is adopted due to its simplicity:   p p i pu K u K u dt (3) where Kp and Ki are proportional and integral gains respectively. Using the PI compensator parameters Kp and Ki, and the NCT characteristic near the origin (see Fig. 3(b)), the transfer function of the closed-loop positioning system controlled by the NCTF controller can be approximated as follows [11-15]: 1 2 ( ) ( ) ( ) ( ) ( )    r s G s G s G s s (4) where IIUM Engineering Journal, Vol. 5, No. 2, 2004 Wahyudi et al. 5 1( )     G s s (5a) 2 2 2 2 2 ( ) 2         n n n n G s s (5b) 2   npK K (5c) 2   niK K (5d) When  and n are large enough, G(s) becomes nearly equal to G1(s), which represent the condition when the plant motion follows the NCT as the objective of the NCTF control system. Moreover, large  and n also make the closed-loop system robust to friction or inertia variation of the plant in continuous systems [9]. Finally, by using  and n as design parameters and considering Eqs. (2) and (3), the PI compensator parameters are designed as follows: 2  n rp u K mh (6) 2  n ri u K mh (7) Here, n and  are design parameters which should be decided by the designer. Generally speaking, a higher  and a larger  are preferable in the design of PI compensator parameters. However digital implementation of the NCTF controller limits the design parameters to maintain the closed-loop stability. Detailed discussion on the theoretical background of the NCTF control system can be seen in [12, 15]. Due to the fact that the NCT and the compensator are constructed from a simple open- loop experiment of the plant, the exact model including the friction characteristic and the identification task of the plant parameters are not required to design the NCTF controller. Therefore, the controller design is simple and easy to implement in practical situation. 3. Compensator improvement Since the NCTF controller uses PI compensator to force plant motion so that it follows the NCT, the integrator windup up may occur in connection with large position reference. As discussed in [15], in the case of no parameter variations, there is no significant integrator windup due to the effect of the saturation. The effect of the saturation is successfully compensated for using NCTF controller. However, the integrator windup becomes a problem when the parameters vary [15]. IIUM Engineering Journal, Vol. 5, No. 2, 2004 Wahyudi et al. 6 To overcome the problem of integrator windup, the PI compensator is improved by adopting an anti-windup scheme. Hence an anti-windup PI compensator is proposed to be used instead of a pure PI compensator. Here, a simple and classical tracking anti-windup is used [16]. The structure of the anti-windup PI compensator is illustrated in Fig. 4(a), where KT is called the tracking gain. Based on Fig. 4(a), once PI compensator output U(s) exceeds the actuator limits, a feedback signal is generated from the difference of the saturated and the unsaturated signals. This signal is used to reduce the integrator input. Mathematically, the output of the anti-windup PI compensator is      ( )         i T p p s K K U s K U s U s U s s s (8) where Kp and Ki are proportional and integral gains obtained from section II. Kp Ki KT Up(s) Us(s) + - + - KT U(s) - (a) Standard structure of anti-windup PI compensator (b) Alternative structure of anti-windup PI compensator um -um + + U(s) s 1 Kp Ki Up(s) + - + + s 1 Fig. 4: Proposed anti-windup PI compensator. The anti-windup PI compensator, shown in Fig. 4(a), may be replaced by the structure shown in Fig. 4(b) where the unsaturated signal is used as input to the dead zone so that the feedback signal is generated. The dead zone range from –um to um represents the linear range of the actuator. Furthermore, the dead zone gain b relates with integral gain Ki and tracking gain KT as follows: IIUM Engineering Journal, Vol. 5, No. 2, 2004 Wahyudi et al. 7  T i K b K (9) A rule of thumb for the setting of KT is often KT = Ki which corresponds to b = 1, but a higher values may give a further improvement in performance [16]. 4. Results 4.1 System description The NCTF controller with anti-windup PI compensator is examined using a dynamic model of the experimental rotary positioning system as shown in Fig. 5. The positioning system consists of an AC servomotor, a driver and an inertia mass (spindle). For examining the positioning performance, the detailed model of Fig. 6 is used. Its parameters are shown in Table I. The positioning performance is examined under two conditions namely Normal Plant and Increased Inertia Plant. Normal Plant has the nominal plant parameters described in Table 1, while Increased Inertia Plant has about 10 times spindle inertia than that of Normal Plant. Fig. 5: Experimental rotary positioning system. CJs 1 RLs 1  s 1 - + sU Velocity controller Current controller Friction model vK bK tKspK s K K cicp  )(s)(s+ + + + - - Fig. 6: Detailed model of rotary positioning system. IIUM Engineering Journal, Vol. 5, No. 2, 2004 Wahyudi et al. 8 Table I: Parameters of the Plant. Parameter Value Inertia load, J 1.17 x 10-3 kgm2 Motor resistance, R 1.2  Motor inductance, L 8.7 mH Motor torque constant, Kt 0.57 Nm/A Back-Emf constant, Kb 0.57 Vs/rad Viscous friction, C 1.67 x 10-3 Nms/rad Frictional torque, f 0.215 Nm Proportional current gain, Kcp 26.2 V/A Integral current gain, Kci 3.62 x 103 V/As Proportional velocity gain, Ksp 8.60 x 10-2 As/rad Input voltage range, ur  6 Volt 4.2 Controllers Design First, the NCTF controller is designed based on the Normal Plant. Figure 7 shows the NCT as a result of a simulated experiment. According to Fig. 7, the inclination m and maximum error rate of h of the NCT are 67.4 rad and 240 rad/s respectively. The compensator parameters are designed by using h and m of the NCT. For designing the PI compensator, design parameters  and n are chosen as 13 and 29 rad/s respectively [15]. Table II shows the value of the compensator parameters calculated with (2). -15 -10 -5 0 5 10 15 -200 -100 0 100 200 m = -67.4 h = -240 E rr or r at e ra d/ s Error rad Fig. 7: Nominal characteristic trajectory (NCT). The performance of the positioning system controlled by NCTF controller is compared with that controlled by PID controller. The PID controller is designed so that it has a similar bandwidth with the NCTF control system [15]. In this paper, the PID controller IIUM Engineering Journal, Vol. 5, No. 2, 2004 Wahyudi et al. 9 tuned with Ziegler-Nichols rule is not discussed again since it gives a bad robustness to parameter variations [15]. The PID controller parameters are also shown in Table II. 4.3 The effect of the tracking gain KT on positioning performance The crucial problem for anti-windup PI compensator is the value of the tracking gain KT. Although it is stated that a rule of thumb for the setting of KT is often KT = Ki which corresponds to b = 1, but a higher value may give a further improvement in performance [16]. Therefore, in order to find the appropriate value of KT, a simulation study has been carried out for different values of b which represent the ratio between tracking gain KT and integral gain Ki. Simulations have been done based on Increased Inertia Plant and large step input references (i.e. 5 rad and 10 rad step inputs) so that a saturation can occur. Moreover, the positioning performance is evaluated based upon maximum overshoot and 2 % settling time. Figure 8 shows the effect of the tracking gain KT on the positioning performance. Figure 8(a) clearly shows that the overshoot can be reduced by using anti-windup PI compensator. In addition, a larger gain tracking results in a smaller overshoot. As shown in Fig. 8(b), however, the settling time may become longer when a larger tracking gain KT is used. Therefore, the tracking gain should be decided based on the compromise between the overshoot and settling time. By considering a small enough overshoot and a shortest settling time, the gain ratio b = 12 is selected to set the tracking gain KT. 0 5 10 15 20 25 30 0.0 0.2 0.4 0.6 0.8 1.0  r = 5 rad  r = 10 rad O ve rs ho ot % S et tli ng ti m e s Gain ratio b=K T /K i 0 5 10 15 20 25 30 0 20 40 60  r = 5 rad  r = 10 rad (a) Overshoot (b) Settling time Gain ratio b=K T /K i Fig. 8: Effect of tracking gain on positioning performance. IIUM Engineering Journal, Vol. 5, No. 2, 2004 Wahyudi et al. 10 4.4 Comparison with PID controller In this section, the performance of the positioning system controlled by the NCTF (NCTF-2) controller with anti-windup PI compensator is compared with that of the normal NCTF (NCTF-1) and PID controllers. Figure 9 shows the step responses to 0.5 rad step input when the controllers are used to control Normal Plant. The positioning performance is summarized in Table III. As shown in Fig. 9(b), the 0.5-rad step input does not cause the saturation of the control signal. Here, it is clear that all controllers produce a similar response due to a similar bandwidth. Hence, in terms of overshoot and settling time, all the controllers produce similar performance. 0.0 0.5 1.0 -4 -2 0 2 4 6 8 0.0 0.5 1.0 0.00 0.25 0.50 0.75 (b) Control Signal NCTF NCTF-2 PID C on tro l S ig na l V Time s (a) Step responses to a 0.5-rad step input NCTF-1 NCTF-2 PID D is pl ac em en t r ad Time s Fig. 9: Comparison of response to a 0.5-rad step input, Normal Plant. Moreover, in order to evaluate the robustness of the control systems to inertia variation, all the controllers are implemented on an Increased Inertia Plant. Figure 10 shows the step responses to a 0.5-rad step input when all the controllers are implemented for controlling Increased Inertia Plant. Table III shows the positioning performance resulting from all the controllers. Figure 10 and Table III show that both NCTF controllers are more robust to inertia variation than the PID controller. Both NCTF controllers give similar results since there is no significant saturation of the actuator as shown Fig. 10(b). The result confirms that the use of anti-windup PI compensator does not affect the positioning performance when there is no saturation of the actuator. IIUM Engineering Journal, Vol. 5, No. 2, 2004 Wahyudi et al. 11 0.0 0.5 1.0 -4 -2 0 2 4 6 8 0.0 0.5 1.0 0.00 0.25 0.50 0.75 (b) Control Signal NCTF-1 NCTF-2 PID C on tr ol S ig na l V Time s (a) Step responses to a 0.5-rad step input NCTF-1 NCTF-2 PID D is pl ac em en t r ad Time s Fig. 10 Comparison of response to a 0.5-rad step input, Increased Inertia Plant. Next, simulation is done for a larger step input so that the actuator is saturated. Figure 11 shows the step responses to a 5 rad step input when all the controllers are implemented for controlling Increased Inertia Plant. Table IV shows the positioning performance resulting from all the controllers. The saturation of the actuator occurs as shown in Fig. 11(b). The saturation of the actuator causes an integrator windup when the positioning system is controlled by both NCTF-1 and PID controller. However, Fig. 11(a) and Table IV show that the positioning performance of the positioning system with NCTF-1 is worse than that of PID controller. Hence the NCTF-1 becomes less robust to inertia variation when the saturation occurs in comparison with that with PID controller. On the other hand, NCTF-2 which uses anti-windup PI compensator can successfully compensate the effect of integrator windup due to actuator saturation. As the results show, the improved NCTF controller (NCTF-2) gives a smaller overshoot and a shorter settling time than the other controllers. Hence it can be concluded that the improved NCTF controller which uses anti- windup PI compensator can maintain the robustness to parameter variation even if the actuator of the plant saturates. IIUM Engineering Journal, Vol. 5, No. 2, 2004 Wahyudi et al. 12 0.0 0.5 1.0 -6 -4 -2 0 2 4 6 0.0 0.5 1.0 0.0 2.5 5.0 7.5 (b) Control Signal NCTF-1 NCTF-2 PID C on tr ol S ig na l V Time s (a) Step responses to a 0.5-rad step input NCTF-1 NCTF-2 PID D is pl ac em en t r ad Time s Fig. 11: Comparison of response to a 5-rad step input, Increased Inertia Plant. Furthermore, another simulation is done to compare the improved NCTF controller with anti-windup PID controller. For this purpose, an anti-windup scheme described in section III which is similar to that of NCTF controller is used. Two gain ratios for b are used. The first anti-windup PID controller (PID-1) uses a gain ratio b of 1, in which the gain tracking is equal to integral gain of PID controller. While, the second anti-windup PID controller (PID-2) uses a gain ratio of 12, which is the same as the improve NCTF controller. Figure 12 shows the step responses to a 5-rad step input when all of the controllers are implemented for controlling Increased Inertia Plant. Table IV shows the positioning performance resulting from all of the controllers. Figure12 and Table IV show that although the use of anti-windup PID controllers improves the robustness to inertia variation as compared to the normal PID controller, they are still less robust to inertia variation when compared to the improved NCTF controller. Hence, it can be concluded that the improved NCTF controller is much more robust than anti-windup PID controllers. 5. Conclusions This paper has documented the improvement of the NCTF controller for overcoming the effect of windup due to actuator saturation. An anti-windup PI compensator is used as compensator of the NCTF controller instead of a conventional PI compensator. Through simulation, using rotary positioning system, the effectiveness of the NCTF controller with IIUM Engineering Journal, Vol. 5, No. 2, 2004 Wahyudi et al. 13 anti-windup PI compensator is evaluated. The results confirm that the use of anti-windup PI compensator is effective in overcoming the problem that arises from the integrator windup. Moreover, the obtained results also show that the NCTF control system with anti- windup PI compensator is much more robust to inertia variation than that of conventional PI compensator and the PID controllers. 0.0 0.5 1.0 -6 -4 -2 0 2 4 6 0.0 0.5 1.0 0.0 2.5 5.0 7.5 (b) Control Signal PID-1 NCTF-2 PID-2 C on tro l S ig na l V Time s (a) Step responses to a 0.5-rad step input PID-1 NCTF-2 PID-2 D is pl ac em en t r ad Time s Fig. 12: Comparison of response to a 5-rad step input, Increased Inertia Plant. References [1] K. Umeno, T. Kanoko and Y. Hori, "Robust Servosystem Design with Two Degree of Freedom and Its applications to Novel Motion Control of Robot Manipulators", IEEE Trans. on Industrial Electronics, 40 (5), pp. 473-485, 1993. [2] S. Endo, H. Kobayashi, C.J. Kempf, S. Kobayashi, M. Tomizuka and Y. Hori, “Robust Digital Tracking Controller Design for High-speed Positioning systems”, Control Engineering Practice, 4(4), pp. 527-536, 1996. IIUM Engineering Journal, Vol. 5, No. 2, 2004 Wahyudi et al. 14 [3] M. Tomizuka, “Robust Digital Motion Controllers for Mechanical Systems”, Robotics and Autonomous Systems, 19, pp. 143-149, 1996. [4] C. Kempf and S. Kobayashi, “Disturbance Observer and Feedforward Design for a High- speed Direct-drive Positioning Table”, IEEE Trans. on Control Systems Technology, 7(5), pp. 513-526, 1999. [5] S. Wu and J. Fu, “Time-optimal Control of Servo Systems using PD Algorithms”, JSME International Journal: Series C, 41(3), pp. 384-390, 1998. [6] M.H. Park and C.Y. Won, “Time Optimal Control for Induction Motor Servo System”, IEEE Trans. on Power Electronics, 6(3), pp. 514-524, 1991. [7] M.L. Workman, R.L. Kosut and G.F. Franklin, “Adaptive Proximate Time-optimal Servomechanisms: Continuous Time Case”, Proceedings of the American Control Conference, Minneapolis, USA, pp. 589-594, 1987. [8] C.J. Kempf, “Step and Settle Positioning Algorithm for Electro-mechanical System with Damping”, Proceedings of the 4th International Workshop on Advanced Motion Control, Tsukuba, Japan , pp. 47-52, 1996. [9] S. Sankaranarayanan and F. Khorrami, “Adaptive Variable Structure Control and Applications to Friction Compensations”, Proceedings of the 36th IEEE Conference on Decision & Control, San Diego, USA , pp. 4159-4164, 1997. [10] Y. Fujimoto and A. Kawamura, “Robust Servo-system Based on Two-degree-of-freedom Control with Sliding Mode”, IEEE Trans. on Industrial Electronics 42(3), pp. 272-280, 1995. [11] Wahyudi, “New Practical Control of PTP Positioning Systems”, Ph.D Thesis, Tokyo Institute of Technology, 2002. [12] Wahyudi, K. Sato and A. Shimokohbe, "Robustness Evaluation of New Practical Control Method for PTP Positioning Systems", Proceeding of 2001 IEEE/ASME International Conference on Advanced Intelligent Mechatronics, pp. 843-848, 2001. [13] Wahyudi, K. Sato and A. Shimokohbe, "New Practical Control Method for PTP Positioning Systems: Robustness Evaluation", Proceeding of 10th International Conference on Precision Engineering, pp. 774-778, 2001. [14] Wahyudi, “Robustness Evaluation of Two Control Methods for Friction Compensation of PTP Positioning Systems”, Proceeding of 2003 IEEE Conference on Control Applications, pp. 1454-1458, 2003. [15] Wahyudi, K. Sato and A. Shimokohbe, “Characteristics of Practical Control for Point-to- point (PTP) Positioning Systems: -Effect of design parameters and actuator saturation on positioning performance”, Precision Engineering, Vol. 27, pp. 157-169, 2003. [16] C. Bohn and D.P. Atherton, “A SIMULINK Package for Comparative Studies of PID Anti- windup Strategies”, Proceeding of IEEE/IFAC Joint Symposium on Computer-Aided Control System Design, pp. 447-452, 1994. BIOGRAPHIES Wahyudi was born in Indonesia in July 1970. He received his B.Eng and MSc degrees in mechanical engineering from Institute of technology Bandung, Indonesia in 1994 and 1997 , respectively and his Ph.D. in precision machinery systems from Tokyo Institute of Technology, Tokyo, Japan, in 2002. He is currently an assistant professor at the Mechatronics Engineering Department, International Islamic University Malaysia. His IIUM Engineering Journal, Vol. 5, No. 2, 2004 Wahyudi et al. 15 research fields are motion control, Mechatronics and intelligent systems. Dr. Wahyudi is a member of IEEE. Tarig Faisal was born in Khartoum, Sudan 1978. He received his B.Sc. degree in Electronic Engineering from the University of Jazeera in 2001. He joined Nor Al Eyon company as a control engineer in 2001. Currently, he is a master student at Mechatronics Engineering Department, International Islamic University Malaysia. His primary research interests are design, analysis and performance evaluation of intelligent as well as industrial control systems. Abdulgani Albagul received his B.Sc. degree in electronic engineering from the higher institute of electronics in Baniwalid, Libya in 1989, MSc, in control engineering from university of Bradford in 1993 and Ph.D. in engineering from University of Newcastle upon Tyne in 2001. He is currently an assistant professor at the Department of Mechatronics Engineering, Faculty of Engineering at the International Islamic University Malaysia. His research interests are control systems, system dynamics and modeling, smart sensor and instrumentation, robotics and automation. He is a member of IEEE and he has several publications.