The root-mean-square (RMS) value of an AC voltage waveform signifies the effective voltage across a load, that is, the RMS is equal to the DC voltage that can deliver the same power to a load. The RMS value is used to asses the power quality of an AC supply. There are two popular methods of computing RMS, the Averaging RMS and True RMS methods. The True RMS method is a superset technique that can be used for non-periodic signals, which includes both linear and non-linear loads. This technique is required in electrical grid applications due to the occurrence of sinusoidal and non-sinusoidal voltages and currents in the system. Thus, electrical measuring instruments used for such assessment need to be able to compute RMS of AC signals. This document focuses on the performance of the True RMS module integrated into the ADS7x28 family of ADC devices.
What is True RMS?
The RMS of any signal is the square root of the average of the square of any signal as expressed by Equation 1.
where
True RMS is a method capable of computing the RMS of sinusoidal signals as well as non-sinusoidal signals. A True RMS measuring circuit first squares the input signal, then performs the average of the result over time. This is followed then by completing the square root of the average to finally compute an accurate RMS value of the input signal.
Observation Window
An observation window is the time in which the True RMS measurement detects the input signal to compute the result. To accurately calculate True RMS, the observation window must include an integer number of half cycles of the input signal. Figure 1-1 shows an example of a sinusoidal signal with an integer number of 2 half cycles within the observation window. If the observation window does not include an integer number of half cycles, as shown in Figure 1-2, the True RMS computation is not accurate.
The observation window requires a sufficient number of half cycles to accurately compute the True RMS, though one half-cycle results in a True RMS value. Include a minimum of 32 half cycles to achieve a true RMS with less than 0.5% error. Generally, as the frequency of input signal increases, more cycles are observed within the same observation window which results in a decreasing RMS error.
ADS7x28 RMS Module
ADS7x28 is an 8-channel, 12-bit SAR ADC with an integrated True RMS module. Any one analog input channel can be selected for computing the RMS result. The ADS7x28 observation window used for the True RMS computation can be configured within the device using Equation 2:
where
Based on the recommendation of a minimum of 32 half cycles of the input signal within the observation window, Table 1-1 lists the recommended observation window with regard to the input signal frequency, and the ADS7x28 configuration to achieve the observation window.
Input Signal Frequency Cutoff |
RMS_SAMPLES | ƒCYCLE | Minimum
Observation Window |
---|---|---|---|
≤ 80 Hz | 65536 | 333.3 kSPS | 200 ms |
≤ 40 Hz | 65536 | 166.7 kSPS | 400 ms |
≤ 20 Hz | 65536 | 83 kSPS | 800 ms |
≤ 10 Hz | 65536 | 41.7 kSPS | 1600 ms |
≤5 Hz | 65536 | 20.8 kSPS | 3200 ms |
RMS of AC Only
The ADS7x28 features the capability of completing the RMS of only the AC component by subtracting the DC input signal component in the True RMS measurement. If True RMS of only the AC component of the input signal is desired, DC subtraction can be enabled by following the configuration setting of the DC_SUB register of the device as shown in Table 1-2.
True RMS Measurement | DC_SUB Register |
---|---|
AC + DC | 0b |
AC only | 1b |
The device implements Equation 3 when the AC only input signal component is selected.
Figure 1-3 shows the uncalibrated RMS measurement percent error vs input voltage, this means the setting AC only was used.
Improving AC Only RMS Results
Implementing a calibration to the RMS calculated can improve the RMS result when using AC only using Equation 4.
Steps for calibration:
Figure 1-4 shows the RMS percent error after calibration plotted against peak-to-peak voltage of the input signal. Calibrating the RMS result reduces the magnitude of RMS error.
Conclusion
This brief detailed the merits of RMS computation using ADS7x28 devices.
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATASHEETS), DESIGN RESOURCES (INCLUDING REFERENCE DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS” AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable standards, and any other safety, security, or other requirements. These resources are subject to change without notice. TI grants you permission to use these resources only for development of an application that uses the TI products described in the resource. Other reproduction and display of these resources is prohibited. No license is granted to any other TI intellectual property right or to any third party intellectual property right. TI disclaims responsibility for, and you will fully indemnify TI and its representatives against, any claims, damages, costs, losses, and liabilities arising out of your use of these resources.
TI’s products are provided subject to TI’s Terms of Sale (www.ti.com/legal/termsofsale.html) or other applicable terms available either on ti.com or provided in conjunction with such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable warranties or warranty disclaimers for TI products.
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2023, Texas Instruments Incorporated