$25
Control Systems Theory
Mechanical and Aerospace Engineering
You are encouraged to use MATLAB c to verify your answers whenever you can. However, unless specified, do not use MATLAB c to solve a problem.
Problem 1. Find the transfer functions Gu1y (from input u1 to the output y) and Gu2y (from input u2 to the output y) of the following LTI system:
Problem 2. 1. Compute the eigenvalues of the following matrix (by hand):
Hint: This is a “block diagonal” matrix, one block being −1 and the other block being .
Use the fact that the eigenvalues of a block diagonal matrix is the union of the eigenvalues of the blocks that make up the matrix.
2. Is the system ˙x = Ax, with A shown above, stable in the sense of Lyapunov, unstable, asymptotically stable, or “cannot say without information about Jordan blocks of the eigenvalues”?
Problem 3. A dynamic model of a car, where p(t) is the position and F(t) is the traction, is described by the following system of coupled ODEs:
mp¨ = αp˙ + F(t), F¨(t) + a1F˙(t) + a0F(t) = kθ(t),
where m,α,a1,a0k are parameters of the system. The normalized throttle angle θ (taking values between 0 and 1) is the input and the speed ˙p is the measured output.
1. Express the dynamic system in state space form, with position being one of the states.
2. Is it an LTI system?
Problem 4 (with and without I.C.). Execute the following matlab script and answer the questions that follow:
clear all
A = [0.1 -2; 1 -3]; B = [0.1, -0.2]’; C = [1 1], D = 0;
P_ss = ss(A,B,C,D);
[num,den] = ss2tf(A,B,C,D);
P_tf = tf(num,den);
Ts = 0.001; time = [0:Ts:6]’; u = sin(2*pi*2*time) - sin(2*pi*20*time - pi/3); x0 = [-2; 3];
y_ss = lsim(P_ss,u,time,x0); y_tf = lsim(P_tf,u,time); figure plot(time,y_tf,’b’,time,y_ss,’r--’); ylabel(’y’), xlabel(’t’);
1. “yss(t) and ytf(t) are outputs of the same system in response to the same input”. True or false?
2. Why is yss(t) different from ytf(t)?
3. If we perform the simulation for longer time, will the two signals become the same for t sufficiently large? (Answer this question without running the simulation for a larger t but by analyzing the system.)
Problem 5. For each of the following state matrix A, determine if the corresponding LTI system x˙ = Ax is stable, asymptotically stable, or unstable in the sense of Lyapunov:
1.
2.
where P is an invertible matrix. Hint: notice that A and X are related by a similarity transform. Use the result that if two matrices are similar, they have the same eigenvalues.
3.
where P is an invertible matrix.
Problem 6 (Open loop control). Consider the LTI system ˙x = x + u, where both the state and the input are scalars. Let the initial condition x0, and suppose the input signal defined below is used to drive the system, where T is a pre-specified constant:
1. Verify that this control signal, when applied to the system during the time interval [0, T], will bring the state from the initial condition x0 to the origin at time T. Hint: use the “Variation of Constants” formula: and plug in the given u.
2. For the same initial condition, if the time interval T (within which the state is to be brought to the origin) is made shorter, does the required control effort increases or decreases? Does the answer make intuitive sense?
Problem 7 (satellite). The equations of motion of a satellite, linearized around a steady state solution, are given by ˙x = Ax + Bu, where x1 and x2 denote perturbations in the radius and the radial velocity, respectively, x3 and x4 denote perturbations in the angle and angular velocity, and
The input vector consists of a radial thrust u1 and a tangential thrust u2.
1. Show that the system is controllable for u. Is this true for every possible value of the angular speed ω? You have to evaluate the rank of the controllability matrix by inspection. Rearrange the rows (or columns) does not change the rank.
2. Can the system still be controllable if the radial thruster fails? What if the tangential thruster fails? Hint: if the radial thruster fails then u1(t) = 0 for all t, in effect, the first component of u does not exist. Write down the new system x˙ = Ax + B0u0 where u0 is now a scale (= the command from the tangential thruster), and examine the controllability of this new system.
(Hint: Review the linear algebra notes in e-learning about row operations and rank; that’ll help in determining the rank of the controllability matrix.)
Problem 8. Consider the LTI system ˙x = Ax + Bu, where
where k1,k2,c are constants.
1. Is (A,B) controllable? If the answer depends on the values of the constants k1,k2 and c, state the dependency precisely.
2. Suppose k2 = 0. Determine the set of points in R3 that can be transferred to the origin in finite time by using appropriate control signals.
3. Suppose k2 = 0. For what values of c is the following statement true: “it is possible to transfer every points in R3 to the origin, if not in finite time then at least asymptotically (meaning, as t →∞, by using an appropriate input signal”.
Problem 9. You are asked to design a state feedback controller to stabilize the system ˙x = Ax+Bu, where A,B are given below,
1. You are asked to design K so that the eigenvalues of A − BK are at −5 ± 2j. Is it possible? Why or why not?
2. If possible, design such a K using the “place” command in MATLAB c .
3. Simulate the closed loop system for the initial condition [10,10]T. There is no external input, so you only have to compute the response of the system due to the initial condition. Use the lsim command in MATLAB c Provide your matlab script and the resulting figure of the states˙ vs. time. The script and figure should fit in one page. Please use different line styles and colors so that the two states are clearly visible even when printed on a B&W printer.
Problem 10. Consider the LTI system ˙x = Ax (x ∈Rn) and suppose that there exists positive definite matrices P,Q ∈Rn×n and a positive number µ such that the equation
ATP + PA + 2µP = −Q
holds. Prove that all eigenvalues of A have real part less than −µ. Hint: Use the result that all eigenvalues of A have real part less than −µ if and only if all eigenvalues of A+µI have real part less than 0. (You proved one part of this statement in the previous homework. ) And use the Lyapunov test for stability.
Problem 11. Consider a plant whose state-space description is ˙x = Ax + B(u + v),y = Cx, where v is a disturbance input
and the following state-feedback controller
where k1 and k2 are constants to be chosen (designed).
1. Compute the closed loop state-space model with input v and output y, leaving your answer as a function of k1 and k2.
2. Compute the closed loop transfer function from input v to output y, leaving your answer as a function of k1 and k2.
3. Determine values of k1 and k2 so that the closed loop transfer function from v to y becomes[1]
Designing a controller to achieve a specific closed loop transfer function is called model matching design.
[1] Hint: you will need to cancel one zero with a pole of the open loop transfer function you determined in part (2).