The transfer function and the classical input-output differential equation for any system variable may be found directly from a state space representation through the Laplace transform.
The following example illustrates the general method for a first-order system.
Classical representations of higher-order systems may be derived in an analogous set of steps by using the Laplace transform and matrix algebra. A set of linear state and output equations written in standard form:
(1)
(2)
may be rewritten in the Laplace domain. The system equations are then
(3)
and the state equations may be rewritten:
(4)
where the term creates an matrix with on the leading diagonal and zeros elsewhere. (This step is necessary because matrix addition and subtraction is only defined for matrices of the same dimension.) The matrix appears frequently throughout linear system theory; it is a square matrix with elements directly related to the matrix:
(5)
The state equations, written in the form of Eq. (4), are a set of n simultaneous operational expressions. The common methods of solving linear algebraic equations, for example Gaussian elimination, Cramer’s rule, the matrix inverse, elimination and substitution, may be directly applied to linear operational equations such as Eq. (4).
For low-order single-input single-output systems the transformation to a classical formulation may be performed in the following steps:
- Take the Laplace transform of the state equations.
- Reorganize each state equation so that all terms in the state variables are on the left-hand side.
- Treat the state equations as a set of simultaneous algebraic equations and solve for those state variables required to generate the output variable.
- Substitute for the state variables in the output equation.
- Write the output equation in operational form and identify the transfer function.
- Use the transfer function to write a single differential equation between the output variable and the system input.
Example
Use the Laplace transform method to derive a single differential equation for the capacitor voltage in the series R-L-C electric circuit shown in Fig. 1.1.
Figure 1.1 [A series RLC circuit].
Solution: The linear graph method of state equation generation selects the capacitor voltage and the inductor current as state variables, and generates the following pair of state equations:
(6)
The required output equation is:
(7)
Step 1: In Laplace transform form the state equations are:
(8)
(9)
Step 2: Reorganize the state equations:
(10)
(11)
Step 3: In this case we have two simultaneous operational equations in the state variables and . The output equation requires only . If Eq. (iv) is multiplied by , and Eq. (v) is multiplied by , and the equations added, is eliminated:
(12)
Step 4: The output equation is . Operate on both sides of Eq. (12) by and write in quotient form:
(13)
Step 5: The transfer function is:
(14)
Step 6: The differential equation relating to is:
(15)
Cramer’s Rule, for the solution of a set of linear algebraic equations, is a useful method to apply to the solution of these equations. In solving for the variable in a set of linear algebraic equations, such as the rule states:
(16)
where is another matrix formed by replacing the th column of with the vector .
If
(17)
then the relationship between the th state variable and the input is
(18)
where is defined to be the matrix formed by replacing the th column of with the column vector . The differential equation is
(19)
Example
Use Cramer’s Rule to solve for in the electrical system of the previous example.
Solution: From the previous example, the state equations are:
(20)
and the output equation is:
(21)
In the Laplace domain the state equations are:
(22)
The voltage is given by:
(23)
The current is:
(24)
The output equation may be written directly from the Laplace transform of Eq.(21):
(25)
giving the differential equation
(26)
For a single-input single-output (SISO) system the transfer function may be found directly by evaluating the inverse matrix
(27)
Using the definition of the matrix inverse:
(28)
(29)
and substituting into the output equations gives:
(30)
Expanding the inverse in terms of the determinant and the adjoint matrix yields:
(31)
so that the required differential equation may be found by expanding:
(32)
and taking the inverse Laplace transform of both sides.
Example
Use the matrix inverse method to find a differential equation relating to in the system described in the third example.
Solution: The state vector, written in the Laplace domain,
(33)
from the previous example is:
(34)
The determinant of is
(35)
and the adjoint of is
(36)
From the current and the previous example, the output equation specifies that and . The transfer function, Eq. (26) is:
(37)
Since
(38)
the transfer function is
(39)
which is the same result found by using Cramer’s rule in the previous example.