Noise. CHEM 411L Instrumental Analysis Laboratory Revision 2.0

Similar documents
Standard Operating Procedure of nanoir2-s

1.0 ThermoNicolet Nexus 670 FTIR Spectrometer Instructions

PulseCounter Neutron & Gamma Spectrometry Software Manual

BitWise (V2.1 and later) includes features for determining AP240 settings and measuring the Single Ion Area.

Getting Started with the LabVIEW Sound and Vibration Toolkit

PHY221 Lab 1 Discovering Motion: Introduction to Logger Pro and the Motion Detector; Motion with Constant Velocity

Department of Electrical & Electronic Engineering Imperial College of Science, Technology and Medicine. Project: Real-Time Speech Enhancement

User Manual OVP Raman

What s New in Raven May 2006 This document briefly summarizes the new features that have been added to Raven since the release of Raven

FPA (Focal Plane Array) Characterization set up (CamIRa) Standard Operating Procedure

Using the new psychoacoustic tonality analyses Tonality (Hearing Model) 1

Calibrate, Characterize and Emulate Systems Using RFXpress in AWG Series

System Identification

Sample Analysis Design. Element2 - Basic Software Concepts (cont d)

ABB MEASUREMENT & ANALYTICS. MB3600 The most reliable FT-NIR laboratory analyzer designed for QA/QC

DURATECH FINISH ANALYZER

ECE 4220 Real Time Embedded Systems Final Project Spectrum Analyzer

Processing data with Mestrelab Mnova

Data Collection Using APEX3. March 30, Chemical Crystallography Laboratory

Contents. 1. System Description 3. Overview 3 Part Names 3 Operating Conditions 7 Start-up Procedure 7. 2.

Reduction of Device Damage During Dry Etching of Advanced MMIC Devices Using Optical Emission Spectroscopy

FAST MOBILITY PARTICLE SIZER SPECTROMETER MODEL 3091

PS User Guide Series Seismic-Data Display

Lab experience 1: Introduction to LabView

SC24 Magnetic Field Cancelling System

MestReNova Manual for Chem 201/202. October, 2015.

NENS 230 Assignment #2 Data Import, Manipulation, and Basic Plotting

MAutoPitch. Presets button. Left arrow button. Right arrow button. Randomize button. Save button. Panic button. Settings button

Signal to noise the key to increased marine seismic bandwidth

SC24 Magnetic Field Cancelling System

EASY-MCS. Multichannel Scaler. Profiling Counting Rates up to 150 MHz with 15 ppm Time Resolution.

ABB MEASUREMENT & ANALYTICS. MB3000 The most reliable FT-IR laboratory analyzer

homework solutions for: Homework #4: Signal-to-Noise Ratio Estimation submitted to: Dr. Joseph Picone ECE 8993 Fundamentals of Speech Recognition

Please feel free to download the Demo application software from analogarts.com to help you follow this seminar.

GC/LC-MS: data acquisition rate and peak reconstruction

Simple Harmonic Motion: What is a Sound Spectrum?

BEAMAGE 3.0 KEY FEATURES BEAM DIAGNOSTICS PRELIMINARY AVAILABLE MODEL MAIN FUNCTIONS. CMOS Beam Profiling Camera

Practicality and Performance

The effect of milling frequency on a mechanochemical. organic reaction monitored by in situ Raman

Practicum 3, Fall 2010

An Introduction to the Spectral Dynamics Rotating Machinery Analysis (RMA) package For PUMA and COUGAR

MIE 402: WORKSHOP ON DATA ACQUISITION AND SIGNAL PROCESSING Spring 2003

Spectrum Analyser Basics

Swept-tuned spectrum analyzer. Gianfranco Miele, Ph.D

Investigation of Digital Signal Processing of High-speed DACs Signals for Settling Time Testing

Tutorial FITMASTER Tutorial

Study of White Gaussian Noise with Varying Signal to Noise Ratio in Speech Signal using Wavelet

m RSC Chromatographie Integration Methods Second Edition CHROMATOGRAPHY MONOGRAPHS Norman Dyson Dyson Instruments Ltd., UK

SEM- EDS Instruction Manual

Agilent PN Time-Capture Capabilities of the Agilent Series Vector Signal Analyzers Product Note

LabView Exercises: Part II

Appendix D. UW DigiScope User s Manual. Willis J. Tompkins and Annie Foong

ECE438 - Laboratory 4: Sampling and Reconstruction of Continuous-Time Signals

Signal Stability Analyser

System Requirements SA0314 Spectrum analyzer:

DIGITAL COMMUNICATION

#PS168 - Analysis of Intraventricular Pressure Wave Data (LVP Analysis)

SC26 Magnetic Field Cancelling System

BER MEASUREMENT IN THE NOISY CHANNEL

013-RD

DATA COMPRESSION USING THE FFT

USING MATLAB CODE FOR RADAR SIGNAL PROCESSING. EEC 134B Winter 2016 Amanda Williams Team Hertz

COMPARED IMPROVEMENT BY TIME, SPACE AND FREQUENCY DATA PROCESSING OF THE PERFORMANCES OF IR CAMERAS. APPLICATION TO ELECTROMAGNETISM

Virtual Vibration Analyzer

Supplementary Course Notes: Continuous vs. Discrete (Analog vs. Digital) Representation of Information

OPERATIVE GUIDE P.I.T. PILE INTEGRITY TEST

Infrared intensities of liquids. Part XXIII. Infrared optical constants and integrated intensities of liquid benzene-d 1 at 25 C

Electrospray-MS Charge Deconvolutions without Compromise an Enhanced Data Reconstruction Algorithm utilising Variable Peak Modelling

IMSERC NMR MANUAL 05: Manual Operation of Agilent NMR Spectrometers (Chem350 Interface)

PINMRF. Checkout Quiz - Varian Inova-300 Version

Upgrading E-learning of basic measurement algorithms based on DSP and MATLAB Web Server. Milos Sedlacek 1, Ondrej Tomiska 2

The Effect of Time-Domain Interpolation on Response Spectral Calculations. David M. Boore

Laser Beam Analyser Laser Diagnos c System. If you can measure it, you can control it!

DELTA MODULATION AND DPCM CODING OF COLOR SIGNALS

Keysight Technologies Intrinsic Contact Noise: A Figure of Merit for Identifying High Resolution AFMs. Application Note

TIME RESOLVED XAS DATA COLLECTION WITH AN XIA DXP-4T SPECTROMETER

R&S FSW-B512R Real-Time Spectrum Analyzer 512 MHz Specifications

Pre-Processing of ERP Data. Peter J. Molfese, Ph.D. Yale University

Source/Receiver (SR) Setup

Comparison of SONY ILX511B CCD and Hamamatsu S10420 BT-CCD for VIS Spectroscopy

Audio Compression Technology for Voice Transmission

Enhanced Diagnostics through Ultrasound Imaging

2 MHz Lock-In Amplifier

Single Channel Speech Enhancement Using Spectral Subtraction Based on Minimum Statistics

The Future of EMC Test Laboratory Capabilities. White Paper

HPLC Tips and Tricks. Tiziana Ladisa Sales Support Specialist for Chromatography Italy Thermo Fisher Scientific, Rodano (MI)

Lab 1 Introduction to the Software Development Environment and Signal Sampling

Assessing and Measuring VCR Playback Image Quality, Part 1. Leo Backman/DigiOmmel & Co.

ASE 369 K Measurements and Instrumentation. LAB #9: Impulse-Force Hammer; Vibration of Beams

PYROPTIX TM IMAGE PROCESSING SOFTWARE

TL-2900 AMMONIA & NITRATE ANALYZER DUAL CHANNEL

Hands-on session on timing analysis

Full Disclosure Monitoring

RF (Wireless) Fundamentals 1- Day Seminar

40G SWDM4 MSA Technical Specifications Optical Specifications

TracQ Basic. Spectroscopy Software v6.5. User's Manual

Standard Operating Procedure II: EDS (Bruker Flat-Quad)

HBI Database. Version 2 (User Manual)

More Info at Open Access Database Process Control for Computed Tomography using Digital Detector Arrays

The Measurement Tools and What They Do

Transcription:

CHEM 411L Instrumental Analysis Laboratory Revision 2.0 Noise In this laboratory exercise we will determine the Signal-to-Noise (S/N) ratio for an IR spectrum of Air using a Thermo Nicolet Avatar 360 Fourier Transform Infrared Spectrometer. In particular, we will determine how the S/N ratio depends on the instrument's signal intensity and resolution. We will also examine how to improve the S/N ratio by using Ensemble Averaging as well as Signal Smoothing. Visualization of the Output of a Noise Generator https://github.com/mikolalysenko/spatial-noise Instrumentation is now ubiquitous in the chemical laboratory. By the late 1800's, chemists realized that the chemical composition of a sample influenced its physical properties and began to develop instrumental methods for measuring these properties. Limited initially to spectroscopic methods, analytical chemists now have a wide variety of instrumentation at their disposal with which to characterize their samples. Currently, electronic analytical instrumentation is capable of detecting minute amounts of even the most difficult analytes.

P a g e 2 In broad strokes, we can imagine that an analytical instrument will stimulate the sample to be characterized and then measure the sample's response to this stimulus. Because of the inevitable Noise, the response typically must be filtered to remove as much of the noise as possible. The resulting signal can then be amplified and recorded for further analysis. Of course there are many variations on this basic outline, but the overall scheme is pretty much the same from instrument to instrument; with chromatographic instrumentation being a major exception. Over the course of the semester, we will have an opportunity to examine several specific instruments and their use in the analytical laboratory. For now we want to focus on the generic features of analytical instrumentation as outlined above. In this exercise, we will examine the Noise superimposed on instrumental Signals. We will not consider the sources of this noise; that will come later when we examine particular instrumentation. Instead we will consider how the signal-to-noise ratio can be influenced by instrumental parameters, such as signal strength and resolution. Of course, we desire this ratio be very large. However, the cost in time and other resources may prohibit this ideal. We may instead have to settle for a signal-to-noise ratio that is simply acceptable. For our purposes, Noise (N) is defined as the standard deviation of a Signal's measured values and the Signal (S) is the average of those measurements. (Note: I am using to represent the standard deviation of the sample distribution rather than the typical s. This is done to avoid confusion between S and s.) The Signal-to-Noise ratio (S/N) is then the ratio of to. S/N = / (Eq. 1)

P a g e 3 This is simply the inverse of the Relative Standard Deviation of the signal; S/N = 1 / ( / ) = 1/RSD (Eq. 2) This does assume the signal is relatively constant over the period for which these measurements are made. If the noise is Normally Distributed and we select a confidence level of 99%, then all but 1% of the signal measurements will lie between +2.5 and -2.5 of the mean This means that if our Maximum and Minimum signal values can be assumed to be good estimates for ± 2.5, then can be approximated according to: ~ (Max - Min) / 5 This provides us with a method for quickly estimating the S/N ratio for those cases where precision is not an issue. S/N ~ 5 / (Max - Min As noted by Skoog, et. al.: In most measurements, the average strength of the noise N is constant and independent of the magnitude of the signal S. Thus, the effect of noise on the relative error of a measurement becomes greater and greater as the quantity being measured decreases in magnitude. For this reason, the signal-to-noise ratio (S/N)is a much more useful figure of merit than noise alone for describing the quality of an analytical method or the performance of an instrument. The upshot is, all other factors being equal, a better S/N ratio allows us to detect weaker analyte signals. Now to a couple of methods for increasing the S/N ratio digitally, post data collection. First is Ensemble Averaging, or scan Coaddition. Here several data scans are performed by the instrument and the resulting data is averaged point by point.

P a g e 4 The Coadded Signal (S x ) is determined by averaging the individual signals (S i ) obtained for each of the n scans at each point x along the scan: S x = = (Eq. 3) where S sum represents the signal of the summed scans. As the individual signals S i themselves are embedded in noise we have: Then, for the "summed" spectrum: S sum = n (Eq. 4) 2 sum = = n 2 (Eq. 5) where 2 i is the variance associated with S i and is assumed to be the same for each S i ; given by, the scan's noise. Thus, the S/N ratio for the coadded spectrum is given by: S x /N x = = = ( / ) = (S/N) (Eq. 6) This means that for the coadded signal: S x /N x ~ n 1/2 (Eq. 7) Thus, provided the data acquisition time for obtaining a scan is not too great, coadding multiple scans can improve the signal to noise ratio, but only at the rate of the square root of the number of scans. Assuming the signal varies only slowly with time, Boxcar Averaging can smooth a data scan and improve the S/N ratio. This technique is as illustrated below. Data points are averaged within each boxcar and the resulting average is taken to be the new data point within the boxcar. As noted by Skoog et al: " detail is lost by boxcar averaging, and its utility is limited for complex signals that change rapidly as a function of time. Boxcar averaging is of considerable importance, however, for square-wave or repetitive outputs where only the average amplitude is important." Basically, considerable resolution is lost as a result of boxcar averaging.

P a g e 5 As an example, consider a 3-point boxcar average of the following raw data: First the data is divided into boxcars: Then the averaging is performed: {5, 12, 17, 18, 21, 22, 25, 30, 35, 26, 25, 21, 15, 13, 18} [5, 12, 17] [18, 21, 22] [25, 30, 35] [26, 25, 21] [15, 12,18] (5 + 12 + 17) / 3 = 11.3 (18 + 21 + 22) / 3 = 20.3 (25 + 30 + 35) / 3 = 30.0 (26 + 25 + 21) / 3 = 24.0 (15 + 13 + 18) / 3 = 15.3 This "smoothed" data can then be reported to the user: Note the loss of resolution. {-, 11.3, -, -, 20.3, -. -, 30.0, -, -, 24.0, -, -, 15.3, -} A Moving Average Smooth is an improvement on this scheme as it provides for a one-to-one replacement of old data points with new ones. This method of data smoothing averages the data within a "bracket" and then moves the "bracket" one data point down the scan. Each "bracket" contains an odd number of data points and few data points at the ends of the scan are lost or are averaged over fewer data points. This is a very common technique. However, if the "bracket" sizes are too large, significant signal distortion will set in. As an example of this smoothing routine, let's perform a 3-point moving average scan on the above data:

P a g e 6 (5) / 1 = 5.0 (5 + 12) / 2 = 8.5 (12 + 17 + 18) / 3 = 15.7 (17 +18 + 21) / 3 = 18.7 (18 + 21 + 22) / 3 = 20.3 (21 + 22 + 25) / 3 = 22.7 etc. The smoothed data is then reported as: {5.0, 8.5, 15.7, 18.7, 20.3, 22.7,...} Data smoothing of this nature is similar to passing the data through a low-pass filter. Signal smoothing will not improve the accuracy of an analyte determination and it is lossy. Finally, to the specifics of this laboratory exercise. We will determine the S/N ratio for the Thermo Nicolet Avatar 360 Fourier Transform Infrared Spectrometer, considering the effects of spectrometer resolution, signal intensity and number of coadded scans. Conceptually, an IR spectrometer operates such that IR radiation of intensity I o is passed through a sample and the resulting signal I is measured using an appropriate detector. The sample's Transmittance (%T) is then determined using: % T = x 100 (Eq. 8) This is done at each wavenumber for which IR absorbance data is required. %T vs. data is then the spectrum of the sample. The fact that our instrument is a Fourier Transform device does not alter this basic conceptual scheme but it does make its description less intuitive. We will deal with what it means to be a Fourier Transform instrument in a later laboratory exercise.

P a g e 7 Because our instrument is a single beam instrument, we must first obtain a Background spectrum (I o vs. ) and then independently determine the Sample spectrum (I vs. ) in order to obtain a %T vs. spectrum. If nothing is in the sample cell when the Sample spectrum is acquired, then the detector should always record a Transmittance spectrum of 100%. Because of instrumental noise, this will not be the case. Deviations from 100% transmittance are the considered to be the instrument's noise. Thus, we can determine the S/N ratio for our IR spectrometer according to (Eq. 1): S/N = 100 / (root-mean-square noise) (Eq. 9) We will first determine S/N for a basic single scan signal of fairly high resolution. Then we will vary the instrument's resolution to determine the effect this has on its S/N ratio. We will also increase the number of Coadded scans to confirm (Eq. 7). Finally, we will examine the effect of the instruments signal strength on the S/N ratio. If we examine the Background spectrum, we will notice the signal strength is not constant over the frequency range of the instrument. In fact, the instrument will have its greatest signal strength over the 2200-2000 cm -1 range. So, we will compare the S/N ratio for this frequency range to the S/N ratio outside this range. At this point, you should be wondering, what are the sources of the Noise for an FTIR. This issue will be taken up as a topic of discussion in the lecture. However, you should always be aware of the noise inherent in signals provided by any instrument and how the S/N ratio of the instrument may be affecting your analyses.

P a g e 8 Procedure The laboratory instructor will review how to use the Thermo Nicolet Avatar 360 Fourier Transform Infrared Spectrometer. In particular, you will need to know how to obtain a background spectrum (I o vs. ) and a sample spectrum (I vs. ) for a specified frequency ( ) range. For each spectrum, you should be able to adjust the number of scans performed and the resolution of the spectrum. Avatar 360 FTIR Spectrometer (www. http://researchndevelopment.com) Because the software for our spectrometer is not equipped to handle the calculations needed, you will need to be able to export your data to a portable data storage device. This will allow you to analyze your spectral data outside the laboratory. General Procedure for Collecting a Spectrum Here we will go through the basics for how to collect a spectrum with a given resolution and over a given frequency range. The specific values we will use in this example will be those needed for the first exercise. 1. Turn on the Nicolet Avator 360 FTIR spectrometer. 2. Turn on the computer and log-in. (Username and Password is physically attached to the computer's case.) 3. Launch the OMNIC 32 software package.

P a g e 9 4. Click on "Collect" to view its drop-down list of options and select "Experimental Set-Up". 5. On the "Set-Up" page: Set the options as follows; for our first experiment: No. of Scans = 1 Resolution = 0.5 Final format = %Transmittance Correction = None Save automatically = checked Save Interferograms = checked Base Name = "Your Initials" Background Handling = "Collect background before every sample" Experiment Title = "Noise" Now "Save" the settings and then click on "OK". 6. Now select "Bench" Set-Up.

P a g e 10 Set the "Spectral Range" to "2200" to "2000". "Save" the settings and then click on "OK" 7. "Exit" the "Set-Up" window. 8. Make sure that no sample is in place and the "Viewing Window" is closed. 9. Collect a Background spectrum and save it as a csv text (*.csv) file in the "411" folder. (You should create your own sub-folder and save your spectra in this folder. These subfolders will be periodically cleared away.) 10. Collect a Sample spectrum and save it as a csv text (*.csv) file in the "411" folder.

P a g e 11 Simple S/N Calculations and Smoothing Here we will collect both a "Background" spectrum and a "Sample" spectrum. We will take a single scan for each case; using a fairly high resolution. We will limit ourselves to a frequency range of 2200-2000 cm -1. This is the frequency range over which the instrument delivers its maximal power to the sample. We will then use Moving Average and Boxcar smoothing procedures to reduce the Noise. 1. Collect a background spectrum at 0.5 cm -1 resolution using 1 scan. Likewise, collect a Sample spectrum at 0.5 cm -1 resolution using 1 scan. Save the Sample spectrum to a *.csv file so that the S/N ratio can be determined over the 2200-2000 cm -1 at a later time. Effect of Resolution on S/N Here we will collect spectra using different instrumental resolutions. We will start with a fairly high resolution (0.5 cm -1 ) spectrum and proceed to fairly low resolution spectra (32.0 cm -1 ). We will then examine how the S/N ratio depends on the resolution. We will also examine how the S/N ratio is influenced by 2. Averaging 8 background and sample scans, obtain spectra at resolutions of: 0.5 cm -1, 1.0 cm -1, 2.0 cm -1, 4.0 cm -1, 8.0 cm -1, 16.0 cm -1, 32.0 cm -1 You will need to run a Background spectrum for each spectral resolution. All of these spectra should cover the full frequency range of the instrument. This will allow us to examine how the S/N ratio is influenced by the power deliver to the sample. (So, you will need to go back into the "Bench" set-up and reset the Spectral Range to 3000-400 cm -1.) Save the Background spectrum at 0.5 cm -1 resolution to a *.csv file. (This will allow you to determine the instrument's signal strength over the entire frequency range of the instrument.) For each Sample spectrum, export your data to a *.csv file for further analysis. Effect of Coadding Scans on S/N Here we will examine the effect of scan coaddition on the S/N ratio. So,.. 3. Set the resolution at 4.0 cm -1 ; the resolution used for our first exercise. Collect background and sample spectra using the following number of scans: 1 scan, 4 scans, 16 scans, 64 scans, 256 scans, 512 scans As usual, export the data for further analysis.

P a g e 12 Data Analysis Simple S/N Calculations and Smoothing 1. Using the "Sample" data from which the "Background" has already been subtracted, determine the S/N ratio over the 2200 cm -1 to 2000 cm -1 frequency range. 2. Perform a 5 point Moving Average Smooth on the above spectrum, plot the smoothed spectrum and re-calculate the S/N ratio. Recalling the unsmoothed spectrum each time, perform the following Moving Average smoothing routines: 9-point, 13-point, 17-point, 21-point, 25-point Calculate the S/N ratio for each smoothed spectrum. (You do not need to plot each smoothed spectrum.) Plot the S/N ratio versus the number of points used in the spectral smoothing. Comment. 3. Perform a 5 point Boxcar average on the unsmoothed spectrum, plot the averaged spectrum and re-calculate the S/N ratio. Comment. Effect of Resolution on S/N 4. Plot the "Background" spectrum from procedure step (2). This will allow you to determine I o vs. ; and, hence, the regions of the spectrum where the signal strength is great and where it is weak. 5. Determine the S/N for each spectrum obtained at the different spectral resolutions (step (2) above) for the following three frequency ranges: 3000-2800 cm -1 2200-2000 cm -1 600-400 cm -1 Recall, the spectrometer delivers its greatest power to the sample over the 2200 cm -1 to 2000 cm -1 range. Plot the S/N ratio versus Spectral Resolution for each frequency range on the same graph. Examine the single beam signal intensities for each of the above frequency ranges. This can be done by examining the I o vs. Background spectrum (#4 above). Comment on the effect of resolution and signal strength on the S/N ratio.

P a g e 13 Effect of Coadding Scans on S/N 5. Determine the S/N ratio for the 2200-2000 cm -1 for each spectrum obtained in procedure step (3) above. Plot the S/N ratio versus Number of Coadded Scans. Fit the data to a "Power Function." Compare this functional form with that which is expected. You should submit a Memo Style report of the above findings. Be sure to include the "Background" spectrum from procedure step (2). Also include all plots requested.

P a g e 14 References Blitz, Jonathan P. and Klarup, Douglas G. "Signal-to-Noise Ratio, Signal Processing, and Spectral Information in the Instrumental Analysis Laboratory," J. Chem. Ed. 79 (2002) 1358. Griffiths, Peter R. "'Trading Rules' in Infrared Fourier Transform Spectroscopy," Analytical Chemistry 44 (1972) 1909. Skoog, Douglas A., Holler, F. James and Crouch, Stanley R. (2007) " Principles of Instrumental Analysis, 6 th Ed. Thomson, Belmont, California. Stolzberg, Richard J. "Introduction to Signals and Noise in an Instrumental Methods Course," J. Chem. Ed. 60 (1983) 171.