Skip to main content
Chemistry LibreTexts

Signal Averaging

  • Page ID
    283117
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Note

    The LabVIEW run-time engine needs to be installed on the computer (Windows only), and can be obtained for free from here (user registration required, also free):  http://www.ni.com/download/labview-run-time-engine-2010-sp1/2292/en/

    Simulations themselves can be obtained here:  https://sites.google.com/a/cord.edu/labview-for-analytical-chemistry/

    Boxcar Averaging

    Run the application called BoxcarAveraging.exe

    1. The data is the result of a combination of a signal (regularly repeating sine wave) and noise. On the diagram below, point out where the signal is and where the noise is.

    Diagram_Signal,Noise.png

     

    1. Is the noise always positive or negative? Does the noise always have the same value?

     

     

     

    1. Use the up/down arrows next to the Number of Points to Average and make note of what you see.

     

     

     

    1. What happens to the appearance of the averaged data as the number of points to average increases?

     

     

     

    1. Describe how boxcar averaging works and explain specifically how it helps to increase the S/N ratio. (Your textbook or resources on the internet will be helpful here.)

     

     

     

     

    1. This method (along with rolling averages) are often referred to as smoothing techniques. Explain why this name is appropriate.

     

     

     

    1. At what boxcar size (number of points to average) does the averaged signal begin to lose the overall shape of the raw data? Propose an explanation for why this happens.

     

     

     

     

    1. Sketch what the raw data would look like if the frequency of the signal (not the noise, but the underlying sine wave) increased while the noise remained unchanged. How would your answer to the previous question change in this case?  Explain your reasoning.

     

     

     

     

     

     

     

    Ensemble Averaging

    Run the application called EnsembleAveraging.exe and set the number of scans to average to 4, the time between scans to 5.00 seconds, and the signal level to 4.

    1. Run the simulation, and observe the S/N ratio for the current scan as well as the shape of the data displayed. As each scan is displayed, how does the current scan S/N change, and how is this reflected in the data displayed?






     

    1. Run the simulation again, and observe the Overall S/N in the Average of All Scans panel as well as the shape of the average data displayed. As each scan is added, how does the Overall S/N change, and how is this reflected in the Average of All Scans data displayed?






     

    1. Describe how Ensemble Averaging works and explain why it helps to increase the S/N ratio. (Your textbook or resources on the internet will be helpful here.)








     

    1. Set the number of scans to average to 10000, the signal level to 4, and the time between scans to 0.1 seconds. Run the simulation, and stop it when the Overall S/N reaches 40. How many scans (n, displayed in the Current Scan panel) does it take to reach an Overall S/N of 40?  Repeat this three times and report your values. 







     

    1. Restart the simulation, and stop it when the Overall S/N ratio reaches 80. How many scans does it take to reach an Overall S/N of 80?  Repeat this three times and report your values.





     

    1. Compare your answers to questions 11 and 12 – based on your average results, by what factor does the number of scans have to change in order to double the Overall S/N ratio?

     

     

     

    1. Examine the graph in the lower right panel. Explain what this graph is displaying. 

     

     

     

     

    1. Describe the rough shape of the graph displayed. Use your answer from question 13 to explain the significance of what is plotted on the x-axis in this panel.

     

     

     

     

     

     

    1. If you want to increase the Overall S/N ratio of a measurement by a factor of 10, by what factor do the number of scans averaged need to increase?

     

     

     

     

     

    1. Both boxcar averaging and ensemble averaging are used to increase the S/N ratio of a measurement. What advantages and disadvantages are there for each method?  Support your answer using your results and observations from these simulations.

     

     

     

     

     

     

     

     

     

     

     

     

    1. Consider the data displayed below. To increase the S/N ratio of this measurement, would it be more appropriate to use boxcar averaging or ensemble averaging?  Explain your reasoning.

      Data_Measurement.png

     

     

    Contributors and Attributions


    This page titled Signal Averaging is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Contributor via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.