This article explains how to properly configure an oscilloscope for ESD pulse testing, covering rise-time thresholds, EMC pulse measurements, parameter limiting, and automated trend capture for compliance testing.
This article explains how to properly configure an oscilloscope for EFT testing, covering sample rates, parameter acceptance, EMC pulse measurements, energy calculations, and efficient burst acquisition techniques.
This article explains how to properly configure an oscilloscope for surge testing, including attenuation setup, measurement threshold adjustments, and calculating pulse area and transferred charge.
Our last post covered basic power calculations for pure sine waves, which are useful only up to a point in that pure sine waves are rather rare in the real world. Almost any real-world waveform carries some amount of distortion. Because distorted voltage and current waveforms comprise multiple frequencies, the relatively simple techniques used to measure power for pure, single-frequency sine waves no longer apply.
Among the best-known examples of a distorted waveform is a pulse-width-modulated (PWM) waveform from a motor-drive or inverter output. So that's what we'll use for examples as we look over these power calculations for distorted waveforms.
As noted above, any distorted waveform can be viewed as a collection of many sinusoids of different amplitudes and frequencies. The pseudo-square wave seen in Figure 1 has an AC fundamental augmented by a number of odd-integer harmonics. The phase relationships between voltage and current waveforms for different harmonic orders is not a constant. Thus, there's no practical method to measure phase angle between a voltage and current signal to calculate real power from apparent power. We must turn to a different approach.
Figure 1: The sum of many sine waves, of varying amplitudes and frequencies, comprises the rough- looking square wave shown in red
As an example, Figure 2 depicts the output waveform from a permanent-magnet, synchronous motor (PMSM) drive. Even though the line-current waveform in this three-phase signal looks sinusoidal, a closer look (inset) reveals sawtooth shapes. During overload conditions, what seems to be a decent waveform can get a lot worse; even the PWM envelope can begin to appear distorted.
Figure 2: The output of a PMSM drive, though ostensibly sinusoidal, betrays sawtooth characteristics upon closer inspection (see zoom inset)
The way to handle power calculations for these sorts of distorted waveforms is with digital sampling techniques (Figure 3). An oscilloscope acquires the analog signal through sampling at a given rate and represents the signal as a collection of sampled points that are joined together by an algorithm. The result appears on the oscilloscope display as the waveform, and from there we can apply any number of math processes to the waveform to obtain power information.
Figure 3: A distorted waveform can be acquired as an analog signal and digitally sampled for its displayed representation
The first math process to apply to the acquired and sampled signal is to determine its period, because we'll want to make one measurement per cycle. We first must choose either the current or voltage signal, whichever is closest to sinusoidal, and use that signal to define our measurement period. Our chosen signal becomes our reference, or "sync" signal.
Next, we want to apply a low-pass filter to the sync signal and set a hysteresis band, and a software algorithm in the oscilloscope determines a zero-crossing point while ignoring any crossings that occur within the hysteresis band. Now we have determined a measurement period. We can slice the signal at all of the zero-crossing points into some number of measurement periods. The oscilloscope applies a highlighted overlay on top of the display grid to confirm that we have correctly established the measurement period (Figure 4). This is critical because we need to make our subsequent power calculations over a single measurement period and not over multiple periods.
Figure 4: An algorithm determines the signal's measurement period, which is denoted by a highlighted overlay
Now that we've established the measurement period, we can group all the sample points into their respective measurement periods (cycles) as determined by the sync signal. For example, Figure 5 shows a signal with its sample points divided into Periods 1 and 2. In this case, Period 1 begins at sample point 7 and concludes with sample point 24, while Period 2 begins with sample point 25 and concludes with sample point 42. The example shows an identical number of sample points in both periods (18), but that's not required. In fact, if the drive is changing the frequency dynamically, there will be different numbers of sample points in each period. No matter, the algorithms that will calculate power, voltage, and current from these sample points still apply.
Figure 5: Shown is a sine wave with two measurement periods indicated; from them algorithms will calculate per-cycle values
Table 1 shows the formulas used for per-cycle, digitally sampled calculations, with mean values calculated from the per-cycle data set. The criteria for the calculations are that i = measurement period (1... n, with n being the maximum number that you have). The set of waveform sample points is denoted by j. For all of the voltage, current, and power calculations, we can calculate a mean value and display those in a table, which is what a power analyzer does.
Table 1: Formulas used for per-cycle calculations of voltage, current, and real, apparent, and reactive power
Likewise, Table 2 shows the formulas for power factor (the ratio of real to apparent power) and phase angle (the inverse cosine of the power factor).
Table 2: Formulas used for per-cycle calculation of power factor and phase angle
So to sum up, the textbook descriptions of power calculations typically assume sinusoidal waveforms for single-phase systems (one voltage and one current). But the output of a power electronics converter/inverter is a distorted waveform that requires calculation methodologies that may be unfamiliar to most engineers. There's no practical way to measure phase angle between distorted voltage and current waveforms, so the only alternative is digital sampling techniques as described here (which also work for pure sine waves).
Ken Johnson presented a webinar series titled Essential Principles of Power. Part of 1 of that series Voltage, Current and Power - from AC line to PWM covers more details on this topic. Click the button below to watch the webinar, or download the transcript to preview the webinar content.
Kenneth Johnson has managed oscilloscope and probe product lines, power applications and HV T&M equipment. He holds a B.S.E.E. from Rensselaer Polytechnic Institute. He enjoys playing ice hockey, cross-country skiing and bicycling in his spare time.
Electrical power spans generation, distribution, and consumption—where motors and modern power electronics dominate global energy use and measurement challenges.
AC line power is a rotating voltage vector measured in RMS terms, with peak, peak-to-peak, and rectified values that differ significantly from the familiar “120 VAC” rating.
Three-phase AC voltages consist of three balanced sinusoidal vectors separated by 120°, with measurable differences between line-to-line and line-to-neutral values.
AC line current is a rotating sinusoidal vector—single- or three-phase—whose accurate measurement depends on system configuration and the right choice of current sensor.