As always, it is useful to look at the solutions to the state and output equations from a Laplace domain perspective. We start with the general forms of the state and output equations.
x′t=Ax+Bu
x
t
A
x
B
u
(1)
Let's take a look at the state equation. In the time-domain version of this analysis, we had to use a combination of derivatives and integrals to find the solution
xtxt.
Making an analogy to Laplace-domain equations, we know that derivatives and integrals in time equate to multiplies and divides in frequency. So, we suspect that finding the Laplace-domain solution
XsXs
might be significantly easier. We will start by taking the Laplace transform of the state equation.
ℒx′t=Ax+Bu
ℒ
x
t
A
x
B
u
(3)
sXs−x0=AXs+BUs
s
X
s
x
0
A
X
s
B
U
s
(4)
If we collect the
XsXs
terms on the left-hand side, we can come up with
(sI−A)Xs=x0+BUs
s
I
A
X
s
x
0
B
U
s
(5)
We see immediately that we the solution for
XsXs
is staring us in the face. All we have to do is get the
sI−AsIA
to the other side. Remembering that this term is actually a matrix, we know we can't just divide through by it; instead, we left-multiply both sides of the equation with the inverse of this term. This yields
Xs=sI−A-1x0+sI−A-1BUs
X
s
s
I
A
x
0
s
I
A
B
U
s
(6)
If we take the time-domain solution for
xtxt
found before, we can take its Laplace transform and arrive at this same result.
ℒxt=eAtx0+∫0teA(t−τ)Buτdτ=Xs
ℒ
x
t
A
t
x
0
τ
0
t
A
t
τ
B
u
τ
X
s
(7)
You can see how this equation would transform into X(s) result equation. We know that the Laplace transform of the matrix exponential is
sI−A-1
s
I
A
.
The first term is simply this quantity times the scalar
x0x0.
Since the integral term has the form of a convolution, the Laplace-domain equivalent is simple a multiplication.
Finding the Laplace-domain output equation solution is just as easy. Again, we start by taking the Laplace transform of the output equation. This gives us
Ys=CXs+DUs
Y
s
C
X
s
D
U
s
(8)
You might be thinking that this is the end result: we have an expression for
YsYs.
However, we must remember that we want these solutions to be in terms of known quantities. Namely, these quantities are the initial conditions and the inputs. So what we need to get rid of is the
XsXs
term. Fortunately, we just found an expression for
XsXs
in terms of the initial conditions and the inputs. Plugging in that equation into the output equation solution, we get
Ys=C(sI−A-1x0+sI−A-1BUs)+DUs
Y
s
C
s
I
A
x
0
s
I
A
B
U
s
D
U
s
(9)
When we multiply the CC
through and collect the
UsUs
terms, we get a final expression for the output equation solution:
Ys=C(sI−A-1x0)+(CsI−A-1B+D)Us
Y
s
C
s
I
A
x
0
C
s
I
A
B
D
U
s
(10)
It is interesting to note that the two addends in this equation represent the free response (the initial condition term) and the forced response (the input term) of the system.