Rms DC App Guide Appendd PDF
Rms DC App Guide Appendd PDF
October 2002
*Portions of this appendix are excerpts from Application Note AN-268, RMS to DC Converters Ease Measurement Tasks, by Bob Clarke,
Mark Fazio, and Dave Scott: Analog Devices Publication.
TruPwr is a trademark of Analog Devices, Inc.
1
Table I provides a quick performance comparison between Analog Devices’ rms products.
Table I. RMS Converter Comparison Table
THE AD736 AND AD737 LOW COST either as a true rms converter or as an average responding
RMS CONVERTERS (MAD) rectifier. The AD736 and AD737 converters
As shown in Figures 1 and 2, the AD736 and AD737 are optimized for low power operation, and their
architectures are very similar. The major difference averaging capacitor appears directly across a diode in
between these two products is that the AD736 includes the rms core. Because of this, the averaging time constant
an output buffer amplifier for general-purpose applica- will increase as the rms input level decreases. Conse-
tions, while the AD737 is unbuffered for low power quently, lower input levels allow the circuit to perform
operation. The AD737 also includes a power-down better (due to increased averaging) but result in longer
feature that further reduces its standby current consump- settling times, requiring more time between readings.
tion to a mere 25 µA. Both products can be operated
8
COM
+VS
7
+VRMS
CC OUTPUT
1 6
8k⍀
8k⍀
VIN CF
2 3
CF
FET
OP AMP
IB<10pA CURRENT
MODE
RECTIFIER
CAV
5
CAV
4
RMS TRANSLINEAR CORE –VS
2
The input to the AD736 and AD737 is through a The design of the AD737 is very similar to that of the
FET input op amp connected as a unity-gain buffer. AD736. In order to reduce power consumption, the
This amplifier allows both a high impedance, buffered AD737 does not have an output buffer amplifier.
input (Pin 2) or a low impedance input (Pin 1) that Instead, it uses an NPN transistor to drive an 8 kΩ
provides a wider dynamic range. The high impedance internal load resistor.
input, with its low input bias current, is well suited for The converter develops its output voltage by sinking
use with high impedance input attenuators. current through this resistor. The external averaging
The output of the buffer drives a current mode capacitor (CAV) for the AD736 and AD737 is connected
rectifier (absolute value circuit) that in turn drives between Pins 4 (–VS) and 5 (CAV), which places CAV
an rms core. across a transistor’s base-emitter junction in the rms
In the AD736 (Figure 1), the output of the rms core core. This means that a diode is in parallel with the
drives the summing node of an inverting op amp con- averaging capacitor; the resulting time constant is
nected as a current-to-voltage converter. Pin 3 gives therefore inversely proportional to the rms value.
access to this node to connect a filter capacitor, CF,
in parallel with the 8 kΩ feedback resistor, to form a
one-pole low-pass filter.
8
COM
+VS
7
CC
8k⍀
1
8k⍀
VIN 6
2 OUTPUT
(–VRMS Out)
FET
Op Amp
IB<10pA
CURRENT
MODE
RECTIFIER
POWER
DOWN CAV
3 BIAS
SECTION 5
CAV
4
–VS
RMS TRANSLINEAR CORE
3
Because the external averaging capacitor, CAV, “holds” 1V
VS = ⴞ5V, CC = 22F, CF = 0F
the rectified input signal during rms computation, its
value directly affects the accuracy of the measurement—
especially at low frequencies. (The larger the value of 100mV
CAV = 100F
CAV, the lower the error.) Also, because the averaging
Table II. Practical Values for CAV and CF for AD736 and AD737
Low
Frequency Settling
RMS Cutoff Max Crest Time*
Application Input Level ( –3 dB) Factor CAV CF to 1%
General-Purpose 0 V–1 V 20 Hz 5 150 µF 10 µF 360 ms
RMS 200 Hz 5 15 µF 1 µF 36 ms
Computation 0 mV–200 mV 20 Hz 5 33 µF 10 µF 360 ms
200 Hz 5 3.3 µF 1 µF 36 ms
General-Purpose 0 V–1 V 20 Hz 33 µF 1.2 sec
Average 200 Hz 3.3 µF 120 ms
Responding 0 mV–200 mV 20 Hz 33 µF 1.2 sec
200 Hz 3.3 µF 120 ms
SCR Waveform 0 mV–200 mV 50 Hz 5 100 µF 33 µF 1.2 sec
Measurement 60 Hz 5 82 µF 27 µF 1.0 sec
0 mV–100 mV 50 Hz 5 50 µF 33 µF 1.2 sec
60 Hz 5 47 µF 27 µF 1.0 sec
Audio
Applications
Speech 0 mV–200 mV 300 Hz 3 1.5 µF 0.5 µF 18 ms
Music 0 mV–100 mV 20 Hz 10 100 µF 68 µF 2.4 sec
*Settling time is specified over the stated rms input level with the input signal increasing from zero. Settling times will be greater for decreas-
ing amplitude input.
4
As an example, consider the following conditions: Normally, the input offset errors in the traditional
a 33 µF averaging capacitor an initial rms input level monolithic rms converter will create a region of diode
of 100 mV and a final (reduced) input level of 1 mV. nonconduction at low level input voltages. That is,
From Figure 3, the initial settling time (where the any input voltages that are smaller than the input
100 mV line intersects the 33 µF line) is around 80 ms. offset voltage will not be rectified and a “dead zone”
The settling time corresponding to the new or final is created.
input level of 1 mV is about 8 seconds. Therefore, the However, the AD736 and AD737 are specifically
net time for the circuit to settle to its new value will be designed to eliminate this problem. The maximum
dominated by the final settling time. Figure 4 shows input offset voltage of these rms converters is 3 mV. If
the additional error versus the crest factor of the Pin 1 is directly grounded, this offset voltage will limit
AD736 and AD737 for various values of CAV. the converter’s low level resolution. However, as
shown in Figure 5, the use of capacitor CC between
6
CAV = 10F CAV = 33F Pin 1 and ground will ac couple the low impedance
input pin and “float” this input above ground. This
ADDITIONAL ERROR – % of Reading
CC AD736/AD737 COM
8k⍀ 4 5
1 8
VIN FULL
WAVE
VIN 2 RECTIFIER 7
INPUT
AMPLIFIER
Figure 6. AC Coupling Using Capacitor CIN
3
BIAS
SECTION RMS CORE 6 Figure 6 shows ac input coupling for Pin 2. Capacitor
CIN is necessary if the input signal is an ac waveform
4 5
riding on a dc voltage, or if the rms converter is oper-
ating from a single-supply voltage. In this case, Pin 1 will
be “floating” above ground and CIN is needed to prevent
the rms converter from full-wave rectifying the differ-
Figure 5. Using Capacitor CC to Block Internal ential voltage between Pins 1 and 2, which often will
Offset Voltage Errors result in input overload. A resistor is needed between
Pin 2 of the rms converter and ground to provide a dc
return path for input bias currents. Note that capacitor
CC is still needed to prevent input offset voltage errors.
5
APPLICATIONS OF THE AD736 AND AD737 Figure 8 shows the AD736’s performance as a precision
AD736 as Precision Rectifier rectifier.
Building a precision rectifier from discrete components
requires two op amps, two diodes, and a handful of
matched resistors. An easy way to replace all these parts 200mV 100mV 2µS
and save some board space is to use an rms-to-dc
100
converter IC. Just omit the averaging capacitor and 90
CC
10
0%
1 CC COMMON 8
0.1F 100
90
–5V
6
True RMS and Average Value Circuit R7 and R8 form a voltage divider to allow operation
Figure 9 shows a circuit that measures both the true from a single-supply voltage or battery. Capacitors
rms value and the rectified average value of an ac signal. C4 and C5 bypass any signal currents on VS or VS/2
This design uses two low cost ICs in SOIC packages to ground.
and consumes only 180 µA quiescent current. Operat- The rms converter IC has two inputs: a high imped-
ing from a 5 V single supply, this circuit has an input ance (1012 Ω) input (at Pin 2) and an 8 kΩ, wide
dynamic range from below 30 mV to greater than 3 V dynamic range input via Pin 1. The rms converter’s
rms. Sine wave accuracy is quite good (see perfor- full-scale input range is normally 200 mV. This can
mance data below) and bandwidth is approximately be greatly increased by adding an external resistance,
100 kHz, depending on the input level. The circuit can in this case resistor R1 and trimpot R2, between the
also measure a 1 V rms, crest factor of 5 pulse train signal input and Pin 1. This has the added advantage
with less than 1% of reading error. of increasing the circuit’s input impedance.
Average responding measurements and rms have The AD737JR measures the true rms value when
traditionally used different circuits. However, in some switch SW1 connects its averaging capacitor, CAV, to
cases, it may be extremely useful to know both the Pin 5. The averaging capacitor performs the “mean”
rms and rectified average value of an ac waveform. portion of the rms (root-mean-square) function.
The ratio of rms to rectified average value is one way Removing CAV, by opening SW1, converts the circuit
to determine the characteristics of a particular wave- to rectified average value operation. Resistor R6 allows
form without actually seeing it on an oscilloscope. a small leakage current to flow past the switch, keeping
For example, the rms/average value ratio for a 1 V the capacitor charged and preventing any large surge
peak undistorted sine wave is 0.707 V/0.636 V or 1.11, currents from flowing into or out of CAV when the
a symmetrical square wave is 1.0, a triangular wave is switch is closed.
1.155, and Gaussian noise is 1.253.
The rms value of a sine wave is 0.707 V peak while the
Circuit Operation rectified average value is 0.636 V peak. This ratio of
As shown in Figure 9, an AD737 rms converter IC 0.707 V/0.636 V is equivalent to an 11% scale factor
drives an AD8541AR micropower op amp. Resistors difference between the two measurement methods. If it is
INPUT SCALEFACTOR ADJ
+5V 0.47F
C1
R1
0.47F CF
69.8k⍀ 1% R2
CC COM
INPUT 5k⍀
R3
78.7k⍀ R4 80.6k⍀
VIN +VS
5k⍀ R5
C2 0.01F
AD737JR OUTPUT ZERO ADJ +5V 0.01F
CF OUTPUT
OUTPUT
AD8541AR
–VS CAV
C3 0.01
F
SW1
+2.5V
+
1F R8
*CAV IS DISCONNECTED 100k⍀
–3dB BW CAV CF* C5
IN THE AVERAGE VALUE MODE.
10Hz 68F 0.82F THEREFORE, THE OUTPUT RIPPLE
WILL BE NOTICEABLY HIGHER AT VERY
20Hz 33F 0.47F LOW FREQUENCIES. SIMPLY INCREASE
100Hz 6.8F 0.1F THE VALUE OF CF TO REDUCE RIPPLE
TO THE DESIRED LEVEL.
C1
0.01F C3
1kV 10F
VIN 200mV +
+5V
9M⍀
2V 1N4148
1 CC COMMON 8 +5V
900k⍀ 47k⍀
1W U1
20V 2 VIN +VS 7
AD736 C4
90k⍀ 0.1F
1N4148 3 CF OUTPUT 6
200V VRMS
10k⍀ –5V 4 –VS CAV 5
C2
0.1F +
CAV 33F
C1 AND THE RESISTIVE
DIVIDER FORM A 1.6Hz (–3dB) +
HIGH-PASS FILTER CF 10F
Figure 10. By Using an External Input Attenuator, the Measurement Range of the AD736
and AD737 Can be Extended
8
The external attenuator simply reduces the full-scale scaled by the factor of attenuation used. An external
input to the 200 mV rms input range of the AD736 or attenuator can also be used with the converter’s low
AD737. For a maximum 7 V rms input (10 V peak), for impedance input (Pin 1), as shown in Figure 10.
example, the attenuator should be a 35:1 (7 V/200 mV)
Figures 11 and 12 show the recommended connections
voltage divider. The reading of the converter should be
for external offset and scale factor.
DC-COUPLED
CC
+ 10F
AC-COUPLED (OPTIONAL)
CC COM
8k⍀
1 AD736 8
39M⍀
1M⍀
OUTPUT
+
VOS CAV 33F
–VS ADJUST
+
CF 10F
(OPTIONAL)
OFFSET ADJUST
500k⍀
+VS –VS
1M⍀
1k⍀
CC COM
8k⍀ AD737 499⍀
1 8
1k⍀
FULL SCALE
VIN +VS
WAVE FACTOR
VIN 2 RECTIFIER 8k⍀ 7 ADJUST
INPUT
AMPLIFIER
VOUT
3 6
9
10
11
12
PRINTED IN U.S.A. G03133–0–10/02(0)