VLabs logo

Virtual Labs
IIT Kharagpur

IIT KGP Logo

State Observer and Controller Design for Pendulum on Cart


Introduction:

Linear time invariant system may be represented in state space form by the following equations:
State equation: $$ \dot{x}(t)=A x(t)+B u(t) \tag{1a} $$ Output equation: $$ y(t)= C x(t) u(t) \tag{1b} $$
where, x(t) is state vector, y(t) is output vector, u is input or control vector, A is system matrix, B is input matrix, C is output matrix and D is feed forward matrix.

The controller design for the state variable models involves feeding back all the state variables using appropriate weights to generate the error signal. State feedback allows arbitrary placement of roots of the closed-loop characteristic polynomial. It is more powerful and offers greater flexibility than the output feedback that allows only selective placement of closed-loop roots. State feedback assumes that the complete set of state variables is available for feedback.
The pole placement design refers to the selection of feedback gains for placing the roots of the closed-loop characteristic polynomial at the desired locations in the complex plane. The state feedback controller design refers to the selection of individual feedback gains for the complete set of state variables. It is assumed that all the state variables are available for observation. The design goal is to improve the transient response of the system.
Controller design in state-space involves selection of suitable feedback gain vector (K) that imparts desired stability and performance characteristics to the closed-loop system.


Fig.1. Block diagram of plant with state feedback

In the pole-placement approach to the design of control systems, it is assumed that all state variables are available for feedback. In practice, however, not all state variables are available for feedback, for instance, if the component is in an inaccessible location, or the sensors are expensive. Then it is required to estimate unavailable state variables. Estimation of unavailable state variables is commonly called observation. A device that estimates or observes the state variables is called a state estimator, state observer, or simply an observer. If the state observer observes all state variables of the system, regardless of whether some state variables are available for direct measurement, it is called a full-order state observer.

Fig.2. Block diagram of plant with observer