NOISE ANALYSIS - RESISTOR EXAMPLE
RES_NOISE.CR Download the SPICE file
You can't figure it out. You've taken one hundred samples of a 2.5V reference using a 16-bit ADC, but rarely are two consecutive readings the same. Okay, it's got to be noise, but where is it coming from? Unfortunately, one of our basic building blocks - the resistor - comes with its own inherent noise generator. But once we understand a little about the nature of this noise source, we have a few choices regarding how to reduce it.
This noise power is the same at all frequencies - commonly called white noise!
NOTE! If you want to reduce the total noise in your circuit, then reduce your bandwidth!
Many manufacturers will specify the noise of their components (opamps for example) using these units. Notice the noise voltage units has the funky units of Volts per square root of the bandwidth. Later you'll see how to use N to calculate the RMS noise voltage in a circuit.
RESISTOR NOISE EXAMPLE
For a 100 kΩ resistor, let's find its power spectral density
and voltage spectral density
(At first, 40 nV/Hz½ doesn't sound like much. But suppose your designing a low-noise design amplifier using a quiet op amp with an input voltage noise of only 4 nV/Hz½ . You wouldn't want to kill the party by using a 100k boom box as a feedback resistor. Smaller R values around 1k would be a better choice.)
How much noise will various resistors contribute at the output of your circuit? Four easy steps gets you the answer.
Let's walk through an example. Our circuit above is a simple resistor divider (Gain = 1/2) followed by an amplifier (Gain = 1) and a low-pass filter (fc = 1MHz). Let's assume we're seeking the noise density at low frequencies where the low-pass filter has no effect.
Step 1: Calculate S, the power spectral density from R1=100k.
Step 2: Find A, the voltage gain A from the noise source to the output
Step 3. Repeat for all noise sources. For R2=100k, we get the same answer as R1
Step 4: Adding the contributions from all resistors we get a total power spectral density of
There you have it! At low frequencies, your resistors contribute a total
of 28.8 nV/ Hz½ at the
SPICE NOISE ANALYSIS
The Noise Analysis essentially does the work in the above example for you. SPICE performs Noise Analysis together with an AC Analysis statement. For example, the statement
.NOISE V(4) V1 5
asks SPICE to calculate the equivalent noise at both output V(4) and V1 at every 5th frequency point in the AC analysis.
CIRCUIT INSIGHT Simulate the SPICE file RES_NOISE.CIR. To recap, this circuit implements a simple resistor divider (Gain = 1/2) followed by an amplifier (Gain = 1) with a low-pass filter (fc = 1MHz).
Open the output file RES_NOISE.OUT to view the noise results. For every 5 th frequency of the AC analysis (100, 1000, 10000, ... Hz), SPICE prints out a nice noise summary. At 100 Hz for example, we see the power spectral density from each resistor R1, R2 and RLP1. Do the results match the densities calculated above? How about the total power and voltage spectral density, does it match our numbers above?
HANDS-ON DESIGN Try lowering the resistors to values like R1 = R2 = 1 kΩ. What is the effect on total noise? Increase the gain of amplifier in the EAMP statement. How does it effect noise?
What have you noticed about the noise spectral density at high frequency? The noise begins to drop thanks to the low-pass filter RLP1 and CLP1. This could be a good thing! But of course, here's another one of life's balancing acts. Small bandwidth is good for low-noise, but not if it cuts into your signal's bandwidth!
Cool Feature SPICE let's you plot the total voltage spectral density N at the output V(4) or the input V1. Just add trace ONOISE or INOISE to the plot window. You can even add these variables to a .PRINT statement!
RMS VOLTAGE CALCULATION
Okay, enough noise versus frequency! What is the total RMS noise voltage in my circuit? You calculate this by multiplying the noise power density S by the bandwidth Δf, then taking the square root. For a flat bandwidth.
For a noise response that varies across the frequency spectrum, simply sum the noise power S at a number of frequency points fn = f1, f2, f3, ...
where Sn is the power density at fn and Δfn = fn+1 - fn . How do you pick the number of frequency points. If the noise changes slowly versus frequency, you probably don't need many points. On the other hand, a rapidly changing noise vs. f requires more points effectively sample the spectrum.
If the noise is given in terms of the noise voltage density N, then the RMS voltage is calculated as
Cool Feature You can implement this last equation in many SPICE simulators. Recalling that ONOISE represents the voltage spectral density N, simply add the following equation to the plot window. In PSPICE, this looks like
The far right of the graph shows the total RMS voltage of your circuit. (NOTE: You might have noticed that the frequency Δfn is absent from the equation above. Actually, the SUM function automatically calculates the Δfn term.)
CIRCUIT INSIGHT Simulate the SPICE file RES_NOISE.CIR with an EAMP gain =1, R1 = R2 = 100k, RLP1 = 100 and CLP1 = 1.59 nF. This time add the trace ONOISE to a plot window. Now, open a new plot window and add the trace SQRT(SUM(ONOISE*ONOISE)). What is the total RMS noise voltage at the highest frequency point of the graph?
HANDS-ON DESIGN You can experiment with values of R1, R2 and the low-pass filter to see the effect on RMS noise. Try increasing CLP1 do decrease the bandwidth. How does the bandwidth effect the total RMS noise? Did it go down with a smaller bandwidth as expected?
Noise can be one of the more challenging and tougher design topics! Sometimes it takes a few trips around the block before it begins to make sense. Here are some helpful guides.
Download the file or copy this netlist into a text file with the *.cir extension.
RES_NOISE.CIR - NOISE ANALYSIS: RESISTOR DIVIDER, AMP, AND LP FILTER * * RESISTOR DIVIDER V1 1 0 AC 1 DC 5 R1 1 2 100K R2 2 0 100K * * AMP AND LP FILTER EAMP 3 0 2 0 1 RLP1 3 4 100 CLP1 4 0 1.59NF * .AC DEC 5 100 100MEG .NOISE V(4) V1 5 .PRINT NOISE ONOISE .PROBE .END
© 2009 eCircuit Center