Problem 2 Consider the system described by the following difffference equation. y(k) + y(k-1) + 2y (k - 2) = 3u(k) + u(k-1) + u(k-2) 1. Derive the transfer function for the system 2. Write the system in the controllable state space form 3. Is the system stable for zero input. Find the eigenvalues of matrix A to answer this question.

Introductory Circuit Analysis (13th Edition)
13th Edition
ISBN:9780133923605
Author:Robert L. Boylestad
Publisher:Robert L. Boylestad
Chapter1: Introduction
Section: Chapter Questions
Problem 1P: Visit your local library (at school or home) and describe the extent to which it provides literature...
icon
Related questions
Question
Problem 2
Consider the system described by the following difffference equation.
y(k) + y(k-1) + 2y(k - 2) = 3u(k) + u(k-1) + u(k-2)
1. Derive the transfer function for the system
2. Write the system in the controllable state space form
3. Is the system stable for zero input. Find the eigenvalues of matrix A to answer this
question.
4. Is the system controllable? Show your work.
5. Is the system observable? Show your work.
6. Design a feedback controller using pole placement to place both eigenvalues of the
closed loop system at -0.5.
7. Use function sys = ss(A,B,C,D,Ts) to create the state space model in Matlab, where A, B,
C, and D
are appropriate matrices and Ts is the sampling rate (use 0.1), and then use step to
print out the step response for 5 time units.
8. Use the function eig() to find the eigenvalues of A in Matlab, and also for the closed
loop system after pole placement.
9. Use the function [K,S,e] = dlqr(A,B,Q,R,N) to design an LQR optimal control law. Here,
use
Q = [10 0;0 10];
R = 100;
N = [0;0];
Ts = 0.01;
Find the gain K.
10. Obtain the eigenvalues of the closed loop lqr system.
Transcribed Image Text:Problem 2 Consider the system described by the following difffference equation. y(k) + y(k-1) + 2y(k - 2) = 3u(k) + u(k-1) + u(k-2) 1. Derive the transfer function for the system 2. Write the system in the controllable state space form 3. Is the system stable for zero input. Find the eigenvalues of matrix A to answer this question. 4. Is the system controllable? Show your work. 5. Is the system observable? Show your work. 6. Design a feedback controller using pole placement to place both eigenvalues of the closed loop system at -0.5. 7. Use function sys = ss(A,B,C,D,Ts) to create the state space model in Matlab, where A, B, C, and D are appropriate matrices and Ts is the sampling rate (use 0.1), and then use step to print out the step response for 5 time units. 8. Use the function eig() to find the eigenvalues of A in Matlab, and also for the closed loop system after pole placement. 9. Use the function [K,S,e] = dlqr(A,B,Q,R,N) to design an LQR optimal control law. Here, use Q = [10 0;0 10]; R = 100; N = [0;0]; Ts = 0.01; Find the gain K. 10. Obtain the eigenvalues of the closed loop lqr system.
Expert Solution
Step 1: State the given data.

Since you have posted a question with multiple sub parts, we will provide the solution only to the first three sub parts as per Q&A guidelines. Please repost the remaining subparts separately.


Consider the system described by the following difference equation.

The difference equation of the system is given by

y(k)+y(k1)+2y(k2)=3u(k)+u(k1)+u(k2);

We need to find
1. The transfer function for the system.
2. The system in the controllable state space form.
3. We need to check whether the system stable for zero input or not by finding the eigenvalues of matrix A.

steps

Step by step

Solved in 5 steps with 3 images

Blurred answer
Knowledge Booster
Mathematical Modeling of Mechanical System
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, electrical-engineering and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Introductory Circuit Analysis (13th Edition)
Introductory Circuit Analysis (13th Edition)
Electrical Engineering
ISBN:
9780133923605
Author:
Robert L. Boylestad
Publisher:
PEARSON
Delmar's Standard Textbook Of Electricity
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:
9781337900348
Author:
Stephen L. Herman
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Electrical Engineering
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education
Fundamentals of Electric Circuits
Fundamentals of Electric Circuits
Electrical Engineering
ISBN:
9780078028229
Author:
Charles K Alexander, Matthew Sadiku
Publisher:
McGraw-Hill Education
Electric Circuits. (11th Edition)
Electric Circuits. (11th Edition)
Electrical Engineering
ISBN:
9780134746968
Author:
James W. Nilsson, Susan Riedel
Publisher:
PEARSON
Engineering Electromagnetics
Engineering Electromagnetics
Electrical Engineering
ISBN:
9780078028151
Author:
Hayt, William H. (william Hart), Jr, BUCK, John A.
Publisher:
Mcgraw-hill Education,