Skip to main content

Welcome to a Grasp lesson

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

Lesson 12

Pole-Zero Cancellations and System Modes

Recommended resources

Hello! Welcome to our next lesson.

In the past few sessions, we've established robust state-space methods to determine if a system is controllable and observable. We learned that these properties are fundamental prerequisites for designing controllers that can steer the system to any desired state and observers that can estimate the system's internal state from its outputs.

Today, we'll bridge the gap between this modern state-space analysis and the classical transfer function approach you've likely seen before. Our goal is to relate uncontrollable or unobservable modes to pole-zero cancellations in a system's transfer function. You'll discover that what appears as a simple algebraic cancellation in a transfer function is actually the signature of a "hidden" internal dynamic—a mode that is either immune to the input or invisible to the output.

From State-Space to Transfer Function: Poles and Zeros

First, let's refresh the relationship between a state-space model and its transfer function. The transfer function is given by:

As you know from your signal processing work, the poles of dictate the system's dynamic modes (stability, oscillation frequency, etc.), while the zeros affect the response's shape and magnitude.

A common rule of thumb is that the poles of the transfer function are simply the eigenvalues of the state matrix . But is this always true? The following video provides an excellent and nuanced answer.

Finding Poles and Zeros using State-space Methods

This video, 'Finding Poles and Zeros using State-space Methods', explains how poles and zeros are derived from the A, B, C, and D matrices. It starts by confirming the link between poles and eigenvalues, but then introduces a critical exception.

Please watch from the beginning to 07:53. The first part (00:00 - 04:38) shows how the poles of the transfer function arise from the term det(sI - A) = 0, confirming that poles are generally the eigenvalues of A. The second part (04:38 - 07:53) discusses the crucial 'lie' or exception to this rule: when a zero of the numerator cancels a pole from the denominator. Pay close attention to the statement that this phenomenon is directly linked to the concepts of controllability and observability.

The key takeaway from the video is this:

  • The eigenvalues of A represent the poles of the system's internal dynamics.
  • The poles of the transfer function represent the poles of the system's input-output behavior.

These two sets are identical if and only if the system is both controllable and observable. If a mode is uncontrollable or unobservable, it will be absent from the transfer function due to a pole-zero cancellation.


The Danger of Hidden Modes

When a pole is cancelled by a zero, that mode becomes "hidden" from the input-output map. This might seem like a convenient simplification, but it can be extremely dangerous if the cancelled pole is unstable.

The following resource illustrates this with a stark example.

Lecture 3: Stability, Controllability & Observability

This lecture note provides a concise example of a system that is internally unstable but appears stable from its input-output behavior, precisely because of a pole-zero cancellation.

Please read Section 3.2, starting from 'Definition 3.2.1' and focusing on 'Example 3.2.3 (Zero-pole cancellations – revisited)'. This example shows a system with eigenvalues at -1 and +2 (internally unstable), but whose transfer function only has a pole at -1 (BIBO stable).

As the example shows, the system has an unstable eigenvalue at . This means that for certain initial conditions, the state vector will grow without bound. However, because this unstable mode is cancelled in the transfer function, it is invisible at the output . You could be looking at a perfectly well-behaved output signal while the system is internally tearing itself apart.

This is precisely why state-space analysis is so powerful; it reveals the complete internal picture, including these potentially hidden, unstable modes. The process of removing these cancellations to get the simplest input-output representation is called finding a minimal realization. In MATLAB, the minreal function is designed for this purpose, as shown in the video Using ‘minreal’ in Matlab to Perform Transfer Function Pole/Zero Cancellation (resource LINK).


Linking Cancellation to Controllability & Observability

So, how can we tell if a cancellation corresponds to a loss of controllability or observability? The structure of the system provides the answer. Consider a system made of two blocks in series, followed by .

Pole-Zero Cancellation and Controllability/Observability Demonstration
A discrete-time system showing a pole-zero cancellation. The pole at \(z=0.5\) in the first block is cancelled by the zero at \(z=0.5\) in the second. This structure leads to a loss of controllability, as the state equations and the rank-deficient controllability matrix show.

The logic, which applies equally to continuous-time systems, can be understood intuitively:

  1. Uncontrollable Mode: A mode becomes uncontrollable if the input signal's path to that mode is blocked. This happens when a zero upstream of a pole cancels it. In the diagram above, the input u(k) is filtered by the first block. If a subsequent block has a zero that cancels a pole from the first block, that pole's dynamic mode was never fully "excited" by the input in a way that can be seen at the final output. The input's influence is nullified.

  2. Unobservable Mode: A mode becomes unobservable if its contribution to the output is blocked. This happens when a pole is cancelled by a zero downstream. The state associated with the pole evolves internally, but its effect is filtered out by the subsequent zero before it can ever influence the final output .

This useful rule of thumb is summarized nicely in the document "Controllability and Observability" (resource LINK) under the heading 'Pole Zero Cancellation'.

Test your understanding!

A system is formed by cascading two transfer functions: , where and .

  1. What is the overall transfer function ?
  2. Based on the structure, is the unstable mode at controllable? Is it observable?
Show answer
  1. The overall transfer function is . The unstable pole at is cancelled and does not appear in the input-output map.
  2. The state corresponding to the pole at is part of the first block, . The zero that cancels it is in the second block, , which is downstream. Therefore, the mode is unobservable. The state will grow unboundedly, but its effect is perfectly cancelled by the zero in , so it will never be seen at the output. However, since the input u acts on this mode through before the cancellation happens, the mode is controllable.

Pinpointing the Problem: The PBH Test

The rank tests for the controllability and observability matrices tell us if a system has hidden modes, but they don't tell us which specific modes (eigenvalues) are the culprits. For that, we can use a more precise tool.

The Popov-Belevitch-Hautus (PBH) test allows you to check controllability and observability for each eigenvalue individually.

  • Controllability PBH Test: A mode is controllable if and only if the matrix has full rank ().
  • Observability PBH Test: A mode is observable if and only if the matrix has full rank ().

If the rank drops below for a specific eigenvalue, that is your hidden mode. This is an incredibly useful diagnostic tool, connecting directly to the linear algebra concepts you're familiar with. You can see examples of this test applied to an RC filter and the cart-pendulum system in the resource Controllability and Observability (ID LINK) under the 'PBH Test' section.


Conclusion

Today, we've connected the dots between state-space properties and transfer function analysis. This synthesis is crucial for a deep understanding of control systems.

Key Takeaways:

  • Pole-zero cancellation in a transfer function is the input-output signature of an uncontrollable or unobservable mode.
  • The system's minimal realization (the transfer function after cancellations) only describes the controllable and observable part of the system.
  • An unstable but hidden (unobservable) mode is a significant risk, as the system can be internally unstable while the output appears perfectly fine. State-space analysis is essential for detecting such conditions.
  • The structure of the cancellation tells you the nature of the issue: a zero canceling an upstream pole indicates an uncontrollable mode, while a zero canceling a downstream pole indicates an unobservable mode.
  • The PBH test provides a precise method to identify which specific eigenvalue corresponds to the uncontrollable or unobservable mode.

Preview of the Next Lesson:

We have now completed our tour of the fundamental properties of dynamic systems. You understand how to model systems, and how to analyze them for stability, controllability, and observability. You are now fully equipped to move into the core topic of this course: multivariable systems. In our next lesson, we will begin Module 3 by learning how to formulate state-space equations for systems with multiple inputs and multiple outputs (MIMO), setting the stage for modeling your rotary inverted pendulum.