Power Analyzer Sampling Calculator
Compare an analyzer sample rate with the Nyquist screening minimum implied by the entered fundamental frequency and harmonic order.
- Highest frequency
- Hz
- Nyquist minimum
- samples/s
- Sample-rate margin
- samples/s
- Sampling margin ratio
- x
- Samples per fundamental cycle
- samples/cycle
- Sample interval
- ms
- Sampling comparison
Calculation details
- Calculation basis
- Screening boundary
Recent results
Formulas
- highest frequency = fundamental frequency x highest harmonic order
- Nyquist minimum sample rate = 2 x highest frequency
- sampling margin ratio = sample rate / Nyquist minimum sample rate
A power analyzer sampling calculation checks whether an entered sample rate is high enough to represent the highest harmonic frequency selected for a power-quality measurement. The primary result is the Nyquist minimum, expressed in samples per second, which is twice the highest frequency being evaluated.
This screening is used when reviewing a meter, power quality analyzer, data acquisition device, or test setup for harmonic measurements on a branch circuit, feeder, motor circuit, panelboard, switchboard, or service. It helps establish whether the basic sampling arithmetic supports the selected harmonic range before instrument bandwidth, filtering, firmware settings, and measurement-standard requirements are reviewed.
The calculator uses these input fields:
| Input | Unit | Electrical use |
|---|---|---|
| Fundamental frequency | Hz | Nominal frequency of the electrical system being measured |
| Highest harmonic order | order | Highest multiple of the fundamental frequency included in the screening calculation |
| Sample rate | samples/s | Analyzer or data-acquisition sampling frequency |
The output identifies the highest harmonic frequency, the minimum Nyquist sampling rate, available sample-rate margin, samples captured during one fundamental cycle, and the time between samples.
Harmonic Frequency and Nyquist Minimum
A harmonic is an integer multiple of the system’s fundamental frequency. On a 60 Hz system, the 5th harmonic is 300 Hz, the 25th harmonic is 1,500 Hz, and the 50th harmonic is 3,000 Hz.
The calculator determines the highest frequency from:
\(\displaystyle \text{Highest frequency} = \text{Fundamental frequency} \times \text{Highest harmonic order}\)
It then calculates the minimum sampling rate using the Nyquist relationship:
\(\displaystyle \text{Nyquist minimum} = 2 \times \text{Highest frequency}\)
A sample rate at or above that value meets the calculator’s basic Nyquist screen. A rate below that value can allow aliasing, where higher-frequency content is represented incorrectly as lower-frequency content in the measured waveform or harmonic data.
The calculator also reports:
\(\displaystyle \text{Sample-rate margin} = \text{Sample rate} - \text{Nyquist minimum}\)
\(\displaystyle \text{Sampling margin ratio} = \frac{\text{Sample rate}}{\text{Nyquist minimum}}\)
A margin ratio of 1.0000 x is exactly at the arithmetic boundary. A higher ratio provides more samples relative to the selected highest harmonic frequency, but it does not by itself establish the analyzer’s usable harmonic measurement range.
Fundamental-Cycle Resolution
For alternating-current power measurements, the sample rate also controls the number of waveform points available in each fundamental cycle.
\(\displaystyle \text{Samples per fundamental cycle} = \frac{\text{Sample rate}}{\text{Fundamental frequency}}\)
The calculator expresses the time between samples as:
\(\displaystyle \text{Sample interval} = \frac{1}{\text{Sample rate}}\)
For example, a 10,000 samples/s rate produces one sample every 0.1 ms. At 60 Hz, that rate captures approximately 166.6667 samples during each 16.6667 ms fundamental cycle.
More samples per fundamental cycle can improve waveform visibility and support more detailed analysis of non-sinusoidal current and voltage. In practical troubleshooting, that may be relevant when evaluating nonlinear loads, variable frequency drives, UPS systems, switch-mode power supplies, LED drivers, data-center loads, electronic ballasts, or harmonics associated with motor-control equipment.
Calculation Example
Enter the following values:
| Field | Entered value |
|---|---|
| Fundamental frequency | 60 Hz |
| Highest harmonic order | 50 order |
| Sample rate | 10,000 samples/s |
The highest harmonic frequency is:
\(\displaystyle 60 \text{Hz} \times 50 = 3{,}000 \text{Hz}\)
The Nyquist minimum is:
\(\displaystyle 2 \times 3{,}000 \text{Hz} = 6{,}000 \text{samples/s}\)
The calculator returns:
| Result | Value |
|---|---|
| Highest frequency | 3,000 Hz |
| Nyquist minimum | 6,000 samples/s |
| Sample-rate margin | 4,000 samples/s |
| Sampling margin ratio | 1.6667 x |
| Samples per fundamental cycle | 166.6667 samples/cycle |
| Sample interval | 0.1 ms |
| Sampling comparison | At or above nyquist screen |
At 10,000 samples/s, the entered sample rate exceeds the 6,000 samples/s Nyquist minimum for a 50th harmonic on a 60 Hz system. The 4,000 samples/s margin is the difference between the entered rate and the calculated minimum. The 1.6667 x ratio indicates that the entered rate is approximately 1.67 times the Nyquist screening rate.
Measurement Planning Limits
The Sampling comparison result is sampling arithmetic only. It does not verify that a specific power analyzer accurately measures the entered harmonic order.
Instrument selection and test acceptance still require verification of the analyzer’s documented:
- Measurement bandwidth and harmonic-analysis range
- Analog front-end behavior and anti-aliasing filter characteristics
- Sampling architecture, synchronization, aggregation, and firmware processing
- Voltage and current probe or clamp bandwidth
- Input range, crest-factor capability, and waveform accuracy
- Applicable utility, owner, commissioning, or power-quality measurement requirements
A current transformer, flexible current probe, Rogowski coil, clamp sensor, or voltage lead can impose a lower usable bandwidth than the analyzer itself. A meter may also sample above the arithmetic minimum while applying internal filtering or reporting only a defined harmonic range.
The entered Fundamental frequency must match the expected electrical system frequency. The entered Highest harmonic order must match the actual measurement objective, not merely the highest order visible in a report setting. For example, a power-quality review intended to assess distortion near a VFD, UPS, or nonlinear feeder may require a different harmonic range than a general load survey.
This calculation does not determine conductor ampacity, AWG or kcmil conductor size, raceway fill, voltage drop, overcurrent protective device rating, branch-circuit or feeder loading, motor-circuit conductor sizing, or terminal temperature limitations. Those electrical design decisions require their own load, ampacity, voltage-drop, equipment-listing, manufacturer, and AHJ review.
FAQs
Does this prevent aliasing?
No. It only computes sampling arithmetic. Anti-aliasing, bandwidth, and harmonic requirements depend on the analyzer and procedure.
Why calculate samples per cycle?
It helps compare the capture setup with the frequency being measured before reviewing the instrument-specific requirements.