Professional Documents
Culture Documents
Designing instrumentation
circuitry with rms/dc
converters
rms converters rectify average results.
U
sing rms to measure waveforms furnishes the implementation invites a broad range of application; examples
most accurate amplitude information (Refer- begin with Figure 2.
ence 1). Rectify-and-average schemes, which
you usually calibrate to a sine wave, are accurate Isolated power-line monitor
for only one waveshape, however. Departures Figure 2s ac-power-line monitor has 0.5% accuracy over a
from this waveshape result in pronounced errors. sensed 90 to 130V-ac input and provides a safe, fully isolat-
Although accurate, rms conversion often entails limited band- ed output. Conversion of rms provides accurate reporting of
width, restricted range, complexity, and difficult-to-character- ac-line voltage, regardless of waveform distortion, which is
ize dynamic and static errors. Recent developments address common. T1s ratio divides down the ac-line voltage. An iso-
these issues and also improve accuracy. Table 1 at the Web
STEVE EDN070104MS4228 FIGuRE 1
lated and reduced potential appears across T1s secondary, B,
version of this article at www.edn.com/ms4228 shows Linear at which it resistively scales and presents itself to IC1s input.
Technologys (www.linear.com) LTC1966/LTC1967/LTC1968 Power for IC1 comes from T1s secondary, A, which you rec-
device family. The devices feature low-frequency accuracy, in- tify, filter, and zener-regulate to dc. IC2 provides a numerical-
cluding linearity and gain error, of 0.5% and 1% error at band- ly convenient output from gain. You can increase accuracy by
widths extending to 500 kHz. These converters employ a sig- biasing T1 to an optimal loading point, which the relatively
ma-delta-based computational scheme to achieve their perfor- low-resistance-divider values facilitate. Similarly, although IC1
mance. and IC2 can operate from one supply, split supplies maintain
Figure 1s pinout descriptions and basic circuits reveal an symmetrical T1 loading. You calibrate the circuit by adjusting
easily applied device. An output filter capacitor is all that is the 1-kV trim for 1.20V output with the ac line at 120V ac.
necessary to form a functional rms/dc converter. The figure You make this adjustment using a variable-ac-line transformer
shows split- and single-supply-powered variants. Such ease of and a floating rms voltmeter (see sidebar AC-measurement
and signal-handling practice at
POSITIVE SuPPLy the Web version of this article
2.7 TO 5.5V
DEPENDING ON DEVICE CHOICE at www.edn.com/ms4228 for rec-
OuTPuT TO FILTER
ommendations on rms voltme-
DIFFERENTIAL
1V
CAPACITOR
OuTPuT
ters and other ac-measurement-
INPuT 1 OuTPuT
INPuTS
LTC1966 related gossip).
MAXIMuM COMMON-MODE
RANGE56V SuPPLy.
LTC1967
LTC1968
Figure 3s error plot shows
MAXIMuM DIFFERENTIAL51V.
INPuT 2 OuTPuT RETuRN
OuTPuT REFERRED
TO THIS PIN.
0.5% accuracy from 90 to 130V
MINIMuM INPuT55 mV.
ENABLE 2V* GND
NORMALLy GROuNDED ac, degrading to 1.4% at 140V
ac. The beneficial effect of trim-
SET HIGH LTC1966 ONLy POWER *NO V PIN ON THE LTC1967/LTC1968. ming at 120V ac is evident; trim-
TO
SHuT DOWN
0 TO 5V
SuPPLy
GROuND
ming at full-scale would result in
5V 5V larger overall error, primarily due
to nonideal-transformer behav-
DC1AC
VDD
DC OuTPuT
VDD
DC OuTPuT
ior. Note that the data is specific
VOuT AC INPuTS
INPuTS
IN1
CAVG
Z0=85 kV.
IN1 VOuT
C
Z0=85 kV. to the transformer. Substitution
LTC1966 LTC1966 AVG
(1V PEAK
1 mF
(1V PEAK
1 mF for T1 necessitates circuit-value
IN2 OuT RTN IN2 OuT RTN
DIFFERENTIAL) DIFFERENTIAL)
C
changes and recharacterization.
VSS GND EN C VSS GND EN
0.1 mF
Fully Isolated
5V
RMS/dc converters common-
Figure 1 The pinout descriptions (top) and basic circuits (bottom) include the rms converters ly require accurate rms-ampli-
pin functions and application circuits. The pins descriptions are equivalent in all the devices, tude measurement of an SCRs
with only minor differences. (silicon-controlled rectifiers)
chopped ac-line waveforms. The
4 6 RMS CONVERTER
7 ISOLATED LINE SENSOR 5V 5V
100
B 1W
0.25% V V
1k 100 IC1
IN1 OUT
8 LTC1966 RMS OUT
STEVE IC2
1 F EDN070104MS4228 FIGURE
120V- 10 IN2 OUT RTN LT1006 0.93TO 1.4V
AC 0.25% EN GND 90 TO 140V AC
TRIM
100k*
NOTES:
T1=TAMURA-PAN MAG 3FS-212. 100k*
1N4148.
1N4689 5.1V.
2
Figure 2 This isolated power-line monitor senses with a trans-
former and provides 0.5% accuracy from 90 to 130V-ac input. 1.5
Loading the transformer secondary optimizes the voltage conver-
1
sions linearity.
STEVE EDN070104MS4228 FIGURE 4
0.5
120V-AC TRIM POINT
RMS-OUTPUT
READING 0
SCRs fast sine-wave switching complicates this measurement ERROR (%)
because this speed introduces odd waveshapes with high-fre- 0.5
quency harmonic content. Figure 4s conceptual SCR-based 1
ac/dc converter is typical. The SCRs alternatively chop the
220V-ac line, responding to a loop-enforced, phase-modulated 1.5
trigger to maintain a dc output. Figure 5s waveforms show typ- 2
ical operation. Trace A represents one ac-line phase, and Trace 90 100 110 120 130 140
B represents the SCR cathodes. The SCRs irregularly shaped RMS-INPUT VOLTAGE (V)
waveform contains dc and high-frequency harmonics, requir-
ing wideband rms conversion for measurement. Additionally,
for safety and system-interface considerations, you must fully Figure 3 The line monitor has 0.5% accuracy from 90 to 130V
isolate the measurement. ac, degrading to 1.4% accuracy at 140V ac. Almost all the error
Figure 6 provides isolated power and data-output paths to an is due to transformer parasitic losses.
rms/dc converter, permitting safe, wideband, digital output-rms
220V AC
DC
OUTPUT
INPUT
NEUTRAL A=100V/DIV
B=50V/DIV
220V AC
ON 170V-
DC LEVEL
AC-LINE
SYNCHRONIZATION
AND PHASE TRIGGER
MODULATION 1 mSEC/DIV
5V
PULSE GENERATOR POWER
DRIVER
1N4148 1k
1k
220k
Q2 ISOLATED POWER SUPPLY
ZTX-749
100
2 1N5817
1k
0.001 F LT1671 Q1 3 5V ISOLATOR
1
2N2369 1N4689
1N4148 100 F
750k 5.1V
4 6
750k
5V
T1
750k ISOLATION/POWER
TRANSFORMER
2500V BREAKDOWN-
ISOLATION BARRIER
182k*
4.7k
DATA 5V 5V ADC
ISOLATORS ISOLATOR RMS CONVERTER
5V 5V 182k*
ISOLATOR ISOLATOR 5V
SCK ISOLATOR CALIBRATE INPUT
20k 135
V OR
SCK VIN LT1006 0.1 F 270V AC
V
FULL-SCALE
LTC2400
DATA 5V OUT IN1
OUTPUTS SDO 1 F
LTC1967 1k*
FO GND CS REF
OUT RTN IN2
EN GND
SDO
10 F
5V 5V
4.7k ISOLATOR ISOLATOR
NOTES: 1 F LT6650
ISOLATORS ARE AGILENT-HCPL-2300-010s. 400-mV 1V DC
OUT
T1 IS A BI TECHNOLOGIES HM-41-11510. REFERENCE
* = 1% METAL-FILM RESISTORS.
= WIMA MKS-2. FB 15k*
= CIRCUIT COMMON. 1 F
Figure 6 Optoisolators provide a safe, low-voltage digital output for this wideband-rms-measurement circuit. T1 and associated
circuitry provide isolated power for the rms converter, and a resistive divider performs high-voltage ac sensing. An ADC provides a
serial output to the optoisolators. The accuracy of this circuit is 1% over a 200-kHz bandwidth.
measurement. A pulse-generator-configured comparator com- in a diode bridge permits it to operate during both ac-line po-
bines with Q1 and Q2 to drive T1, resulting in isolated 5V pow- larities.
er at T1s rectified, filtered, and zener-regulated output. The You apply the ac-line voltage to the Q2-diode bridge. A cal-
rms/dc converter senses either 135 or 270V-ac full-scale in- ibrated variable-voltage divider senses this bridge and feeds
puts through a resistive divider. The converters dc output feeds IC1. You route IC1s output, representing the regulated lines
a self-clocked, serially interfaced ADC; optocouplers convey rms value, to control amplifier IC2 and compare it with a refer-
output data across the isolation barrier. The LTC6650 provides ence. IC2s output biases Q1, controlling drive to a photovolta-
a 1V reference to the ADC and biases the rms/dc converters ic optoisolator. The optoisolators output voltage provides lev-
inputs to accommodate the voltage dividers ac swing. You ac- el-shifted bias to diode-bridge-enclosed Q2, closing a control
complish calibration by adjusting the 20-kV trim and noting loop, which regulates the outputs rms voltage against ac-line
that output data agrees with the input ac voltage. Circuit accu- and -load shifts. RC components in IC2s local feedback path
racy is within 1% in a 200-kHz bandwidth. stabilize the control loop. The loop operates Q2 in its linear re-
gion, much like a common low-voltage dc linear regulator. The
Low-Distortion ac-Line rms Regulator result is the absence of introduced distortion at the expense
Almost all functioning ac-line-voltage regulators rely on of lost power. Heat dissipation constrains the available output
some form of waveform chopping, clipping, or interruption. power. For example, when you set the output adjustment to
This requirement promotes efficiency but introduces waveform regulate 10V below the normal input, Q2 dissipates about 10W
distortion, which is unacceptable in some applications. Figure at 100W output. You can improve this figure, however. The
7 regulates the ac lines rms value within 0.25% over wide in- circuit regulates for VINM2V above VOUT, but operation in this
put swings and introduces no distortion. It accomplishes this region risks regulation dropout as VIN varies.
task by continuously controlling the conductivity of a series- Circuit details include JFET Q5 and associated components.
pass MOSFET in the ac lines path. Enclosing the MOSFET The passive components associated with Q5s gate form a slow
AC 1.5A Q2
IRF-840 AC HIGH
HIGH SB
Q6
VOLTAGE REGULATORS 0.03 F 430k 10k 2N3904
170V
0.7
470k 100k
Q4
0.47 F MPSA42
BAT85 5V
2.2M*
1N4690 0.1 F
1N5281B 5.6V
UNREGULATED FEEDBACK V AC-
200V 170V SENSE
AC-LINE 10k ISOLATED REGULATED
INPUT OVERVOLTAGE 2W GATE BIAS 0.1 F CONTROL OUTPUT
200k AMPLIFIER
Q3 PROTECTION
2N5210
1 F RMS/DC CONVERTER
22k
0.22 F 200k
5V
5V
10k 1k 105 TO
OUT
V
IN1 120V-AC
5.6k LTC1966 ADJUST
IC1
LT1077 1 F OUT RTN IN2
Q1 EN V GND
AC 7.32k*
2N3440
LOW
REFERENCE 1N4689
330k 5.1V
5V IN 0.4V OUT 2.2 F AC LOW
LT6650 MYLAR
1 F
GND FB
NOTES:
HEAT SINK IS AN IRF-840.
*1% METAL-FILM RESISTORS. 1M
OPTODRIVER IS A TOSHIBA TLP190B. Q5
DIODES ARE 1N4005 UNLESS OTHERWISE INDICATED. 2N4393
0.22 F 100k
SOFT-START/VBIAS
Figure 7 This ac-line-voltage regulator introduces no waveform distortion. IC2 senses the rms value of line voltage and compares it
with a reference. IC2 then biases the photovoltaic optocoupler through Q1. Q2 sets the diode bridges conductivity and closes the
control loop. The input voltage must be 2V higher than the output voltage to maintain regulation.
turn-on negative supply for IC1. They also provide gate bias subtly, the preamplifier must have far more bandwidth than
for Q5, a soft-start transistor that prevents abrupt ac power ap- is immediately apparent. The amplifiers 23-dB bandwidth is
plication to the output at start-up. When power is off, Q5 con- of interest, but its closed-loop 1%-amplitude-error bandwidth
ducts, holding IC2s positive input low. When you apply power, must be high enough to maintain accuracy over the rms con-
IC1 initially has a 0V reference, causing the control loop to set verters 1%-error passband. This requirement is not trivial, be-
the output at zero. As the 1 MV, 0.22-mF combination charg- cause very high open-loop gain at the maximum frequency of
es, Q5s gate moves negative, causing its channel conductiv- interest is necessary to avoid inaccurate closed-loop gain.
ity to gradually decay. Q5 ramps off, IC2s positive input moves Figure 8 shows a gain-of-1000 preamplifier that preserves
smoothly toward the LT6650s 400-mV reference, and the ac the LTC1966s dc to 6-kHz, 1% accuracy. The amplifier may be
output similarly ascends toward its regulation point. Current either ac- or dc-coupled to the rms converter. The 1-mV full-
sensor Q6, measuring across the 0.7V shunt, limits output cur- scale input splits into high- and low-frequency paths. IC1 and
rent to approximately 1A. At normal line inputs of 90 to 135V IC2, which are both ac-coupled, take a cascaded, high-frequen-
ac, Q4 supplies 5V operating bias to the circuit. If line voltage cy gain of 1000. Chopper-stabilized IC3 which is dc-coupled,
rises beyond this point, Q3 comes on, turning off Q4 and shut- also has a gain of 1000, but its RC-input filter restricts it to op-
ting down the circuit. erate only at dc and low frequency. Assuming the switch is set
to dc1ac, high- and low-frequency-path information recom-
Gain-of-1000 preamplifiers bine at the rms converter. The high-frequency paths 650-kHz,
The preceding circuits furnish high-level inputs to the rms 23-dB response combines with the low-frequency sections mi-
converter. Many applications lack this advantage and require crovolt-level offset to preserve the rms converters dc to 6-kHz
some form of preamplifier. High gain preamplification for the 1% error. If you require only ac response, set the switch to the
rms converter requires more attention than you might suppose. appropriate position. The minimum processable input, which
The preamplifier must have low offset error because the rms the circuits noise floor sets, is 15 mV.
converter (desirably) processes dc as legitimate input. More The LTC1968, with a 500-kHz, 1%-error bandwidth, poses a
LOW-FREQUENCY DC PATH
DCAC AC
100 pF IC3
LTC1050 RMS-STAGE INPUT COUPLING
1M*
NOTES:
*1% METAL-FILM RESISTORS. 1k*
1-F CAPACITORS ARE WIMA MKS-2s.
INPUT BUFFER
5V
INPUT 1 F 10 F
OUTPUT FILTER
Q1A
SWITCHED-GAIN
AMPLIFIER 43k
1M A=1, 100 RMS CONVERTER
100
SWITCHED-GAIN
AMPLIFIER 5V
OUTPUT
A=1, 10
IC1 IC3
Q1B 1 F
LT1227 5.62k* 24.9k* LT1077
IC2 V
ZERO IN1 OUT
499* LT1227
LTC1968
100 750* 10 F 1 F
IN2 OUT RTN
470 EN GND
50 1k
10k 22 5.62*
A=10 10k
5V 90.9* TRIM
A=1
200k A=100 100
5V TRIM TRIM 5V
10k 0.1 F
S1
Figure 9 This switched-gain, 10-MHz, 23-dB ac preamplifier preserves the LTC1968s 500-kHz, 1%-error bandwidth. The decade-
ranged gains allow a 1-mV full-scale reading with a 20-mV noise floor. The JFET-input stage provides high input impedance. AC
coupling and a third-order Sallen-Key filter maintain 1% accuracy down to 10 Hz.
significant challenge for an accurate preamplifier, but the cir- with a dc-stabilization path similar to the one in Figure 8, but
cuit in Figure 9 meets the requirement. This design features you would have to switch its gain in concert with the IC1-IC2
decade-ranged gain to 1000 with a 1%-error bandwidth be- path.
yond 500 kHz, preserving the rms converters 1%-error band- Figure 10 shows preamplifier response to a 1-mV input step
width. Its 20-mV noise floor maintains wideband performance at a gain of 1000. IC2s output is singularly clean, with trace
at microvolt-level inputs. Q1A and Q1B form a low-noise buf- thickening in the pulses flat portions due to the 20-mV noise
fer, permitting high-impedance inputs. IC1 and IC2, which are floor. The 35-nsec rise time indicates a 10-MHz bandwidth. To
both gain-switchable, take cascaded gain in accordance with calibrate this circuit, first set S1 and S2 high, ground the input,
the figures table. You set the gains using reed relays, which a and trim the zero adjustment for 0V dc at IC2s output. Next,
2-bit code controls. IC2s output feeds the rms converter, and a set S1 and S2 low, apply a 1V, 100-kHz input, and trim A51 for
Sallen-Key active filter smoothes the converters output. The unity gain, which you measure at the circuit output, in accor-
circuit maintains 1% error over a 10-Hz to 500-kHz bandwidth dance with the table in Figure 9. Continue this procedure for
at all gains due to the preamplifiers 23-dB, 10-MHz band- the remaining three gains in the table. A good way of generat-
width. You can eliminate the 10-Hz, low-frequency restriction ing the required accurate low-level inputs is to set a 1V-ac lev-
RMS CONVERTER
PREAMPLIFIER 5V
5V
A=1000
50* IC1
1 F
LT1227
IC2 V
IN1 OUT
499* LT1227 LTC1968 OUTPUT
1 F 1N5712 IC3
750* IN2 OUT RTN 01V=
LT1077
01 mA.
EN GND
5.62* 5V
10k
64.9*
47 F 20
0.1 F 1-mA 10k
47 F 0.1 F *0.25% METAL-FILM RESISTORS.
TRIM
5V
Figure 11 The circuit of Figure 9 adapts to the isolated true-rms measurement of the current in a quartz crystal. The current probes
50V impedance allows the elimination of the FET-input buffer and direct connection to IC1. The current probe does not appreciably
load the crystal in this oscillator test circuit.
2.5k*
CRYSTAL BRIDGE BRIDGE AMPLIFIER
LT1009
2.5V 100k* 10 F
4-kHz 47k RMS/DC CONVERTER
39k
JCRYSTAL
IC1 IC3 5V 5V
LT1792 LT1010
28k*
1k* IC4
430 pF DISTORTION V LT1077
TRIM IC5
IN1 OUT
LT1006
50k LTC1966
909k* 1 F
560k IN2
200
OUTPUT EN RTN GND V
470 SET
AMPLITUDE-
5V
CONTROL
IC2 AMPLIFIER
LT1792 SILONEX 5V
1k 1k NOTES:
NSL-32SR3,
GROUND- ALL DIODES ARE 1N4148s UNLESS OTHERWISE NOTED.
COMMON- CRYSTAL 5V 1M *IRC-CAR-6 1% RESISTOR.
MODE- 510k
CASE
SUPPRESSION
AMPLIFIER 5V
Q1
1/4 LTC201 2N3904
START-UP 100k
Figure 13 This quartz-stabilized sine-wave-output-ac reference has 0.1% long-term amplitude stability. The frequency accuracy is
0.01% with less-than-30-ppm distortion. The positive feedback around IC1 causes oscillation at the crystals resonant frequency.
Amplifier IC5 acts on the rms-amplitude output of IC4 to supply a negative feedback to IC1 through the bridge network that stabilizes
the rms-output amplitude. The optocoupler minimizes feedback-induced distortion. Switch Q1 closes during start-up, which ensures
the rapid build up of oscillations.
FILTER
NOISE DIODE NOISE-DIODE 1 F
10 F PREAMPLIFIER 1 kHz
75k 75k
15V 0.1 F
160 10 kHz
IC1
1 F NC103 1k 3 dB
LT1220 0.01 F
100 kHz
1k
0.002 F
7 TO 10V-DC 500 kHz RMS-
+NOISE
500 pF AMPLITUDE-
1k 500 kHz FLAT STABILIZED
NOISE OUTPUT
1 F
TO ALL VZ
POINTS
VARIABLE-GAIN AMPLIFIER 1N4689 5.1V RMS CONVERTER
1.5k
LT1228 15V
0.01 F
+V
IC2
100 pF IC3 IN1 OUT
ISET
10k LTC1968 IC4
900 1
510 VZ IN2 OUT RTN 1N5712 /2 LT1013
0.1 F EN GND
10k
GAIN-CONTROL AMPLIFIER
5
1 F
150k 10 F
3k
0.1 F
475k*
15V Q1 EXTERNAL
40.2k*
TPO610L 510k
0 TO 1V
SOFT START VZ
1N4148 1M
1M
0.33 F
Figure 15 This circuit creates a random-noise generator with rms-leveled output. IC1 filters and amplifies zener-diode noise. The
output of the variable-gain amplifier converts to rms. The rms output feeds back to gain-control amplifier IC5, which closes the loop
edn070104ms4228fig15
to the variable-gain amplifier. A potentiometer or external input to IC5 allows you to set the noise output to different values.
1k 10 1 F
RMS CONVERTER 5V
0.15 F
V
OUT IN1
100k* IC4 LTC1968
LT1013 1 F
IC5 OUT RTN IN2
LT1013 100k* GND EN
10k
GAIN-CONTROL 4.7k 5V
5V
AMPLIFIER
13.3k* 10k 0.1 F
LT1004
1.2V
10k REFERENCE
Figure 18 This rms-amplitude level-control circuit uses the gain-control loop of Figure 15. The amplifiers IC1, IC2, and IC3 provide a
variable-gain capability to the input section. The rms converter, IC6, feeds back to the gain-control amplifier, IC5, which closes the
amplitude-stabilization loop. The variable-reference voltage permits a settable calibrated rms output that is amplitude-independent of
the input waveshape.
edn070104ms4228fig18
72 EDN | FEBRUARY 1, 2007
A=2V/DIV
A=0.5V/DIV
B=1V/DIV
B=1V/DIV
10 mSEC/DIV
the circuits input, and Trace B is its output. The output set- 4 Grafham, DR, Using Low Current SCRs, General Electric
tles in 60 msec due to IC5s compensation. Reducing compen- AN200.19, January 1967.
sation value speeds response at the expense of low-frequency- 5 Williams, Jim, Performance Enhancement Techniques for
waveform processing capability. Specifications include 0.1% Three-Terminal RegulatorsSCR Preregulator, Linear Technol-
output-amplitude stability for inputs of 0.4 to 5V rms, 1% set- ogy Corp, AN-2, pg 3, August 1984.
point accuracy, 0.1- to 500-kHz passband, and 0.1% stability 6 Williams, Jim, High Efficiency Linear RegulatorsSCR Pre-
for 20% power-supply deviation.EDN regulator, Linear Technology Corp, Application Note 32, March
1989, pg 3.
R e fe r e nce s 7 Williams, Jim, High Speed Amplifier TechniquesParallel
1 1968 Instrumentation/Electronic-Analytical-Medical, AC Path Amplifiers, Linear Technology Corp, Application Note 47,
August 1991, pg 35.
8 Williams, Jim, Practical Circuitry for
au t h o r s b i o g r a p h y
Long-time EDN contributor Jim Williams,
staff scientist at Linear Technology Corp
(Milpitas, CA), has more than 40 years
experience in analog-circuit and instrumen-
tation design.