Electrical Engineering (EE) Exam  >  Electrical Engineering (EE) Notes  >  Lecture 40 - Linear Quadratic Regulator

Lecture 40 - Linear Quadratic Regulator - Electrical Engineering (EE) PDF Download

Lecture 40 - Linear Quadratic Regulator, Control Systems

 

1 Linear Quadratic Regulator 

Consider a linear system modeled by

x(k + 1) = Ax(k) + Bu(k), x(k0) = x0

where x(k) ∈ Rand u(k) ∈ Rm. The pair (A, B ) is controllable.

The ob jective is to design a stabilizing linear state feedback controller u(k) = −Kx(k) which will minimize the quadratic performance index, given by,

Lecture 40 - Linear Quadratic Regulator - Electrical Engineering (EE)

where, Q = QT ≥ 0 and R = RT > 0. Such a controller is denoted by u.

We first assume that a linear state feedback optimal controller exists such that the closed loop system

x(k + 1) = (A − BK )x(k)

is asymptotically stable.

This assumption implies that there exists a Lyapunov function V (x(k)) = x(k)T P x(k) for the closed loop system, for which the forward difference

∆V (x(k)) = V (x(k + 1)) − V (x(k))

is negative definite.

We will now use the theorem as discussed in the previous lecture which says if the controller u is optimal, then

Lecture 40 - Linear Quadratic Regulator - Electrical Engineering (EE)

If we substitute ∆V in the above expression, we get

Lecture 40 - Linear Quadratic Regulator - Electrical Engineering (EE)

Taking derivative of the above function with respect to u(k),

Lecture 40 - Linear Quadratic Regulator - Electrical Engineering (EE)

The matrix BTPB + R is positive definite since R is positive definite, thus it is invertible.
Hence,

u(k) = −(BT P B + R)−1BT P Ax(k) = −K x(k)

where K = (BT P B + R)−1BT P A. Let us denote BT P B + R by S . Thus

u(k) = −S −1BT P Ax(k)

We will now check whether or not u∗ satisfies the second order sufficient condition for minimization. Since

Lecture 40 - Linear Quadratic Regulator - Electrical Engineering (EE)

u satisfies the second order sufficient condition to minimize f .

The optimal controller can thus be constructed if an appropriate Lyapunov matrix P is found.

For that let us first find the closed loop system after introduction of the optimal controller. x(k + 1) = (A − BS −1BT P A)x(k)

Since the controller satisfies the hypothesis of the theorem, discussed in the previous lecture,

x T(k + 1)P x(k + 1) − x(k)P x(k) + xT (k)Qx(k) + uT (k)Ru(k) = 0

Putting the expression of u in the above equation,

Lecture 40 - Linear Quadratic Regulator - Electrical Engineering (EE)

Lecture 40 - Linear Quadratic Regulator - Electrical Engineering (EE)

The above equation should hold for any value of x(k). Thus

Lecture 40 - Linear Quadratic Regulator - Electrical Engineering (EE)
which is the well known discrete Algebraic Riccati Equation (ARE). By solving this equation we can get P to form the optimal regulator to minimize a given quadratic performance index.

Example 1: Consider the following linear system

Lecture 40 - Linear Quadratic Regulator - Electrical Engineering (EE)

Design an optimal controller to minimize the following performance index.

Lecture 40 - Linear Quadratic Regulator - Electrical Engineering (EE)

Also, find the optimal cost.

Solution: The performance index J can be rewritten as

Lecture 40 - Linear Quadratic Regulator - Electrical Engineering (EE)

Lecture 40 - Linear Quadratic Regulator - Electrical Engineering (EE)

Let us take P as

Lecture 40 - Linear Quadratic Regulator - Electrical Engineering (EE)

Then,

Lecture 40 - Linear Quadratic Regulator - Electrical Engineering (EE)

Lecture 40 - Linear Quadratic Regulator - Electrical Engineering (EE)

Lecture 40 - Linear Quadratic Regulator - Electrical Engineering (EE)

The discrete ARE is

ATPA−P+Q − ATPBS−1BTPA = 0

Or,

Lecture 40 - Linear Quadratic Regulator - Electrical Engineering (EE)

We can get three equations from the discrete ARE. These are

Lecture 40 - Linear Quadratic Regulator - Electrical Engineering (EE)

Lecture 40 - Linear Quadratic Regulator - Electrical Engineering (EE)

Lecture 40 - Linear Quadratic Regulator - Electrical Engineering (EE)

Since the above three equations comprises three unknown parameters, these parameters can be solved uniquely, as

p1 = 1.0238, p2 = 0.5513, p3 = 1.9811

The optimal control law can be found out as

Lecture 40 - Linear Quadratic Regulator - Electrical Engineering (EE)

The optimal cost can be found as

Lecture 40 - Linear Quadratic Regulator - Electrical Engineering (EE)

The document Lecture 40 - Linear Quadratic Regulator - Electrical Engineering (EE) is a part of Electrical Engineering (EE) category.
All you need of Electrical Engineering (EE) at this link: Electrical Engineering (EE)
Are you preparing for Electrical Engineering (EE) Exam? Then you should check out the best video lectures, notes, free mock test series, crash course and much more provided by EduRev. You also get your detailed analysis and report cards along with 24x7 doubt solving for you to excel in Electrical Engineering (EE) exam. So join EduRev now and revolutionise the way you learn!
Sign up for Free Download App for Free

FAQs on Lecture 40 - Linear Quadratic Regulator - Electrical Engineering (EE)

1. What is a linear quadratic regulator?
Ans. A linear quadratic regulator (LQR) is a control algorithm used in control systems to optimize the performance of a linear system subject to quadratic cost functions. It combines a linear state feedback controller with a quadratic cost function to find the optimal control input that minimizes the cost function.
2. How does a linear quadratic regulator work?
Ans. A linear quadratic regulator works by calculating the optimal control input based on the current state of the system. It uses a feedback loop to continuously update the control input based on the difference between the current state and the desired state. The control input is calculated using a combination of a state feedback matrix and a cost function that penalizes deviations from the desired state.
3. What are the advantages of using a linear quadratic regulator?
Ans. The advantages of using a linear quadratic regulator include: - Optimal control: The LQR algorithm finds the control input that minimizes the cost function, resulting in optimal system performance. - Stability: The LQR algorithm guarantees stability for linear systems by ensuring that the system remains within a specified region of operation. - Robustness: The LQR algorithm is robust to disturbances and model uncertainties, allowing the system to maintain good performance even in the presence of external factors. - Simplicity: The LQR algorithm is relatively simple to implement and computationally efficient, making it suitable for real-time control applications.
4. Can a linear quadratic regulator be used for nonlinear systems?
Ans. No, a linear quadratic regulator is specifically designed for linear systems. It relies on the linearity of the system dynamics and the cost function to find the optimal control input. For nonlinear systems, different control algorithms such as nonlinear model predictive control or adaptive control methods need to be used.
5. How is the performance of a linear quadratic regulator evaluated?
Ans. The performance of a linear quadratic regulator is evaluated based on the cost function that it minimizes. The cost function typically represents a trade-off between control effort and system performance. Lower values of the cost function indicate better performance, as the control input is optimized to minimize the deviation from the desired state while keeping the control effort as low as possible.
Download as PDF
Related Searches

pdf

,

study material

,

Semester Notes

,

Sample Paper

,

past year papers

,

Viva Questions

,

ppt

,

video lectures

,

Free

,

Lecture 40 - Linear Quadratic Regulator - Electrical Engineering (EE)

,

Objective type Questions

,

Extra Questions

,

Exam

,

practice quizzes

,

Lecture 40 - Linear Quadratic Regulator - Electrical Engineering (EE)

,

mock tests for examination

,

Summary

,

Lecture 40 - Linear Quadratic Regulator - Electrical Engineering (EE)

,

Important questions

,

Previous Year Questions with Solutions

,

MCQs

,

shortcuts and tricks

;