Application Note 106 February 2007 Instrumentation Circuitry Using RMS-to-DC Converters
Application Note 106 February 2007 Instrumentation Circuitry Using RMS-to-DC Converters
Application Note 106 February 2007 Instrumentation Circuitry Using RMS-to-DC Converters
February 2007
Instrumentation Circuitry Using RMS-to-DC Converters
RMS Converters Rectify Average Results
Jim Williams
INTRODUCTION
RMS measurement.
2Appendix A details sigma-delta based RMS-to-DC converter operation.
PART NUMBER
LINEARITY
ERROR
TYP/MAX (%)
CONVERSION
GAIN ERROR
TYP/MAX (%)
1% ERROR
BANDWIDTH
(kHz)
3dB ERROR
BANDWIDTH
(kHz)
LTC1966
0.02/0.15
0.1/0.3
800
2.7
170
LTC1967
0.02/0.15
0.1/0.3
200
4MHz
4.5
5.5
390
LTC1968
0.02/0.15
0.1/0.3
500
15MHz
4.5
5.5
2.3mA
SUPPLY VOLTAGE
MIN(V)
MAX(V)
ISUPPLY
MAX (A)
Figure 1. Primary Differences in RMS to DC Converter Family are Bandwidth and Supply Requirements.
All Devices Have Rail-to-Rail Differential Inputs and Output
an106f
AN106-1
+V
DIFFERENTIAL
INPUTS.
MAX COMMON MODE
RANGE = V SUPPLY.
MAX DIFFERENTIAL = 1V.
MINIMUM INPUT = 5mV
INPUT 1
LTC1966
LTC1967
LTC1968
INPUT 2
ENABLE
V*
OUTPUT
OUTPUT
OUTPUT REFERRED
TO THIS PIN.
NORMALLY GROUNDED
OUTPUT RETURN
GND
POWER
GROUND
5V
5V
DC + AC
INPUTS
(1VPEAK
DIFFERENTIAL)
VDD
VDD
LTC1966
LTC1966
IN1
DC OUTPUT
CAVE ZO = 85k
1F
VOUT
AC INPUTS
(1VPEAK
DIFFERENTIAL)
VSS GND EN
VOUT
IN1
DC OUTPUT
CAVE ZO = 85k
1F
VSS GND EN
AN106 F02
5V
Figure 2. RMS Converter Pin Functions (Top) and Basic Circuits (Bottom).
Pin Descriptions are Common to All Devices, with Minor Differences
BIAS SUPPLY
1k
5V
100F
+
1k
1 T1 5
LINE INPUT
90VAC
TO 140VAC
A
4
5V
+
100
1W
100F
6
7
100
1W
0.25%
1k
100
8
120VAC
TRIM
10
0.25%
RMS CONVERTER
5V
5V
+V
V
C1
OUT
LTC1966
IN2
OUT RTN
EN
GND
IN1
1F
RMS OUT
0.9V TO 1.4V =
90VAC TO 140VAC
A1
LT1006
100k*
100k*
AN106 F03
Figure 3. Isolated Power Line Monitor Senses Via Transformer with 0.5% Accuracy Over 90VAC to 130VAC Input.
Secondary Loading Optimizes Transformer Voltage Conversion Linearity
an106f
AN106-2
2.0
1.5
1.0
0.5
1.0
220VAC
1.5
DC
OUTPUT
INPUT
2.0
90
NEUTRAL
AN106 F04
220VAC
AC LINE SYNC
AND PHASE
MODULATION
TRIGGER
AN106 F05
REF
AN106-3
A = 100V/DIV
B = 50V/DIV
ON 170 VDC
LEVEL
AN106 F06
1ms/DIV
PULSE GENERATOR
1N4148
POWER
DRIVER
1k
1k
220k
Q2
ZTX-749
100
1k
0.001F
5V
Q1
2N2369 3
LT1671
750k
5V ISO
1N4689
5.1V
1N4148
100F
750k
5V
750k
T1
ISOLATION/POWER
TRANSFORMER
DANGER! Lethal Potentials PresentSee Text
2500V BREAKDOWN
ISOLATION BARRIER
182k*
DATA
ISOLATORS
5V
4.7k
5V ISO
A/D
RMS CONVERTER
182k*
5V ISO
5V ISO
SCK
+V
DATA
OUTPUTS
VIN
LT1006
LTC2400
5V
OUT
1F
SDO
FO GND CS REF
INPUT
135VAC
OR
270VAC
FULL SCALE
0.1F
+V
SCK
CALIBRATE
20k
5V ISO
IN1
LTC1967
1k*
OUT RTN
IN2
GND
EN
SDO
+
5V ISO
4.7k
ISOLATORS = AGILENT-HCPL-2300-010
T1 = BI TECHNOLOGIES HM-41-11510
* = 1% METAL FILM RESISTOR
= WIMA MKS-2
10F
5V ISO
1F
LT6650
400mV
REFERENCE
1VDC
OUT
FB
15k*
1F
= CIRCUIT COMMON
= AC LINE GROUND
AN106 F07
10k*
Figure 7. Isolated RMS Converter Permits Safe, Digital Output, Wideband RMS Measurement. T1-Based Circuitry Supplies Isolated
Power. RMS-to-DC Converter Senses High Voltage Input via Resistive Divider. A/D Converter Provides Digital Output Through
Optoisolators. Accuracy is 1% in 200kHz Bandwidth
an106f
AN106-4
AC SERIES PASS
AND CURRENT LIMIT
DANGER! Lethal Potentials PresentSee Text
AC
HIGH
Q2
IRF-840
1.5A
SB
0.03F
+V REGULATORS
470k
100k
0.47F
10k
430k
170V
AC HIGH
Q6
2N3904
0.7
Q4
MPSA42
5V
BAT85
1N4690
5.6V
1N5281B
200V
2.2M*
0.1F
UNREGULATED
AC LINE
INPUT
10k
2W
200k
0.22F
OVERVOLTAGE
Q3
2N5210 PROTECTION
FEEDBACK
SENSE
170V
ISOLATED
GATE BIAS
1F
200k
22k
RMS-TO-DC CONVERTER
5V
5V
C1
5.6k
Q1
2N3440
10k
1F
+
REFERENCE
IN
0.4V OUT
LT6650
GND
1k
105VAC
TO 120VAC
ADJUST
7.32k*
1N4689
5.1V
330k
5V
+V
IN1
LTC1966
IN2
OUT RTN
EN
V GND
OUT
A1
LT1077
AC
LOW
VAC
REGULATED
OUTPUT
0.1F CONTROL
AMPLIFIER
AC LOW
2.2F
MYLAR
1F
FB
= 1N4005
1M
Q5
2N4393
0.22F
100k
AN106 F08
SOFT-START/VBIAS
Figure 8. Adjustable AC Line Voltage Regulator Introduces No Waveform Distortion. Line Voltage RMS Value is Sensed and
Compared to a Reference by A1. A1 Biases Photovoltaic Optocoupler via Q1, Setting Q2-Diode Bridge Conductivity and Closing a
Control Loop. VIN Must be 2V Above VOUT to Maintain Regulation
an106f
AN106-5
AN106-6
AC/DC SUMMATION
RMS CONVERTER
5V
A1
LT1122
1M
+V
A2
LT1222
10k*
5V
1F
V
OUT
LTC1966
OUT RTN
IN1
IN2
10k*
EN
1M
OUTPUT
0V TO 1V
+
1F
A4
LT1077
GND
536*
100k
200*
AN106 F09
+
A3
LTC1050
100pF
DC + AC
AC
RMS STAGE INPUT COUPLING
1M*
1k*
Figure 9. X1000 Preamplier Allows 1mV Full-Scale Sensitivity RMS-to-DC Conversion. Input Splits Into High and Low Frequency
Amplier Paths, Recombining at RMS Converter. Ampliers 3dB, 650kHz Bandwidth Preserves RMS-to-DC Converters 6kHz, 1%
Error Bandwidth. Noise Floor is 15V
INPUT BUFFER
OUTPUT FILTER
5V
INPUT 1F
10F
Q1A
1M
100
43k
A1
LT1227
Q1B
ZERO
IN1
750*
470
5V
A=1
TRIM
10k
200k A = 100
TRIM
22
5.62*
90.9*
100
5V
IN2
10k
0.1F
5V
1M
20k
= VN2222L
5.62k*
24.9k*
10F
1F
OUTPUT
A3
LT1077
AN106 F10
GND
10k
A = 10
TRIM
+V
OUT
LTC1968
OUT RTN
EN
1k
5V
= 1N4148
5V
1F
A2
LT1227
499*
100
50
RMS CONVERTER
1M
LO
1
HI
10
LO 100
HI 1000
1V
0.1V
0.01V
0.001V
TRIM A = 1
TRIM A = 10
TRIM A = 100
NO TRIM
S1
S2
Figure 10. Switched Gain 10MHz (3dB) Preamplier Preserves LTC1968s 500kHz, 1% Error Bandwidth. Decade Ranged Gains
(See Table) Allow 1mV Full Scale with 20V Noise Floor. JFET Input Stage Presents High Input Impedance. AC Coupling, 3rd Order
Sallen-Key Filter Maintains 1% Accuracy Down to 10Hz
an106f
AN106-7
200mV/DIV
AN106 F11
50ns/DIV
4.3k
330k
10k
Q1
2N3904
150pF
680pF
CRYSTAL
OSCILLATOR
TEST CIRCUIT
1N4148s
A1
LT1227
50*
RMS CONVERTER
PRE-AMPLIFIER
A = 1000
5V
5V
1F
A2
LT1227
499*
IN1
IN2
750*
EN
5V
5.62*
+V
OUT
LTC1968
OUT RTN
+
1F
GND
64.9*
0.1F
47F
OUTPUT
0 1V =
0 1mA
10k
+
47F
A3
LT1077
1N5712
AN106 F12
20
1mA 10k
TRIM
0.1F
5V
Figure 12. Figure 10s Wideband Amplier Adapted for Isolated RMS Current Measurement of Quartz Crystal Current. FET Input Buffer
is Deleted; Current Probes 50 Impedance Allows Direct Connection to A1. Current Probe Provides Minimal Crystal Loading
in Oscillator Test Circuit
an106f
AN106-8
A = 0.5V/DIV
B = 50mA/DIV
2ms/DIV
AN106 F13
CT-1
CT-2
Sensitivity
5mV/mA
1mV/mA
Accuracy
3%
3%
98kHz
6.4kHz
3dB Bandwidth
25kHz to 1GHz
1.2kHz to 200MHz
1A RMS
5A RMS
Capacitive Loading
1.5pF
1.8pF
Insertion Impedance at
10MHz
0.1
AN106-9
5V
2.5k*
BRIDGE AMPLIFIER
47k
4kHz
JCUT
LT1009
2.5V
RMS-TO-DC CONVERTER
10F
100k*
39k
CRYSTAL BRIDGE
+
A3
LT1010
A1
LT1792
1k*
DISTORTION
TRIM
430pF
5V
V+
IN1
50k
909*
560k
200
OUTPUT
SET
470
OUT
LTC1966
1F
1k
28k*
A5
+LT1006
IN2
EN RTN GND V
5V
A2
LT1792
5V
A4
LT1077
AMPLITUDE
CONTROL
AMPLIFIER
1k
AN106 F15
5V
COMMON
MODE
SUPPRESSION
AMPLIFIER
= 1N4148
5V
1M
510k
*IRC-CAR-6 1% RESISTOR
GROUND CRYSTAL CASE
5V
1/4 LTC201
START-UP
Q1
2N3904
100k
= SILONEX NSL-32SR3
Figure 15. Quartz Stabilized Sine Wave Output AC Reference Has 0.1% Long-Term Amplitude Stability. Frequency Accuracy is 0.01%
with <30ppm Distortion. Positive Feedback Around A1 Causes Oscillation at Crystals Resonance. A5, Acting on A3s RMS Amplitude,
Supplies Negative Feedback to A1 via Bridge Network, Stabilizing RMS Output Amplitude. Optocoupler Minimizes Feedback Induced
Distortion. Q1 Closes Switch During Start-Up, Ensuring Rapid Oscillation Build-Up
A = 2V/DIV
B = 30ppm
DISTORTION
100s/DIV
AN106 F16
an106f
AN106-10
75k
75k
NOISE DIODE
PREAMP
1F
15V
1F
NC103
10kHz
160
A1
LT1220
1k
1kHz
0.1F
3dB
0.01F
1k
7VDC TO 10VDC
+NOISE
100kHz
0.002F
500kHz
500pF
500kHz
1k
RMS
AMPLITUDE
STABILIZED
NOISE OUTPUT
FLAT
1F
TO ALL +VZ
POINTS
1N4689 5.1V
15V
LT1228
+
100pF
900
A2
ISET
0.01F
510 +VZ
10k
10k
OUT
LTC1968
IN2
OUT RTN
EN
GND
+
1N5712
A4
1/2 LT1013
5
10F
150k
0.1F
+V
IN1
A3
0.1F
1F
RMS CONVERTER
1.5k
1F
475k*
AN106 F17
1.1M*
15V
A5
1/2 LT1013
INTERNAL
+
1N4148
1M
10k
909k*
Q1
TPO610L
15V
4.7k
EXTERNAL
510k
SOFT-START
AMPLITUDE
ADJUST
LT1004-1.2V
40.2k*
0V TO 1V
+VZ
1M
0.33F
Figure 17. An RMS Levelled Output Random Noise Generator. Amplied (A1) Diode Noise Is Filtered, Variable Gain Amplied (A2-A3)
and RMS Converted. Converter Output Feeds Back to A5 Gain Control Amplier, Closing RMS Stabilized Loop. Output Amplitude, Taken
at A3, is Settable
an106f
AN106-11
AMPLITUDE VARIANCE
3dB/DIV
2V/DIV
INPUT
0.4VRMS TO
5VRMS
10k
100
150
400
450
500
AN106 F19
AN106 F18
5ms/DIV
50
100
A1
1/2 LT1228
300
OUTPUT BUFFER
1F
A2
1/2 LT1228
470
10k
RMS LEVELLED
OUTPUT
0VRMS TO 0.5VRMS
A3
LT1220
10
1k
1F
RMS CONVERTER
0.15F
A5
1/2 LT1013
100k*
A4
1/2 LT1013
100k*
5V
V+
IN1
C1
LTC1968
OUT RTN
IN2
GND
EN
OUT
1F
+
10k
4.7k
GAIN CONTROL
AMPLIFIER
5V
13.3k*
10k
LT1004
1.2V
REFERENCE
EXT INPUT
0V TO 0.5V
OUTPUT
0VRMS TO 0.5VRMS
LEVEL
OUTPUT
0VRMS TO 0.5VRMS
5V
10k
0.1F
AN106 F20
Figure 20. RMS Amplitude Level Control Uses Figure 17s Gain Control Loop. A1-A3 Provide Variable Gain to Input. RMS Converter
Feeds Back to A5 Gain Control Amplier, Closing Amplitude Stabilization Loop. Variable Reference Permits Settable, Calibrated RMS
Output Amplitude Independent of Input Waveshape
AN106-12
A = 0.5V/DIV
A = 2V/DIV
B = 1V/DIV
B = 1V/DIV
20ms/DIV
AN106 F21
10ms/DIV
REFERENCES
1. Hewlett-Packard Company, 1968 Instrumentation.
ElectronicAnalyticalMedical, AC Voltage Measurement, Hewlett-Packard Company, 1968, pp. 197-198.
2. Sheingold, D. H. (editor), Nonlinear Circuits Handbook, 2nd Edition, Analog Devices, Inc., 1976.
3. Lambda Electronics, Model LK-343A-FM Manual.
4. Grafham, D. R., Using Low Current SCRs, General
Electric AN200.19. Jan. 1967.
5. Williams, J., Performance Enhancement Techniques
for Three-Terminal Regulators, Linear Technology Corp.
AN-2. August, 1984. SCR Preregulator, pp. 3-6.
6. Williams, J., High Efciency Linear Regulators,
Linear Technology Corporation, Application Note 32, SCR
Preregulator. March 1989, pp. 3-4.
AN106 F22
AN106-13
1V ACRMS
SAME
HEAT
AN106 FA1
Figure A1
+ VLOAD
Alternatives to RMS
Other ways to quantify dynamic waveforms include peak
detection and average rectication. In both cases, an average (DC) value results, but the value is only accurate at
the one chosen waveform type for which it is calibrated,
typically sine waves. The errors with average rectication
are shown in Table A1. Peak detection is worse in all cases
and is rarely used.
Table A1. Errors with Average Rectication vs True RMS
WAVEFORM
Square Wave
Sine Wave
Triangle Wave
SCR at 1/2 Power,
= 90
SCR at 1/4 Power,
= 114
VRMS
1.000
1.000
1.000
1.000
AVERAGE
RECTIFIED
(V)
1.000
0.900
0.866
0.637
1.000
0.536
AC
MAINS
ILOAD
VLINE
CONTROL
VTHY
AN106 FA2a
Figure A2a
VLINE
VLOAD
VTHY
ERROR*
11%
*Calibrate for 0% Error
3.8%
29.3%
ILOAD
AN106 FA2b
Figure A2b
40.4%
an106f
AN106-14
(V )2
= IN ,
VOUT
VIN
VOUT
-
REF
LPF
VOUT
AN106 FA4
( )
2
((V ) ) , and
=
2
IN
VOUT
(VOUT )2 = (VIN)2, or
(VIN)2 = RMS (VIN)
(VIN )2
VOUT
VIN
(V )2 (VIN)
, so
IN =
VOUT
VOUT
VOUT =
VIN
VOUT
LPF
VOUT
AN106 FA3
The lowpass lter performs the averaging of the RMS function and must be a lower corner frequency than the lowest
frequency of interest. For line frequency measurements,
this lter is simply too large to implement on-chip, but
the LTC1966/LTC1967/LTC1968 need only one capacitor
on the output to implement the lowpass lter. The user
can select this capacitor depending on frequency range
and settling time requirements.
This topology is inherently more stable and linear than
log/antilog implementations primarily because all of the
signal processing occurs in circuits with high gain op
amps operating closed loop.
Note that the internal scalings are such that the output duty cycle is limited to 0% or 100% only when VIN
exceeds 4 VOUT.
an106f
AN106-15
INPUT
INPUT CIRCUITRY
VIOS
INPUT NONLINEARITY
IDEAL
RMS-TO-DC
CONVERTER
OUTPUT CIRCUITRY
VOOS
OUTPUT NONLINEARITY
OUTPUT
AN106 FA5
an106f
AN106-16
conversion.
MODEL
MANUFACTURER
1V RANGE
INPUT
BANDWIDTH
3400A/3400B
Hewlett-Packard
1%
AC
10MHz/20MHz
COMMENTS
3403C
Hewlett-Packard
0.2%
AC, AC + DC
100MHz
8920/8921A
Fluke
0.7%
AC, AC + DC
20MHz
A55
Fluke
0.05%
AC + DC
50MHz
Figure B1. Precision Wideband RMS Voltmeters Useful for AC Measurement. All are Thermally Based, Permitting High Accuracy
and Wide Bandwidth Independent of Input Waveshape. A55 Reference Standards, Although Unsuitable for General Purpose
Measurement, Have Best Accuracy
an106f
AN106-17
APPENDIX C
by Ben Hessen-Schmidt,
NOISE COM, INC.
White noise provides instantaneous coverage of all frequencies within a band of interest with a very at output
spectrum. This makes it useful both as a broadband
stimulus and as a power-level reference.
Symmetrical white Gaussian noise is naturally generated in
resistors. The noise in resistors is due to vibrations of the
conducting electrons and holes, as described by Johnson
and Nyquist.1 The distribution of the noise voltage is symmetrically Gaussian, and the average noise voltage is:
(1)
where:
k = 1.38E23 J/K (Boltzmanns constant)
T = temperature of the resistor in Kelvin
f = frequency in Hz
h = 6.62E34 Js (Plancks constant)
R(f) = resistance in ohms as a function of frequency
p(f) =
hf
kT exp(hf/kT) 1
Vn = 2 kT R(f) p(f) df
(2)
V
N = n = kTB
4R
(3)
where the 4 results from the fact that only half of the
noise voltage and hence only 1/4 of the noise power is
delivered to a matched load.
Equation 3 shows that the available noise power is proportional to the temperature of the resistor; thus it is often
called thermal noise power, Equation 3 also shows that
white noise power is proportional to the bandwidth.
An important source of symmetrical white Gaussian noise
is the noise diode. A good noise diode generates a high
level of symmetrical white Gaussian noise. The level is
often specied in terms of excess noise ratio (ENR).
ENR in dB = 10Log
(Te 290)
290
(4)
an106f
AN106-18
=
=
=
=
=
an106f
AN106-19
an106f
AN106-20
www.linear.com