We were given a simple circuit and we were tasked to obtain the transfer function V[SUB]out[/SUB]/V[SUB]in[/SUB]. First, I converted the given impedances to their laplace impedances. Then I simplified the circuit using continuous voltage division and I have arrived to this equation:
V[SUB]out[/SUB]/V[SUB]in[/SUB]=2/(s[SUP]2[/SUP]+3s+4)
I'm stacked on this part. I don't know how to convert the transfer function to its time domain equivalent. The roots of the denominator are imaginary. How would I deal with this? Please educate me. Thank you in advance.
Hi,
First off, you need to check your roots as they are not correct.
The procedure would go as follows...(simpler example to follow)...
Solve for the roots of the denominator (check your work here), there are two roots call them r1 and r2.
Form two new expressions x1 and x2 such that:
x1=s-r1
x2=s-r2
Equate the original transfer function to the partial fraction expansion:
2/(s^2+3*s+4)=A/x1+B/x2
Multiply both sides by x1*x2, simplify.
Equate powers of s to form two equations in the two unknowns A and B.
Note A and B may come out complex.
The new expanded equation will be:
A/x1+B/x2
Take the Inverse Laplace Transform of these two terms (this will be easy because they are just two exponentials [see far below]).
Use Euler Identities to convert the exponential forms into sin and cos terms (may only contain sin or just cos terms, or no sin and cos terms if the roots are not complex).
Example:
Lets do 2/(s^2+3*s+3.25). This example has simpler roots so it's more clear to see what is going on.
The denominator is:
s^2+3*s+3.25
the two roots are:
r1=-1.5+1.0*i
r2=-1.5-1.0*i
The two new expressions are:
x1=s-1.0*i+1.5
x2=s+1.0*i+1.5
Equate the original equation to the new expressions using one new unknown variable for each new expression:
2/(s^2+3*s+3.25)=A/x1+B/x2
so
2/(s^2+3*s+3.25)=A/(s-1.0*i+1.5)+B/(s+1.0*i+1.5)
Multiply both sides by x1, then multiply both sides by x2, then simplify. We get:
4=(2*s-2*i+3)*B+(2*s+2*i+3)*A
Note that this is just the denominator removed from the left side and the right side multiplied by x1 and by x2 and both sides by 2.
Expand that out we get:
4=2*s*B-2*i*B+3*B+2*s*A+2*i*A+3*A
Now we'll equate like powers of s by first arranging terms in a single column:
4
=
2*s*B
-2*i*B
+3*B
+2*s*A
+2*i*A
+3*A
now make each line contain only one power of s for each line by combining lines with like powers of s:
4
=
2*s*B+2*s*A
-2*i*B+3*B+2*i*A+3*A
(note the last line has power of s: s^0).
Now group into two equations noting that the coefficient for s on the left is zero:
0=2*s*B+2*s*A
4=-2*i*B+3*B+2*i*A+3*A
Evaluate with s=1 we get:
0=2*B+2*A
4=-2*i*B+3*B+2*i*A+3*A
Solving these two simultaneously, we get:
A=-i
B=i
So the new transfer function is:
A/x1+B/x2=-i/(s-1.0*i+1.5)+i/(s+1.0*i+1.5)
Using the Inverse Laplace Transform for these two terms, we get:
-i*e^(-(1.5-1.0*i)*t)+i*e^(-(1.5+1.0*i)*t)
Using Euler Identities, we convert this to sin and/or cos terms and end up with:
f(t)=2*e^(-1.5*t)*sin(t)
and in terms of Vin and Vout:
Vout/Vin=2*e^(-1.5*t)*sin(t)
A small note about the Inverse Laplace Transform being used here...
Looking back, the Inverse Laplace Transform is easy to use here because for a general frequency a/x term:
a/(s-Imag*i+Real)
the Inverse Laplace is always an exponential:
a*e^-(t*(Real-i*Imag))
no matter how many terms we have. The last step would be to convert these exponential terms into sin and/or cos terms, and that would give us the final time equation.
If the Imag part is positive it's the same except for the sign of the imaginary part of rhe exponent:
a/(s+Imag*i+Real) => a*e^-(t*(Real+i*Imag))