Difference between revisions of "Analog Tutorial Lesson 10: Designing High Frequency BJT Colpitts Oscillators"

From Emagtech Wiki
Jump to: navigation, search
(Changing the Tuning of the Colpitts Oscillator)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{projectinfo|Tutorial| Designing Low and High Frequency Oscillator Circuits |TUT12-8.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 High Frequency BJT Colpitts Oscillators |TUT12-8.png|In this project, you will build and analyze a Colpitts oscillator with an LC tank circuit.|
  
*[[CubeCAD]]
+
*Bipolar Junction Transistor
*Visualization
+
*Parallel LC Resonant Circuit
*[[EM.Tempo#Lumped Sources | Lumped Sources]]
+
*Oscillation Frequency
*[[EM.Tempo#Scattering Parameters and Port Characteristics | S-Parameters]] 
+
*Barkhausen Criterion
*[[EM.Tempo#Far Field Calculations in FDTD | Far Fields]]
+
|All versions|{{download|http://www.emagtech.com/downloads/ProjectRepo/AnalogLesson10.zip Analog Lesson 10}} }}
*[[Advanced Meshing in EM.Tempo]]
+
|All versions|{{download|http://www.emagtech.com/content/project-file-download-repository|EM.Tempo Lesson 1|[[EM.Cube]] 14.8}} }}
+
  
 
=== What You Will Learn ===
 
=== What You Will Learn ===
Line 68: Line 66:
 
|}
 
|}
  
The figure below shows a Colpitts oscillator.
+
To place the transistor part 2N222, open the "'''Parts Bin'''" by selecting the "'''Add Part'''" tab of the "'''Toolbox'''" on the left side panel. By default, the "'''Function'''" tab of the Part Bin is active. This means that parts are sorted based on their function. Open the "'''Active Components'''" menu and select the "'''Transistor...'''" item and from its submenu select the '''NPN...''' item as shown below. All the NPN BJT devices are listed in the Parts Bin. Scroll down the list and find and select “'''2N2222'''”. Either double-click the part's name or click the {{key|Place Part}} button at the bottom of the Parts Bin to place the device on your schematic.
 +
 
 +
<table>
 +
<tr>
 +
<td>
 +
[[File:TUT12-6A.png|thumb|650px| Selecting a BJT part in Parts Bin.]]
 +
</td>
 +
</tr>
 +
</table>
 +
 
 +
The figure below shows a Colpitts oscillator:
  
 
<table>
 
<table>
Line 82: Line 90:
 
<math>f_o = \frac {1}{2 \pi \sqrt{ L_1  \left( \frac{C_3 C_4}{C_3 + C_4}  \right) } }</math>
 
<math>f_o = \frac {1}{2 \pi \sqrt{ L_1  \left( \frac{C_3 C_4}{C_3 + C_4}  \right) } }</math>
  
[[File:TUT12-7.png|thumb|300px| The operating point results obtained through DC Bias Test of the Colpitts Oscillator.]]  
+
[[File:TUT12-7.png|thumb|400px| The operating point results obtained through DC Bias Test of the Colpitts Oscillator.]]  
 
Note that C1 and C2 are bypass and coupling capacitors, respectively. In this Colpitts oscillator circuit, the feedback factor &beta;(s) is C3/(C3 +  C4) &cong; C3/C4. The voltage gain A is given by:
 
Note that C1 and C2 are bypass and coupling capacitors, respectively. In this Colpitts oscillator circuit, the feedback factor &beta;(s) is C3/(C3 +  C4) &cong; C3/C4. The voltage gain A is given by:
  
 
<math>A = g_m R = \frac{I_C}{V_T} R_3 = \frac{kI_C}{qT} R_3</math>
 
<math>A = g_m R = \frac{I_C}{V_T} R_3 = \frac{kI_C}{qT} R_3</math>
  
Therefore, the Barkausen criterion can be written as:
+
Therefore, the Barkhausen criterion can be written as:
  
 
<math>A \beta(s) = \left( \frac{C_3}{C_3 + C_4} \right). \left( \frac{I_C}{V_T} \right). R_3 \ge  1</math>
 
<math>A \beta(s) = \left( \frac{C_3}{C_3 + C_4} \right). \left( \frac{I_C}{V_T} \right). R_3 \ge  1</math>
Line 97: Line 105:
 
Before running a Transient Test of your Colpitts oscillator, first run a DC Bias Test to find the DC operating point of the BJT. The results of the DC bias test are shown in the opposite figure. According to this table, the quiescent collector current I<sub>C</sub> is 2.985mA. The Barkhausen criterion in this case is thus satisfied:     
 
Before running a Transient Test of your Colpitts oscillator, first run a DC Bias Test to find the DC operating point of the BJT. The results of the DC bias test are shown in the opposite figure. According to this table, the quiescent collector current I<sub>C</sub> is 2.985mA. The Barkhausen criterion in this case is thus satisfied:     
  
<math>A \beta(s) = \left( \frac{1nF}{16nF} \right). \left( \frac{2.985e-3}{26e-3} \right). 2e3 = 14.351  \ge  1</math>
+
<math>A \beta(s) = \left( \frac{1nF}{16nF} \right). \left( \frac{2.985\times 10^{-3}}{26\times 10^{-3}} \right). 2\times 10^3 = 14.351  \ge  1</math>
  
 
Now run a Transient Test of your oscillator circuit with start and stop times set at 0 and 100&mu;s, respectively, and a Step Ceiling equal to 1ns. The output voltage graph is shown in the figure below. The output signal oscillates between 2V and 14V. A signal period of almost 1&mu;s can be measured, which corresponds to an oscillation frequency of 1MHz.   
 
Now run a Transient Test of your oscillator circuit with start and stop times set at 0 and 100&mu;s, respectively, and a Step Ceiling equal to 1ns. The output voltage graph is shown in the figure below. The output signal oscillates between 2V and 14V. A signal period of almost 1&mu;s can be measured, which corresponds to an oscillation frequency of 1MHz.   
Line 131: Line 139:
 
</table>
 
</table>
 
<p>&nbsp;</p>
 
<p>&nbsp;</p>
[[Image:Back_icon.png|40px]] '''[[RF.Spice_A/D#RF.Spice_A.2FD_Tutorial | Back to RF.Spice A/D Tutorial Gateway]]'''
+
[[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 14:33, 4 November 2015

Tutorial Project: Designing High Frequency BJT Colpitts Oscillators
TUT12-8.png

Objective: In this project, you will build and analyze a Colpitts oscillator with an LC tank circuit.

Concepts/Features:

  • Bipolar Junction Transistor
  • Parallel LC Resonant Circuit
  • Oscillation Frequency
  • Barkhausen Criterion

Minimum Version Required: All versions

'Download2x.png Download Link: Analog Lesson 10

What You Will Learn

In this tutorial you will build and test a high frequency Colpitts oscillator using a parallel resonant LC circuit. The primary objective of this tutorial lesson is to underline the challenges of analyzing oscillator circuits.

Designing a BJT Colpitts Oscillator

The following is a list of parts needed for this part of the tutorial lesson:

Part Name Part Type Part Value
VCC Voltage Source 12V
R1 Resistor 22k
R2 Resistor 10k
R3 Resistor 2k
R4 Resistor 1k
C1 Capacitor 100n
C2 - C3 Capacitor 1n
C4 Capacitor 27n
L1 Inductor 27u
Q1 NPN BJT 2N2222 beta = 150

To place the transistor part 2N222, open the "Parts Bin" by selecting the "Add Part" tab of the "Toolbox" on the left side panel. By default, the "Function" tab of the Part Bin is active. This means that parts are sorted based on their function. Open the "Active Components" menu and select the "Transistor..." item and from its submenu select the NPN... item as shown below. All the NPN BJT devices are listed in the Parts Bin. Scroll down the list and find and select “2N2222”. Either double-click the part's name or click the Place Part button at the bottom of the Parts Bin to place the device on your schematic.

Selecting a BJT part in Parts Bin.

The figure below shows a Colpitts oscillator:

The Colpitts Oscillator.

The parallel resonant LC circuit consisting of L1 and capacitors C3 and C4 is connected between the base and the collector of transistor Q1, and partial feedback voltage is fed to its emitter through the voltage divider constituted by C3 and C4. The oscillating frequency of Colpitts oscillator can be calculated from:

[math]f_o = \frac {1}{2 \pi \sqrt{ L_1 \left( \frac{C_3 C_4}{C_3 + C_4} \right) } }[/math]

The operating point results obtained through DC Bias Test of the Colpitts Oscillator.

Note that C1 and C2 are bypass and coupling capacitors, respectively. In this Colpitts oscillator circuit, the feedback factor β(s) is C3/(C3 + C4) ≅ C3/C4. The voltage gain A is given by:

[math]A = g_m R = \frac{I_C}{V_T} R_3 = \frac{kI_C}{qT} R_3[/math]

Therefore, the Barkhausen criterion can be written as:

[math]A \beta(s) = \left( \frac{C_3}{C_3 + C_4} \right). \left( \frac{I_C}{V_T} \right). R_3 \ge 1[/math]

Building & Testing the Colpitts Oscillator

For this project, you will choose L1 = 27μH, C1 = 100nF, C2 = 1nF, C3 = 1nF, C4 = 15nF, R1 = 22k, R2 = 10k, R3 = 2k and R4 = 1k. Place and connect all the parts as shown in the above figure. Place a voltage probe marker at the output of the oscillator circuit at the collector of Q1. For the given inductance and capacitance value, the oscillation frequency of this Colpitts circuit is found to be fo = 1MHz.

Before running a Transient Test of your Colpitts oscillator, first run a DC Bias Test to find the DC operating point of the BJT. The results of the DC bias test are shown in the opposite figure. According to this table, the quiescent collector current IC is 2.985mA. The Barkhausen criterion in this case is thus satisfied:

[math]A \beta(s) = \left( \frac{1nF}{16nF} \right). \left( \frac{2.985\times 10^{-3}}{26\times 10^{-3}} \right). 2\times 10^3 = 14.351 \ge 1[/math]

Now run a Transient Test of your oscillator circuit with start and stop times set at 0 and 100μs, respectively, and a Step Ceiling equal to 1ns. The output voltage graph is shown in the figure below. The output signal oscillates between 2V and 14V. A signal period of almost 1μs can be measured, which corresponds to an oscillation frequency of 1MHz.

The output voltage of the Colpitts Oscillator.

Changing the Tuning of the Colpitts Oscillator

In this part, let's change the tuning of the parallel LC circuit to get an oscillation frequency of 4MHz. Due to the presence of the square root in the denominator of the formula for fo, you need to make the product of L1 and (C3 || C4) 16 times smaller. To do so, set C3 to 0.25nF and L1 to 6.75μH. Run a new transient test of your modified oscillator with the stop time set to 50μs. As you can see from the figure below, the output voltage this time oscillates between 3V and 11V with a period of about 260ns, which corresponds to an oscillation frequency of 3.85MHz.

The output voltage of the modified Colpitts Oscillator with C3 = 0.25nF and L1 = 6.75μH.

Let's see what happen if you try to push the oscillation frequency even higher to 8MHz. For this purpose, let's reduce the value of C3 four times to 62.5pF. Run a new transient test of your oscillator with the stop time set to 50μs. The graph of the output voltage is shown in the figure blow. As you can see, the oscillation breaks down in this case.

The output voltage of the modified Colpitts Oscillator with C3 = 62.5pF and L1 = 6.75μH.

 

Back icon.png Back to RF.Spice A/D Tutorial Gateway