Introduction
In this part we will learn about systems that can be modeled with differential equations.
Definition
Some systems whose input, f(t), and output, y(t), are related by linear differential equations, often have the form:
dtndny+an−1dtn−1dn−1y+…+a1dtdy+a0y(t)=
bm+dtmdmf+bm−1+dtm−1dm−1f+…+b1dtdf+b0f(t)
This notation can be quite long and tedious, so let’s say that D=dtd
(Dn+an−1Dn−1+…+a1D+a0)y(t)=
(Dm+bm−1Dm−1+…+b1D+b0)f(t)=
Let’s call these Q(D) and P(D) respectively:
Q(D)y(t)=P(D)f(t)
A general rule of thumb is that m≤n, this to limit noise.
Data needed to compute system response
For t≥0, a systems output is the result of two independent causes.
Therefore, we need to know:
- The initial conditions of the system (also called system state) at t=0.
- The input, f(t), for t≥0.
- If the system is linear
Let’s also quickly refresh on if a system is linear.
Linearity example
Determine if the system described by the equation:
dtdy(t)+4y(t)=f(t)
with, f(t), as input and, y(t), as output of the system, is linear.
So let’s check if the superposition principle holds!
dtd αy1(t)+4αy1(t)=f1(t)
dtd βy2(t)+4βy2(t)=f2(t)
f1(t)+f2(t)=dtd( αy1(t)+βy2(t))+4(αy1(t)+βy2(t))
Now let’s try with y(t)=αy1(t)+βy2(t):
dtd( αy1(t)+βy2(t))+4(αy1(t)+βy2(t))
We can see that f(t)=f1(t)+f2(t).
Solving these systems
As we defined, the output of these systems are the result of two independent cases.
So for the zero-input response:
Q(D)y0(t)=0
The solution for y0(t) will be:
y0(t)=c1eλ1t+c2eλ2t+…+cneλnt
This is if we have no repeated roots, in that case:
y0(t)=(c1+c2t+…+crtr−1)eλ1t+cr+1eλr+1t+…+cneλnt
Also in the case we have complex roots, α±jβ.
y0(t)=2cejθe(α+jβ)t+2ce−jθe(α−jβ)t=2ceαt[ej(βt+θ)+e−j(βt+θ)]
Using Euler’s formula:
y0(t)=ceαtcos(βt+θ)
Example
(D2+3D+2)y0(t)=0
λ2+3λ+2=(λ+1)(λ+2)=0
λ1=−1λ2=−2
y0(t)=c1e−t+c2e−2t