Skip to main content

Welcome to a Grasp lesson

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

Lesson 8

Understanding Controllability

Recommended resources

Hello! Welcome back to our course on multivariable control.

In our last lesson, we saw that a system's stability is governed by the eigenvalues of its state matrix . We used this to confirm our intuition that the inverted pendulum is inherently unstable because it has an eigenvalue with a positive real part (a pole in the right-half plane).

This naturally leads to the most important question in control engineering: If a system is unstable, can we do anything about it? Can our control inputs actually influence the system in the way we need them to? This lesson is all about answering that question.

Today's learning outcome is to define controllability and explain its physical interpretation in the context of state control. This is one of the most fundamental concepts in modern control theory. It forms the bridge between analyzing a system and actively controlling it.

What is Controllability?

At its core, controllability asks a simple question: "Can I get there from here?" In the context of a state-space system , it asks whether the control input is capable of steering the state vector wherever we want it to go.

Let's start with a clear, conceptual definition from a video by MATLAB.

A Conceptual Approach to Controllability and Observability | State Space, Part 3

This video provides an excellent high-level introduction to the concept of controllability.

Please watch from 02:47 to 03:53. The video introduces the formal definition of controllability (also called reachability) using a simple monorail example. Focus on the idea that you must be able to reach any combination of states (e.g., a specific position AND a specific velocity) in a finite amount of time.

As the video explained, a system is controllable if there exists a control input that can transfer the system from any initial state to any final state in a finite amount of time.

This property is sometimes called reachability, and for linear systems like the ones we're studying, the two terms are used interchangeably.

To reinforce this, here is a concise written definition.

Introduction: State-Space Methods for Controller Design

This excerpt from the University of Michigan's Control Tutorials for MATLAB and Simulink (CTMS) provides a crisp, formal definition.

Read the first paragraph of the section titled 'Controllability and Observability'. It perfectly summarizes the definition we are discussing.


Why Controllability is the Key to Control

Defining controllability is one thing, but understanding why it's so critical is another. Controllability is not just a theoretical curiosity; it is the fundamental prerequisite for designing the controllers we'll be building.

The following video explains the profound connection between controllability and our ability to stabilize a system.

Controllability, Reachability, and Eigenvalue Placement [Control Bootcamp]

This video from Steve Brunton's 'Control Bootcamp' series explains why controllability is so important. It connects the concept directly to our ability to design effective controllers.

Watch from 02:13 to 04:48. Pay close attention to the three equivalent concepts he presents: 1) The system is controllable, 2) We can place the closed-loop poles (eigenvalues) anywhere we want, and 3) The system is 'reachable'. The second point is the key takeaway for us right now.

The video makes a powerful statement: A system is controllable if and only if we can arbitrarily place the eigenvalues of the closed-loop system.

Let's break this down:

  1. Our open-loop system is . Its stability is determined by the eigenvalues of .
  2. We want to design a state-feedback controller, where the control input is a linear function of the state: .
  3. Substituting this into the state equation gives the closed-loop system: .
  4. The stability of this new, controlled system is determined by the eigenvalues of the new matrix .

The fact that controllability is equivalent to "arbitrary eigenvalue placement" means that if our system is controllable, we can choose a gain matrix to place the eigenvalues of anywhere we want.

For your inverted pendulum project, this is everything. We know the open-loop system has an unstable eigenvalue. If the system is controllable, it means we are guaranteed to be able to find a matrix that moves that unstable eigenvalue into the stable left-half plane, thereby stabilizing the pendulum. If the system were uncontrollable, there would be certain dynamics (unstable modes) that no choice of could ever fix.


The Physical Meaning of Controllability

Let's build a more physical intuition for what makes a system controllable or uncontrollable.

A Conceptual Approach to Controllability and Observability | State Space, Part 3

To understand this intuitively, let's look at a few examples. We'll return to the MATLAB video for a simple car analogy.

Watch from 06:24 to 07:31. This part illustrates what makes a system uncontrollable (e.g., losing the steering wheel) and introduces the important idea that if even one critical part of the system is uncontrollable, the whole system is considered uncontrollable.

This car example is straightforward: if you remove the steering wheel, you lose the ability to influence the car's heading. The "heading" state is now uncontrollable. This means no matter how you use the gas and brake pedals, you cannot steer the car to a desired final state that involves a change in direction.

Now, let's consider your project, the rotary inverted pendulum.

SRV02 Rotary Inverted Pendulum Model
This diagram shows the SRV02 Rotary Inverted Pendulum. The control input is the voltage to the servo motor, which generates a torque causing the arm to rotate (angle \(\theta\)). This rotation, in turn, influences the pendulum's angle (\(\alpha\)). The goal of control is to keep the pendulum upright (\(\alpha \approx 0\)) by appropriately commanding the servo motor.

For this system, our only control input is the torque from the motor, which directly actuates the rotary arm. The question is: is this single input sufficient to control all four state variables (the position and velocity of both the arm and the pendulum)?

This is a more subtle situation. The next video clip illustrates a similar scenario where the physical configuration, not just the presence of an actuator, determines controllability. The concepts of modes and nodes from your signal processing background will be very relevant here.

A Conceptual Approach to Controllability and Observability | State Space, Part 3

Sometimes, controllability depends on where an actuator is placed. This final clip illustrates this with a flexible beam, which is a great analogy for how a single input can affect multiple system modes.

Watch from 09:30 to 12:06. Focus on how placing the actuator at a 'node' of a bending mode makes that mode uncontrollable. The key insight is that controllability isn't just about having actuators, but having them in the right place to influence all important system dynamics.

The flexible beam is a fantastic example of a physical cause of uncontrollability. If an actuator is placed at a point that doesn't move for a particular vibrational mode (a node), it's physically impossible for that actuator to add or remove energy from that mode. That specific mode is therefore uncontrollable. The system as a whole is deemed uncontrollable because there's a part of its dynamic behavior that the controller can't touch.

Fortunately for us, in the rotary inverted pendulum, the dynamic coupling between the arm and the pendulum is such that actuating the arm is sufficient to influence all the states. The system is, in fact, controllable. We will prove this mathematically in our next lesson.

Test your understanding!

Imagine a satellite in space. We are modeling its state with two variables: its orientation (angle) and its forward velocity. The satellite is equipped with thrusters that can only make it spin (change its orientation). It has no thrusters to propel it forward or backward.

Is this system controllable? Why or why not, based on the formal definition of controllability?

Show answer

The system is uncontrollable.

The formal definition of controllability requires that we can drive the system to any state in the state space. The state space consists of all possible combinations of orientation and forward velocity.

While the thrusters allow us to change the orientation to any desired angle, we have absolutely no way to change the forward velocity. If the satellite is drifting forward at 1 m/s, we can never command it to a state of 2 m/s or 0 m/s.

Since we cannot reach all possible states in the state space (specifically, any state with a different velocity), the system fails the test and is uncontrollable.


Conclusion

This lesson introduced the concept of controllability, a cornerstone of modern control theory.

Key Takeaways:

  • Controllability is the ability to steer a system's state from any initial point to any other final point in a finite amount of time using the available control inputs.
  • The physical interpretation is that our actuators must have influence over all of the system's dynamic modes. If a mode is "invisible" to the actuators (like the beam mode at a node), the system is uncontrollable.
  • The primary importance of controllability is that it is the necessary and sufficient condition for being able to design a state-feedback controller that can place the closed-loop system's poles (eigenvalues) anywhere we desire. This is how we stabilize unstable systems.

Preview of the Next Lesson:

So far, we have only discussed controllability conceptually. To be useful in engineering design, we need a mathematical test. In the next lesson, you will learn how to compute the controllability matrix and use its rank to determine if a system is controllable. We will then apply this definitive test to the inverted pendulum model to prove that we can, in fact, stabilize it.