Changes

/* Running an AC Frequency Sweep Test of the BJT Amplifier */
== Running an AC Frequency Sweep Test of the BJT Amplifier ==
In the last part of this tutorial lesson, you will run an AC Sweep Test of your BJT amplifier circuit to examine the input and output voltages and find the voltage gain and power gain of your amplifier. First, you need to put back the AC voltage source VS, the source resistor R2 and the load resistor R1 in your amplifier circuit. To compute the source and load currents I<sub>S</sub> and I<sub>L</sub>, you can place two ammeters (keyboard shortcut: Alt+Y), one between the AC voltage source and the source resistor, and the other just before the load resistor as shown in the figure below.
<table>
</table>
Run an AC frequency sweep with the [[parameters]] specified below:
{| border="0"
|-
| valign="top"|
|-
{| class="wikitable"
|-
! scope="row"| Start Frequency
| 500Meg
|-
! scope="row"| Stop Frequency
| 1500Meg
|-
! scope="row"| Steps/Interval
| 10Meg
|-
! scope="row"| Interval Type
| Linear
|-
! scope="row"| Preset Graph Plots
| vm(IN), vm(OUT)
|}
You will get input and output voltage graphs like the ones shown below. Enable the tracking crosshairs and read the values at 1GHz. Note that when you have multiple plots, the tracking crosshairs read the value of the highlighted (selected) plot. The input and output voltage readings are 535mV and 2.941V, respectively. The input voltage value shows that the default 1V voltage of the source VS has been almost equally divided between the source resistor and the amplifier circuit.
 
<table>
<tr>
<td>
[[File:RF128.png|thumb|750px|The graph of the magnitude of input and output voltages of the BJT amplifier on a linear scale.]]
</td>
</tr>
</table>
To measure the power gain, we define input and output powers as the source and load powers:
<math> G_P = \frac{P_L}{P_S} = \left| \frac{I_L}{I_S} \right| ^2 </math>
Note that R<sub>S</sub> = R<sub>L</sub> = 50&Omega;. To compute Before closing this tutorial lesson, you will calculate the source voltage and load currents I<sub>S</sub> and I<sub>L</sub>power gains of your BJT amplifier. For this purpose, you can place two ammeters (keyboard shortcut: Alt+Y), one between will define "Custom Output Plots". In the AC voltage source and the source resistorSweep Test Panel, and click the other just before "Preset Graphs..." button to open the load resistor Edit Plot List dialog. Define two new custom output plots with the names "Voltage_Gain" and "Power_Gain" as shown in the opposite figurefigures below. Set the start and stop frequencies of the sweep to 500MHz and 1500MHz with Note that a linear frequency step size of 10MHzdB-scale definition has been used. Add that Remove the voltage amplitudes vm(in) and vm(out) to from the graph plot list in the Edit Plot List dialog. Run the AC sweep, and you will get input and output voltage graphs like the ones shown below. Enable the tracking crosshairs and read the values at 1GHz. Note that when you have multiple plots, the tracking crosshairs read the value of the highlighted (selected) plot. The input and output voltage readings are 2.941V and 535mV, respectively. The input voltage value shows that the default 1V voltage of the source VS has been almost equally divided between the source resistor and the amplifier circuit.
<table>
<tr>
<td>
[[File:RF128RF130.png|thumb|750px360px|The graph of the magnitude of input and output voltages left|Definition of the BJT amplifier on a linear scaleVoltage Gain in Edit Signal Plot dialog.]]
</td>
</tr>
</table>
 
Before closing this tutorial lesson, you will calculate the voltage and power gains of your BJT amplifier. For this purpose, you will define "Custom Output Plots". In the AC Sweep Test Panel, click the "Preset Graph Plots..." button to open the Edit Plot List dialog. Define two new custom output plots with the names "Voltage_Gain" and "Power_Gain" as shown in the figures below. Note that a dB-scale definition has been used. Remove the voltage amplitudes vm(in) and vm(out) from the graph plot list in the Edit Plot List dialog. Run the AC sweep test to plot the voltage and power gain as a function of frequency as shown below. Using the tracking crosshairs read the values of the two gains at 1GHz. The power gain at this frequency is 15.11dB and the voltage gain is almost equal to it. Note that voltage gain rises to a peak around 800MHz, while the power gain rises monotonically. However, both input and output voltages of the amplifier start to decrease with increasing frequency. At 1.5GHz, the output voltage is about 1.5V.
 
<table>
<tr>
<td>
[[File:RF130.png|thumb|380px|left|Definition of Voltage Gain in Edit Signal Plot dialog.]]</td><td>[[File:RF131.png|thumb|380px360px|left|Definition of Power Gain in Edit Signal Plot dialog.]]
</td>
</tr>
</table>
 
Run the AC sweep test one more time to plot the voltage and power gain as a function of frequency:
 
{| border="0"
|-
| valign="top"|
|-
{| class="wikitable"
|-
! scope="row"| Start Frequency
| 500Meg
|-
! scope="row"| Stop Frequency
| 1500Meg
|-
! scope="row"| Steps/Interval
| 10Meg
|-
! scope="row"| Interval Type
| Linear
|-
! scope="row"| Preset Graph Plots
| Custom: Voltage_Gain, Power_Gain
|}
 
Using the tracking crosshairs read the values of the two gains at 1GHz. The power gain at this frequency is 15.11dB and the voltage gain is almost equal to it. Note that voltage gain rises to a peak around 800MHz, while the power gain rises monotonically. However, both input and output voltages of the amplifier start to decrease with increasing frequency. At 1.5GHz, the output voltage is about 1.5V.
<table>
28,333
edits