Kazem Sabet (Talk | contribs) (→Running a Network Analysis of the BJT Amplifier) |
Kazem Sabet (Talk | contribs) |
||
(21 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{projectinfo|Tutorial| Designing an RF Bipolar Junction Transistor Amplifier with Lumped Matching Networks |RF110.png|In this project, the basic concepts of RF.Spice A/D are demonstrated, and a simple voltage divider is modeled and examined.| | {{projectinfo|Tutorial| Designing an RF Bipolar Junction Transistor Amplifier with Lumped Matching Networks |RF110.png|In this project, the basic concepts of RF.Spice A/D are demonstrated, and a simple voltage divider is modeled and examined.| | ||
− | * | + | *Bipolar Junction Transistor |
− | * | + | *Standard BJT Model |
− | * | + | *RF BJT Model |
− | * | + | *RF Amplifier |
− | * | + | *DC Bias Analysis |
− | * | + | *Stability Analysis |
− | |All versions|{{download|http://www.emagtech.com/ | + | *Matching Network |
+ | *Voltage Gain | ||
+ | *Power Gain | ||
+ | |All versions|{{download|http://www.emagtech.com/downloads/ProjectRepo/RFLesson8.zip RF Lesson 8}} }} | ||
− | + | == What You Will Learn == | |
In this tutorial you will build an RF amplifier using a high frequency bipolar junction transistor (BJT) with lumped elements. First, you will examine the S-parameter model of the transistor and analyze its DC bias circuit. Then, you will calculate the port characteristics of the amplifier and verify its matching networks. Finally, you will run an AC frequency sweep analysis of the amplifier to characterize its voltage and gain performance. | In this tutorial you will build an RF amplifier using a high frequency bipolar junction transistor (BJT) with lumped elements. First, you will examine the S-parameter model of the transistor and analyze its DC bias circuit. Then, you will calculate the port characteristics of the amplifier and verify its matching networks. Finally, you will run an AC frequency sweep analysis of the amplifier to characterize its voltage and gain performance. | ||
Line 15: | Line 18: | ||
== Comparing High Frequency & Low Frequency BJT Models == | == Comparing High Frequency & Low Frequency BJT Models == | ||
− | High frequency transistors are typically characterized by their S- | + | High frequency transistors are typically characterized by their S-parameters. The manufacturer data sheets of RF transistors usually contains tables of measured S-parameter data for various DC bias operating points over a certain range of frequencies. [[RF.Spice A/D]] has a large number of RF bipolar junction transistor (BJT) models with measured S-parameter tables for different combinations of collector-emitter voltages (VCE) and collector currents (IC). Most of RF.Spice's RF BJT devices also have counterpart standard BJT model that can be used for DC operating point analysis. The figures below shows the property dialog of the standard BJT model of BFG193 next to the property dialog of the RF BJT model of BFG193 measured at VCE = 10V and IC = 10mA. You will use this transistor for the amplifier design of this tutorial lesson. |
<table> | <table> | ||
Line 35: | Line 38: | ||
== Examining the High Frequency BJT Model == | == Examining the High Frequency BJT Model == | ||
− | You will start this tutorial lesson by testing the S- | + | You will start this tutorial lesson by testing the S-parameters of BFG193. Open the Parts Bin of the Toolbox and search for BFG193. You can search alphabetically or by function under Active > Transistor > NPN > RF. Place an instance of this BJT on the schematic and place two Net Markers (keyboard shortcut: {{key|Alt+N}}) to designate the base and collector of the BJT as the input and output of your circuit as shown in the opposite figure. Ground the emitter of the BJT. |
{{Note|The symbols of the standards BJT and its RF counterpart with an S-parameter model are slightly different.}} | {{Note|The symbols of the standards BJT and its RF counterpart with an S-parameter model are slightly different.}} | ||
Line 47: | Line 50: | ||
</table> | </table> | ||
− | Run a Network Analysis Test of your simple two-port RF circuit. Set the start and stop frequencies of the sweep to 500MHz and 1500MHz, respectively, with a linear frequency step size of 10MHz. Choose "S" [[parameters]] on a Cartesian graph with both amplitude and phase and a dB scale. The figure below shows the S-parameter results with magnitudes in dB and phases in degrees. Use the tracking crosshairs of the graph window to read the value of |s21| at 1GHz. The reading at the bottom of the screen shows a value of 12.442dB, which corresponds to 4.187 as you can see from the highlighted row in the S-parameter table of the BJT's property dialog. | + | Run a Network Analysis Test of your simple two-port RF circuit. |
+ | |||
+ | {| 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"| Parameter Set | ||
+ | | S | ||
+ | |- | ||
+ | ! scope="row"| Graph Type | ||
+ | | Cartesian (Amp-Phase) with Decibels | ||
+ | |} | ||
+ | |||
+ | Set the start and stop frequencies of the sweep to 500MHz and 1500MHz, respectively, with a linear frequency step size of 10MHz. Choose "S" [[parameters]] on a Cartesian graph with both amplitude and phase and a dB scale. The figure below shows the S-parameter results with magnitudes in dB and phases in degrees. Use the tracking crosshairs of the graph window to read the value of |s21| at 1GHz. The reading at the bottom of the screen shows a value of 12.442dB, which corresponds to 4.187 as you can see from the highlighted row in the S-parameter table of the BJT's property dialog. | ||
<table> | <table> | ||
Line 158: | Line 188: | ||
</table> | </table> | ||
− | The DC bias circuit has been designed to generate a collector current of IC = 10mA with a collector-emitter voltage of VCE = 10V. For this reason, you will use the S-parameter RF model BFG193v10v10mA in the next part. Run a DC Bias Test of your BJT amplifier to find its DC operating point | + | The DC bias circuit has been designed to generate a collector current of IC = 10mA with a collector-emitter voltage of VCE = 10V. For this reason, you will use the S-parameter RF model BFG193v10v10mA in the next part. Run a DC Bias Test of your BJT amplifier to find its DC operating point parameters. |
<table> | <table> | ||
Line 174: | Line 204: | ||
V<sub>CE</sub> = V<sub>QC</sub> - V<sub>QE</sub> = 16.933 -6.911 = 10.022V | V<sub>CE</sub> = V<sub>QC</sub> - V<sub>QE</sub> = 16.933 -6.911 = 10.022V | ||
− | which validate the DC bias design goals. You can also see all the DC voltages and currents by running a live simulation of the circuit and enabling circuit | + | which validate the DC bias design goals. You can also see all the DC voltages and currents by running a live simulation of the circuit and enabling circuit animation on the Schematic Editor. |
== Stability Analysis of the BJT Transistor & RF Design Strategy == | == Stability Analysis of the BJT Transistor & RF Design Strategy == | ||
Line 212: | Line 242: | ||
== Designing Input and Output Matching Networks == | == Designing Input and Output Matching Networks == | ||
− | Based on the source and load reflection coefficients established in the previous section, you can now design LC matching network sections to be inserted between the base of the BJT and the voltages source and between the collector of the BJT and the load. For the input matching network you will use a shunt inductor L2 and a series capacitor C2 in conjunction with the source resistor R2. Note that the AC voltage source must be shorted for the calculation of the input reflection coefficient. Set up a simple circuit as shown in the figure below and assign a single port between the free node of the series capacitor and the ground. Run a Network Analysis Test of this circuit | + | Based on the source and load reflection coefficients established in the previous section, you can now design LC matching network sections to be inserted between the base of the BJT and the voltages source and between the collector of the BJT and the load. For the input matching network you will use a shunt inductor L2 and a series capacitor C2 in conjunction with the source resistor R2. Note that the AC voltage source must be shorted for the calculation of the input reflection coefficient. Set up a simple circuit as shown in the figure below and assign a single port between the free node of the series capacitor and the ground. Run a Network Analysis Test of this circuit with the following parameters. From the results, note that at 1GHz the required source reflection coefficient has been achieved. |
+ | |||
+ | {| border="0" | ||
+ | |- | ||
+ | | valign="top"| | ||
+ | |- | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! scope="row"| Start Frequency | ||
+ | | 500Meg | ||
+ | |- | ||
+ | ! scope="row"| Stop Frequency | ||
+ | | 1500Meg | ||
+ | |- | ||
+ | ! scope="row"| Steps/Interval | ||
+ | | 500Meg | ||
+ | |- | ||
+ | ! scope="row"| Interval Type | ||
+ | | Linear | ||
+ | |- | ||
+ | ! scope="row"| Parameter Set | ||
+ | | S | ||
+ | |- | ||
+ | ! scope="row"| Table Type | ||
+ | | Cartesian (Amp-Phase) with Decibels unchecked | ||
+ | |} | ||
<table> | <table> | ||
Line 225: | Line 280: | ||
</table> | </table> | ||
− | Next, you will use a shunt capacitor C1 and a series inductor L1 in conjunction with the load resistor R1 for the output matching network. Set up another simple circuit as shown in the figure below and assign a single port between the top node of the shunt capacitor and the ground. Run a Network Analysis Test of this circuit | + | Next, you will use a shunt capacitor C1 and a series inductor L1 in conjunction with the load resistor R1 for the output matching network. Set up another simple circuit as shown in the figure below and assign a single port between the top node of the shunt capacitor and the ground. Run a Network Analysis Test of this circuit using the same parameters table as above. As you can see from the S11 parameter table, the required load reflection coefficient has been achieved. |
<table> | <table> | ||
Line 240: | Line 295: | ||
== Running a Network Analysis of the BJT Amplifier == | == Running a Network Analysis of the BJT Amplifier == | ||
− | At this point, your BJT amplifier circuit is ready for an overall Network Analysis Test. Replace | + | At this point, your BJT amplifier circuit is ready for an overall Network Analysis Test. Replace the standard BFG193 model called Q1 with RF BJT model BFG193v10v10mA called NP1. Place the "IN" marker right after the source resistor, and place the "OUT" marker at the load resistor. Then remove the voltage source as well as the source and load resistors R2 and R1. The figure below shows this circuit with the source and load sections removed: |
+ | |||
+ | {{Note|For a two-port Network Analysis Test, you should remove the voltage source, source resistance and load resistance from your circuit.}} | ||
<table> | <table> | ||
Line 250: | Line 307: | ||
</table> | </table> | ||
− | + | Run a Network Analysis Test of the true amplifier circuit independent of the source and load 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"| Parameter Set | ||
+ | | S | ||
+ | |- | ||
+ | ! scope="row"| Graph Type | ||
+ | | Cartesian (Amplitude) with Decibels | ||
+ | |} | ||
− | + | The figure below shows the results for S11, S21, S12 and S22 [[parameters]]. A tracking crosshair has been used to read the value of |s21| at 1GHz. This value is 15.4dB. Note that the total input reflection coefficient and the total output reflection coefficient are both equal to or below -10dB at 1GHz and the overall |s12| of the circuit is negligible. This validates your design strategy based on the unilateral assumption. You will see in the next section that the computed values of |s21| (insertion loss or gain) is very close to the computed value of the power gain from the source to the load. | |
− | + | ||
<table> | <table> | ||
<tr> | <tr> | ||
<td> | <td> | ||
− | [[File:RF134.png|thumb|750px|The graph of magnitude of | + | [[File:RF134.png|thumb|750px|The graph of magnitude of S11, S21, S12 and S22 parameters of the BJT amplifier circuit without the source and load sections.]] |
</td> | </td> | ||
</tr> | </tr> | ||
Line 268: | Line 345: | ||
== 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> | ||
Line 277: | Line 356: | ||
</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. Therefore, the voltage gain must be 20*log10(v(OUT)/v(IN)) = 20*log10(5.5) = 14.8dB. 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> | <table> | ||
Line 295: | Line 390: | ||
</table> | </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 | + | To measure the power gain, we define input and output powers as the source and load powers: |
+ | |||
+ | <math> P_{in} = P_S = \frac{1}{2} R_S |I_S|^2 </math> | ||
+ | |||
+ | <math> P_{out} = P_L = \frac{1}{2} R_L |I_L|^2 </math> | ||
+ | |||
+ | <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Ω. 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 Graphs..." 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. Use the following definitions: | ||
+ | |||
+ | Voltage_Gain: 20*log10(abs(v(out)/v(in))) | ||
+ | |||
+ | Power_Gain: 20*log10(abs(i(am2)/i(am1))) | ||
+ | |||
+ | 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. | ||
<table> | <table> | ||
<tr> | <tr> | ||
<td> | <td> | ||
− | [[File:RF130.png|thumb| | + | [[File:RF130.png|thumb|360px|left|Definition of Voltage Gain in Edit Signal Plot dialog.]] |
</td> | </td> | ||
<td> | <td> | ||
− | [[File:RF131.png|thumb| | + | [[File:RF131.png|thumb|360px|left|Definition of Power Gain in Edit Signal Plot dialog.]] |
</td> | </td> | ||
</tr> | </tr> | ||
</table> | </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.12dB and the voltage gain is 14.83dB, which agrees perfectly with your earlier calculation. Note that power gain rises to a peak around 825MHz, while the voltage 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> | <table> | ||
Line 316: | Line 451: | ||
</table> | </table> | ||
<p> </p> | <p> </p> | ||
− | [[Image:Back_icon.png|40px]] '''[[RF.Spice_A/D#RF.Spice_A. | + | [[Image:Back_icon.png|40px]] '''[[RF.Spice_A/D#RF.Spice_A.2FD_Tutorials | Back to RF.Spice A/D Tutorial Gateway]]''' |
Latest revision as of 18:21, 8 November 2016
What You Will Learn
In this tutorial you will build an RF amplifier using a high frequency bipolar junction transistor (BJT) with lumped elements. First, you will examine the S-parameter model of the transistor and analyze its DC bias circuit. Then, you will calculate the port characteristics of the amplifier and verify its matching networks. Finally, you will run an AC frequency sweep analysis of the amplifier to characterize its voltage and gain performance.
Comparing High Frequency & Low Frequency BJT Models
High frequency transistors are typically characterized by their S-parameters. The manufacturer data sheets of RF transistors usually contains tables of measured S-parameter data for various DC bias operating points over a certain range of frequencies. RF.Spice A/D has a large number of RF bipolar junction transistor (BJT) models with measured S-parameter tables for different combinations of collector-emitter voltages (VCE) and collector currents (IC). Most of RF.Spice's RF BJT devices also have counterpart standard BJT model that can be used for DC operating point analysis. The figures below shows the property dialog of the standard BJT model of BFG193 next to the property dialog of the RF BJT model of BFG193 measured at VCE = 10V and IC = 10mA. You will use this transistor for the amplifier design of this tutorial lesson.
Examining the High Frequency BJT Model
You will start this tutorial lesson by testing the S-parameters of BFG193. Open the Parts Bin of the Toolbox and search for BFG193. You can search alphabetically or by function under Active > Transistor > NPN > RF. Place an instance of this BJT on the schematic and place two Net Markers (keyboard shortcut: Alt+N) to designate the base and collector of the BJT as the input and output of your circuit as shown in the opposite figure. Ground the emitter of the BJT.
![]() |
The symbols of the standards BJT and its RF counterpart with an S-parameter model are slightly different. |
Run a Network Analysis Test of your simple two-port RF circuit.