Difference between revisions of "229-A2.2"

From Microlab Classes
Jump to navigation Jump to search
Line 25: Line 25:
 
{{NumBlk|::|<math>\frac{\overline{v_R^2}}{\Delta f}=4kTR=1.66\times 10^{-16}\mathrm{\frac{V^2}{Hz}}</math>|{{EquationRef|5}}}}
 
{{NumBlk|::|<math>\frac{\overline{v_R^2}}{\Delta f}=4kTR=1.66\times 10^{-16}\mathrm{\frac{V^2}{Hz}}</math>|{{EquationRef|5}}}}
  
But the total integrated noise should remain the same since the bandwidth of the RC circuit is reduced by the same amount.  
+
But the total integrated noise should remain the same since the bandwidth of the RC circuit is reduced by the same amount. To verify our calculations, we can use SPICE to simulate the noise of the RC circuit. Using this netlist and this Python script, we get the following ngspice results:
 
 
To verify our calculations, we can use SPICE to simulate the noise of the RC circuit. Using this netlist and this Python script, we get the following ngspice results:
 
  
 
<source lang="bash">
 
<source lang="bash">
Line 57: Line 55:
 
ngspice 2 ->  
 
ngspice 2 ->  
 
</source>
 
</source>
 +
 +
We can use our Python script to plot the output noise spectral density, as shown in Fig. 2, and the root spectral density, seen in Fig. 3.
 +
 +
{|
 +
| [[File:RC noise spectrum.png|thumb|400px|Figure 2: The power spectral density of the RC circuit.]]
 +
| [[File:RC noise root spectrum.png|thumb|400px|Figure 3: The root power spectral density of the RC circuit.]]
 +
|-
 +
|}
  
 
== Noise in MOSFETs ==
 
== Noise in MOSFETs ==

Revision as of 13:36, 9 October 2020

Activity: Noise Analysis

  • Instructions: This activity is structured as a tutorial with a design problem at the end. Should you have any questions, clarifications, or issues, please contact your instructor as soon as possible.
  • At the end of this activity, the student should be able to:
  1. Understand and observe the effects of noise in electronic circuits.

Simulating Resistor Noise

Consider a simple RC circuit shown in Fig. 1. The noise generated by the resistor is:

 

 

 

 

(1)

Thus, for a resistor and a temperature , and with , the spot noise is equal to:

 

 

 

 

(2)

Thus, for a capacitor , the total output integrated noise, shaped by the transfer function of the RC circuit is:

 

 

 

 

(3)

Or equivalently,

 

 

 

 

(4)

If we change the value of the resistor to , the resistor spot noise changes to:

 

 

 

 

(5)

But the total integrated noise should remain the same since the bandwidth of the RC circuit is reduced by the same amount. To verify our calculations, we can use SPICE to simulate the noise of the RC circuit. Using this netlist and this Python script, we get the following ngspice results:

******
** ngspice-31 : Circuit level simulation program
** The U. C. Berkeley CAD Group
** Copyright 1985-1994, Regents of the University of California.
** Please get your ngspice manual from http://ngspice.sourceforge.net/docs.html
** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html
******
ngspice 1 -> source RC_noise.sp

Circuit: * noise simulations

Doing analysis at TEMP = 27.000000 and TNOM = 27.000000


No. of Data Rows : 9001

No. of Data Rows : 1
onoise_total = 4.143579e-15
Doing analysis at TEMP = 27.000000 and TNOM = 27.000000


No. of Data Rows : 9001

No. of Data Rows : 1
onoise_total = 4.143808e-15
ngspice 2 ->

We can use our Python script to plot the output noise spectral density, as shown in Fig. 2, and the root spectral density, seen in Fig. 3.

Figure 2: The power spectral density of the RC circuit.
Figure 3: The root power spectral density of the RC circuit.

Noise in MOSFETs