Proceedings of the World Congress on Engineering 2011 Vol III WCE 2011, July 6 - 8, 2011, London, U.K.
Design of a Switching PID Controller for a Magnetically Actuated Mass Spring Damper
Shabnam Armaghan, Arefeh Moridi and Ali Khaki Sedigh
Abstract— In this paper the use of proportional-integral- II. SYSTEM DESCRIPTION derivative (PID) switching controllers is proposed for the The considered mechanical system is composed of two control of a magnetically actuated mass-spring-damper system subsystems which are masses M1 and M2 connected by two which is composed of two masses M1 and M2; each mass is jointed to its own spring. Two different modes occur during the springs with stiffness k1 and k2 respectively. The schematics system motion; a PID controller is designed for each mode and of the system is shown in Figure 1. Mass M1 is pulled by a a switching logic is applied in order to recognize the system's force F which actuates the system and is given by [4]: position to switch to the proper controller. Finally, simulation 2 results are employed to show the performance of the proposed ki F = a (1) switched PID controller. Also, comparison results with the ()xk+ 2 previously used model predictive controller (MPC) are b provided. where x = xxeq11− is the distance between the active
Index Terms—Hybrid systems, MPC, PID control, switched mass and the actuator, kkab, are constant parameters and systems is the current that passes through the coil. The main aim is i to make the position of mass M1 (x1) track as fast as possible an external reference with a small control effort. Note that I. INTRODUCTION the position and velocity of mass M2 are not controllable. YNAMICAL systems introduced by interaction Dbetween continuous and discrete dynamics, namely the hybrid systems, are widely used in many industrial plants [1]. Hence, hybrid control has received considerable attention during the past two decade, and the class of switching systems are specifically employed in many industrial applications [2]. A switched system consists of several subsystems and a switching law that selects the proper subsystem. Previous research [3] showed that MPC can be applied to the recently proposed mechanical plant. Design and implementation of MPC can be complex and time consuming. These complications motivated the present research to design a conventional PID controller for the plant. In this paper, a switching PID controller algorithm is Fig. 1. Mass spring damper system schematics [3]. applied to the proposed mechanical plant in [4], which is a difficult control benchmark. In conclusion, the system is defined by the following The paper starts by briefly describing the mechanical differential equations: system in section II. The PID controller and its integrator wind up are considered in section III. In section IV, the 1 1 1 1 1 1 1 switching strategy and the proposed switching scheme are 1 briefly discussed and also simulation results are provided to show the effectiveness of the proposed algorithm. 1 Conclusions are given in section V. 2 2 2 2 2 2 2 2
Manuscript received March 5, 2011. A. Khaki Sedigh is Professor at the School of Electrical Engineering, K. where k1 and k2 are spring stiffness, b1 and b2 are friction N. Toosi University of Technology, Shariati Avenue, Tehran, Iran, coefficient of dampers. For modeling the multibody (corresponding author. phone: +98-21-84062317; e-mail: automotive mechatronic actuator, hybrid dynamical systems, [email protected]). are used. Here we consider two operating modes: Sh. Armaghan is MSc Student in the School of Electronical Educations of Shiraz University, Zand St, Shiraz, Iran, (email:[email protected]). • M1 and M2 are detached, M1 moves freely and M2 is at A. Moridi is MSc Student in the School of Electronical Educations of the stop point (x2=0). This mode is described by the Shiraz University, Zand St, Shiraz, Iran, (email:[email protected]). following equations:
ISBN: 978-988-19251-5-2 WCE 2011 ISSN: 2078-0958 (Print); ISSN: 2078-0966 (Online) Proceedings of the World Congress on Engineering 2011 Vol III WCE 2011, July 6 - 8, 2011, London, U.K.
1 Integral action in a PID controller is an unstable mode and 1 1 1 1 1 1 therefore drifts to very large values. 1 This is the integrator windup and to overcome it, we require that the error has opposite sign as long as the system 2 0, 2 0. 3 recovers. Hence, the anti wind up PID controllers are used • M1 and M2 move together. The system equations become: 1 [7]. Figure 2 depicts a block diagram of a PID controller 1 1 1 1 2 1 2 with anti-windup. 1 2 1 2 1