Skip to main content
Journal of Research of the National Institute of Standards and Technology logoLink to Journal of Research of the National Institute of Standards and Technology
. 1989 Nov-Dec;94(6):367–371. doi: 10.6028/jres.094.037

On Measuring the Root-Mean-Square Value of a Finite Record Length Periodic Waveform

E Clayton Teague 1
PMCID: PMC4948972  PMID: 28053424

Abstract

An analysis of the uncertainty in measuring the root-mean-square, rms or Rq, value of a periodic waveform which results from the use of a finite record length is presented. Even though the results of the analysis are somewhat as expected, i.e., that the uncertainty is inversely proportional to the number of periods in the record, the explicit relationship between the magnitude of the uncertainty and properties of the waveform does not appear to be available in the literature. The paper first presents an introductory example in terms of the reasonably well known case of bandwidth limited Gaussian waveform to introduce definitions. Following this is an analysis of the periodic waveform using the same approach. It is shown that for a large number of periods, n, in the record length, the normalized three standard deviation of the rms value is given by 3/(8πn).

Keywords: periodic surface profile, periodic waveform, random error, root-mean-square value, surface roughness, uncertainty

1. Introduction

This paper presents a discussion of the uncertainty in measuring the root-mean-square, rms, value of a periodic waveform which results from the use of a finite record length. The analysis was motivated by seeking to understand the source of a random uncertainty component which was present in some measurements of the absolute arithmetic average, Ra, deviation from a mean line of profiles of precision roughness specimens. The profiles of these specimens had an approximately triangular waveform with two wavelengths and amplitudes. For the longer wavelength specimens the random phasing of the waveform with respect to the recording interval proved to be a major source of uncertainty in the measurements. In this case the record length included 40 periods of the waveform. Even though the results of the analysis are somewhat as expected, i.e., that the uncertainty is inversely proportional to the number of periods in the record, the explicit relationship between the magnitude of the uncertainty and properties of the waveform does not appear to be available in the literature. The discussion first presents an example in terms of the reasonably well known case of a bandwidth limited Gaussian waveform to introduce some definitions and relationships. Following this is an analysis of the periodic waveform which uses a similar approach.

2. Bandwidth Limited Gaussian Waveform

By definition the mean square value, q2, calculated from a finite length L of the waveform y(x) is given by the equation:

q2=1/L0Ly2(x)dx. (1)

For convenience and brevity in the following discussion, the definitions listed below will be used [1].

Sample

  • space≡the set of points representing the possible outcomes of a measurement.

  • ϕ(k)≡a real number, called the random variable, which represents the outcome of a measurement indexed by k.

  • p(ϕ)≡lim Probability [ϕ<ϕ(k)<ϕ+Δϕ]Δϕ ∆ϕ→0

  • E{g[ϕ(k)]}≡the expected value of any real single-valued continuous function g(ϕ) of the random variable ϕ(k). It is given by:
    E{g[ϕ(k)]}=+g(ϕ)p(ϕ)dϕ.

As an example, the mean square value of y(x) is given by:

E[y2(x)]=+y2(x)p(x)dx.

E[y2(x)] will be defined as q¯2 which is that value approached by q2 as the record length L approaches infinity. Also q¯2 is the limiting value for the mean q2 as the number of samplings gets large. The variance of y(x) is defined by:

var{y}=E[(yy¯)2]=+(yy¯)2p(x)dx.

Similarly the variance in q2 is defined by:

var{q2}=E[(q2q¯2)2].

For the special case when y(x) is a bandwidth limited Gaussian waveform with zero mean, Bendat and Piersol [1] show that

var{q2}q¯4=2L*L[1e2L/L*]+L*L[(2LL*+1)e2L/L*1],

where L * is the shift distance required for the autocorrelation function to drop by 63% of its zero shift value. If L > >L* the relation reduces to

var{q2}q¯4=2L*L.

The propagation of error formulae discussed by Ku [2] may be used to relate the variance of the root-mean-square value=rms=q2 to this variance of q2. Results given in table 1 of this reference show that if

varq2q¯4=ϵ,thenvarrmsq¯2=ϵ4.

Thus, the normalized three-standard-deviations limit, 3SD, in the root-mean-square values calculated from randomly sampled lengths, L, of a Gaussian profile with a correlation length L* is given by:

3SDlimitofrmsq¯=322L*L=2.1L*L.

Whitehouse and Archard [3] report reasonable confirmation of this result for their test specimens which had approximately Gaussian profiles. The importance of this result is stated very clearly by Whitehouse and Archard [3]. "The variance of measured rms or Ra values for the roughness of a surface may be found easily if one knows the standard deviation of a large number of such measurements made upon the same surface. Alternatively one may predict the variance from a knowledge of the correlation length of a typical profile of the test surface." The argument just given for the 3SD limit partially fulfills the "it can be shown" statement by Whitehouse and Archard.

3. Periodic Waveforms

Unfortunately these results do not apply for periodic waveforms such as that of many precision roughness specimens. However, the principles of calculation are still applicable. Consider the example of the sinusoidal waveform:

y(x)=Asin(ωx+θ). (2)

The waveform is sampled for a length L with the phase angle θ considered as the random variable of the sample space. The angle θ will be considered as having a uniform distribution over values from 0 to 2π, i.e.,

p(θ)=12π,0<θ<2πandp(θ)=0,for all other values ofθ

According to definitions in eqs (1) and (2):

q2=1L0LA2sin2(ωx+θ)dx.

Evaluation of the integral yields

q2=A22[1sin2(δ+θ)2ωL+sin2θ2ωL],

where δ = ωL− 2. The conditional variance of q2, given δ, is (noting that q¯2=A2/2):

var(q2|δ)=E[(q2q¯2)2]=12π×02π[A22(1sin2(δ+θ)2ωL+sin2θ2ωLA2]2dθ.

Evaluation of the integral yields:

var(q2|δ)=A4(1cos2δ)16ω2L2.

Thus, if the record length happens to include an integral number of periods, var q2 = 0. But if we take the more likely case in which 8 has a distribution of values like that of θ due either to variations in the measured wavelength, ω−1, or in the record length, L, the result integrated with respect to 8 is obtained as follows.

var(q2)δ=12π02πvar(q2|δ)dδ=12π02πA4(1cos2δ)16ω2L2dδ.

Substituting ωL = δ + 2 followed by the introduction of dummy variables x and y reduces the integral to:

var(q2)δ=12π2nπ2(n+1)πx2dx1π4nπ4(n+1)π(cosy/y2)dy.

Solving these integrals yields:

(varq2)δ=A41614π2n(n+1)or(varq2)δq¯4=116π2n(n+1)

where n is again defined by the equation δ = ωL−2. This result for (var q2)δ does account for the relationship between ωL and δ Use of the same relationships between var q2 and var rms given earlier yields:

(varrms)δq¯2=164π2n(n+1).

An averaged normalized three-standard-deviation limit for variations of the rms values is then given by:

3SD(rmsq¯)=38πn(n+1), (3)

or for large n,

3SD(rmsq¯)=38πn. (4)

Finally, if the record length L and measured wavelengths, ω−1, are stable and such that δ has a narrow distribution about π/2 or 3π/2 the 3SD(rms/q¯) could be as much as twice this average value.

4. Comparison with Variations of Roughness Measurements

For surface profiles obtained from roughness measurements, one would expect that the normalized 3SD of a set of measured Ra values would be approximately equal to that computed for the Rq (rms) values since both quantities are similar measures of the sampled profile's empirical probability density function. The measurements of Ra values which initiated this analysis should therefore be understandable in terms of the results just derived.

For the measurements, two types of specimens were used; one set had an Ra value of 3.2 µm and a wavelength such that n = 40; the other set had an Ra value of 0.5 µm and a wavelength such that n = 250. Record lengths for the measurements were approximately 3.8 mm. Predicted uncertainties for the variations of a measured value about the mean Ra are therefore:

3SD3.2μm=0.3%ofmeanRa,

and

3SD0.5μm=0.05%ofmeanRa,

if one assumes the averaged three standard deviations limit. The maximum values for the analytical uncertainties are 0.6 and 0.1% of the mean Ra values for the 3.2 and 0.5 µm specimens, respectively.

In a series of 80 sets of three Ra measurements, the uncertainty (3 standard deviations) of these triplicate measurements with respect to their average values was:

3SD3.2=1.0%ofmeanRa,

and

3SD0.5=0.7%ofmeanRa.

The intent of this comparison between the analytical and experimental values is not that of justifying the theoretical analysis. However, in terms of understanding the experimental variations the agreement is sufficient to confirm that, for the longer wavelength specimen, a major source of uncertainty for the roughness measurements results from the finite sampling length.

The imperfect waveforms of the precision roughness specimens are the most likely sources of the residual uncertainty. As illustrated in figure 1 the specimen waveforms have distortions which are produced by either an additive random function together with phase modulation or by the combination of random amplitude and phase modulation. The effect of an additive random function is the only one which can be readily analyzed. For this case the rms value of the sum of two uncorrelated waveforms adds in a rms manner. Assume that the waveforms can be represented by the sum of a random component, with an rms value of qR and a correlation length of L*, and a periodic component, with an rms value of qp and angular frequency ω. Then the use of propagation of error formulae derived by Ku [2] yields:

3SD(rmsq¯)=1.5[2aL*L+b16n2π2]

where n and L are as defined earlier and

a=(1+qR2qP2)2,b=(1+qP2qR2)2.

Estimates of qR2 and L * from the calculation of autocorrelation functions of the waveforms for the 0.5µm—Ra specimen are: L* = 0.05 L and qR=0.01qP2. Effects of random amplitude and phase modulation are not accounted for in these estimates. With these values of qR2 and L * the dominant source of uncertainty for the waveform sampled for 250 periods is the random additive component which increases the uncertainty limits to 0.3% of the mean value. Approximately the same values for L* and qR2 were obtained from studies of the 3.17µm —Ra specimen. Since qR2=2.8×104qP2, in this instance, the uncertainty produced by the random component is insignificant for measurements on this specimen.

Figure 1.

Figure 1

Waveforms of roughness specimens which were used for statistical studies.

5. Conclusion

The uncertainty in measuring the root-mean-square value of a finite record length of a periodic waveform has been obtained and is given in eqs (3) and (4). The theoretical results were compared with data obtained from surface profile measurements of precision roughness specimens. However, eqs (3) and (4) are quite general and will apply to rms measurements of the amplitude of periodic waveforms arising from other areas.

During customary announcements of this paper to NIST staff, an analysis of the errors of measurement due to variations in sampling interval length, (complimentary to that presented here), was brought to the author's attention. The effects of adjusting the sample interval length relative to an integral number of cycles of the test waveform are determined and applied to measurements of electrical power with a wattmeter [4].

6. Acknowledgments

The author gratefully acknowledges helpful discussions with Charles P. Reeve of the Statistical Engineering Division. His suggestions clarified many of the ideas presented in the paper; in particular, the use of the concept of conditional variance enabled the basic calculation to be expressed in more conventional statistical terminology.

Biography

About the author: Dr. E. Clayton Teague is Group Leader of Micrometrology in the NIST Precision Engineering Division of the Center for Manufacturing Engineering, National Engineering Laboratory. He has worked in the area of surface texture measurement for 18 years.

7. References

  • 1.Bendat JS, Piersol AG. Random Data: Analysis and Measurement Procedures, Chapters 3 and 6. Wiley Interscience; 1971. [Google Scholar]
  • 2.Ku HH, editor. Precision Measurement and Calibration. Vol. 1. U.S. Government Printing Office; 1969. pp. 331–341. (NBS Special Publication 300). Superintendent of Documents. [Google Scholar]
  • 3.Whitehouse DJ, Archard JF. Proc Roy Soc London. 1970;A316:97. [Google Scholar]
  • 4.Stenbakken GN. IEEE Trans, on Power Apparatus and Systems. 1984;PAS-103:2919. [Google Scholar]

Articles from Journal of Research of the National Institute of Standards and Technology are provided here courtesy of National Institute of Standards and Technology

RESOURCES