A power monitor reports the correct fundamental on the bench. On a second test source, small peaks appear near the main peak and the reported harmonic values change. Both instruments are labeled 50 Hz, so the sampling oscillator comes under suspicion. Separate the two clocks. The device’s sample clock determines the spacing between recorded samples. The actual line cycle determines when the input waveform repeats. Both can operate normally while the analysis window still covers a noninteger number of actual AC cycles.
A spectrum can be understood as a combination of known frequencies fitted to the observed segment. A common transform treats the segment as repeating. The beginning and end join naturally for a whole number of actual periods. Cutting the record at another position can introduce a discontinuity in the repeated pattern and spread the content of a single frequency among nearby bins. This is spectral leakage. Compare acquisition and analysis before treating each peak as a new component of the device signal.
Work through an 80 ms record
Suppose the device samples at 8,000 samples per second and chooses four nominal 50 Hz periods. Each is 20 ms, giving 80 ms or 640 samples. A 49.8 Hz input completes 3.984 cycles in the same time, 0.016 short of four. With a common starting phase, the mismatch is about 5.76°. The segment no longer joins exactly if the transform treats it as an integer count. The actual effect depends on phase, window, noise and algorithm. This example shows how a small frequency change breaks a nominal window’s alignment.
Four actual cycles at 49.8 Hz take about 80.321 ms. A suitable metering device can use its line-frequency estimate to resample a fixed number of equidistant points per cycle. The ADI ADE9000 technical reference describes a mode with 128 samples per cycle, so four cycles yield 512 samples. The number per cycle stays fixed and the total time follows the input. Convert harmonic order to hertz using the actual fundamental in each segment. For example, the fifth harmonic is 249 Hz at 49.8 Hz and 250 Hz at exactly 50 Hz.
Both fixed sampling and cycle-based resampling have uses. Keep a fixed time grid when comparing absolute event timing with other instruments. For comparing harmonic orders of a steady line, a whole-cycle record is easier to interpret. Interpolation can introduce errors at particular frequencies and in particular modes. A resampled record should not stand in for the original data when inspecting every fast event. ADI’s harmonic analysis note discusses coherent and noncoherent sampling and illustrates interpolation effects. Choose the method according to the measurement objective.
Compare two analysis methods on the same input
Use a verified AC test waveform and confirm frequency and amplitude. Retain both a fixed-time slice and a slice aligned to the measured line cycles. Test exactly 50 Hz, slightly below 50 Hz and another frequency needed by the project. Check the distribution around the fundamental and how the methods report known harmonics. If the fixed 80 ms window alone shows extra peaks and whole-cycle results are consistent, start with the analysis procedure. If both contain the same anomaly, check the test source, local supplies and analog input. Follow laboratory procedures and log range and connection method.
An input can also change frequency during the record. Choose segment length to fit the project. Keep the estimated fundamental and method for each segment. A precise constant result may be inappropriate when frequency moves substantially during a window. Check when line frequency becomes reliable after a power interruption, distorted input or channel switch. When the fundamental is weak or interference is strong, verify the estimate used for resampling rather than assuming it is correct.
Acceptance criteria can specify the sampling reference, points per second or per line cycle, and harmonic analysis method. Engineering can combine frequency range, required raw traces and verification points in one document. If the sample reference changes, verify absolute timestamps and frequency scale separately from leakage due to a window. This lets another lab understand changes in the same line and reproduce the choice of analysis interval.
