Difference between revisions of "Linear Systems"
Line 11: | Line 11: | ||
* Exercises | * Exercises | ||
}} | }} | ||
− | + | == Chapter Summary == | |
+ | This chapter introduces the analysis tools for linear input/output systems. | ||
+ | <ol> | ||
+ | <li> <p>A ''linear system'' is one in which the output is jointly linear in the intitial condition for the system and the input to the system. In particular, a linear system has the property that if we apply an input <math>u(t) = \alpha u_1(t) + \beta u_2(t)</math> with zero initial condition, the corresponding output will be <math>y(t) = \alpha y_1(t) + \beta y_2(t)</math>, where <math>y_i</math> is the output associated with the input <math>u_i</math>. This propery is called linear ''superposition''.</p></li> | ||
+ | |||
+ | <li><p><span id=SISO>A differential equation of the form | ||
+ | <center><math> | ||
+ | \begin{aligned} | ||
+ | \dot x &= A x + B u &\quad x &\in R^n, u \in R \\ | ||
+ | y &= C x + D u & y &\in R | ||
+ | \end{aligned} | ||
+ | </math></center> | ||
+ | is a ''single-input, single-output'' (SISO) ''linear differential equation''</span>. Its solution can be written in terms of the ''[[matrix exponential]]'' | ||
+ | <center><math> | ||
+ | e^{At}=I+At+\frac{1}{2}A^2t^2+\frac{1}{3!}A^3t^3+\cdots=\sum_{k=0}^\infty \frac{1}{k!} A^kt^k. | ||
+ | </math></center> | ||
+ | The solution to the differential equation is given by the ''convolution equation'' | ||
+ | <center><math> | ||
+ | y(t) = C e^{At} x(0) + \int_0^t C e^{A(t-\tau)}B u(\tau) d\tau + Du(t). | ||
+ | </math></center> | ||
+ | </p></li> | ||
+ | |||
+ | <li><p>A linear system | ||
+ | <center><math>\dot x = A x</math></center> | ||
+ | is [[Dynamic Behavior#stability|asymptotically stable]] if and only if all eigenvalues of <math>A</math> all have strictly negative real part and is [[Dynamic Behavior#stability|unstable]] if any eigenvalue of <math>A</math> has strictly positive real part. For systems with eigenvalues having zero real-part, stability is determined by using the ''[http://en.wikipedia.org/wiki/Jordan_normal_form Jordan normal form]'' associated with the matrix. A system with eigenvalues that have no strictly positive real part is stable if and only if the Jordan block corresponding to each eigenvalue with zero part is a scalar (1x1) block.</p></li> | ||
+ | |||
+ | <li><p>The input/output response of a (stable) linear system contains a transient region portion, which eventually decays to zero, and a steady state portion, which persists over time. Two special responses are the ''step response'', which is the output corresponding to an step input applied at <amsmath>t = 0</amsmath> and the ''frequency response'', which is the response of the system to a sinusoidal input at a given frequency.</p></li> | ||
+ | |||
+ | <li><p> | ||
+ | The step response is characterized by the following parameters: | ||
+ | * The ''steady state value'', <math>y_\text{ss}</math>, of a step response is the final level of the output, assuming it converges. | ||
+ | * The ''rise time'', <math>T_\text{r}</math>, is the amount of time required for the signal to go from 10% of its final value to 90% of its final value. | ||
+ | * The ''overshoot'', <math>M_\text{p}</math>, is the percentage of the initial value by which the signal initially rises above the final value. | ||
+ | * The ''settling time'', <math>T_\text{s}</math>, is the amount of time required for the signal to stay within 5% of its final value for all future times. | ||
+ | </p></li> | ||
+ | |||
+ | <li><p>The frequency response is given by | ||
+ | <center><math> | ||
+ | y(t) = \underbrace{C e^{At} \Bigl( x(0)-(s I-A)^{-1} B | ||
+ | \Bigr)}_{\text{transient}} + | ||
+ | \underbrace{\Bigl( D+C(s I-A)^{-1}B \Bigr) e^{s | ||
+ | t}}_{\text{steady state}}, | ||
+ | </math></center> | ||
+ | where <math>\cos\omega t = \frac{1}{2} \left(e^{j \omega t} + e^{-j \omega t}\right)</math> and <math>s = i \omega</math>. The gain and phase of the frequency response are given by | ||
+ | <center><math> | ||
+ | \text{gain}(\omega) = \frac{A_y}{A_u} = M \qquad | ||
+ | \text{phase}(\omega) = \phi - \psi = \theta. | ||
+ | </math></center> | ||
+ | </p></li> | ||
+ | |||
+ | <li><p>A nonlinear system of the form | ||
+ | <center><math> | ||
+ | \begin{aligned} | ||
+ | \dot x &= f(x, u) &\quad x &\in R^n, u \in R \\ | ||
+ | y &= h(x, u) & y &\in R | ||
+ | \end{aligned} | ||
+ | </math></center> | ||
+ | is a single-input, single-output (SISO) nonlinear system. It can be linearized about an equibrium point <math>x = x_\text{e}</math>, <math>u = u_\text{e}</math>, <math>y = y_\text{e}</math> by defining new variables | ||
+ | <center><math> | ||
+ | z = x - x_e \qquad v = u - u_e \qquad w = y - h(x_e, u_e). | ||
+ | </math></center> | ||
+ | The dynamics of the system near the equilibrium point can then be approximated by the linear system | ||
+ | <center><math> | ||
+ | \begin{aligned} | ||
+ | \dot x &= A x + B u, \\ | ||
+ | y &= C x + D u, | ||
+ | \end{aligned} | ||
+ | </math></center> | ||
+ | where | ||
+ | <center><math> | ||
+ | \begin{aligned} | ||
+ | A &=\left.\frac{\partial f(x, u)}{\partial x}\right|_{x_\text{e}, u_\text{e}} &\quad | ||
+ | B &= \left.\frac{\partial f(x, u)}{\partial u}\right|_{x_\text{e}, u_\text{e}} \\ | ||
+ | C &= \left.\frac{\partial h(x, u)}{\partial x}\right|_{x_\text{e}, u_\text{e}} &\quad | ||
+ | D &= \left.\frac{\partial y(x, u)}{\partial u}\right|_{x_e, u_e} | ||
+ | \end{aligned} | ||
+ | </math></center> | ||
+ | The equilibrium point for a nonlinear system is locally asymptotically stable if the real part of the eigenvalues of the linearization about that equilibrium point have strictly negative real part. | ||
+ | </p></li> | ||
+ | </ol> | ||
+ | |||
+ | {{Chapter footer}} |
Revision as of 23:19, 27 December 2020
Prev: Dynamic Behavior | Chapter 5 - Linear Systems | Next: State Feedback |
[[Image:{{{Short name}}}-firstpage.png|right|thumb|link=https:www.cds.caltech.edu/~murray/books/AM08/pdf/fbs-{{{Short name}}}_24Jul2020.pdf]] Previous chapters have focused on the dynamics of a system with relatively little attention to the inputs and outputs. This chapter gives an introduction to input/output behavior for linear systems and shows how a nonlinear system can be approximated near an equilibrium point by a linear model.
Chapter Summary
This chapter introduces the analysis tools for linear input/output systems.
-
A linear system is one in which the output is jointly linear in the intitial condition for the system and the input to the system. In particular, a linear system has the property that if we apply an input with zero initial condition, the corresponding output will be , where is the output associated with the input . This propery is called linear superposition.
A differential equation of the form
is a single-input, single-output (SISO) linear differential equation. Its solution can be written in terms of the matrix exponential
The solution to the differential equation is given by the convolution equation
A linear system
is asymptotically stable if and only if all eigenvalues of all have strictly negative real part and is unstable if any eigenvalue of has strictly positive real part. For systems with eigenvalues having zero real-part, stability is determined by using the Jordan normal form associated with the matrix. A system with eigenvalues that have no strictly positive real part is stable if and only if the Jordan block corresponding to each eigenvalue with zero part is a scalar (1x1) block. The input/output response of a (stable) linear system contains a transient region portion, which eventually decays to zero, and a steady state portion, which persists over time. Two special responses are the step response, which is the output corresponding to an step input applied at <amsmath>t = 0</amsmath> and the frequency response, which is the response of the system to a sinusoidal input at a given frequency.
The step response is characterized by the following parameters:
- The steady state value, , of a step response is the final level of the output, assuming it converges.
- The rise time, , is the amount of time required for the signal to go from 10% of its final value to 90% of its final value.
- The overshoot, , is the percentage of the initial value by which the signal initially rises above the final value.
- The settling time, , is the amount of time required for the signal to stay within 5% of its final value for all future times.
The frequency response is given by
where and . The gain and phase of the frequency response are given by
A nonlinear system of the form
is a single-input, single-output (SISO) nonlinear system. It can be linearized about an equibrium point , , by defining new variables
The dynamics of the system near the equilibrium point can then be approximated by the linear system
where
The equilibrium point for a nonlinear system is locally asymptotically stable if the real part of the eigenvalues of the linearization about that equilibrium point have strictly negative real part.
Teaching MaterialsNone available Additional ExercisesNone available Frequently Asked QuestionsNone available ErrataNone reported |
Python CodeThe following Python scripts are available for producing figures that appear in this chapter.
See the software page for more information on how to run these scripts. Additional Information |