# Difference between revisions of "CDS 140a Winter 2011 Homework 8"

(10 intermediate revisions by the same user not shown) | |||

Line 1: | Line 1: | ||

{{CDS homework | {{CDS homework | ||

| instructor = R. Murray, G. Buzi | | instructor = R. Murray, G. Buzi | ||

Line 5: | Line 4: | ||

| semester = Winter 2011 | | semester = Winter 2011 | ||

| title = Problem Set #8 | | title = Problem Set #8 | ||

| issued = | | issued = 26 Feb (Sat) | ||

| due = | | due = 8 Mar 2011 (Tue) | ||

}} | }} | ||

Line 14: | Line 13: | ||

<ol> | <ol> | ||

<li> Perko, Section 4.1, Exercise 1</li> | <li> Perko, Section 4.1, Exercise 1</li> | ||

<li> | <li> Consider the dynamical system | ||

<li> Perko, Section 4. | <center><amsmath> | ||

m \ddot q + b \dot q + k q = u(t), \qquad | |||

u(t) = \begin{cases} 0 & t = 0, \\ 1 & t > 0, \end{cases} \qquad | |||

q(0) = \dot q(0) = 0, | |||

</amsmath></center> | |||

which describes the "step response" of a mass-spring-damper system. | |||

<ol type="a"> | |||

<li> Derive the differential equations for the sensitivities of <amsmath>q(t) \in {\mathbb R}</amsmath> to the parameters <amsmath>b</amsmath> and <amsmath>k</amsmath>. Write out explicit systems of ODEs for computing these, including any initial conditions. (You don't have to actually solve the differential equations explicitly, though it is not so hard to do so.)</li> | |||

<li> Compute the sensitivities and the relative sensitivies of the equilibrium value of <amsmath>q_e</amsmath> to the parameters <amsmath>b</amsmath> and <amsmath>k</amsmath>. You should give explicit formulas in terms of the relevant parameters and initial conditions.</li> | |||

<li> Sketch the plots of the relative sensitivities <amsmath>S_{q,b}</amsmath> and <amsmath>S_{q,k}</amsmath> as a function of time for the nominal parameter values <amsmath>m = 1</amsmath>, <amsmath>b = 2</amsmath>, <amsmath>k = 1</amsmath>.</li> | |||

</ol> | |||

</li> | |||

<li> Perko, Section 4.2, Exercise 7</li> | |||

<li> Perko, Section 4.4, Exercise 1</li> | <li> Perko, Section 4.4, Exercise 1</li> | ||

<li> The Moore-Greitzer equations model rotating stall and surge in gas turbine engines describe the dynamics of a compression system, such as those in gas turbine engines. The three-state "MG3" equations have the form: | <li> The Moore-Greitzer equations model rotating stall and surge in gas turbine engines describe the dynamics of a compression system, such as those in gas turbine engines. The three-state "MG3" equations have the form: | ||

Line 21: | Line 32: | ||

\aligned | \aligned | ||

\frac{d\psi}{dt} &= \frac{1}{4 B^2 l_c}\left(\phi - \Phi_T(\psi) \right), \\ | \frac{d\psi}{dt} &= \frac{1}{4 B^2 l_c}\left(\phi - \Phi_T(\psi) \right), \\ | ||

\frac{d\phi}{dt} &= \frac{1}{l_c}\left( \ | \frac{d\phi}{dt} &= \frac{1}{l_c}\left( \Psi_c(\phi) - \psi + \frac{J}{8} | ||

\frac{\partial^2 \Psi_c}{\partial \phi^2} \right), \\ | \frac{\partial^2 \Psi_c}{\partial \phi^2} \right), \\ | ||

\frac{dJ}{dt} &= \frac{2}{\mu + m} \left( | \frac{dJ}{dt} &= \frac{2}{\mu + m} \left( | ||

\frac{\partial \ | \frac{\partial \Psi_c}{\partial \phi} + \frac{J}{8} | ||

\frac{\partial^3 \ | \frac{\partial^3 \Psi_c}{\partial \phi^3} \right) J, | ||

\endaligned | \endaligned | ||

</amsmath></center> | </amsmath></center> | ||

Line 46: | Line 57: | ||

<li> Suppose that we can modulate the throttle, so that <amsmath>\gamma = \gamma_0 + u</amsmath>. Analyze the performance of the system using the Liaw-Abed control law <amsmath>u = k J</amsmath>. Show that if we choose <amsmath>k</amsmath> sufficiently large to cause the bifurcation to stall to be supercritical.</li> | <li> Suppose that we can modulate the throttle, so that <amsmath>\gamma = \gamma_0 + u</amsmath>. Analyze the performance of the system using the Liaw-Abed control law <amsmath>u = k J</amsmath>. Show that if we choose <amsmath>k</amsmath> sufficiently large to cause the bifurcation to stall to be supercritical.</li> | ||

<li> (Optional) Suppose that we impose magnitude and rate limits on <amsmath>u</amsmath>: | <li> (Optional*) Suppose that we impose magnitude and rate limits on <amsmath>u</amsmath>: | ||

<center><amsmath> | <center><amsmath> | ||

|u| \leq 1, \qquad |\dot u| \leq 1. | |u| \leq 1, \qquad |\dot u| \leq 1. | ||

Line 66: | Line 77: | ||

the system avoids hysteresis. | the system avoids hysteresis. | ||

</li></ol> | </li></ol> | ||

<nowiki>*</nowiki> Part c is ''optional'', not extra credit. If you attempt this problem, one of the instructors will look at your solution and give you feedback. This problem is quite difficult, so you should only do this if you complete the rest of the set quickly and don't have any other homework or studying that is a higher priority before the exam is due. This problem is related to a patent that was filed by Caltech on how to mitigate magnitude and rate limits in active control of rotating stall. | |||

</li></ol> | </li></ol> | ||

## Latest revision as of 01:03, 6 March 2011

R. Murray, G. Buzi | Issued: 26 Feb (Sat) |

ACM 101/AM 125a/CDS 140a, Winter 2011 | Due: 8 Mar 2011 (Tue) |

**Note:** In the upper left hand corner of the *second* page of your homework set, please put the number of hours that you spent on
this homework set (including reading).

- Perko, Section 4.1, Exercise 1
- Consider the dynamical system
<amsmath> m \ddot q + b \dot q + k q = u(t), \qquad u(t) = \begin{cases} 0 & t = 0, \\ 1 & t > 0, \end{cases} \qquad q(0) = \dot q(0) = 0,

</amsmath>which describes the "step response" of a mass-spring-damper system.

- Derive the differential equations for the sensitivities of <amsmath>q(t) \in {\mathbb R}</amsmath> to the parameters <amsmath>b</amsmath> and <amsmath>k</amsmath>. Write out explicit systems of ODEs for computing these, including any initial conditions. (You don't have to actually solve the differential equations explicitly, though it is not so hard to do so.)
- Compute the sensitivities and the relative sensitivies of the equilibrium value of <amsmath>q_e</amsmath> to the parameters <amsmath>b</amsmath> and <amsmath>k</amsmath>. You should give explicit formulas in terms of the relevant parameters and initial conditions.
- Sketch the plots of the relative sensitivities <amsmath>S_{q,b}</amsmath> and <amsmath>S_{q,k}</amsmath> as a function of time for the nominal parameter values <amsmath>m = 1</amsmath>, <amsmath>b = 2</amsmath>, <amsmath>k = 1</amsmath>.

- Perko, Section 4.2, Exercise 7
- Perko, Section 4.4, Exercise 1
- The Moore-Greitzer equations model rotating stall and surge in gas turbine engines describe the dynamics of a compression system, such as those in gas turbine engines. The three-state "MG3" equations have the form:
<amsmath> \aligned \frac{d\psi}{dt} &= \frac{1}{4 B^2 l_c}\left(\phi - \Phi_T(\psi) \right), \\ \frac{d\phi}{dt} &= \frac{1}{l_c}\left( \Psi_c(\phi) - \psi + \frac{J}{8} \frac{\partial^2 \Psi_c}{\partial \phi^2} \right), \\ \frac{dJ}{dt} &= \frac{2}{\mu + m} \left( \frac{\partial \Psi_c}{\partial \phi} + \frac{J}{8} \frac{\partial^3 \Psi_c}{\partial \phi^3} \right) J, \endaligned

</amsmath>where <amsmath>\psi</amsmath> represents the pressure rise across the compressor, <amsmath>\phi</amsmath> represents the mass flow through the compressor and <amsmath>J</amsmath> represents the amplitude squared of the first modal flow perturbation (corresponding to a rotating stall disturbance). For the Caltech compressor rig, the parameters and characteristic curves are given by:

<amsmath> \aligned B &= 0.2, & \Phi_T(\psi) &= \gamma \sqrt{\psi},\\ l_c &= 6, & \Psi_c(\phi) &= 1 + 1.5 \phi - 0.5 \phi^3, \\ \mu &= 1.25, &\qquad\qquad m &= 2. \endaligned

</amsmath>The parameter <amsmath>\gamma</amsmath> represents the throttle setting and typically varies between 1 and 2.

- Compute the bifurcation diagram for the system showing the equilibrium value(s) for <amsmath>J</amsmath> as a function of <amsmath>\gamma</amsmath>. Your answer should match what was shown in class (i.e., make sure to get capture the hysteresis loop).
- Suppose that we can modulate the throttle, so that <amsmath>\gamma = \gamma_0 + u</amsmath>. Analyze the performance of the system using the Liaw-Abed control law <amsmath>u = k J</amsmath>. Show that if we choose <amsmath>k</amsmath> sufficiently large to cause the bifurcation to stall to be supercritical.
- (Optional*) Suppose that we impose magnitude and rate limits on <amsmath>u</amsmath>:
<amsmath> |u| \leq 1, \qquad |\dot u| \leq 1.

</amsmath>Assume that we implement the control law

<amsmath> \dot u = \alpha(J) = \begin{cases} \text{sat}(\frac{1}{\epsilon} (k J - \text{sat}(u))) & |u| < 1, \\ 0 & |u| = 1, \end{cases}

</amsmath>where <amsmath>\text{sat}(\cdot)</amsmath> is a saturation function of magnitude 1 and <amsmath>\epsilon</amsmath> is a small constant. This control law limits both the magnitude and rate of the input. Using the center manifold theorem, compute an approximate model of the system at the bifurcation point in terms of <amsmath>u</amsmath> and <amsmath>J</amsmath> and use a phase portrait (computed with MATLAB or a similar tool) to describe the set of initial conditions for <amsmath>J</amsmath> (assuming <amsmath>u(0) = 0</amsmath>) for which the system avoids hysteresis.

* Part c is

*optional*, not extra credit. If you attempt this problem, one of the instructors will look at your solution and give you feedback. This problem is quite difficult, so you should only do this if you complete the rest of the set quickly and don't have any other homework or studying that is a higher priority before the exam is due. This problem is related to a patent that was filed by Caltech on how to mitigate magnitude and rate limits in active control of rotating stall.