My question is Problem 11.4-8
![11.4-8. Consider the third-order continuous-time LTI system * = Ax + Bu y = Cx 102 with A = To 0 Lo 2 0 -8 07 3 , B = -6] 0 ,](http://img.homeworklib.com/questions/bea11ea0-35bf-11eb-9195-818dfbc1043e.png?x-oss-process=image/resize,w_560)
Thanks for your help!
(a)
clear;
close all;
clc;
A = [0 2 0;
0 0 3;
0 -8 -6];
B = [0;0;1];
C = [1 0 0];
D = 0;
Q = [8 0 0;
0 6 0;
0 0 4];
R = 1.5;
% gain matrix using lqr
[K1,S1,P1] = lqr(A,B,Q,R);
% closed-loop step response with the generated gain matrix
K1.
% continuous model
sys1 = ss(A-B*K1,B,C,D)
x0 = [2;0;-2]; % initial state
tspan = 0:0.2:10;
initial(sys1,x0,tspan)
[y1,t1,x1]= initial(sys1,x0,tspan);
(b)
clear;
close all;
clc;
A = [0 2 0;
0 0 3;
0 -8 -6];
B = [0;0;1];
C = [1 0 0];
D = 0;
mul = 1;
Q = mul*[8 0 0;
0 6 0;
0 0 4];
R = mul*1.5;
% gain matrix using lqr
[K1,S1,P1] = lqr(A,B,Q,R);
% closed-loop step response with the generated gain matrix K1.
% discrete model
Ts = 0.2;
sys2 = ss(A-B*K1,B,C,D,Ts)
x0 = [2;0;-2];
tspan = 0:0.2:0.6;
figure()
initial(sys2,x0,tspan)
[y2,t2,x2]=initial(sys2,x0,tspan);
Comparison: The response in the
discrete case diverges unlike the continuous case where the
response converges to 0. The comparison plot is given below.
(c) The following lines are
replaced.
mul = 10;
Q = mul*[8 0 0;
0 6 0;
0 0 4];
R = mul*1.5;
No noticeable change is
observed in the responses.
My question is Problem 11.4-8 Thanks for your help! 11.4-8. Consider the third-order continuous-time LTI system...
5. (12 points) Consider a continuous-time LTI system whose frequency response is sin(w) H(ju) 4w If the input to this system is a periodic signal 0, -4<t<-1 x(t)=1, -1st<1 0, 1st<4 with period T= 8 (a) (2 points) sketch r(t) for -4ts4 (b) (5 points) determine the Fourier series coefficients at of x(t), (c) (5 points) determine the Fourier series coefficients be of the corresponding system output y(t)
5. (12 points) Consider a continuous-time LTI system whose frequency response is...
Problem 2 Consider a continuous-time LTI system whose frequency response is given by 2 sin(40 (a) Find the impulse response, h(t) of the system (b) Determine the outputy() =x(t)*h(t) of the system given an input x(f)--1, ț < 8 4 otherwise 0,
2.6.1-2.6.62.6.1 Consider a causal contimuous-time LTI system described by the differential equation$$ y^{\prime \prime}(t)+y(t)=x(t) $$(a) Find the transfer function \(H(s)\), its \(R O C\), and its poles.(b) Find the impulse response \(h(t)\).(c) Classify the system as stable/unstable.(d) Find the step response of the system.2.6.2 Given the impulse response of a continuous-time LTI system, find the transfer function \(H(s),\) the \(\mathrm{ROC}\) of \(H(s)\), and the poles of the system. Also find the differential equation describing each system.(a) \(h(t)=\sin (3 t) u(t)\)(b)...
Question 1 (10 pts): Consider the continuous-time LTI system S whose unit impulse response h is given by Le., h consists of a unit impulse at time 0 followed by a unit impulse at time (a) (2pts) Obtain and plot the unit step response of S. (b) (2pts) Is S stable? Is it causal? Explain Two unrelated questions (c) (2pts) Is the ideal low-pass continuous-time filter (frequency response H(w) for H()0 otherwise) causal? Explain (d) (4 pts) Is the discrete-time...
Consider an LTI discrete-time system that has impulse response h n Tn-12) 1 if otherwise a) Determine the magnitude H(Q and the phase response LH(D for-r < Ω < π Enter Ω as "and enter the piecev se function Η Ω using the hea side function b)Determine the output of the system, rn, if the input is given by z n-Sn-9 +com( ) Enter your answer in terms of hin y[n] = In your answers, enter 2(n) for a discrete-time...
Name: 10. [8 points] Consider a discrete-time LTI system with input x[n] and out- put y[n]. When the input signal x[n] = (6)" is applied to the system, the output signal is y[n] = 0 for all n When the input signal xn] (3)" u[n] is applied to the system, the output signal is y[n] = A 8[n] + 2 (5)" u[n] for all n, where A is a constant number a) Find A. b) Find the impulse response of...
control system with observer
Consider the following system: -1-2-21 гг 1 0 1 L Where u is the system input and y is the measured output. 1. Find the transfer function of the system. 2. Design a state feedback controller with a full-state observer such that the step response of the closed loop system is second order dominant with an overshoot Mp settling time ts s 5 sec. Represent the observer-based control system in a compact state space form. 10%...
6. Consider a state-space system x = Ax+ Bu, y = Cx for which the control input is defined as u- -Kx + r, with r(t) a reference input. This results in a closed-loop system x (A-BK)x(t)+ Br(t) = with matrices 2 -2 K=[k1 K2 For this type of controller, ki, k2 ER do not need to be restricted to positive numbers - any real number is fine (a) What is the characteristic equation of the closed-loop system, in terms...
= 2s +1 Consider the continuous-time LTI causal system with Transfer function H(s) $? + 5s +6' a) Compute the ROC for H(s). (3 pts) b) Discuss the BIBO stability of the system. (2pts) c) Compute the system output when the input is x(t) = 8(t) (Dirac's delta). (5 pts)
Problem #2 Consider a continuous-time LTI system given by: dy[ + 2y(t) = x(t). Using the Fourier transform, find the output y(t) to each of the following input signals: (a) x(t) = e-'u(t), and (b) x(t) = u(t).