LNA: Difference between revisions

From Class Wiki
Jump to navigation Jump to search
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 2: Line 2:


== HW#5 ==
== HW#5 ==
The below problem, although simple, is done with variables so that values can be plugged in afterwords. Thus one can see how the problem progresses and see where the initial conditions end up at the end.
The below problem, although simple, is done with variables so values can be plugged in afterwords. Thus, one can see how the problem progresses and see where the initial conditions end up at the end.
----
PROBLEM STATEMENT:
=====PROBLEM STATEMENT:=====
Solve for current i(t) in CIRCUIT A below using Laplace Transforms.
Solve for current i(t) in CIRCUIT A below using Laplace Transforms. <math>V_t(0)=7v</math>, <math> r=40Ω</math>, <math>c=2F</math>, <math>V_c(0)=3v. </math>


The two circuits (A and B below) are the same circuit. B is the same as A, only it shows are current when we use KVL and after we have moved the circuit into the "S" domain.
The two circuits (A and B below) are the same circuit. B is the same as A, only it shows are current when we use KVL and after we have moved the circuit into the "S" domain.


[[Image:Circuitben.jpg]]
[[Image:Circuitben.jpg]]


----
First, lets write each of the components into their Laplace form, go from the "t" to the "s" domain. Using KVL and assuming the current from ground through the voltage source>resister>capacitor>back to ground.
=====Write Each Components in Laplace Form=====
Go from the "t" to the "s" domain right off the bat. Using KVL and assuming the current from ground through the voltage source>resister>capacitor>back to ground.


Voltage Source in Volts: <math>v(t)</math> -> -
Voltage Source in Volts: <math>v(t)</math> -> -
Line 16: Line 21:
Resister in OHMs: r -> R
Resister in OHMs: r -> R


Capacitor in Farads: c -> 1/(C*S) - <math>V_c</math>(0) Where <math>V_c</math> is the initial voltage of the cap.
Capacitor in Farads: c -> 1/(CS) - <math>V_c</math>(0) Where <math>V_c</math> is the initial voltage of the cap.

=====Combining to portray the circuit B above using KVL gives:=====
----
-<math>V-t</math>(0)+I(s)(R+1/(CS))-<math>V_c</math>(0)=0
=====Apply KVL to Circuit B in S Domain=====
-<math>\tfrac{V_t(0)}{S}</math>+I(s)(R+<math>\tfrac{1}{CS}</math>)-<math>V_c</math>(0)=0

----
=====Solving for I(S)=====
=====Solving for I(S)=====
<math>I(S)=\cfrac{V_t(0)+V_c(0)}{S(R+\tfrac{1}{CS})}=\cfrac{(V_t(0)+V_c(0))}{SR+\tfrac{1}{C}}\frac{\tfrac{1}{R}}{\tfrac{1}{R}}=\cfrac{\tfrac{V_t(0)+V_c(0)}{R}}{S+\tfrac{1}{RC}}
<math>I(S)=\cfrac{V_t(0)+V_c(0)}{S(R+\tfrac{1}{CS})}=\cfrac{(V_t(0)+V_c(0))}{SR+\tfrac{1}{C}}\frac{\tfrac{1}{R}}{\tfrac{1}{R}}=\cfrac{\tfrac{V_t(0)+V_c(0)}{R}}{S+\tfrac{1}{RC}}
Line 24: Line 33:


</math>
</math>

----


=====Performing the inverse Laplace=====
=====Performing the inverse Laplace=====
<math>
<math>
L^{-1}(I(S))=L^{-1}(\cfrac{\tfrac{V_t(0)+V_c(0)}{R}}{S+\tfrac{1}{RC}})=i(t)=\frac{V_t(0)+V_c(0)}{R}e^{(-\tfrac{1}{RC}t)}
L^{-1}(I(S))=L^{-1}(\cfrac{\tfrac{V_t(0)+V_c(0)}{R}}{S+\tfrac{1}{RC}})=i(t)=\frac{V_t(0)+V_c(0)}{r}e^{(-\tfrac{1}{rC}t)}


</math>
</math>

----

=====Apply Initial Conditions=====
<math>V_t(0) = 7v</math>

<math>r = 40 Ω</math>

<math>c = 2 F</math>

<math>V_c(0) = 3v</math>

<math>

i(t)=\frac{V_t(0)+V_c(0)}{r}e^{(-\tfrac{1}{rC}t)}=\frac{7+3}{40}e^{(-\tfrac{1}{40*2}t)}=\tfrac{1}{4}e^{-\tfrac{1}{40}t}

</math>

== HW#6 "Initial and Final Value Theorems"==
===Initial Value Theorem===
<math> \lim_{s \to \infty}sF(s)=f(0)
</math>

Applying to our equation for i(t) we have

IVT of i(t)=<math>\lim_{s \to \infty}sI(s)=s(\cfrac{\tfrac{V_t(0)+V_c(0)}{R}}{S+\tfrac{1}{RC}})=(\tfrac{\tfrac{1}{s}}{\tfrac{1}{s}})(\cfrac{s(\tfrac{V_t(0)+V_c(0))}{R}}{S+\tfrac{1}{RC}})=(\cfrac{\tfrac{V_t(0)+V_c(0)}{R}}{1+\tfrac{1}{sRC}})=(\cfrac{\tfrac{7+3}{40}}{1+\tfrac{1}{s40*2}})=(\cfrac{\tfrac{1}{4}}{1+0})=\tfrac{1}{4}

</math>

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

Applying to our equation for i(t) we have

FVT of i(t)=<math>\lim_{s \to 0}sI(s)=s(\cfrac{\tfrac{V_t(0)+V_c(0)}{R}}{S+\tfrac{1}{RC}})=(\cfrac{\tfrac{s(V_t(0)+V_c(0))}{R}}{S+\tfrac{1}{RC}})=(\cfrac{\tfrac{0(V_t(0)+V_c(0))}{R}}{0+\tfrac{1}{RC}})=0 </math>

With this result of zero "0" we know that eventually the current will go to zero. After examining the circuit, it is quite obvious that the current will go to zero once the capacitor is charged.

===If the voltage v(t) is desired instead===
If in either the IVT or FVT you want to find v(t) instead of i(t), simply multiply the current i(t) by the resistance R. e.g. <math>V=IR, so v(t)=R(i(t))=R(\cfrac{\tfrac{V_t(0)+V_c(0)}{R}}{S+\tfrac{1}{RC}})
</math>

== HW#7 "Bode Plots" with a TI-89 ==

To graph H(s) as a Bode Plot on a TI-89, it is a simple 1,2,3,4,and 5 step process. For the purpose of this example, we are going to find and graph the bode plot of V(s)_out which is the voltage across the resister.

First write the equation as follows:

<math>H(s)=\cfrac{V(s)_{out}}{V(s)_{in}}</math>

====1) Put into our example equation for V(s) we have:====

<math>

H(s)=\tfrac{V(s)_{out}}{V(s)_{in}} =\cfrac {(\cfrac{\tfrac{V_t(0)+V_c(0)}{R}}{S+\tfrac{1}{RC}})}{\tfrac{V_t(0)+V_c(0)}{S}}
=\cfrac {(\cfrac{\tfrac{1}{R}}{S+\tfrac{1}{RC}})}{\tfrac{1}{S}}(\tfrac{RC}{RC})

=(\cfrac{C}{RCS+1})(S)

=(\cfrac{CS}{RCS+1})

=(\cfrac{2S}{80S+1})

</math>

====2) Change calculator to Parametric form:====


[[Image:Calcmode.jpg]]


====3) Define the x and y parameters in terms of calculator's "t":====

(even though it is in the "s" domain, the calc uses "t")

[[Image:Bode_2_define.jpg]]


====4) Select "Zoom" and then "ZoomFit" seems a good fit:====


[[Image:Bode_2_fit.jpg]]


====5) Finally, plot using (diamond+F3):====


[[Image:Bode_2_graph.jpg]]


====6) PLOT THE ANGLE:====
Because S=jW, and I.C.=0,

== HW#8 ==
====1) Frequency Magnitude via "Break Points and Asymptotes:"====

If we take H(S), then:

When the numerator = 0, we a Break Point

When the denominator = 0, we have an Asymptotes

<math>

H(s)=(\tfrac{2S}{80S+1})

</math>

So we have Break Point at <math> S=\tfrac{-1}{80}</math>

Asymptote at S=0

== HW#9 ==

=== Convolution ===
Here we will use the Convolution to find the output of the function.
If h(t)=0 for t < 0 and f(t) = 0 for t < 0.

Then: <math> \mathcal{L}\{h(t)*f(t)\} = H(s)F(s)

</math>

If: <math>

H(S)=(\cfrac{2S}{80S+1})

</math> <math> I(S)=\cfrac{\tfrac{V_t(0)+V_c(0)}{R}}{S+\tfrac{1}{RC}}


</math>

Then: <math> H(s)F(s) = (\cfrac{40S}{(80S+1)^2}) </math>

== HW#10 ==
== HW#11 ==
====State Equation Model====

The State equation is basically a writing the original differential equation (with repect to "t") into a matrix

<math>\begin{bmatrix}
\dot{i} \\
\dot{v}
\end{bmatrix}
=
\begin{bmatrix}
-R & 0 \\
{1\over \C} & 0
\end{bmatrix}

\begin{bmatrix}
i \\
v
\end{bmatrix}
+
\begin{bmatrix}
0 \\
0
\end{bmatrix}</math>

Because the last term is the zero vector, we can leave it off and say:

<math>\begin{bmatrix}
\dot{i} \\
\dot{v}
\end{bmatrix}
=
\begin{bmatrix}
-R & 0 \\
{1\over \C} & 0
\end{bmatrix}

\begin{bmatrix}
i \\
v
\end{bmatrix}
</math>

== HW#12 ==

== HW#13 ==

== HW#14 ==

== HW# END ==

=====I found this Youtube video on explaining the Smith Chart.=====
http://www.youtube.com/watch?v=WOaJyBpPfg0#watch-main-area

http://www.youtube.com/watch?v=VyD2EgyuV1A&feature=related

===== Smith Chart App =====
http://bessernet.com/jobaids/jsmith/jsmith.html

Latest revision as of 01:01, 14 December 2009

Ben Henry LNA Homework

HW#5

The below problem, although simple, is done with variables so values can be plugged in afterwords. Thus, one can see how the problem progresses and see where the initial conditions end up at the end.


PROBLEM STATEMENT:

Solve for current i(t) in CIRCUIT A below using Laplace Transforms. , Failed to parse (syntax error): {\displaystyle r=40Ω} , ,


The two circuits (A and B below) are the same circuit. B is the same as A, only it shows are current when we use KVL and after we have moved the circuit into the "S" domain.

Circuitben.jpg


Write Each Components in Laplace Form

Go from the "t" to the "s" domain right off the bat. Using KVL and assuming the current from ground through the voltage source>resister>capacitor>back to ground.

Voltage Source in Volts: -> - (0)/S

Resister in OHMs: r -> R

Capacitor in Farads: c -> 1/(CS) - (0) Where is the initial voltage of the cap.


Apply KVL to Circuit B in S Domain

-+I(s)(R+)-(0)=0


Solving for I(S)


Performing the inverse Laplace


Apply Initial Conditions

Failed to parse (syntax error): {\displaystyle r = 40 Ω}

HW#6 "Initial and Final Value Theorems"

Initial Value Theorem

Applying to our equation for i(t) we have

IVT of i(t)=

Final Value Theorem

Applying to our equation for i(t) we have

FVT of i(t)=

With this result of zero "0" we know that eventually the current will go to zero. After examining the circuit, it is quite obvious that the current will go to zero once the capacitor is charged.

If the voltage v(t) is desired instead

If in either the IVT or FVT you want to find v(t) instead of i(t), simply multiply the current i(t) by the resistance R. e.g.

HW#7 "Bode Plots" with a TI-89

To graph H(s) as a Bode Plot on a TI-89, it is a simple 1,2,3,4,and 5 step process. For the purpose of this example, we are going to find and graph the bode plot of V(s)_out which is the voltage across the resister.

First write the equation as follows:

1) Put into our example equation for V(s) we have:

2) Change calculator to Parametric form:

Calcmode.jpg


3) Define the x and y parameters in terms of calculator's "t":

(even though it is in the "s" domain, the calc uses "t")

Bode 2 define.jpg


4) Select "Zoom" and then "ZoomFit" seems a good fit:

Bode 2 fit.jpg


5) Finally, plot using (diamond+F3):

Bode 2 graph.jpg


6) PLOT THE ANGLE:

Because S=jW, and I.C.=0,

HW#8

1) Frequency Magnitude via "Break Points and Asymptotes:"

If we take H(S), then:

When the numerator = 0, we a Break Point

When the denominator = 0, we have an Asymptotes

So we have Break Point at

Asymptote at S=0

HW#9

Convolution

Here we will use the Convolution to find the output of the function. If h(t)=0 for t < 0 and f(t) = 0 for t < 0.

Then:

If:

Then:

HW#10

HW#11

State Equation Model

The State equation is basically a writing the original differential equation (with repect to "t") into a matrix

Because the last term is the zero vector, we can leave it off and say:

HW#12

HW#13

HW#14

HW# END

I found this Youtube video on explaining the Smith Chart.

http://www.youtube.com/watch?v=WOaJyBpPfg0#watch-main-area

http://www.youtube.com/watch?v=VyD2EgyuV1A&feature=related

Smith Chart App

http://bessernet.com/jobaids/jsmith/jsmith.html