Electrical Engineering (EE) Exam  >  Electrical Engineering (EE) Notes  >  Control Systems  >  State and Output Feedback - Control Systems - Electrical Engineering (EE)

State and Output Feedback - Control Systems - Electrical Engineering (EE)

Introduction

This chapter explains how to control systems using feedback in a simple way, focusing on systems that follow straight-line rules and have one control knob. Feedback lets us tweak the system’s behavior by setting certain key values (eigenvalues) wherever we want. The “state” is just a set of clues that helps us guess what the system will do next. If we can’t directly see the state, we can build a tool called an observer to figure it out using what we know about the system and its inputs and outputs. The controller we end up with matches the system’s complexity and has a built-in version of the system itself. Even though we focus on basic systems here, the same ideas work for more complicated ones with lots of controls and results.

Introduction

Reachability

We begin by disregarding the output measurements and focus on the evolution of the state which is given by

(5.1)(5.1)

where x ∈ R.^n , u ∈ R, A is an n × n matrix and B an n × 1 matrix. A fundamental question is if it is possible to find control signals so that any point in the state space can be reached.

First observe that possible equilibria for constant controls are given by

ReachabilityThis means that possible equilibria lies in a one (or possibly higher) dimensional subspace. If the matrix A is invertible this subspace is spanned by A^−1B.

Even if possible equilibria lie in a one dimensional subspace it may still be possible to reach all points in the state space transiently. To explore this we will first give a heuristic argument based on formal calculations with impulse functions. When the initial state is zero the response of the state to a unit step in the input is given by

(5.2)(5.2)

The derivative of a unit step function is the impulse function δ(t), which may be regarded as a function which is zero everywhere except at the origin and with the property that

ReachabilityThe response of the system to a impulse function is thus the derivative of (5.2)

Reachability

Similarly we find that the response to the derivative of a impulse function is

ReachabilityThe input

Reachabilitythus gives the state

ReachabilityHence, right after the initial time t = 0, denoted t = 0+, we have

ReachabilityThe right hand is a linear combination of the columns of the matrix

(5.3)(5.3)To reach an arbitrary point in the state space we thus require that there are n linear independent columns of the matrix Wc. The matrix is called the reachability matrix.

An input consisting of a sum of impulse functions and their derivatives is a very violent signal. To see that an arbitrary point can be reached with smoother signals we can also argue as follow. Assuming that the initial condition is zero, the state of a linear system is given by

ReachabilityIt follows from the theory of matrix functions that


Reachability

and we find that 

Reachability

Again we observe that the right hand side is a linear combination of the columns of the reachability matrix Wr given by (5.3).

We illustrate by two examples.

Example 5.1 (Reachability of the Inverted Pendulum). Consider the inverted pendulum example introduced in Example 3.5. The nonlinear equations of motion are given in equation (3.5)

We illustrate by two examples.Linearizing this system about x = 0, the linearized model becomes

(5.4)(5.4)

The dynamics matrix and the control matrix are


We illustrate by two examples.The reachability matrix is
(5.5)(5.5)This matrix has full rank and we can conclude that the system is reachable. This implies that we can move the system from any initial state to any final state and, in particular, that we can always find an input to bring the system from an initial state to the equilibrium.

Example 5.2 (System in Reachable Canonical Form). Next we will consider a system by in reachable canonical form:

We illustrate by two examples.To show that Wr is full rank, we show that the inverse of the reachability matrix exists and is given by

(5.6)(5.6)To show this we consider the product

We illustrate by two examples.where

We illustrate by two examples.

We illustrate by two examples.The vectors wk satisfy the relation

We illustrate by two examples.

and iterating this relation we find that
We illustrate by two examples.which shows that the matrix (5.6) is indeed the inverse of W˜ r.

MULTIPLE CHOICE QUESTION
Try yourself: What is the purpose of the reachability matrix in control systems?
A

To determine the output measurements.

B

To find control signals to reach any point in the state space.

C

To build an observer for the system.

D

To simplify the dynamics matrix.

Systems That Are Not Reachable

It is useful of have an intuitive understanding of the mechanisms that make a system unreachable. An example of such a system is given in Figure 5.1. The system consists of two identical systems with the same input. The intuition can also be demonstrated analytically. We demonstrate this by a simple example.


Figure 5.1: A non-reachable system.Figure 5.1: A non-reachable system.Example 5.3 (Non-reachable System). Assume that the systems in Figure 5.1 are of first order. The complete system is then described by


Systems That Are Not ReachableThe reachability matrix is

Systems That Are Not Reachable

This matrix is singular and the system is not reachable. One implication of this is that if x1 and x2 start with the same value, it is never possible to find an input which causes them to have different values. Similarly, if they start with different values, no input will be able to drive them both to zero.

Coordinate Changes

It is interesting to investigate how the reachability matrix transforms when the coordinates are changed. Consider the system in (5.1). Assume that the coordinates are changed to z = T x. As shown in the last chapter, that the dynamics matrix and the control matrix for the transformed system are

Coordinate Changes

The reachability matrix for the transformed system then becomes

Coordinate ChangesWe have

Coordinate ChangesCoordinate Changes

The reachability matrix for the transformed system is thus

(5.7)(5.7)This formula is useful for finding the transformation matrix T that converts a system into reachable canonical form (using W˜ r from Example 5.2).

State Feedback

Consider a system described by the linear differential equation

(5.8)(5.8)The output is the variable that we are interested in controlling. To begin with it is assumed that all components of the state vector are measured. Since the state at time t contains all information necessary to predict the future behavior of the system, the most general time invariant control law is function of the state, i.e.

State Feedback

If the feedback is restricted to be a linear, it can be written as

(5.9)(5.9)where r is the reference value. The negative sign is simply a convention to indicate that negative feedback is the normal situation. The closed loop system obtained when the feedback (5.8) is applied to the system (5.9) is given by

(5.10)(5.10)

It will be attempted to determine the feedback gain K so that the closed loop system has the characteristic polynomial

(5.11)(5.11)This control problem is called the eigenvalue assignment problem or the pole placement problem (we will define “poles” more formally in a later chapter).

MULTIPLE CHOICE QUESTION
Try yourself: What is an implication of a singular reachability matrix in a system?
A

The system can be controlled easily.

B

The system is not reachable.

C

The system can change outputs freely.

D

The system has multiple inputs.

Examples

We will start by considering a few examples that give insight into the nature of the problem.

Example 5.4 (The Double Integrator). 

The double integrator is described by

Examples

Introducing the feedback

Examples

the closed loop system becomes

Examples

The closed loop system has the characteristic polynomial

(5.12)(5.12)

Assume it is desired to have a feedback that gives a closed loop system with the characteristic polynomial

Examples

Comparing this with the characteristic polynomial of the closed loop system we find find that the feedback gains should be chosen as

Examples

To have unit steady state gain the parameter Kr must be equal to k1 = ω02 . The control law can thus be written as

Examples

The General Case

To solve the problem in the general case, we simply change coordinates so that the system is in reachable canonical form. Consider the system (5.8). Change the coordinates by a linear transformation
The General Caseso that the transformed system is in reachable canonical form (5.13). For such a system the feedback is given by (5.14) where the coefficients are given by (5.16). Transforming back to the original coordinates gives the feedback

The General CaseIt now remains to find the transformation. To do this we observe that the reachability matrices have the property

The General Case

The transformation matrix is thus given by

(5.18)(5.18)

and the feedback gain can be written as

(5.19)(5.19)

Notice that the matrix W˜ r is given by (5.6). The feedforward gain Kr is given by equation (5.17).

The results obtained can be summarized as follows.

Theorem 5.1 (Pole-placement by State Feedback).
Consider the system given by equation (5.8)

The General Casewith one input and one output. If the system is reachable there exits a feedback


The General Casethat gives a closed loop system with the characteristic polynomial

The General CaseThe feedback gain is given by

The General Case

where ai are the coefficients of the characteristic polynomial of the matrix A and the matrices Wr and W˜ r are given by

The General CaseRemark 5.1 (A mathematical interpretation). Notice that the eigenvalue placement problem can be formulated abstractly as the following algebraic problem. Given an n × n matrix A and an n × 1 matrix B, find a 1 × n matrix K such that the matrix A − BK has prescribed eigenvalues.

Computing the Feedback Gain

We have thus obtained a solution to the problem and the feedback has been described by a closed form solution.

For simple problems it is easy to solve the problem by the following simple procedure: Introduce the elements ki of K as unknown variables. Compute the characteristic polynomial

Computing the Feedback Gain

Equate coefficients of equal powers of s to the coefficients of the desired characteristic polynomial

Computing the Feedback Gain

This gives a set of equations to figure out the values of ki k_i ki, which can always be solved if the system is observable, like in Example 5.4. For bigger systems, equation (5.19) is easier to use and works for calculations, but with really large systems, it’s not as reliable because it involves tricky math with polynomials and big matrix powers. There are better ways to do it numerically, such as using MATLAB’s acker or place tools.

MULTIPLE CHOICE QUESTION
Try yourself: What does the feedback gain depend on in the context of the closed loop system?
A

The output of the system

B

The characteristic polynomial coefficients

C

The input matrix only

D

The transformation matrix

Output Feedback

In this section we will consider the same system as in the previous sections, i.e. the nth order system described by

(5.28)(5.28)where only the output is measured. As before it will be assumed that u and y are scalars. It is also assumed that the system is reachable and observable. In Section 5.3 we had found a feedback

Output Feedback

When all states can be measured, Section 5.4 showed how to build an observer to estimate the state x^\hat{x} x^ using inputs and outputs. Here, we’ll mix these ideas to create a feedback that sets the desired closed-loop eigenvalues for systems where only outputs can be used.

If all states are not measurable, it seems reasonable to try the feedback
(5.29)(5.29)where xˆ is the output of an observer of the state (5.26), i.e.

(5.30)(5.30)Since the system (5.28) and the observer (5.30) both are of order n, the closed loop system is thus of order 2n. The states of the system are x and xˆ. The evolution of the states is described by equations (5.28), (5.29)(5.30). To analyze the closed loop system, the state variable xˆ is replace by

(5.31)(5.31)

Subtraction of (5.28) from (5.28) gives
Output FeedbackIntroducing u from (5.29) into this equation and using (5.31) to eliminate xˆ gives

Output Feedback

The closed loop system is thus governed by

(5.32)(5.32)

Since the matrix on the right-hand side is block diagonal, we find that the characteristic polynomial of the closed loop system is

Output Feedback

This polynomial combines two parts: one from the closed-loop system with state feedback, and one from the observer error. The feedback in (5.29), based on a simple hunch, nicely solves the eigenvalue placement problem, as summarized below.

Theorem 5.3 (Pole placement by output feedback). 

Consider the system:

Output Feedback

The controller described by

Output Feedback

gives a closed loop system with the characteristic polynomial

Output FeedbackThis polynomial can be assigned arbitrary roots if the system is observable and reachable.

Remark 5.5:
It’s a 2n-order polynomial, splitting into two parts—one tied to state feedback (det(sI − A + BK)) and one to the observer (det(sI − A + LC)).

Remark 5.6:
The controller feels intuitive, blending state feedback and an observer, with the feedback gain K calculated as if all states are measurable.

The Internal Model Principle

A block diagram of the controller is shown in Figure 5.4. Notice that the controller contains a dynamical model of the plant. This is called the internal model principle. Notice that the dynamics of the controller is due to the observer. The controller can be viewed as a dynamical system with input y and output u.

(5.33)(5.33)

The controller has the transfer function

(5.34)(5.34)

Figure 5.4: Block diagram of a controller which combines state feedback with an observer.Figure 5.4: Block diagram of a controller which combines state feedback with an observer.

Conclusion

State and output feedback provide a powerful framework for controlling linear systems by shaping their dynamics through eigenvalue placement. State feedback directly uses the system’s state to achieve desired behavior when all variables are measurable, while output feedback, paired with an observer, extends this capability to systems where only outputs are available, ensuring effective control by estimating the state and embedding a model of the system within the controller.

The document State and Output Feedback - Control Systems - Electrical Engineering (EE) is a part of the Electrical Engineering (EE) Course Control Systems.
All you need of Electrical Engineering (EE) at this link: Electrical Engineering (EE)
53 videos|116 docs|40 tests

FAQs on State and Output Feedback - Control Systems - Electrical Engineering (EE)

1. What does it mean for a system to be not reachable in control theory?
Ans.A system is considered not reachable if it is impossible to drive the state of the system to any desired state in a finite amount of time using state feedback. This typically occurs when the controllability matrix is not full rank, indicating that there are states that cannot be influenced by the input.
2. How do coordinate changes affect the reachability of a system?
Ans.Coordinate changes can simplify the analysis of a system's reachability by transforming the state space into a more favorable form. However, if the system was not reachable in its original coordinates, it will still remain not reachable after transformation. The key is to identify whether the transformation preserves the system's controllability properties.
3. What is the significance of computing the feedback gain in control systems?
Ans.Computing the feedback gain is crucial for stabilizing the system and achieving desired performance specifications. The feedback gain determines how the control inputs will influence the state dynamics, allowing engineers to design controllers that meet stability and performance criteria.
4. Can you explain observability and its relation to control systems?
Ans.Observability refers to the ability to infer the internal state of a system based solely on its output measurements. A system is observable if, from the output information over time, one can determine the entire state vector. This property is critical for designing state observers and ensuring that the system can be controlled effectively.
5. What does it mean for a system to be non-observable, and how does this impact control design?
Ans.A non-observable system is one where the internal states cannot be reconstructed from the outputs. This lack of observability complicates control design, as it becomes difficult to implement state feedback or observers. In such cases, alternative strategies must be employed, such as output feedback control, which relies on available measurements rather than full state information.
Related Searches
State and Output Feedback - Control Systems - Electrical Engineering (EE), shortcuts and tricks, State and Output Feedback - Control Systems - Electrical Engineering (EE), Extra Questions, video lectures, Important questions, study material, Free, Exam, ppt, State and Output Feedback - Control Systems - Electrical Engineering (EE), Previous Year Questions with Solutions, mock tests for examination, Semester Notes, practice quizzes, Sample Paper, past year papers, pdf , Viva Questions, MCQs, Summary, Objective type Questions;