Random RMS Calculator Tutorial
Compute random acceleration, velocity, and displacement values from a breakpoint table.
A random spectrum is defined as a set of frequency and amplitude breakpoints. Consider the values in the table below:
To compute the root-mean-square (RMS) from the breakpoints, we must compute the area under the curve defined by the breakpoint values. At first glance, this may appear simple because the area can be divided into a group of squares and triangles. However, the triangles are the result of straight lines on log-log graph paper, not on linear graph paper. We can still take advantage of the triangle shapes but need to use a specific formula for computing the area of triangles on log-log graph paper.
The definition of a straight line on log-log graphs between two breakpoints (f1,a1) and (f2,a2) is a power relationship, where the slope is the exponent and the offset is the multiplicative factor.
The slope and offset that defines the straight line are computed as follows:
Given the slope and offset, we can integrate from f1 to f2 to compute the area under the line:
|if slope -1||(4)|
If the slope equals 1, however, this formula does not hold. In this case, we note that a = offset / f which integrates into a natural log function. (Hint: some programs, including Microsoft ExcelTM define the log() function as a base-10 logarithm and the ln() function as the natural (base-e) logarithm. Be sure to use the correct function in your calculation. As a test, for a natural logarithm, log(2.71828182845905) = 1.0.)
|if slope -1||(5)|
For each pair of breakpoints, we can use Equations (4) or (5) to compute the area under the curve. The total area under the curve will then be the sum of the individual area calculations between each pair of breakpoints, and this sum is the mean-square acceleration. We take the square root of the result to get the RMS acceleration level. Using our example breakpoints, the sum is computed as follows:
|Frequency (Hz)||Amplitude (G2/Hz)||Slope||Offset||Area (G2)|
|Total 36.77 G2|
Adding up the area values gives the mean-square acceleration of 36.77 G2, and then taking the square root of this result gives the overall RMS value as 6.064 G RMS. Note that the acceleration units of this result will be the square root of the acceleration density units. When using density units of (m/s2)2/Hz, the result will be in m/s2. When using density units of m2/s3 (which is simply a reduced form of the (m/s2)2/Hz unit), the result will be in m/s2.
HOW ABOUT VELOCITY?
The RMS velocity can be computed in the same manner; however, the breakpoint numbers need to be converted from acceleration-squared/Hz units to velocity-squared/Hz units, with appropriate unit conversion, if required. This conversion is done using Equation (6) which defines the relationship between velocity and acceleration for a sine wave of a given frequency.
As a result, the Equation for the lines connecting the breakpoints, in velocity density, becomes
This can be integrated from f1 to f2 to get the area under the velocity line.
When slope = 1 we need to use a natural log function.
Then we can sum the areas as before to get the mean-square velocity, and take the square root to get an RMS velocity value for the random spectrum. Also, when using acceleration units in G’s, you also need to apply a conversion factor to get a suitable velocity unit. Common conversions are to convert G’s to inches/s2, or to m/s2.
|1 G = 386.09 in/s2 = 9.80665 m/s2||(10)|
Using the previous example, the RMS velocity is computed as follows:
|Frequency (Hz)||Amplitude (G2/Hz)||Slope||Offset||Area ((Gs)2)|
Applying the unit conversion, we get:
HOW ABOUT DISPLACEMENT?
The RMS displacement can be computed in the same manner; however, the breakpoint numbers need to be converted from acceleration-squared/Hz units to displacement-squared/Hz units, with appropriate unit conversion, if required. This conversion is done using Equation (11) which defines the relationship between acceleration and displacement for a sine wave of a given frequency.
As a result, the equation for the lines connecting the breakpoints, in displacement density, becomes:
Now we can integrate this from f1 to f2 to get the area under the displacement line.
When slope=3 we need to use a natural log function:
Then we can sum the areas as before to get the mean-square displacement, and take the square root to get an RMS displacement value for the random spectrum. When using acceleration units in G, you also need to apply a conversion factor such as defined in Equation (10) to get a suitable displacement unit.
Using the previous example, the RMS displacement is computed as follows:
|Frequency (Hz)||Amplitude (G2/Hz)||Slope||Offset||Area ((G s2)2)|
Applying the unit conversion, we get:
But you are more likely interested in peak-to-peak displacement instead of the RMS displacement value because your shaker travel limits are rated as a peak-to-peak value. Since the vibration is Gaussian random it is not possible to find an absolute peak value. What we can compute is an average, or typical, peak value. For Gaussian random values, the average one-sided peak level is about 3 times the RMS value (also called the 3-sigma level). To get double-sided displacement, a.k.a. peak-to-peak displacement, this number is doubled. So the typical peak-to-peak value is computed as:
Typical peak-peak displacement = 2 · 3 · (0.0077 in RMS) = 0.046 in peak-to-peak
Now it is important to know that this is simply the typical peak-to-peak displacement value. This peak value will occur relatively frequently during your test, so you will often see peaks at this level. But you will also have occasional peaks at levels higher than 3·RMS. How high those peaks get can only be defined in terms of probabilities, so the appropriate question is not how high the peaks are, but how often the peaks will be that high. For Gaussian random data, the amplitudes will be above 3·RMS 0.27% of the time. They will be above 4·RMS 0.006% of the time. And there is still a 0.0000002% chance that you can get a peak greater than 6·RMS. This is a very small probability, but not impossible! In practice, you should have 30% to 50% of the headroom above the typical peak-to-peak displacement value for the occasional higher peak levels.
HOW ABOUT SINE-ON-RANDOM?
Sine-on-Random tests have a background random vibration, with one or more sine tones added on top of the background vibration. The background random levels are computed the same as for standard random, as described above. The sine tones then add to the random in the mean-square, which simply means you take the all of the RMS levels, square them, add them together, and take the square root of the result to get the overall RMS value. Since the sine tones are usually defined in terms of their peak acceleration, they need to first be converted from peak to RMS, which for a sine tone is as simple as dividing the peak value by .
Sine-on-Random example: Use the same background random as defined above, and add in sine tones of 1.0G peak at 50 Hz, 2.0 G peak at 80 Hz, and 1.5 G peak at 110 Hz.
|Frequency (Hz)||Acceleration G Peak||Acceleration G RMS||Squared G2|
Velocity works the same way, remembering to convert the acceleration to velocity using Equation (6), and then converting the result to the appropriate velocity unit. When summing the squared values, be sure the units for the background random and the sine tones match.
|Frequency (Hz)||Acceleration G Peak||Acceleration G RMS||Velocity G s RMS||Squared (G s)2|
Applying the unit conversion, we get:
Displacement would work the same way if we were interested in RMS values. To get peak displacement, however, we note that the peak-to-peak sine displacement will be 2 times the RMS displacement for the sine tones, so the RMS-to-(peak-to-peak) conversion factor for 3-sigma random peaks, as assumed for the random background vibration, will not apply to the sine tones. To get the overall peak-to-peak displacement requirements, it is better to assume that the peaks for the sine tones and the random background could all occur at the same point in time, so the peak displacement values will simply add together. So, to get the overall Sine-on-Random peak-to-peak displacement requirement, we add the peak-to-peak displacements for the random background plus each of the sine tones. Remember we convert acceleration to displacement using Equation (11) and then convert the displacement units using Equation (10).
|Frequency (Hz)||Acceleration (G Pk)||Displacement (G s2 pk-pk)||Displacement in pk-pk|
|Total 0.058 in peak-to-peak|