Difference between revisions of "Phasors Review/Calculations Example"

From PrattWiki
Jump to navigation Jump to search
(AC Steady State Calculations)
Line 30: Line 30:
 
You will need to make sure your calculator is in the right mode to do complex calculations and to display them in a useful way.  Also, it will be handy to store the conversion from degrees to radians as a constant in the calculator because you will need to use that every time you want to calculate a complex number using a magnitude and an angle in degrees - the calculator will only accept radians!  See [[Calculator_Tips#Initial_Setup]] and follow the steps to get your calculator ready.
 
You will need to make sure your calculator is in the right mode to do complex calculations and to display them in a useful way.  Also, it will be handy to store the conversion from degrees to radians as a constant in the calculator because you will need to use that every time you want to calculate a complex number using a magnitude and an angle in degrees - the calculator will only accept radians!  See [[Calculator_Tips#Initial_Setup]] and follow the steps to get your calculator ready.
 
==== Finding Transfer Function and Current Phasor ====
 
==== Finding Transfer Function and Current Phasor ====
===== $$\omega$$=0 =====
+
===== $$\omega$$=0 rad/s =====
For the case where $$\omega=0$$, you should not even need a calculator to figure out that \mathbb{H}(j=)&=\frac{1}{1000}=0.001\end{align*}.  But if you wanted to see what this might look like, check out the figure on the right.  The example goes through the process of calculating the transfer function and then extracting the angle in degrees from it.  Since the transfer function is a positive real value here, the angle is $$0^{\circ}$$.
+
[[File:TI84_filter_0.PNG|200px|thumb|right|Calculations when $$\omega=0$$ rad/s.]]
 +
For the case where $$\omega=0$$, you should not even need a calculator to figure out that $$\mathbb{H}(j\omega)=\frac{1}{1000}=0.001$$.  But if you wanted to see what this might look like, check out the figure on the right.  The example goes through the process of calculating the transfer function and then extracting the angle in degrees from it.  Since the transfer function is a positive real value here, the angle is $$0^{\circ}$$. Once you have that, you will multiply the transfer function by the input phasor.  Again, since this is simply 2, you can do this without a calculator, but the process is shown at right in a very formal way.  You can up-arrow to select the transfer function result and then hit ENTER to repeat it in your current calculation.  You can then formally enter 2 as $$2\angle0^{\circ}$$ (you could also just use 2 here).  Finally, if you want to get the angle of the output phasor, you can use the <code>angle</code> command. 
 +
Finally, you can use the output phasor at 0 rad/s to get the output current at 0 rad/s.  The table now looks like:<center><math>\begin{array}{|c|c|c|c|c|}\hline
 +
\omega & \mathbb{V}_{\omega} & \mathbb{H}(j\omega) & \mathbb{I}_{\omega}=\mathbb{V}_{\omega}\,\mathbb{H}(j\omega) & i(t)=I\,\cos(\omega t+\phi_I)\\ \hline
 +
0 & 2\angle 0^{\circ} & 1\times10^{-3}\angle0^{\circ} & 2\times10^{-3}\angle0^{\circ} & 2\times10^{-3} \\ \hline
 +
40000 & 3\angle 56^{\circ} & ~ & ~ & \\ \hline
 +
80000 & 7\angle-{99^{\circ}} & ~ & ~ & \\ \hline
 +
\end{array}</math></center>
 +
===== $$\omega$$=40000 rad/s=====
 +
[[File:TI84_filter_40k.PNG|200px|thumb|right|Calculations when $$\omega=40$$ krad/s.]]
 +
You will now follow the same process above for $$\omega$$=40000 rad/s.  If you typed the commands in above, you can use the up-arrow to go back through previous commands, enter to repeat the command, and then use the left and right arrows to place the cursor at the point in the command where you want to make a change.  Note that the default case is to overwrite characters if you type new ones; if you want to insert characters instead, type <code>2ND, INS</code> (above the <code>DEL</code>) key.  The four lines you need to figure out the $$\omega=40$$ krad/s values are shown at right.  The table is now:
 +
<center><math>\begin{array}{|c|c|c|c|c|}\hline
 +
\omega & \mathbb{V}_{\omega} & \mathbb{H}(j\omega) & \mathbb{I}_{\omega}=\mathbb{V}_{\omega}\,\mathbb{H}(j\omega) & i(t)=I\,\cos(\omega t+\phi_I)\\ \hline
 +
0 & 2\angle 0^{\circ} & 1\times10^{-3}\angle0^{\circ} & 2\times10^{-3}\angle0^{\circ} & 2\times10^{-3} \\ \hline
 +
40000 & 3\angle 56^{\circ} & 7.809\times10^{-3}\angle-38.66^{\circ} & 2.343\times10^{-3}\angle17.43^{\circ} & 2.343\times10^{-3}\,\cos(40000t+17.43^{\circ})\\ \hline
 +
80000 & 7\angle-{99^{\circ}} & ~ & ~ & \\ \hline
 +
\end{array}</math></center>

Revision as of 22:17, 15 March 2024

Introduction

Assume you have an independent voltage source connected to a series combination of an inductor and a resistor and you want to find the current through the mesh (labeled as the current through the inductor). Using phasor analysis, you can get the transfer function:

\(\begin{align*}\mathbb{H}(j\omega)&=\frac{\mathbb{I}_{\omega}}{\mathbb{V}_{\omega}}=\frac{1}{j\omega L + R}\end{align*}\)

where $$\mathbb{V}_{\omega}$$ represents the magnitude and phase of a single-frequency sinusoid of the voltage source at frequency $$\omega$$ and $$\mathbb{I}_{\omega}$$ represents the magnitude and phase of a single-frequency sinusoid of the steady state current at frequency $$\omega$$.

AC Steady State Calculations

If you further assume that the circuit has been in place for a long time and under the influence of one (or more) single-frequency sinusoidal voltages, you can find the AC steady state current using phasor analysis by noting that:

\(\begin{align*}\mathbb{I}_{\omega}=\mathbb{V}_{\omega}\,\mathbb{H}(j\omega)\end{align*}\)

Assume for this particular circuit that $$R=1$$ k$$\Omega$$ and $$L=20$$ mH, meaning:

\(\begin{align*}\mathbb{H}(j\omega)&=\frac{1}{j\omega\,0.02 + 1000}\end{align*}\)

Further assume that:

\(v(t)=2+3\cos(40000t+56^{\circ})+7\sin(80000t-9^{\circ})~\mbox{V}\)

Convert to Cosine

Typically, phasor analysis is performed using cosine. You could start and finish with sine but it is more common to first convert sine to cosine using the relationship $$\sin(\theta)=\cos(\theta-90^{\circ})$$. Given that,

\(v(t)=2+3\cos(40000t+56^{\circ})+7\cos(80000t-99^{\circ})~\mbox{V}\)

Make a Table

Now that you have all the sinusoids in terms of cosine, you can split the voltages into their individual frequencies. You will generally need to keep track of the frequency, the voltage phasor at that frequency, the value of the transfer function at that frequency, the current phasor at that frequency (which will be the product of the voltage phasor and the transfer function), and finally the time-domain current represented by that phasor. Start the table as follows:

\(\begin{array}{|c|c|c|c|c|}\hline \omega & \mathbb{V}_{\omega} & \mathbb{H}(j\omega) & \mathbb{I}_{\omega}=\mathbb{V}_{\omega}\,\mathbb{H}(j\omega) & i(t)=I\,\cos(\omega t+\phi_I)\\ \hline 0 & ~ & ~ & ~ & \\ \hline 40000 & ~ & ~ & ~ & \\ \hline 80000 & ~ & ~ & ~ & \\ \hline \end{array}\)

Fill in the Voltage Phasors

Once you have the table set up, you can put in the magnitudes and phases for the voltage phasors at each frequency. For the signal given above, this means:

\(\begin{array}{|c|c|c|c|c|}\hline \omega & \mathbb{V}_{\omega} & \mathbb{H}(j\omega) & \mathbb{I}_{\omega}=\mathbb{V}_{\omega}\,\mathbb{H}(j\omega) & i(t)=I\,\cos(\omega t+\phi_I)\\ \hline 0 & 2\angle 0^{\circ} & ~ & ~ & \\ \hline 40000 & 3\angle 56^{\circ} & ~ & ~ & \\ \hline 80000 & 7\angle-{99^{\circ}} & ~ & ~ & \\ \hline \end{array}\)

Calculate the Transfer Function and Output Phasor Values

Next you will need to find values for $$\mathbb{H}(j\omega)$$ and $$\mathbb{I}_{\omega}$$. The following steps assume you are using some form of TI-84+ calculator.

Calculator Preparation

You will need to make sure your calculator is in the right mode to do complex calculations and to display them in a useful way. Also, it will be handy to store the conversion from degrees to radians as a constant in the calculator because you will need to use that every time you want to calculate a complex number using a magnitude and an angle in degrees - the calculator will only accept radians! See Calculator_Tips#Initial_Setup and follow the steps to get your calculator ready.

Finding Transfer Function and Current Phasor

$$\omega$$=0 rad/s
Calculations when $$\omega=0$$ rad/s.

For the case where $$\omega=0$$, you should not even need a calculator to figure out that $$\mathbb{H}(j\omega)=\frac{1}{1000}=0.001$$. But if you wanted to see what this might look like, check out the figure on the right. The example goes through the process of calculating the transfer function and then extracting the angle in degrees from it. Since the transfer function is a positive real value here, the angle is $$0^{\circ}$$. Once you have that, you will multiply the transfer function by the input phasor. Again, since this is simply 2, you can do this without a calculator, but the process is shown at right in a very formal way. You can up-arrow to select the transfer function result and then hit ENTER to repeat it in your current calculation. You can then formally enter 2 as $$2\angle0^{\circ}$$ (you could also just use 2 here). Finally, if you want to get the angle of the output phasor, you can use the angle command.

Finally, you can use the output phasor at 0 rad/s to get the output current at 0 rad/s. The table now looks like:

\(\begin{array}{|c|c|c|c|c|}\hline \omega & \mathbb{V}_{\omega} & \mathbb{H}(j\omega) & \mathbb{I}_{\omega}=\mathbb{V}_{\omega}\,\mathbb{H}(j\omega) & i(t)=I\,\cos(\omega t+\phi_I)\\ \hline 0 & 2\angle 0^{\circ} & 1\times10^{-3}\angle0^{\circ} & 2\times10^{-3}\angle0^{\circ} & 2\times10^{-3} \\ \hline 40000 & 3\angle 56^{\circ} & ~ & ~ & \\ \hline 80000 & 7\angle-{99^{\circ}} & ~ & ~ & \\ \hline \end{array}\)
$$\omega$$=40000 rad/s
Calculations when $$\omega=40$$ krad/s.

You will now follow the same process above for $$\omega$$=40000 rad/s. If you typed the commands in above, you can use the up-arrow to go back through previous commands, enter to repeat the command, and then use the left and right arrows to place the cursor at the point in the command where you want to make a change. Note that the default case is to overwrite characters if you type new ones; if you want to insert characters instead, type 2ND, INS (above the DEL) key. The four lines you need to figure out the $$\omega=40$$ krad/s values are shown at right. The table is now:

\(\begin{array}{|c|c|c|c|c|}\hline \omega & \mathbb{V}_{\omega} & \mathbb{H}(j\omega) & \mathbb{I}_{\omega}=\mathbb{V}_{\omega}\,\mathbb{H}(j\omega) & i(t)=I\,\cos(\omega t+\phi_I)\\ \hline 0 & 2\angle 0^{\circ} & 1\times10^{-3}\angle0^{\circ} & 2\times10^{-3}\angle0^{\circ} & 2\times10^{-3} \\ \hline 40000 & 3\angle 56^{\circ} & 7.809\times10^{-3}\angle-38.66^{\circ} & 2.343\times10^{-3}\angle17.43^{\circ} & 2.343\times10^{-3}\,\cos(40000t+17.43^{\circ})\\ \hline 80000 & 7\angle-{99^{\circ}} & ~ & ~ & \\ \hline \end{array}\)