Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 7

Eigenvalue Stability Analysis

Recommended resources

Hello! Welcome to the second module of our course on multivariable control.

In our last lesson, we established a crucial link between state-space and transfer function representations: the eigenvalues of the state matrix A are the poles of the system. This lesson builds directly on that insight. Your background in classical control has taught you that system stability is determined by the location of its poles. We will now apply the same logic to the state-space world.

Today's goal is to learn how to determine the stability of a system by analyzing the eigenvalues of the state matrix A. This is a fundamental skill in modern control theory and is the first step toward designing controllers for complex systems like the rotary inverted pendulum you're interested in.

The Role of Eigenvalues in System Dynamics

Let's consider a linear time-invariant (LTI) system with no input, also known as the homogeneous system:

This equation describes how the system's state evolves from an initial condition without any external forcing.

As an electrical engineer, you're familiar with solving linear ordinary differential equations (ODEs). The solution to this matrix ODE, , is a combination of exponential terms in the form , where the are the eigenvalues of the matrix .

The stability of the system—whether its state returns to the origin, blows up to infinity, or oscillates forever—depends entirely on the behavior of these terms as time . This is determined by the values of .


Stability in Continuous-Time Systems

The video below provides an excellent and intuitive explanation of how eigenvalues determine stability for both continuous and discrete-time systems.

Stability and Eigenvalues [Control Bootcamp]

Watch this video from the 'Control Bootcamp' series by Steve Brunton. It clearly explains how the real part of an eigenvalue dictates whether the system response will decay or grow over time.

Watch the video from the beginning until 08:51. Focus on the relationship between an eigenvalue \lambda = \sigma + j\omega and the system response term e^{\sigma t}(\cos(\omega t) + j\sin(\omega t)). Pay close attention to the visualization of stability in the complex plane.

As the video explained, the stability of a continuous-time system is determined by the real parts of the eigenvalues of the state matrix .

Let's summarize the rules:

  • Asymptotic Stability: The system is asymptotically stable if and only if all eigenvalues of have negative real parts (). This means any initial perturbation will decay to zero over time.
  • Instability: The system is unstable if at least one eigenvalue of has a positive real part (). This means a small perturbation will cause the state to grow without bound.
  • Marginal Stability: The system is marginally stable if it is not unstable, but at least one eigenvalue has a zero real part (). This typically results in sustained oscillations (for ) or a constant offset (for ).

This concept is often visualized using the complex s-plane, which should be familiar from your work with transfer functions.

Pole Locations and System Response
This image illustrates the connection between the location of system poles (which are the eigenvalues of A) in the complex plane and the resulting time-domain response. Poles in the left half-plane (LHP) lead to a stable response that decays to zero. Poles in the right half-plane (RHP) cause an unstable, growing response. Poles on the imaginary axis result in a marginally stable, sustained oscillatory response.

For a more formal definition and a practical example, let's turn to a concise reading.

Time-Domain Solution of LTI State Equations

This document from MIT provides a formal definition of stability in state-space terms and includes a very relevant example.

Please read Section 4.6, 'Stability of Linear Systems' (page 18), which clearly lays out the stability conditions. Then, review Example 8 (pages 19-20), which discusses the stability of an inverted pendulum—a problem very similar to your project. You don't need to follow every step of the derivation, but focus on the outcome: how the eigenvalues of the linearized system prove its instability.

The inverted pendulum example is particularly insightful. The analysis shows that its linearized A matrix will always have a positive real eigenvalue, mathematically proving that the upright position is inherently unstable. Our goal in later lessons will be to design a feedback controller that moves this unstable eigenvalue into the stable left half-plane.


The Eigenvalue-Pole Equivalence

As we've been emphasizing, the stability rules for eigenvalues are identical to the stability rules for poles. This is no coincidence. The following short video reinforces the direct mathematical link we discovered in the last lesson.

Intro to Control - 8.2 State-Space Eigenvalues and Stability

This video from 'Engineering with Prof. Kim' explicitly connects the characteristic equation used to find transfer function poles with the equation used to find the eigenvalues of the A matrix.

Watch the full video. It's a quick and direct confirmation that the eigenvalues of matrix A are, in fact, the poles of the system.

This confirms that whether you're working with transfer functions or state-space models, you're analyzing the same fundamental system property.

Test your understanding!

Consider a system with the following state matrix . Without using a calculator, determine if the system is asymptotically stable, marginally stable, or unstable.

Show answer

To determine stability, we need to find the eigenvalues of by solving the characteristic equation .

  1. Set up the determinant:

  2. Calculate the determinant:

  3. Find the roots (eigenvalues):
    Using the quadratic formula :

    The eigenvalues are and .

  4. Conclusion:
    The real part of both eigenvalues is , which is negative. Therefore, the system is asymptotically stable.


Stability in Discrete-Time Systems

While most of your experience is with continuous-time systems, modern control is often implemented on digital computers, which operate in discrete time steps. It's useful to know how the stability criterion changes in this context.

A discrete-time LTI system is described by:

Here, the state at the next time step, , is found by multiplying the current state by the matrix . The solution involves terms of the form .

Stability and Eigenvalues [Control Bootcamp]

Let's return to Steve Brunton's 'Control Bootcamp' video to see how stability is defined for discrete-time systems.

Watch from 08:51 to 17:00. Note how stability now depends on the magnitude of the eigenvalue (|\lambda|) rather than its real part. The stable region is no longer the left half-plane but the interior of the unit circle.

To summarize the discrete-time stability rules:

  • Asymptotic Stability: The system is asymptotically stable if and only if all eigenvalues of have a magnitude less than 1 ().
  • Instability: The system is unstable if at least one eigenvalue has a magnitude greater than 1 ().
  • Marginal Stability: The system is marginally stable if it is not unstable, but at least one eigenvalue has a magnitude equal to 1 ().

This distinction is crucial when you move from designing a controller in the continuous domain to implementing it on a microcontroller.


Conclusion

In this lesson, we have established a clear and powerful method for analyzing system stability directly from the state-space representation.

Key Takeaways:

  • The stability of an LTI system is determined by the eigenvalues of its state matrix .
  • For a continuous-time system (), it is asymptotically stable if all eigenvalues lie in the left half of the complex plane ().
  • For a discrete-time system (), it is asymptotically stable if all eigenvalues lie inside the unit circle ().
  • This analysis confirms that an inverted pendulum is inherently unstable, as it possesses an eigenvalue in the right half-plane.

Preview of the Next Lesson:

Knowing a system is unstable is the first step. The next logical question is: can we stabilize it? The ability to influence a system's states through its inputs is a fundamental property called controllability. In our next lesson, we will define controllability and learn how to determine if a system is controllable, setting the stage for controller design.