Technical communiqueRobust compensation of a Cart–Inverted Pendulum system using a periodic controller: Experimental results☆
Introduction
The well known Cart–Inverted Pendulum System (Fig. 1) has one input, the voltage () applied to the motor which provides the force () to the cart, and two sensor outputs, the cart position () and the pendulum angle with respect to the upward vertical (). The standard control problem is to hold the pendulum in the upright position keeping the cart oscillations (about a desired mean position) within the rail limits. Typically this is achieved using an LTI pole placement controller that uses and their derivatives as feedback. Such a design, the paper first observes, has a gain margin (GM) of about 100 with respect to variations in the gain, , associated with input , but if the gain, , associated with feedback only is varied then the GM becomes only 8. (Note that a similar intolerance of differential perturbations in the output channels for a 1 input 2 output system was also observed in Yang and Kabamba (1994).) The explanation, it is next shown, lies in the fact that the loop involving feedback contains a right-half-plane (RHP) zero and a pair of open-loop poles at the origin, and is, therefore, a pathological problem so far as LTI controllers are concerned. (See Doyle, Francis, and Tannenbaum (1992) (ch.6) and Skogestad and Postelthwaite (2005) (ch.5) for discussions on the inability of LTI controllers regarding shifting of zeros leading to problems in compensating unstable plants with RHP zeros.) However, it has been shown first in Lee, Meerkov, and Runolfsson (1987), and later in Das and Dey (2007), that closed-loop, high frequency () periodic compensation may be used to effectively relocate the loop zeros to desired locations leading to improved gain and phase margins. (It may, however, be noted in this context that periodic compensation offers no advantage over LTI ones in respects of disturbance rejection and robustness to unstructured uncertainties, i.e, unmodeled dynamics, Shamma and Dahleh (1991). Also see Bittanti and Colaneri (2009) for a discussion on periodic systems.) Such a periodically compensated system, however, contains frequency oscillations superimposed on its averaged input and output. Now, the controller proposed in Lee et al. (1987) causes (i) the plant output to have oscillations, and (ii) the plant input to have oscillations, where is the relative order of the plant. While the former signifies an unacceptable response, the latter is clearly non-implementable due to actuator limitations. Periodic controllers therefore remained only as theoretical constructs till Das and Dey (2007) proposed a new periodic controller that causes the plant input to have oscillations of only and the plant output of .
This paper obtains a computer based multi-loop controller based on a cascade model of the Cart–Pendulum system. The inner loop uses the feedback and LTI compensation to achieve pole placement. The outer loop uses feedback and a periodic controller based on Das and Dey (2007) to achieve loop-zero placement. This design, moreover, takes into consideration the practical implementation constraints arising out of (i) the resolution of the sensors and the data acquisition system, (ii) the limitation on the upper limit of due to the sampling rate inherent in computer control, (iii) the actuator saturation limit, (iv) the rail limit, and has been implemented to control a physical Cart–Pendulum set-up. The experimental results show a marked improvement in the differential GM, thereby establishing the viability of using such periodic controllers in practical systems.
Section snippets
System model
The behavior of the system of Fig. 1 linearized about the upper equilibrium point is commonly available, e.g. at, http://www.engin.umich.edu/group/ctm/examples/pend/invpen.html and it is routine to show, assuming zero rail and air friction, that where .
The meaning of the different symbols appearing in (1) are given in Table 1, which also contains the numerical values of the parameters of the set-up used, leading to
LTI control
Clearly system (2) is unstable. A state feedback controller using the states is usually used to stabilize the pendulum at the upright position at . Using simulation an acceptable design value for the feedback gain matrix is found to be . In order to implement this controller using a computer in the loop, however, a suitable sampling rate is to be chosen.
Periodic control
As already noted, high frequency periodic control may be used to effectively relocate the loop zeros ensuring at the same time that the oscillations in the output are negligible and the magnitude of the control input remain within permissible limit. Fig. 5 suggests that one may use such periodic feedback in the outer loop to shift the loop zeros to suitable locations, leading to improved gain margin corresponding to variation. Let the gains associated with and in the inner loop of Fig. 5
Conclusion
The periodic controller as suggested in Das and Dey (2007) has to be implemented in software. The sensor resolution should allow a fast enough sampling rate for the computer, a rate that is sufficiently higher compared to the lowest frequency at which the periodic controller (designed assuming ) would work satisfactorily. This paper has shown that such a periodic controller can indeed be implemented and made to cause improved system performance by virtue of its loop-zero placement
References (7)
- et al.
Periodic systems
(2009) - et al.
Periodic compensation of continuous-time plants
IEEE Transactions on Automatic Control
(2007) - et al.
Feedback control theory
(1992)
Cited by (0)
- ☆
This paper was not presented at any IFAC meeting. This paper was recommended for publication in revised form by Associate Editor Mayuresh V. Kothare under the direction of Editor André L. Tits.
- 1
Tel.: +91 3222 283044; fax: +91 3222 282262.