Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I do not understand how to approach this question please help as much as possible! Problem 4 : Given the continuous LTI system: 0 0

I do not understand how to approach this question please help as much as possible!

image text in transcribed

Problem 4 : Given the continuous LTI system: 0 0 1 0 0 0 0 1 i(t) = (t) 0 0 0 0 1 0 0 1 ut) -2 1 -1 1 1 -2 1 - 1 z(e) = 1 1 0 0 0 0 1 0 0 :] a. (3 points) Consider the infinite horizon quadratic cost: 1 = 5 *x1(0)2 + x2(0)2 + u ()2 + uz(e)? dt Solve the ARE for the cost function, using Matlab. b. (3 points) Using the solution P, obtain the K matrix using Matlab. C. (6 points) Use Matlab to plot the trajectory xi(t), xz(t) of the system for the following cases open-loop system with zero input and initial condition x(0) = (1,0,0,0]'. Plot for timet e [0, 15). closed-loop system (u = -Kx) with initial condition x(0) = (1,0,0,0]'. Plot for timet e [0, 10]. d. (4 points) Use Matlab to plot the optimal control inputs ui(t),uz(t). Plot for time te [0, 10). e. (9 points) Consider the modified cost function: 1 = 5 x2(e)2 + x2(0)2 +a+u4 (0)2 + uz(t)? dt Write a loop in Matlab that finds the minimal value of a E [0.01: 0.01: 2] for which the optimal control input satisfies max (uit)) = 0.2. Using the same condition in part c, plot xi(t) and ui(t) of the closed loop system for this value of a. Compare to the trajectories in the nominal case a = 1. Problem 4 : Given the continuous LTI system: 0 0 1 0 0 0 0 1 i(t) = (t) 0 0 0 0 1 0 0 1 ut) -2 1 -1 1 1 -2 1 - 1 z(e) = 1 1 0 0 0 0 1 0 0 :] a. (3 points) Consider the infinite horizon quadratic cost: 1 = 5 *x1(0)2 + x2(0)2 + u ()2 + uz(e)? dt Solve the ARE for the cost function, using Matlab. b. (3 points) Using the solution P, obtain the K matrix using Matlab. C. (6 points) Use Matlab to plot the trajectory xi(t), xz(t) of the system for the following cases open-loop system with zero input and initial condition x(0) = (1,0,0,0]'. Plot for timet e [0, 15). closed-loop system (u = -Kx) with initial condition x(0) = (1,0,0,0]'. Plot for timet e [0, 10]. d. (4 points) Use Matlab to plot the optimal control inputs ui(t),uz(t). Plot for time te [0, 10). e. (9 points) Consider the modified cost function: 1 = 5 x2(e)2 + x2(0)2 +a+u4 (0)2 + uz(t)? dt Write a loop in Matlab that finds the minimal value of a E [0.01: 0.01: 2] for which the optimal control input satisfies max (uit)) = 0.2. Using the same condition in part c, plot xi(t) and ui(t) of the closed loop system for this value of a. Compare to the trajectories in the nominal case a = 1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Focus On Geodatabases In ArcGIS Pro

Authors: David W. Allen

1st Edition

1589484452, 978-1589484450

More Books

Students also viewed these Databases questions

Question

1. Who is responsible for resolving this dilemma?

Answered: 1 week ago

Question

7. How might you go about testing these assumptions?

Answered: 1 week ago