Laplace transforms:Series RLC circuit: Difference between revisions

From Class Wiki
Jump to navigation Jump to search
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 46: Line 46:
which is our answer.
which is our answer.


===Initial/Final Value Theorems===
We now want to use the Initial and Final Value Theorems on this problem.


The Initial Value Theorem states that

<math>\lim_{s \to \infty}sF(s)=f(0^+)</math>

<math> \Rightarrow \lim_{s \to \infty}\dfrac{s^3}{(s^2+400)(0.01s^2+s+10000)}=i(0) </math>

<math> \Rightarrow i(0)=0 </math>

In addition, when we actually evaluate <math>i(0)</math> from our equation for <math>i(t)</math>, we find it to be 0 as well. So, things check out there.

The Final Value Theorem states that

<math> \lim_{s \to 0}sF(s)=f(\infty)</math>

<math> \Rightarrow \lim_{s \to 0}\dfrac{s^3}{(s^2+400)(0.01s^2+s+10000)}=i(\infty) </math>

<math> \Rightarrow i(\infty)=0</math>

This time, when we actually evaluate ''i''(&infin;) from the equation for <math>i(t)</math>, we find it to be undefined. So here, the Final Value Theorem tells us something that is not necessarily true (in fact, because we have oscillating functions, we know that ''i''(&infin;) will not be zero).

===Bode Plot===
To get a Bode plot, we use the transfer function:

<math>H(s)=\dfrac{1}{0.01s^2+s+10000}</math>

We then use a program such as Octave or MATLAB to obtain the Bode plot, which looks like this:

[[Image:ReevesBodePlot.jpg|400px|thumb|left|Bode Plot]]

<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>

====Break Points====
We can also use break points to approximate and/or validate the Bode plot.

The break points of our function are determined by the transfer function

<math>H(s)=\dfrac{1}{0.01s^2+s+10000}=\dfrac{100}{(s^2+100s+1000000)}</math>

The break points are:

<math>1000 \downdownarrows</math>(40db/decade down)

Looking at the top part of the Bode plot, we see that the graph is indeed going down at roughly 40db/decade at 1000.

===Convolution===

We now want to show how convolution can achieve the same result as our Laplace Transform methods.

Convolution means that

<math>i(t)=v(t)*h(t)=\int_{0}^{t}{v(\tau)h(t-\tau)d\tau}</math>

where <math>h(t)</math> is the inverse Laplace transform of the transfer function.

Here,

<math>h(t)=0.1e^{-2500t}sin(998.7t) \,</math>

Thus,

<math>i(t)=\int_{0}^{t}{10cos(20\tau)(.01e^{-2500(t-\tau)}sin(998.7(t-\tau))d\tau}</math>

<math>\Rightarrow i(t)=-.000014e^{-2500t}cos(998.7t)-.000034e^{-2500t}sin(998.7t)+.000014cos(20t)+.0000002sin(20t)</math>

This doesn't look exactly like the answer we got above, but we expect this since convolution doesn't take initial conditions into account.

===State Equations===

To begin the demonstration of a new method (state space equations), we want to translate the system into a set of state equations:

<math>\begin{bmatrix} i \\ \dfrac{di}{dt} \end{bmatrix}=\begin{bmatrix} 0 & 1 \\ 1000000 & 10 \end{bmatrix} \begin{bmatrix} \int{idt} \\ i \end{bmatrix} + \begin{bmatrix} 0 \\ 100cos(20t) \end{bmatrix}</math>

<math> i=\begin{bmatrix} 0 & 1 \end{bmatrix} \begin{bmatrix} \int{idt} \\ i \end{bmatrix} +0 </math>

Next, we solve the system using the matrix exponential method.

MATLAB tells us that <math>e^{At}</math> is

<math> \begin{bmatrix}
\dfrac{40001 e^{(5-5 \sqrt{40001}) t}+\sqrt{40001} e^{(5-5 \sqrt{40001}) t}+40001 e^{(5+5 \sqrt{40001}) t}-\sqrt{40001} e^{(5+5 \sqrt{40001}) t}}{80002} & -\dfrac{e^{(5-5 \sqrt{40001}) t}-e^{(5+5 \sqrt{40001}) t}}{10 \sqrt{40001}} \\
-\dfrac{100000 (e^{(5-5 \sqrt{40001}) t}-e^{(5+5 \sqrt{40001}) t})}{\sqrt{40001}} & \dfrac{40001 e^{(5-5 \sqrt{40001}) t}-\sqrt{40001} e^{(5-5 \sqrt{40001}) t}+40001 e^{(5+5 \sqrt{40001}) t}+\sqrt{40001} e^{(5+5 \sqrt{40001}) t}}{80002}
\end{bmatrix} </math>

The solution, then, is

<math>
x(t)=e^{At}x(0) + \int_{0}^{t} e^{A(t-\tau)}Bu(\tau) \, d\tau
</math>

Since x(0)=0,

<math>
x(t)=\int_{0}^{t} e^{A(t-\tau)}Bu(\tau) \, d\tau
</math>

This gives the same solution as we got above.
----
----


Written by Nathan Reeves
Written by Nathan Reeves ~ Checked by
Checked by

Latest revision as of 20:31, 14 December 2009

Laplace Transform Example: Series RLC Circuit

Problem

Given a series RLC circuit with , , and , having power source , find an expression for if and .

Solution

We begin with the general formula for voltage drops around the circuit:

Substituting numbers, we get

Now, we take the Laplace Transform and get

Using the fact that , we get

Using partial fraction decomposition, we find that

Finally, we take the inverse Laplace transform to obtain

which is our answer.

Initial/Final Value Theorems

We now want to use the Initial and Final Value Theorems on this problem.

The Initial Value Theorem states that

In addition, when we actually evaluate from our equation for , we find it to be 0 as well. So, things check out there.

The Final Value Theorem states that

This time, when we actually evaluate i(∞) from the equation for , we find it to be undefined. So here, the Final Value Theorem tells us something that is not necessarily true (in fact, because we have oscillating functions, we know that i(∞) will not be zero).

Bode Plot

To get a Bode plot, we use the transfer function:

We then use a program such as Octave or MATLAB to obtain the Bode plot, which looks like this:

Bode Plot




















Break Points

We can also use break points to approximate and/or validate the Bode plot.

The break points of our function are determined by the transfer function

The break points are:

(40db/decade down)

Looking at the top part of the Bode plot, we see that the graph is indeed going down at roughly 40db/decade at 1000.

Convolution

We now want to show how convolution can achieve the same result as our Laplace Transform methods.

Convolution means that

where is the inverse Laplace transform of the transfer function.

Here,

Thus,

This doesn't look exactly like the answer we got above, but we expect this since convolution doesn't take initial conditions into account.

State Equations

To begin the demonstration of a new method (state space equations), we want to translate the system into a set of state equations:

Next, we solve the system using the matrix exponential method.

MATLAB tells us that is

The solution, then, is

Since x(0)=0,

This gives the same solution as we got above.


Written by Nathan Reeves ~ Checked by