Difference between revisions of "Linear Systems"

From FBSwiki
Jump to navigation Jump to search
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Chapter
 
{{Chapter
|Chapter number=5
+
|Chapter number=6
 +
|Short name=linsys
 +
|Previous chapter=Dynamic Behavior
 
|Next chapter=State Feedback
 
|Next chapter=State Feedback
|Previous chapter=Dynamic Behavior
+
|First edition URL=https://www.cds.caltech.edu/~murray/amwiki/index.php?title=Linear_Systems#Frequently_Asked_Questions
 
|Chapter summary=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=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 contents=* 1. Basic Definitions
+
|Chapter contents=# Reachability
* 2. The Matrix Exponential
+
#* Definition of Reachability
* 3. Input/Output Response
+
#* Testing for Reachability
* 4. Linearization
+
#* Reachable Canonical Form
* 5. Further Reading
+
# Stabilization by State Feedback
* Exercises
+
#* State Space Controller Structure
|Chapter summar=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.
+
#* State Feedback for Systems in Reachable Canonical Form
 +
#* Eigenvalue Assignment
 +
# Design Considerations
 +
#* Second-Order Systems
 +
#* Higher-Order Systems
 +
# Integral Action
 +
#* System Augmentation
 +
#* Reachability of the Augmented System
 +
# Linear Quadratic Regulators
 +
# Further Reading
 +
:: Exercises
 
}}
 
}}
 +
== Chapter Summary ==
 +
<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 <math>t = 0</math> 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 \mathbb{R}^n, u \in \mathbb{R} \\
 +
  y &= h(x, u) & y &\in \mathbb{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_\text{e}e \qquad v = u - u_\text{e} \qquad w = y - h(x_\text{e}, u_\text{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_\text{e}, u_\text{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}}

Latest revision as of 13:27, 7 April 2024

Prev: Dynamic Behavior Chapter 6 - Linear Systems Next: State Feedback
Linsys-firstpage.png

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

  1. 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.

  2. 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

  3. 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.

  4. 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 and the frequency response, which is the response of the system to a sinusoidal input at a given frequency.

  5. 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.

  6. The frequency response is given by

    where and . The gain and phase of the frequency response are given by

  7. 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 Materials

None available

Additional Exercises

None available

Frequently Asked Questions

None available

Errata

None reported

Python Code

The 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