Home/Chapter 1

Introduction

Course overview, systems as maps, applications in control, signal processing, and communications. Linearization of nonlinear systems.

Introduction

In a differential equations course, one studies quantitative and qualitative behaviours of solutions to differential equations. For such equations, under mild regularity conditions, a given initial condition (in the absence of disturbances) leads to a unique solution/output. One could generalize this to difference equations for discrete-time equations.

For such setups, we can view the solution as a map from a set of initial conditions to an appropriate set of solutions/outcomes such as a set of paths; e.g. continuous functions for the former (continuous-time setup), and discrete-time functions for the latter (discrete-time setup).

This solution map may be regarded as a system mapping the set of possible inputs (that is, a set of initial states) to the set of possible outputs (that is, a set of functions).

Studying several regularity properties (such as continuity, stability, robustness) of such a map has remarkable implications in engineering and applied mathematics. In many engineering or applied mathematics areas, one may also need to consider the presence of noise/disturbance terms (which are typically external/exogenous inputs) or one may also have the liberty to affect the solutions through introducing an external control term. Accordingly, one should view the aforementioned map to be from some set of initial states, some set of disturbances and some set of external inputs, to some output set.

Systems theory is concerned with rigorously studying, defining and analyzing, as well as shaping the input-output behaviour of such maps (which we will call systems).

In this course, we will study systems theory and through our development, we will also present a detailed analysis on signal spaces, representation of signals using signal bases, and their optimal approximations, and we will introduce some aspects of optimization. There are many applications that we will study in our course, which will primarily concern signal processing, communications, and control; but we will also find occasions to touch on many related applications involving signal spaces and systems design.

In the context of systems which are linear (a rigorous definition is to be given later; these systems are essentially linear functions from a linear space of inputs to a linear space of outputs), causal (where the output at any given time cannot depend on inputs occurring at later time stages) and time-invariant (where a time shift or delay in the input leads to an equivalent time shift in the output), we will see that the input-output relation admits very efficient representational properties when the signals are expressed in terms of complex harmonics.

This will motivate the Fourier Transform, and its generalizations (the Laplace Transform and the Z-transform), which will be studied in detail in our course.

To rigorously study the Dirac Delta generalized function, which will let us define the impulse response and the frequency response of linear time-invariant systems, we will introduce distribution theory and the Schwartz space of signals (which is also critical for the Fourier Transform theory).


Applications

Applications in Control Theory

In control systems, the goal is to shape the input-output behaviour by possibly utilizing feedback from system outputs under various design criteria and constraints. Commonly considered criteria are system stability (e.g. convergence to a point or a set with respect to initial state conditions, or boundedness of the output corresponding to any bounded input), reference tracking, robustness to incorrect models (unspecified system dynamics) and presence of disturbance (which may appear in the system itself or in the measurements available at the controller: that is, either as a system noise or a measurement noise), and optimal control.

A common, and one of the earliest modern examples, of control systems is the thermostat-based temperature control system. In this example, TdT_d is a desired temperature, TrT_r is the (actual) room temperature, h1h_1 is the heat from the furnace and hoh_o represents the heat leaked outside (or the cold air entering the house). The thermostat is the controller which decides on whether the gas valve should be turned on or off based on the desired temperature and the sensed actual room temperature; uu is the control input representing these turn-on or turn-off signals. The furnace is the actuator which maps the control input to the heat input, h1h_1, entering the system. House is the process or the system, whose output (the room temperature) is to be controlled. Often one lumps the actuator and the system (house in this case) as a single unit and calls it a plant. Thus, one typically considers a controller and a plant (to be controlled), in a control system together with the external inputs to the system (in this case: the desired temperature and the heat leakage).

ExampleStability via Feedback Control

Consider the system

dxdt=ax(t)+u(t)+n(t)\frac{dx}{dt} = ax(t) + u(t) + n(t)

where aR+a \in \mathbb{R}_+ is a scalar, u(t)u(t) is the control input that can be selected given the information {x(s),s<t}\{x(s), s < t\}, and n(t)n(t) is some disturbance/noise acting on the system. The disturbance is external, that is, the controller has nothing to do with its generation.

Without control (u=0u = 0): If a>0a > 0, the solution is

x(t)=eatx(0)+0tea(ts)n(s)ds.x(t) = e^{at}x(0) + \int_0^t e^{a(t-s)}n(s)\,ds.

In particular, if n(s)=K0n(s) = K \neq 0 for some constant KK, then even when x(0)=0x(0) = 0, we have limtx(t)=\lim_{t \to \infty} |x(t)| = \infty. The system is unstable.

With feedback control: If we use the control input (using the feedback from the state of the system)

u(t)=(a+1)x(t),tR+,u(t) = -(a+1)x(t), \qquad t \in \mathbb{R}_+,

we obtain the equation

dxdt=x(t)+n(t)\frac{dx}{dt} = -x(t) + n(t)

with the solution

x(t)=etx(0)+0te(ts)n(s)ds,x(t) = e^{-t}x(0) + \int_0^t e^{-(t-s)}n(s)\,ds,

which remains bounded if supsRn(s)<\sup_{s \in \mathbb{R}} |n(s)| < \infty. Thus, with control utilizing feedback we have achieved some notion of stability which will be termed as bounded-input-bounded-output stability. The input is nn, the output is y=xy = x, and u(t)=(a+1)x(t)u(t) = -(a+1)x(t).

The setup depicted in the thermostat example can be considered as a reference-tracking example, where the desired temperature process is the reference signal that the system output is designed to be tracking.

Control can also be used to steer the state of the system from some initial condition to some final condition. If the final condition is an equilibrium point, often this task is called stabilization. If the goal is to steer the state to some arbitrary point in the state space, the task is called reachability (from an initial state) or controllability (with respect to a final state). A related concept is observability, which is a crucial concept in particular when the information available at the controller with regard to the state is perturbed by some measurement noise.

Applications in Signal Processing Theory

Applications in signal processing has enabled much of modern technology. Two primary applications are in filter design, which allows for estimation and denoising, and sampling theories which allow for discrete-time processing of continuous-time signals.

Consider a signal xx which is perturbed by noise ww. A filter is a system which takes the noisy signal y=x+wy = x + w as input and provides a cleaner signal x^\hat{x} as its output.

Many systems in practice are continuous, but they need to be processed by computers, which inevitably have to work with discrete-time/discrete-space signals (as the ultimate language of transistors/chips are binary in terms of 0s and 1s). Therefore, one needs to first sample a continuous-time signal and work with such signals in discrete-time, before processing them, and interpolating them back to the continuous-time domain.

Applications in Communications and Information Theory

Modern engineering systems are typically highly interconnected with their environment which necessitates the presence of data-links between various components of a system. Typically such systems require finite representations of uncountable or large state space valued signals (in addition to discrete-time representation/approximation of continuous-time signals). These include quantization, coding and decoding of signals over communication channels (with or without feedback). Each of the individual components, such as encoders, channels and decoders, may separately be viewed as systems, though typically by the term communication system, we will refer to the entire ensemble mapping the source symbol and stochastic noise (in the channel), to the decoder output.

Many other systems, however, operate in continuous-time. An example is a classical analog radio communication system, in which signals are modulated to carrier signals with targeted frequency waves, transmitted over wireless or wired media, and demodulated upon reception by a decoder (radio receiver).


Linearization

Even though the primary focus of these notes is on linear models, we will see that linearization of non-linear models, around a point of interest leads to a design method where a design based on the linear model achieves satisfactory performance for the non-linear system in a local sense to be studied later in the notes.

Let g:RnRmg : \mathbb{R}^n \to \mathbb{R}^m be a differentiable function. Let g(x)=[g1(x)gm(x)]g(x) = \begin{bmatrix} g^1(x) \dots g^m(x) \end{bmatrix} and xRnx \in \mathbb{R}^n be written as x=[x1xn]Tx = \begin{bmatrix} x^1 \dots x^n \end{bmatrix}^T. The Jacobian matrix of gg at xx, Jx(g)J^x(g), is an m×nm \times n matrix function consisting of partial derivatives of gg such that

Jx(g)(i,j)=gixj(x),i=1,2,,m;  j=1,2,,nJ^x(g)(i,j) = \frac{\partial g^i}{\partial x^j}(x), \qquad i = 1, 2, \cdots, m;\; j = 1, 2, \cdots, n

Now, let xRmx \in \mathbb{R}^m and uRpu \in \mathbb{R}^p and

dxdt=f(x,u)\frac{dx}{dt} = f(x, u) \qquad \text{}

be such that f(xˉ,uˉ)=0f(\bar{x}, \bar{u}) = 0 for some (xˉ,uˉ)Rm×Rp(\bar{x}, \bar{u}) \in \mathbb{R}^m \times \mathbb{R}^p. In this case, we say that xx is at equilibrium at xˉ\bar{x} under input uˉ\bar{u}. Suppose that we slightly perturb xx and uu around the equilibrium (xˉ,uˉ)(\bar{x}, \bar{u}). Let us write x(t)=xˉ+x~(t)x(t) = \bar{x} + \tilde{x}(t) and u=uˉ+u~(t)u = \bar{u} + \tilde{u}(t), where x~\tilde{x} and u~\tilde{u} are small. Then,

d(xˉ+x~)dt=f(xˉ+x~,uˉ+u~)\frac{d(\bar{x} + \tilde{x})}{dt} = f(\bar{x} + \tilde{x}, \bar{u} + \tilde{u})

Notice that d(xˉ+x~)dt=dx~dt\frac{d(\bar{x} + \tilde{x})}{dt} = \frac{d\tilde{x}}{dt}. If ff is continuously differentiable, it follows that

f(xˉ+x~,uˉ+u~)f(xˉ,uˉ)+Jxf(xˉ,uˉ)x~+Juf(xˉ,uˉ)u~,f(\bar{x} + \tilde{x}, \bar{u} + \tilde{u}) \approx f(\bar{x}, \bar{u}) + J^f_x(\bar{x}, \bar{u})\tilde{x} + J^f_u(\bar{x}, \bar{u})\tilde{u},

where Jxf(xˉ,uˉ)J^f_x(\bar{x}, \bar{u}) is the Jacobian of f(,uˉ):RmRmf(\cdot, \bar{u}) : \mathbb{R}^m \to \mathbb{R}^m at fixed uˉ\bar{u} and Juf(xˉ,uˉ)J^f_u(\bar{x}, \bar{u}) is the Jacobian of f(xˉ,):RpRmf(\bar{x}, \cdot) : \mathbb{R}^p \to \mathbb{R}^m at fixed xˉ\bar{x}. Let

Jxf(xˉ,uˉ)=:A,Juf(xˉ,uˉ)=:B,J^f_x(\bar{x}, \bar{u}) =: A, \qquad J^f_u(\bar{x}, \bar{u}) =: B,

we obtain

dx~dt=Ax~+Bu~,\frac{d\tilde{x}}{dt} = A\tilde{x} + B\tilde{u},

as an approximate linear description of the system at around the equilibrium point (xˉ,uˉ)(\bar{x}, \bar{u}). We will observe that such a linearization is very useful in systems design.

ExampleInverted Pendulum on a Cart

Consider the following example involving an inverted (non-linear) pendulum over a cart system, with masses of the pendulum and cart given with mm and MM, respectively. The goal is to keep the inverted pendulum (locally) stable around θ=0\theta = 0 by the control acting horizontally on the cart with mass MM.

The non-linear mechanical/rotational dynamics equations can be derived as:

u=Md2ydt2+md2dt2(y+lsin(θ))=Md2ydt2+md2ydt2+mlcos(θ)d2θdt2ml(dθdt)2sin(θ)u = M\frac{d^2y}{dt^2} + m\frac{d^2}{dt^2}(y + l\sin(\theta)) = M\frac{d^2y}{dt^2} + m\frac{d^2y}{dt^2} + ml\cos(\theta)\frac{d^2\theta}{dt^2} - ml\left(\frac{d\theta}{dt}\right)^2\sin(\theta) \qquad \text{}

ml2d2θdt2=mgsin(θ)lmd2ydt2cos(θ)lml^2\frac{d^2\theta}{dt^2} = mg\sin(\theta)l - m\frac{d^2y}{dt^2}\cos(\theta)l

Around θ=0\theta = 0, dθdt=0\frac{d\theta}{dt} = 0, we apply the linear approximations sin(θ)θ\sin(\theta) \approx \theta and cos(θ)1\cos(\theta) \approx 1, and (dθdt)20\left(\frac{d\theta}{dt}\right)^2 \approx 0 to arrive at

Md2ydt2=u(md2ydt2+mld2θdt2)M\frac{d^2y}{dt^2} = u - \left(m\frac{d^2y}{dt^2} + ml\frac{d^2\theta}{dt^2}\right)

ld2θdt2=gθd2ydt2l\frac{d^2\theta}{dt^2} = g\theta - \frac{d^2y}{dt^2} \qquad \text{}

Finally, writing x1=yx_1 = y, x2=dydtx_2 = \frac{dy}{dt}, x3=θx_3 = \theta, x4=dθdtx_4 = \frac{d\theta}{dt}, and manipulating the equations, we arrive at the linear model in state space form

dxdt=[010000mgM0000100(M+m)gMl0]x+[01M01Ml]u,\frac{dx}{dt} = \begin{bmatrix} 0 & 1 & 0 & 0 \\ 0 & 0 & \frac{-mg}{M} & 0 \\ 0 & 0 & 0 & 1 \\ 0 & 0 & \frac{(M+m)g}{Ml} & 0 \end{bmatrix} x + \begin{bmatrix} 0 \\ \frac{1}{M} \\ 0 \\ \frac{-1}{Ml} \end{bmatrix} u,

where x=[x1x2x3x4]Tx = \begin{bmatrix} x_1 & x_2 & x_3 & x_4 \end{bmatrix}^T.

A remarkable implication is the following: Using some systems theoretic analysis, it can be shown that linearization will let us construct a control function/policy/law that makes the idealized linear system stable, which in turn makes the original non-linear system locally stable around the (open-loop unstable) equilibrium point.


Mathematics of Systems

Given the introductory discussion presented, in the following we will first develop a rigorous study of a class of signal spaces which arise in systems theory and applications. We will then investigate signal expansions and approximations. This will also serve as an introduction to Fourier theory.

We will then study systems and their various regularity, structural and stability properties. We will, in this course, particularly focus on linear systems. A primary motivation, as we saw earlier in the previous section, is that many physical systems are either linear or locally almost linear (in the sense that a design based on a linear approximation leads to satisfactory performance for the original non-linear system).

Fourier theory occupies a dominant domain in linear systems theory: In the historical theory of systems (and control), one often reads about classical design vs. modern design: classical design is with regard to methods based on frequency-domain analysis of systems, and modern design (or state-space design) refers to methods based on time-domain analysis. In our course, we will discuss both approaches extensively. Fourier theory (and its generalizations via Laplace and Z-transforms) facilitate the frequency-domain analysis.

We will then study several applications in further detail. The course will lay the foundations for further study on the applications considered here, in addition to many related areas in both engineering and applied mathematics.