Circuit measures truerms and average value
The circuit in Figure 1 measures both the truerms value and the rectified average value of an ac signal. This design uses two lowcost ICs in SOIC packages and consumes only 180 µA of quiescent current. Operating from a single 5V supply, the circuit has an input dynamic range of less than 30 mV to greater than 3V rms. Sinewave accuracy is good (Table 1), and bandwidth is approximately 100 kHz, depending on input level. The circuit can also measure a 1V rms, crestfactoroffive pulse train with lower than 1%ofreading error. Most ac measurements use rectifiedaveragevalue circuits. Although these can be accurate if you calibrate their scale factor to read the rms value of one waveform, such as a sine wave, they exhibit large errors if you use them for other waveform types. In contrast, the rms value of an ac signal is the amount of dc required to produce an equivalent amount of heat in the same load. Therefore, the rms value is independent of waveform shape or duty cycle; it's often useful for measuring the power of a complex ac waveform.
Averageresponding and rms measurements have traditionally used different circuits. However, in some cases it may be useful to know both the rms and the rectified average value of an ac waveform. The ratio of rms to rectified average value is one way to determine the characteristics of a waveform without actually seeing it on an oscilloscope. For example, the rms/averagevalue ratio is 0.707V/0.636V or 1.11 for a 1V peak undistorted sine wave, 1.0 for a symmetrical square wave, 1.155 for a triangular wave, and 1.253 for Gaussian noise. An AD737 rmsconverter IC drives an AD8541AR micropower op amp (Figure 1). Resistors R_{7} and R_{8} form a voltage divider to allow operation from a single supply voltage or battery. Capacitors C_{4} and C_{5} bypass any signal currents on V_{CC} or V_{CC}/2 to ground. The rmsconverter IC has two inputs: a highimpedance (10^{12}Ω) input (at Pin 2) and an 8kΩ, widedynamicrange input via Pin 1. The rms converter's fullscale input range is normally 200 mV. You can greatly increase this range by adding an external resistance—in this case, resistor R_{1} and trimming potentiometer R_{2}—between the signal input and Pin 1. This addition has the added advantage of increasing the circuit's input impedance.
The AD737JR measures the truerms value when switch S_{1} connects its averaging capacitor, C_{AV}, to Pin 5. The averaging capacitor performs the "mean" portion of the rms function. Removing C_{AV} by opening S_{1} converts the circuit to rectifiedaveragevalue operation. Resistor R_{6} allows a small leakage current to flow past the switch, keeping the capacitor charged and preventing any large surge currents from flowing into or out of C_{AV} when the switch is closed. The AD737JR drives the AD8541AR op amp with a negativeflowing output current. The op amp operates as a currenttovoltage converter and also inverts the signal, providing an output voltage that swings more positive with increasing input levels. Resistor R_{5}'s value of 80.6 kΩ matches the effective input resistance of the AD737 (R_{1}+R_{2}+8 kΩ), so that input/output scaling is 1to1. Resistor R_{3} and trimming potentiometer R_{4} cause a current to flow from the supply to the op amp's summing junction. This action offsets the op amp's output, such that the circuit's output is approximately 0V with no voltage applied. Note that this circuit has a maximum supplyvoltage limit of 5.5V; you can extend operation to 12V by substituting an OP196GS op amp for the AD8541AR. Circuit calibration is easy:
Adjust trimming potentiometer R_{4} to midscale and set S_{1} for rms.

Apply a 2.000V rms, 1kHz sinewave input signal.

Adjust R_{2} until the circuit's output voltage is 2.000V dc.

Reduce the input to 100 mV rms and adjust offset trimming potentiometer R_{4} for a reading of 100 mV dc.

Repeat Step 2.
Because the dcoffset circuitry is ratiometric, it remains calibrated with modest variations in supply voltage. The measured powersupplyrejection ratio of this circuit over a 4.5 to 5.5V supply range is approximately 61 dB. The measured errors versus crest factor for a 5V supply and a 1V rms, 100µsec pulse are: crest factor=3, error=0.67%; crest factor=5, error=0.98%; and crest factor=10, error=4.7%. Some additional points to consider: The peak rms value of a sine wave is 0.707V peak, and the peak rectifiedaverage value is 0.636V. This ratio of 0.707Vto0.636V is equivalent to an 11% scalefactor difference between the two measurement methods. If you want this circuit to accurately read the rms value for sine waves in the rectifiedaveragevalue mode, S_{1} can be a twopole switch. The second pole can connect a 523kΩ, 1% resistor in parallel with R_{1} to increase the scale factor in the averagevalue mode. However, the true rectifiedaverage value is more useful in most cases.
Is this the best Design Idea in this issue? Select at www.edn.com.
System level design and integration challenges with multiple ADCs on single chip
Understanding the basics of setup and hold time
Product Howto: Digital isolators offer easytouse isolated USB option
Managing noise in the signal chain, Part 2: Noise and distortion in data converters
War of currents: Tesla vs Edison
Simple reversepolarityprotection circuit has no voltage drop
Control an LM317T with a PWM signal
Start with the right op amp when driving SAR ADCs
Currently no items