Circuit Theory/Convolution Integral/Examples/Example42

From testwiki
Jump to navigation Jump to search
example 2nd order circuit with two inductors and two resistors .. solved using the convolution integral in wikibook circuit analysis

Given that Vs = (1 + 2t)μ(t), find io using the convolution integral.

Transfer function

H(s)=𝕀o𝕍s=𝕀T𝕍s*𝕀o𝕀T=1s+11+11+s*11+s1+11+s
simplify((1/(1+s))/((s+1/(1+1/(1+s)))*(1 + 1/(1 + s))))
H(s)=1s2+3s+1
solve(s^2 + 3*s + 1,s)

Homogeneous Solution

Two real, different roots:

s1,2=3±52

So Io has this form:

io(t)=Aes1t+Bes2t

Particular Solution

After a very long time, inductors are shorts, the voltage across both 1 ohm resistors is 1 volt, so io is 1 amp:

iop(t)=1

Initial Conditions

Adding the particular and homogeneous solutions together, have this form:

io(t)=1+Aes1t+Bes2t+C1

After a long period of time (using the particular initial condition again), the current is going to be 1:

io()=1+C1=1
C1=0

Initially, the two inductors are going to be opens, thus io has to be 0:

io(0)=0=1+A+B

Initially, all the drop is going to be across the first inductor, leaving the voltage across the second zero. The current io flows through both the second inductor and it's serial resistor, so an equation for this voltage can be obtained by taking the derivative:

VL(t)=Ldio(t)dt=s1Aes1t+s2Bes2t
VL(0)=0=s1A+s2B
solve([1+A+B,s1*A + s2*B],[A,B])
A=s2s1s2
B=s1s1s2

So:

i0(t)=1+s2es1ts1es2ts1s2

Impulse Solution

Taking the derivative of the above get:

ioδ(t)=s1s2s1s2(es1tes2t)

Convolution Integral

io(t)=0ts1s2s1s2(es1tes2t)*(1+2x)dx
syms t x
s1 = (-3 + sqrt(5))/2;
s2 = (-3 - sqrt(5))/2;
f = (s1*s2/(s1-s2)*(exp(s1*(t-x))-exp(s2*(t-x)))*(1+2*x));
S =int(f,0,t);
vpa(S, 3)
io(t)=2t+4.96e0.382t+0.0403e2.62t5+C1

At t=0:

io(0)=0=4.96+.045+C1

Which means that C_1 = 0 so finally:

io(t)=2t+4.96e0.382t+0.0403e2.62t5

Template:BookCat