In this control theory and control engineering tutorial, we provide an easy-to-understand explanation of the controllable canonical form. The controllable canonical form is also known as the reachable canonical form or control canonical form. The YouTube video accompanying this tutorial is given below.
Motivation for Studying Controllable Canonical Form
Generally speaking, the controllable canonical form is a state-space description of the system in which all the system modes are controllable. Namely, it can be shown that the determinant of the controllability matrix of the state-space model in the controllable canonical form is equal to one, and consequently, the system is controllable.
The controllable canonical form serves as the basis of a number of control and estimation methods. For us, the most important method is the pole placement method. Namely, by creating the controllable canonical state-space description, we can easily determine the characteristic polynomial of the system, and we can easily assign the poles of the closed-loop system by using the state feedback. This is explained in the tutorial on pole placement by using the controllable canonical form that is given over here.
The Main Idea of the Controllable Canonical Form
We explain the main idea of the controllable canonical form by considering a third-order system. However, everything explained in the sequel can easily be generalized to systems of arbitrary order. The main idea of the controllable canonical form is explained by using the following example:
(1)
This is a third-order transfer function, is the output of the system in the Laplace domain , is the input of the system in the Laplace domain, and is the transfer function. Our goal is to write down a state-space model of the system (1). For that purpose, we write the original system in this form
(2)
where is the Laplace transform of the variable ( is in the time domain). The variable is usually called the partial state.
First, we focus on the transfer function :
(3)
From this transfer function, we have
(4)
or in the time domain
(5)
where is the third derivative of , is the second derivative, and is the first derivative. We obtained this time-domain description of the system by keeping in mind that in the complex domain is equivalent to in the time domain, where is an arbitrary positive integer and is the -th derivative of . The equation (5), can be written as follows
(6)
On the other hand, consider the function :
(7)
In the time domain, this system has the following form
(8)
The equations (6) and (8) enable us to write a state-space model in the controllable canonical form. From (6), we can see that the following state variable assignment
(9)
will produce the following equation
(10)
On the other hand, from (8) and by using (9), we obtain the following output equation
(11)
By using (9), (10), and (11), we obtain the following state-space model
(12)
The last equation can be written compactly
(13)
where
(14)
The equation (12) is the controllable canonical form. This form is also called the upper companion form.
The state-space model in the controllable canonical form is controllable
Here we will show that the state-space model in the controllable canonical form is controllable.
The controllability matrix is defined as
(15)
The system is controllable if and only if
(16)
From (12), we see that
(17)
Substituting (17) in (15), we obtain
(18)
The controllability matrix is an upper triangular matrix. It can easily be shown that the determinant of the upper triangular matrix is equal to . Consequently, the system is controllable.
Creating a Block Diagram of the Controllable Canonical Form
Here, we explain how to create a block diagram of the controllable canonical form.
Let us focus on the equation (6). Here, we will rewrite this equation for ease of following this tutorial.
(19)
This is basically a summation block which is shown in the figure below.
Next, we need to add the signal. We can do that by observing that signal is the feedback from . Consequently, we need to add an integrator to produce from , and to add feedback with the gain of . This is shown in the figure below.
By using the same procedure we add two integrators and two additional feedbacks corresponding to and h_{2}. Consequently, we obtain the diagram shown in the figure below.
Next, we need to add a part of the block diagram corresponding to the output equation (8). This equation is repeated here for completeness:
(20)
By using the same principle, we can add blocks corresponding to the output equation. As the result, we obtain the final block diagram shown in the figure below.