Predicting system behavior is the goal of analyzing signals and systems. We want to be able to predict how a system will behave in the long term with any input. Specifically, analyzing discrete-time, linear time-invariant systems (LTI systems) is an important application of this method due to its usefulness in areas such as circuitry and modern system design. So, in this wiki, we will focus on LTI systems and predicting their behavior.
Systems can be described for a finite input in simple terms. The long-term behavior of the output can either be increasing or decreasing, and it can have a constant sign or an alternating sign. For example, a system whose output is decreasing over time with an alternating sign would have a graphical representation that looks like this:
This graph could represent a spring on the floor, anchored at some point. If you pull out the spring to the right of where it is anchored (the positive direction) and let go, it will respond by moving back the left of its anchor (the negative direction). However, it will lose some of its momentum, and as it continues to oscillate around its anchor, it will travel less distance each time. Eventually, it will come to a halt at the anchor.
Recall from the wiki on linear time-invariant systems that all systems can be described by a system function that is a polynomial in space. For example, a system that adds the input to the signal from the previous time step would have the equation
This is the same as the difference equation
In both cases, the real meaning of delay is needed to have any hope of predicting what the systems will do. In this course of study, it is generally assumed that all systems start at rest, or that all input and output values of the system before time 0 are equal to 0. This is how this system behaves going forward, given the unit impulse function as the input signal:
This trend continues, and the value of this system is always 1 from now until the end of time. That's a bit surprising given that only a small jump start was given to this system. This system is persistent because there is an infinite number of non-zero samples in the output. A transient system would have a finite number of non-zero samples in the output.
The operator equation, , can be rewritten as
This is a very important equation because it will come up all the time when dealing with delays. A better way of describing this is needed, and comparing it to a feedforward system helps. Consider the following two geometric series:
If we subtract the first equation from the second, we get
This same method can be applied to a system, , where
Try to imagine the block diagram that describes system . Try drawing it on a piece of paper before looking at the answer.is an interesting system that has an infinite number of feedforward paths. Each subsequent feedforward path has one additional delay (with the first path having no delay). There is an adder right before the output for all paths. It looks something like this:
First-order systems are simple systems that provide an easier introduction to predicting system behavior. A first-order system is a system that has a system function that only exists in space when . That is, it only involves terms, not or higher terms.
You may be wondering about zero-order systems. What's another name for zero-order systems?A zero-order system might also be called a feedforward system because there is zero delay. These systems are simple to understand because for any signal with a finite number of non-zero samples, it will produce an output with a finite number of non-zero samples.
To get an idea of how we might predict the first-order system, let's look at a simple block diagram.
Once you find the corresponding system function for this block diagram, we can use the transformation we found above to make the system function:
So, the output signal is a sum of the scaled and delayed input signal. Say equals 1.5. Then
In other words, the system grows more and more as time goes on because grows as grows In fact, the systems can all be described by poles, the base of the geometric sequence. In that example, the pole was 1.5. The value of the pole describes how the system will behave over time.
The value of the pole determines the behavior of the system.
Value of pole, Behavior of system (mode) The output increases to and the sign alternates. The output magnitude decreases towards 0 and the sign alternates. The output magnitude decreases towards 0 monotonically. The output increases to monotonically.
These behaviors are called modes. For a fixed pole, there is only one mode for a first-order system. However, more complex systems can display more than one mode.
Second-order systems have system functions whose denominator is second-order meaning it has both and values A useful tool for understanding second-order systems is decomposing them into collections of first-order systems. Remember that we can do that because LTI systems have the important property that combinations of LTI systems are themselves LTI systems.
Take the following second-order LTI system:
This system can be represented by the following system function:
There are a few ways we can break this system down into first-order systems:
We can think about this system as a cascade of two first-order systems. The cascade of two systems is putting one system after the other. The output from the first system becomes the input to the next system. The goal here is to find and such that . So we need to factor the denominator of our previous system function:
So, now we have and . In other words, it's two systems, one with pole 0.6 and one with pole -0.4. The new system diagram looks like this:
We can also decompose the second-order system into the sum of two first-order systems. Note that summing two systems is not the same as cascading them. The goal here is to find and such that . This process uses partial fraction decomposition.
So, we have our factored system function and, to perform the decomposition, we have
We need to solve for and
Now we need to equate terms on each side of the equation that have equal powers of , so
which means we now have where
This block diagram is a little trickier to figure out. But it's a feedforward system with two feedback subsystems. The terms that are in the numerator of each subsystem and appear as gains after the feedback.
This system, unlike first-order systems, has two poles. So, predicting its behavior is not as straightforward. On the one hand, the top system has 0.6 as its pole, and the bottom system has -0.4 as its pole. They both cause the system to decrease its output magnitude over time, but should the sign alternate or stay monotonic?
The dominant pole dictates what the system does over time.
For any -order system, the dominant pole is the pole with the largest magnitude.
So, for our system, the dominant pole is 0.6. This system will monotonically decrease its output magnitude.
Imagine a system function that looks like this:
Factoring the denominator gives us
We have complex poles. The poles are and . This is not an uncommon occurrence. Difference equations can describe systems in the real world without having any complex terms in them. However, they can still have complex poles. For example, the difference equation that describes this equation is
To work with these complex numbers, we transform them into polar coordinates. So, becomes , where
The magnitude is , and the angle is .
Complex poles produce complex modes. So, while a real pole might give us
a complex pole will give us
What's going on here as tends towards infinity? If you think of as a point in the complex plane, it's easier to visualize. As time goes on, the radius of that point will change due to increasing or decreasing. The angle will change, but it won't affect the radius magnitude, it will just rotate it around the origin of the plane. So every will be rotated by . We call the period of this signal because that's the number of samples it takes to complete one full circle.
Because complex numbers always come in conjugate pairs, their imaginary parts always cancel each other out. This allows us to figure out a difference equation that has real numbers, so we can understand the system. Consider a system with poles and so that
Multiplying out the denominator, we get
Remembering that , this equals
and because and , this in turn equals
The complex portions canceled each other out because . This is great because now we can write a difference equation that helps us understand how this system behaves:
But how can we understand how our system will behave? For a difference equation , we know the system cannot be smaller than or greater than . These are the bounds of our output signal. provides an important clue as well. dictates how fast the system will decrease. Finally, will dictate the oscillation frequency between the bounds.
In the following graphic, the red and green lines are the bounds of the system. dictates how fast the system is decaying, and dictates the period of oscillation .
- Bj, R. 6.01 Spring 2016. Retrieved June 21, 2016, from http://sicp-s4.mit.edu/6.01/spring16/reference/notes/sigsys