Presentation on theme: "Signal vs. Noise Every measurement is affected by processes not related to the measurement of interest. The magnitude of this noise, compared to the magnitude."— Presentation transcript:
1 Signal vs. NoiseEvery measurement is affected by processes not related to the measurement of interest. The magnitude of this noise, compared to the magnitude of the signal, directly determines one’s ability to make an accurate measurement.
2 Signal In all experiments, there is: Sample Response: the instrument’s response when the analyte is present.Blank Response: the instrument’s response when the analyte is absent.The Signal: the difference between the sample and the blank response.samplesampleoutput voltagesignalblankblanktime
3 Background or Baseline Ideally, the blank response of an instrument would be exactly 0. Then the sample response would be equal to the signal. This is never the case, though it can often be adjusted to be close to 0. There is always a residual signal associated with an instrument’s blank response. This is called the background or the baseline.samplesamplesignaloutput voltageblankblankbaselinetimeThe baseline is subtracted from both the blank and the sample response.
4 DriftIdeally, the baseline response is constant in time. In such a case, a constant correction factor is easily subtracted from the blank and sample to correct the signal. Invariably, however, the baseline changes slowly with time. This is called drift. Sometimes the drift is linear in time, but often it is more complex and difficult to predict.samplesamplesignaloutput voltageblankblankbaselinetimeWe need to know the value of the baseline at the time we make a measurement.
5 NoiseNoise is a random (or almost random) time-dependent change in the instrument’s output signal that is unrelated to the analyte response. These variations will tend to make the accurate measurement of sample, blank, and baseline response less certain.Noise arises from many sources (to be discussed soon). The frequency response can span the entire spectrum. We can treat noise as if it were a sine wave, or at least the sum of many (infinite?) sine waves.Measuring the intensity of the noise and comparing it to the signal is the key to determining the accuracy of a measurement and in specifying the smallest signal level one is able to measure (detection limit).
6 Peak-to-peak NoiseOne measure of the amplitude of a sine wave is the peak-to-peak amplitude (this is twice the amplitude which appears in the defining equation for a sine wave).V(peak-to-peak)orVp-pNoise is usually specified by measuring the peak-to-peak maximum over a reasonable length of time (“reasonable” depends upon length of time needed to make a measurement).
7 Peak-to-peak Noise Vp-p Even though the noise is clearly not a perfect sine wave, we know it can be decomposed into a collection of sine waves and we can treat it mathematically as a sine wave.Vp-p
8 Average NoiseAnother way of measuring the intensity of noise might be the average noise.Naverage = 0 if noise is truly random. (Excursions above zero should balance excursions below zero over time).If not 0, then another signal must be present and we need to account for it.Naverage is not a useful measure of noise.
9 Root-Mean-Square Noise It was the plus and minus excursions averaging out that made Naverage not useful.Squaring the signal, makes everything positive. This can then be averaged meaningfully. Take the square root of that result to get back a value that can be related to the original signal.For a perfect sine wave, we can calculate its rms value. A theoretical analysis gives us thatThe RMS value of a signal is more significant than its p-p value because it is a number which more directly relates to the power that an ac signal can deliver when compared to a dc signal. It more completely accounts for that portion of the time when the signal is lower than the p-p value.A quick estimate of the RMS noise is NRMS = 0.35 Np-p.
10 Signal-to-Noise Ratio Total signal level nor noise level determine an experiment’s ability to accurately detect an analyte. Rather it is the ratio of the two that is critical. The S/N Ratio.Np-p = 0.10S = 0.75To calculate the S/N present in a given measurement, take the average signal value and divide it by the average noise value. You can determine the average noise, by using the RMS value, taken from a measurement of the peak-to-peak noise. This gives us an easy approach to making a measurement of the S/N.Baseline = 0.25NRMS = Np-p = x 0.10 = 0.035S/N = 0.75/0.035 = 21.4
11 Signal-to-Noise Ratio Same signal level. Same baseline. S/N = 3.
12 Signal-to-Noise Ratio In the first lecture, we identified the limiting functionality of a given experimental process in terms of its limit of detection and its limit of quantitation. These were chosen as being characterized by a certain signal level above the baseline: limit of detection was 3 times the standard deviation and the limit of quantitation was 10 times. Where is the S/N in this story? It is contained in the magnitude of the standard deviation. An experiment with a larger S/N will have a correspondingly smaller standard deviation and hence a lower limit of detection and quantitation.In this experiment, the signal-to-noise is 1. Note how you could not make a reasonable measurement of the signal under these conditions.
13 Sources of Electrical Noise When sample is abundant, signal is high, background (baseline) is low, we hardly worry about noise. But at some point, every experiment needs to account for noise. Electrical noise can be divided into four principal sources:• Thermal Noise• Shot Noise• Flicker Noise• Interference
14 Thermal NoiseAlso known as white noise, Johnson noise, or Nyquist noise.Arises because the atoms of a solid state conductor are vibrating at all temperatures and they bump into conductors (electrons). This imposes a new, random motion on those conductors which generates noise.Thermal noise is present equally at all frequencies; this is why it is called white noise - it contains all frequencies in its spectrum. The name of Johnson noise comes the individual who first measured it and Nyquist noise from the person who derived the equation.Note that we can lower the thermal noise in a systems by cooling it (reducting its temperature), decreasing the resistance, and be narrowing the bandwidth.Vnoise, rms is the RMS voltage of the noisekB is Boltzmann’s constant = 1.38 x J K-1 (V2 s W-1 K-1)T is the temperature in kelvinR is the resistance in ohmsB is the bandwidth response of the instrument in Hz (s-1)
15 BandwidthEvery instrument responds to rapid or slow signal changes differently. We specify the bandwidth or bandpass by referring to the range of frequencies over which it can effectively measure signals. Usually the bandwidth of an instrument can be adjusted by changing electronic filters.A simple, RC circuit acts like a low pass filter; it smooths (integrates) rapid changes. It allows slowly varying signals to pass unimpeded. The relationship between its time constant t = RC and its bandwidth B is justB ≈ 1/4tOther filters have other relationships.Center FrequencyAn electrical device can only allows a certain range of frequencies to pass through it effectively, just like an optical filter does to light. Often the red, Gaussian-like shape is that which is measured (send in a periodically varying signal and measure the response. Then send the signal with the same signal level but with a different frequency. Measure the response. Continue until the entire spectrum is measured.) Often we can effectively approximate the response as a box function such as that shown in orange.One desires to have a bandwidth as narrow as is compatible with the experiment. Signal outside the bandwidth is integrated and smoothed so that it becomes part of the instrumental baseline. An increasing baseline can become a problem if its becomes large compared to the signal. Also, the bandwidth must be large enough to accurately measure signal changes over all possible frequencies that the changes may come at. Adjusting the bandwidth is a common activity of all instrumental measurements.Power measuredBandwidthFrequency
16 Low Pass FilterA series RC circuit functions as a low pass filter, when taking the output voltage across the capacitor. Then ac signals at low frequency pass unattenuated.RVinCVout
17 High Pass FilterA series RC circuit functions as a high pass filter, when taking the output voltage across the resistor. Then ac signals at high frequency pass unattenuated.VoutRVinC
18 Band Pass FilterMany more complex filters can be designed. The frequency response an be very complex. Here is a simple combination of a high pass and low pass filter, to produce a band pass filter.R1 = 70 kWC1 = 100 nFF1 = 23 HzR2 = 5 kWC2 = 100 nFF2 = 318 Hz
19 Thermal Noise Reduction by Cooling A 10 kW resistor is used as a current-to-voltage converter. The voltage across it is amplified by an amplifier with a bandwidth of 15 kHz. What is the rms noise voltage at 20 ˚C? at liquid nitrogen temperature (77 K)? at liquid helium temperature (4.2 K)?Cooling has dropped the noise originating in the resistor. We have (incorrectly) ignored noise in the amplifier itself.
20 Thermal Noise Reduction by Bandwidth Consider the previous resistor at room temperature. Pass the signal through a noiseless RC circuit (impossible, since the R in this new circuit will introduce noise, but lets pretend, O.K.?) which has a time constant of 0.1 s. What is the expected rms noise from this filtered signal?B = 1/(0.1 x 4) = 2.5The more we filter, the more we shift signal from into the integrated background (baseline). As long as the process of interest still operates within this bandwidth, then we can still make a successful measurement.Noise reduction by filtering was much greater than by cooling, but we are now much more limited to the speed with which we can make a measurement and hence the rates of processes we can monitor.
21 Shot Noise Also known as quantum noise or Schottky noise. Arises because charge and energy are quantized. Electrons and photons leave sources and arrive at detectors as quanta; while the average flow rate may be constant, at a given instant there are more quanta arriving than at another instant. There is a slight fluctuation because of the quantum nature of things.Note that the only way to decrease the shot noise is to decrease the bandwidth of the measurement. Note how thermal noise affects the voltage and shot noise affects the current.q is the electron charge = x CIdc is the dc current flowing across the measurement interfaceB is again the measurement bandwidth in Hz
22 Shot Noise Reduction by Bandwidth What is the shot noise for a 1 amp dc current for a 15 kHz measurement bandwidth? What is it when the bandwidth is reduced to 2.5 Hz?Again a lower noise level comes at the expense of only being able to measure slow enough processes.
23 Flicker Noise Also known as 1/f noise or pink noise. Origins are uncertain. Depends upon material, design, nature of contacts, etc. Flicker noise is determined for every measurement device. It is recognized by its 1/f dependence. Most important at low frequencies (from dc to ~200 Hz).Long term drift in all instruments comes from flicker noise.Measurements taken above 1 kHz can neglect flicker noise.A narrow bandwidth makes flicker noise seem constant over that bandwidth and so it is indistinguishable from white noise.It is called pink noise because, while it is present at all frequencies, its intensity drops off as the reciprocal of the frequency. This means that it is more significant at low frequencies (long wavelengths) which is the red end of the visible spectrum. So, since it has longer wavelengths present, the metaphor “sees” more red than just the white and hence the name “pink”.
24 ModulationFlicker noise, because of its 1/f behaviour, is particularly unforgiving when attempting to amplify dc signals. This is remedied by modulating the signal to a higher frequency, then amplifying, and demodulating.Noise with a frequency characteristic different from that for the modulation-demodulation process is averaged to zero.Two important solutions are:• Chopper Amplifier• Lock-in Amplifer
25 Chopper AmplifierAn input dc signal is turned into a square wave by alternately grounding and connecting the input line. This square wave is amplified and then synchronously demodulated and filtered to give an amplified dc signal that avoids flicker noise.6 mV6 mV6 V3 V1500 mVinput1000 x AmplifieroutputGain = 1500/6 = 250
26 Four-Quadrant Multiplier Lock-in AmplifierMore modern solution is to employ a lock-in amplifier. Can recover useful signal even when S/N < 1. Key components are:• Sine wave reference signal that also perturbs the system under investigation.• Phase Sensitive Detector, including a four-quadrant multiplier and phase shifter.Experimental SystemLock-in OutputFour-Quadrant MultiplierIntegrator/FilterSine wave GeneratorPhase Shifter
27 Interference Also known as environmental noise or electrical pickup. Broadcasting electric and magnetic fields.Line noise and harmonics (60 Hz, 120 Hz, 180 Hz, etc.)Electrical devices (elevators, air conditioners, motors)Broadcasting stations (radio, T.V.)Microphonics (mechanical vibrations coupled capacitively)Often observed in a narrow frequency with a large, fixed amplitude.Remediate by shielding, eliminate ground loops, rigidly fix all cables and detectors, isolate from temperature variations, compensating magnetic fields, etc.
28 Software MethodsComputers have dramatically changed the way with which we deal with noise. Many of these can help “pull the signal out of the noise”.• Software “low pass filtering”• Ensemble averaging• Fourier Transform filtering
29 Software Low Pass Filtering An X-ray Photoelectron spectrum (XPS) of Au nanocrystals attached to a silicon surface by 3-mercaptopropyl-trimethoxysilane.Si 2pAu 4f1 scan; 0.5 eV step sizeS/N = 29 on Si peak at 100 eV.
30 Software Low Pass Filtering A 5 point moving average to smooth the data.Noise is decreased but so is peak amplitude.S/N = 53 on Si peak at 100 eV.
31 Software Low Pass Filtering A weighted 5 point moving average: weighting factors are 1:2:3:2:1Noise is decreased but so is peak amplitude but not by as much as for the non-weighted smoothing.S/N = 57 on Si peak at 100 eV.
32 Software Low Pass Filtering A 5 point weighted moving average using Savitzky-Golay weighting factors for a quadratic fit. They are -3:12:17:12:-3This process is easy to do with any spreadsheet programBest noise reduction without compromising peak intensity.S/N = 81 on Si peak at 100 eV.A. Savitzky and M.J.E. Golay, Anal. Chem. 1964, 36, 1627.
33 Software Low Pass Filtering You can also do differentiation by choosing the right integers. Here is the first derivative using the weighting factors 1:-8:0:8:-1This can help to identify the peak position more accurately.
34 Ensemble AveragingNoise is randomly distributed but signal is not. If we do an experiment a second time, the signal appears in the same place, but the noise will be doing something different. If we add two runs together, the signal increases, but the noise tends to smooth itself out. Signal increases as N but noise increases as √N. Hence, the S/N increases as √N.16 scans, added together. S/N = 109 (about 4x that for the 1 scan spectrum).
35 Fourier SmoothingA Fourier transform can decompose a spectrum into the many sinusoidal contributions that make it up. Noise is generally high frequency; drift is low frequency; environmental noise is of specific, narrow frequencies. A Fourier transform, selective removal of offending frequency components, followed by an inverse Fourier transform, can significantly improve a spectrum’s appearance.
36 Time Domain with Noise and Interference The signal here is a 30 Hz sine wave, contaminated by a much higher frequency sine wave and white noise.
37 Unfiltered SpectrumA Fourier transform of the time domain provides a spectral decomposition of the frequency components, revealing the interfering signal (at 430 Hz) and the white noise.
38 Filtered SpectrumBy convoluting the spectrum with a box-like multiplication function with the low frequency end of the spectrum, we effectively apply a low-pass filter.The inset box is the full range amplified to reveal the details and how the signal level drops off ffrom the filtering.
39 Filtered Time DomainAn inverse Fourier transform takes the filtered spectrum and produces the filtered time domain data. It is not perfectly clean yet, because of the white noise present with in the selected filter bandwidth.
Your consent to our cookies if you continue to use this website.