Signals and Systems/Time Domain Analysis/System Response

From testwiki
Jump to navigation Jump to search

Example 1

Consider the driven RLC circuit below. Determine the current in the circuit, y(t), given an input of x(t)=8e2t. The initial current is 0A and the initial voltage across the capacitor is 2V.

Setting Up the Differential Equation

Recall that the voltages across inductors, resistors and capacitors are related to the current as follows:

vL=Ldidt
vR=iR
vC=1Cidt

By Kirchhoff's Voltage Law, we obtain the loop equation, replacing i with y(t):

x(t)=Ldy(t)dt+Ry(t)+1Cy(t)dt

Differentiating with respect to t gives us:

x˙(t)=Ly¨(t)+Ry˙(t)+1Cy(t)

Substituting in the values gives us our differential equation describing the system:

x˙(t)=y¨(t)+4y˙(t)+3y(t)

We want to put this into the following form:

Q(D)y(t)=P(D)x(t)Template:Eqn
(D2+4D+3)y(t)=Dx(t)

Now we have our equation, we can begin to find the responses.

Zero-input Response

Zero-input response (ZIR) is the behaviour of the circuit when the input is null. Thus the differential equation to solve is: Template:Eqn

(D2+4D+3)y(t)=0

What we expect to see here is the capacitor discharging its initial charge through the resistor and inductor, subject to the initial conditions. The ratio of the component values will set the damping. Let's look at this first to get an idea of the behaviour of the circuit.

The equation can also be written as:

(D2+2ζω0D+ω02)y(t)=0,

where ζ is the damping ratio, and ω0 is the resonant frequency, found in the DE as the constant term in the polynomial:

ω0=3rad/s

We therefore can solve for ζ:

2ζω0=4
ζ=4231.15

This system is therefore over-damped, so we expect to see the current rising and decaying to zero without oscillation.

Initial Conditions

The initial conditions also need to be factored in before we can compute the ZIR. We know from the problem that the initial current is zero. However, the current's derivative is not explicitly given. However, the voltage across the capacitor is, so we can go back the loop voltage equation:

x(t)=vL+vR+vC

We know that the input is zero, and that there is 2V across the capacitor. Also, as the current is zero, the resistor also has zero current across it. Thus:

0=vL+0+2
vL=2V

The voltage across the inductor is linked to the derivative of the current:

vL=Ly˙0(t)
y˙0(t)=2

We now have enough initial conditions: Template:Eqn

y0(t)=0;y˙0(t)=2

Solving the DE

The characteristic equation is:

λ2+4λ+3=0
(λ+1)(λ+3)=0

We have our characteristic roots:

λ1=1;λ2=3

The general solution is:

y0(t)=c1et+c2e3t

Applying initial conditions:

y0(0)=0=c1+c2
y˙0(0)=2=c13c2

Solving these simultaneous equations gives us:

c1=1;c2=1

The zero-input response is now: Template:Eqn

y0(t)=et+e3t

Unit-impulse Response

To find the unit input response, h(t), we consider the same differential equation as for the zero-input case above, but we consider the circuit with all values (current and voltage) at zero. To do this, we specify the following initial conditions, to find a sum of the characteristic modes of the system, yn(t). Template:Eqn

y0(t)=0;y˙0(t)=1

The general solution is the same as before:

The general solution is:

yn(t)=c1et+c2e3t

However, solving for the coefficients yields a different specific solution:

c1=12;c2=12
yn(t)=12et12e3t

Now, recall that the original DE describing the circuit had a differential operator, P(D) on the right-hand side, acting on the input. Because we are now applying an input, we must take this into account. This is done by applying it to yn(t). In this case, it is a single derivative. The result of this is the unit-impulse response.

h(t)=P(D)yn(t)
h(t)=(D)yn(t)

Template:Eqn

h(t)=12et+32e3t

Note that this is non-zero at t=0, which appears to contradict our conditions. However, as the unit impulse lasts for an infinitesimal period, the circuit must suddenly "jump" to a different total energy instantly, or else it couldn't ever be excited by an impulse. In real life, a finite-duration signal will cause the circuit to ramp up rather than jump.

Zero-state Response

The zero-state response, ys(t) is the response of the initially relaxed circuit to the input x(t). This is found by the convolution of the unit-impulse response and the input:

ys(t)=h(t)*x(t)

By the definition of convolution:

ys(t)=0th(τ)x(tτ)dτ
ys(t)=0t(12eτ+32e3τ)(8e2(tτ))dτ

Multiplying through:

ys(t)=0t(4eτe2(tτ)+12e3τe2(tτ))dτ
ys(t)=0t(4eτe2τe2t)+12e3τe2τe2t))dτ

Because the integral is with respect to τ, we can bring out the t term:

ys(t)=e2t0t(4eτe2τ+12e3τe2τ)dτ
ys(t)=e2t0t(4eτ+12eτ)dτ
ys(t)=e2t[4eτ12eτ]0t
ys(t)=e2t(4et12et+4+12)

Finally, multiplying out and combining exponentials gives us the zero-state response: Template:Eqn

ys(t)=4et+16e2t12e3t

Note that the current is now zero at t=0 again. For any realistic signal, this will happen, due to the inductor disallowing steps in current.

Total Response

The total response is given by the sum of the zero-input and zero-state components:

yt(t)=y0(t)+h(t)*x(t)
yt(t)=et+e3t4et+16e2t12e3tTemplate:Eqn
yt(t)=5et+16e2t11e3t

We can plot the zero-input, zero-state, unit-impulse and total responses together:

Template:BookCat