Elsevier

Automatica

Volume 47, Issue 11, November 2011, Pages 2543-2547
Automatica

Technical communique
Robust compensation of a Cart–Inverted Pendulum system using a periodic controller: Experimental results

https://doi.org/10.1016/j.automatica.2011.08.035Get rights and content

Abstract

Based on Das and Dey (2007), this paper designs and implements a periodic controller to achieve, via zero-placement, robustness of a physical Cart–Inverted Pendulum system with respect to differential gain variations in the output sensors. Experimental results that verify the superiority of this controller over linear time-invariant (LTI) ones are also presented.

Introduction

The well known Cart–Inverted Pendulum System (Fig. 1) has one input, the voltage (u) applied to the motor which provides the force (F) to the cart, and two sensor outputs, the cart position (x) 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 x,θ 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, k, associated with input u, but if the gain, Kx, associated with feedback x 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 x 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 O(1) oscillations, and (ii) the plant input to have O(ωr) oscillations, where r 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 O(1) and the plant output of O(1/ωr).

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 x 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 [X(s)θ(s)]=[{(J+ml2)s2mgl}/s2Δ(s)ml/Δ(s)]kU(s) where Δ(s)=s2{(M+m)J+Mml2}(M+m)mgl.

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 [X(

LTI control

Clearly system (2) is unstable. A state feedback controller using the states x,ẋ,θ,θ̇ is usually used to stabilize the pendulum at the upright position at x=0. Using simulation an acceptable design value for the feedback gain matrix is found to be K=[4260125500]. 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 Kx 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)

  • S. Bittanti et al.

    Periodic systems

    (2009)
  • Sarit K. Das et al.

    Periodic compensation of continuous-time plants

    IEEE Transactions on Automatic Control

    (2007)
  • J.C. Doyle et al.

    Feedback control theory

    (1992)
There are more references available in the full text version of this article.

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.

View full text