Systems
System properties: linearity, time-invariance, causality. LTI (convolution) systems, BIBO stability, transfer functions, frequency response, Bode plots, feedback systems, and state-space descriptions.
An input-output system is defined by an input signal set , an output set and a subset , called the rule (relation) of the system. Hence, consists of the input-output pairs in the system. Associated with such an input-output relation is a transformation or map such that , and thus
and thus
Let be time-index sets; and be signal range spaces such that , that is:
If and consist of signals with discrete-time indices, then the system is said to be a discrete-time (DT) system. If the indices are both continuous, then the system is a continuous-time (CT) system. If one of them is discrete and the other continuous, the system is said to be hybrid. Often, we have , which will be assumed in the following.
System Properties
Let be an input signal range, an output signal range, and a time index. A system is memoryless if any input-output pair can be written component-wise as
for some fixed map .
Intuition: A memoryless system is one whose output at any time depends only on the input at that same instant -- it has no "memory" of past or future inputs. A simple resistor () is memoryless, while a capacitor (whose voltage depends on accumulated charge) is not.
A system is causal (non-anticipative) if the output at any time is not dependent on the input signal values at time . That is, let and . Let and . For any , if it is that for , then for a causal system it must be that .
Intuition: Causality means the system cannot "look into the future." The output at time can depend on the present and past inputs, but never on inputs that have not yet occurred. All physically realizable systems are causal -- you cannot respond to a stimulus before it happens.
Let a relation be given by where . Such a system is causal if ; it is memoryless if .
A system is time-invariant if for every input-output pair , a time-shift in the input leads to the same time-shift in the output; that is,
where we define a time-shift as follows: With or , let . We define with
Intuition: Time-invariance means the system's behaviour does not change over time. If you delay the input by , the output is simply delayed by the same amount. The laws governing the system are the same today as they will be tomorrow. Note that pushes a signal to the left by .
Linear Systems
Linear systems have important engineering practice. Many physical systems are locally linear, as we have seen earlier.
An input-output system is linear if , , are all linear vector spaces. However, in the context of our course, we will have a more restrictive definition for linearity.
A discrete-time (DT) system is linear if the input-output relation can be written as:
The function is called the kernel of the system. The value reveals the effect of an input at time to the output at time .
Intuition: A linear system is one where the output is a weighted sum (superposition) of all the input values, with the weights given by the kernel . This kernel tells you how much influence the input at time has on the output at time . The key feature is that doubling the input doubles the output, and the response to a sum of inputs is the sum of responses.
We note here that a precise characterization for linearity (for a system as in ) would require the interpretation of a system as a (bounded) linear operator from one space to another space. One can obtain a Riesz representation theorem type characterization leading to , provided that and satisfy certain properties, and the system is continuous and linear. The following discussion makes this explicit.
Let be a linear system mapping to . Let this system be linear and continuous; then the system can be written so that where:
for some .
Building on this discussion, one takes the representation above as a definition of a linear system: In our course and in standard terminology in engineering and applied science, we generally say that a discrete-time (DT) system is linear if the input-output relation can be written as .
Observe that in the representation argument above, one can generalize the result for any as the input space with ; and the output space can be any space with .
Likewise, we define a continuous-time (CT) system to be linear if the input-output relation can be expressed as
Intuition: The continuous-time analogue replaces summation with integration. Instead of discrete weights , we have a kernel function that describes how the input at continuous time influences the output at time .
Linear and Time-Invariant (Convolution) Systems
If, in addition to linearity, we wish to have time-invariance, then one can show that
will have to be such that should be dependent only on . This follows from the fact that a shift in the input would have to lead to the same shift in the output, implying that for any .
Let us discuss this further. Suppose a linear system described by
is time-invariant. Let, for some ,
so that . Let the signal be the output of the system when the input is the discrete-time signal . It follows that
By time-invariance, it must be that . That is, or . Thus,
Since the equivalence in - above has to hold for every input signal, it must be that for all values, and for all values. Therefore should only be a function of the difference . Hence, a linear system is time-invariant if and only if the input-output relation can be written as:
for some function .
The function is called the impulse response of the system since, if , then
Due to this representation, linear time-invariant systems are also called convolution systems.
Intuition: The impulse response completely characterizes an LTI system. It is the output you get when you "kick" the system with a single unit pulse at time zero. Because of linearity and time-invariance, knowing this single response lets you predict the output for any input via convolution: every input is just a weighted, shifted sum of impulses.
One can show that a convolution system is non-anticipative (causal) if for .
Similar discussions apply to continuous-time systems by replacing the summation with integrals:
Let be the generalized Dirac delta (impulse) function which we view as the limit of an approximate identity sequence (thus defining the Dirac delta distribution). Notably, if is continuous, it follows that
Thus, we have that when ,
The function is the output of the system when the input is the generalized Dirac delta function. This is why is called the impulse response of a convolution system.
Intuition: Just as in the discrete-time case, the continuous-time impulse response tells you the system's output when hit with an idealized instantaneous "kick" (). Through convolution, the output to any input is the integral of all these shifted, scaled impulse responses.
Exercise
Let and and real-valued. Recall that the solution to the following differential equation:
with the initial condition is given by
(a) Suppose that and all eigenvalues of have their real parts as negative and . Let . Show that if one is to represent , we have
(b) Alternatively, we could skip the condition that the eigenvalues of have their real parts as negative, but require that and for . Express the solution as a convolution , and find .
(c) Let . Repeat the above.
Exercise
Let and . Consider a linear system given by
with the initial condition for some .
(a) Suppose all the eigenvalues of are strictly inside the unit disk in the complex plane and . Let . Express the solution as a convolution , and find that
(b) Alternatively, we could skip the condition that the eigenvalues of are strictly inside the unit disk in the complex plane, but require that so that and also for . Express the solution as a convolution , and find .
(c) Let . Repeat the above.
Bounded-Input-Bounded-Output (BIBO) Stability of Convolution Systems
A DT system is BIBO stable if implies that .
Intuition: BIBO stability asks a simple question: if the input is bounded (never blows up), is the output guaranteed to be bounded too? A system that amplifies bounded inputs into unbounded outputs is unstable and dangerous in practice -- an amplifier that produces infinite voltage from a finite input signal is clearly undesirable.
A CT system is BIBO stable if implies that .
Intuition: The continuous-time version of BIBO stability is identical in spirit to the discrete-time version: bounded inputs must produce bounded outputs for the system to be considered stable.
A convolution system is BIBO stable if and only if
In particular, as a linear map, the convolution system satisfies
Intuition: This is a beautifully clean result: an LTI system is BIBO stable if and only if its impulse response is absolutely summable (or integrable in CT). The norm of is exactly the worst-case amplification factor -- the operator norm of the system. If the impulse response decays fast enough that its total absolute area is finite, the system is stable; if not, there exists some bounded input that will drive the output to infinity.
The Frequency Response (or Transfer) Function of Linear Time-Invariant Systems
A very important property of convolution systems is that, if the input is a harmonic function, so is the output. Let
be the input to a system with impulse response . Then,
which leads to
We define
and call this value the frequency response of the system for frequency , whenever it exists. This expression is the Fourier Transform of .
Intuition: The frequency response tells you what the system does to each pure frequency: it scales the amplitude by and shifts the phase by . Complex exponentials are eigenfunctions of LTI systems -- they pass through unchanged in shape, only modified in amplitude and phase. This is precisely why Fourier analysis is so powerful for studying LTI systems.
Later on we will consider , , and we will generalize the frequency response above (defined for , ) to the notion of transfer function of a system.
A similar discussion applies for a discrete-time system. Let . If , then
The frequency response function for a discrete-time LTI system is
Intuition: The discrete-time frequency response is the DTFT of the impulse response. Just like in continuous time, it tells you the gain and phase shift the system applies to each frequency component. Convolution systems are used as filters through the characteristics of the frequency response.
Steady-State vs. Transient Solutions
Let . Consider a system defined with the relation:
for some fixed . Consider an input , for some (for the time being, assume that for some ). Suppose that is not an eigenvalue of . Using the relation
we obtain
Using the property that for any
we obtain
The first term is called the transient response of the system and the second term is called the steady-state response.
If is a stable matrix, with all its eigenvalues inside the unit circle, the first term decays to zero as increases (or with fixed , as ). Alternatively, if we set and write
the output becomes
The map
is called the transfer function of the system. When , this is the frequency response.
Intuition: The transfer function generalizes the frequency response from the imaginary axis () to the entire complex plane. It encodes how the system responds not just to pure sinusoids, but to exponentially growing or decaying complex exponentials. The case recovers the frequency response; evaluating at other complex values gives insight into transient behaviour and stability.
The case with is crucial for stable systems. Later on we will investigate the more general case with .
Bode Plots for Studying System Response to Harmonic Inputs
If we apply or , we observed in the above that the output would be .
Bode plots allow us to efficiently visualize by depicting the magnitude and phase, with a logarithmic scale; in the pre-digital era of mid-20th century in the absence of advanced computers, such plots were effective means to represent transfer functions with the logarithmic scale.
Observe that since , it suffices to consider only . Let . Let and , where and is the phase of .
Thus,
and
Note also that
so that
Thus, the logarithms allow us to consider the contributions of each complex number in an additive fashion both for the magnitude and the phase.
Building Blocks for Bode Plots
Now, consider
We can thus consider the contributions of , , and separately.
For , we note that
and
For , we use the following approximations:
- For : .
- For : .
- For : .
Likewise, for the angle:
- For : .
- For : .
- At : .
For :
- For , the magnitude is approximately 1, with its logarithm approximately 0.
- For , the magnitude is .
- For , the magnitude decays as .
For the phase:
- For , the phase is approximately 0.
- For , the phase is .
- For , the phase is close to .
Bode plots approximate these expressions in a log-log plot (for the magnitude).
Interconnections of Systems and Feedback Control Systems
We will discuss serial connections, parallel connections, output and error feedback connections.
Control systems are those whose input-output behaviour is shaped by control laws (typically through using system outputs to generate the control inputs -- termed, output feedback --) so that desired system properties such as stability, robustness to incorrect models, robustness (to system or measurement noise) -- also called, disturbance rejection --, tracking a given reference signal, and ultimately, optimal performance are attained. These will be made precise as control theoretic applications are investigated further.
State-Space Description of Linear Systems
We will study state-space realizations of linear time-invariant systems in further detail in Chapter 9. We provide a brief discussion in the following.
Principle of Superposition
For a linear time-invariant system, if is an input-output pair, then is also an input-output pair and thus, , is also such a pair.
State-Space Description of Input-Output Systems
The notion of a state. Suppose that we wish to compute the output of a system at for some . In a general (causal) system, we need to use all the past applied input terms and all the past output values to compute the output at . The state of a system summarizes all the past relevant data that is sufficient to compute the future paths. Some systems admit a finite-dimensional state representation, some do not.
Intuition: The state is a "sufficient summary" of the system's entire history. If you know the state at time , you can predict all future outputs given future inputs, without needing any information about what happened before . This is what makes state-space methods so powerful: they compress potentially infinite history into a finite-dimensional vector.
Continuous-Time State-Space Form
Consider a continuous-time system given by:
with . Such a system can be written in the form:
Discrete-Time State-Space Form
Likewise, consider a discrete-time system of the form:
with , can be written in the form
where
Stability of Linear Systems Described by State Equations
Consider a system defined by the linear differential equation
This system is BIBO stable if and only if
where denotes the real part of a complex number, and denotes the eigenvalues of .
Intuition: For a continuous-time system, BIBO stability requires all eigenvalues of to have strictly negative real parts -- they must lie in the open left half of the complex plane. This ensures that all natural modes of the system decay exponentially, so no bounded input can cause the output to blow up. This is the continuous-time analogue of the "all poles inside the unit circle" condition.
Consider a system defined by the linear difference equation
This system is BIBO stable if and only if
where denotes the eigenvalues of .
Intuition: For a discrete-time system, BIBO stability requires all eigenvalues of to lie strictly inside the unit disk in the complex plane. This is the discrete-time counterpart to the left-half-plane condition: geometric decay in discrete time corresponds to exponential decay in continuous time.
Exercises
Exercise
Consider a linear system described by the relation:
for some .
(a) When is such a system causal?
(b) Show that such a system is time-invariant if and only if it is a convolution system.
Exercise
Let and and real-valued. Recall that the solution to the following differential equation:
with the initial condition is given by
Suppose and for . Express the solution as a convolution , and find .
Note: With the assumption that the system is stable, we can avoid the condition that for . In this case, we are able to write
and take the limit as , leading to .
Exercise
Let and . Consider a linear system given by
with the initial condition . Suppose and for . Express the solution as a convolution , and find .
Note: With the assumption that the system is stable, we can avoid the condition that for . In this case, we can write
and take the limit as leading to .
Exercise
Consider a continuous-time system described by the equation:
where .
(a) Find the impulse response of the system. Is the system bounded-input-bounded-output (BIBO) stable?
(b) Suppose that the input to this system is given by . Let be the output of the system. Find .
(c) If exists, find
for all .
Exercise
Consider a discrete-time system described by the equation:
(a) Is this system linear? Time-invariant?
(b) For what values of is the system BIBO (bounded-input-bounded-output) stable?
Exercise (Stability of Linear Time-Varying Systems)
Let be a linear system mapping with the representation;
for some . Show that this system is BIBO stable if
Let us define a system to be regularly BIBO stable if for , such that implies . Show that the system above is regularly BIBO stable if and only if
Exercise
Let be a linear system mapping to . Show that this system is linear and continuous only if the system can be written so that with ;
for some .