Zibb

Feature

Designing instrumentation circuitry with rms/dc converters

RMS converters rectify average results.

By Jim Williams, Linear Technology Corp -- EDN, 2/1/2007

Sidebars:
AC-measurement and signal-handling practice

Using rms to measure waveforms furnishes the most accurate amplitude information (Reference 1). Rectify-and-average schemes, which you usually calibrate to a sine wave, are accurate for only one waveshape, however. Departures from this waveshape result in pronounced errors. Although accurate, rms conversion often entails limited bandwidth, restricted range, complexity, and difficult-to-characterize dynamic and static errors. Recent developments address these issues and also improve accuracy. Table 1 shows Linear Technology's LTC1966/LTC1967/LTC 1968 device family. The devices feature low-frequency accuracy, including linearity and gain error, of 0.5% and 1% error at bandwidths extending to 500 kHz. These converters employ a sigma-delta-based computational scheme to achieve their performance.

Figure 1's pinout descriptions and basic circuits reveal an easily applied device. An output filter capacitor is all that is necessary to form a functional rms/dc converter. The figure shows split- and single-supply-powered variants. Such ease of implementation invites a broad range of application; examples begin with Figure 2.

Isolated power-line monitor

Figure 2's ac-power-line monitor has 0.5% accuracy over a sensed 90 to 130V-ac input and provides a safe, fully isolated output. Conversion of rms provides accurate reporting of ac-line voltage, regardless of waveform distortion, which is common. T1's ratio divides down the ac-line voltage. An isolated and reduced potential appears across T1's secondary, B, at which it resistively scales and presents itself to IC1's input. Power for IC1 comes from T1's secondary, A, which you rectify, filter, and zener-regulate to dc. IC2 provides a numerically convenient output from gain. You can increase accuracy by biasing T1 to an optimal loading point, which the relatively low-resistance-divider values facilitate. Similarly, although IC1 and IC2 can operate from one supply, split supplies maintain symmetrical T1 loading. You calibrate the circuit by adjusting the 1-kΩ trim for 1.20V output with the ac line at 120V ac. You make this adjustment using a variable-ac-line transformer and a floating rms voltmeter (see sidebar "AC-measurement and signal-handling practice" for recommendations on rms voltmeters and other ac-measurement-related gossip).

Figure 3's error plot shows 0.5% accuracy from 90 to 130V ac, degrading to 1.4% at 140V ac. The beneficial effect of trimming at 120V ac is evident; trimming at full-scale would result in larger overall error, primarily due to nonideal-transformer behavior. Note that the data is specific to the transformer. Substitution for T1 necessitates circuit-value changes and recharacterization.

Fully isolated

RMS/dc converters commonly require accurate rms-amplitude measurement of an SCR's (silicon-controlled rectifier's) chopped ac-line waveforms. The SCR's fast sine-wave switching complicates this measurement because this speed introduces odd waveshapes with high-frequency harmonic content. Figure 4's conceptual SCR-based ac/dc converter is typical. The SCRs alternatively chop the 220V-ac line, responding to a loop-enforced, phase-modulated trigger to maintain a dc output. Figure 5's waveforms show typical operation. Trace A represents one ac-line phase, and Trace B represents the SCR cathodes. The SCR's irregularly shaped waveform contains dc and high-frequency harmonics, requiring wideband rms conversion for measurement. Additionally, for safety and system-interface considerations, you must fully isolate the measurement.

Figure 6 provides isolated power and data-output paths to an rms/dc converter, permitting safe, wideband, digital output-rms measurement. A pulse-generator-configured comparator combines with Q1 and Q2 to drive T1, resulting in isolated 5V power at T1's rectified, filtered, and zener-regulated output. The rms/dc converter senses either 135 or 270V-ac full-scale inputs through a resistive divider. The converter's dc output feeds a self-clocked, serially interfaced ADC; optocouplers convey output data across the isolation barrier. The LTC6650 provides a 1V reference to the ADC and biases the rms/dc converter's inputs to accommodate the voltage divider's ac swing. You accomplish calibration by adjusting the 20-kΩ trim and noting that output data agrees with the input ac voltage. Circuit accuracy is within 1% in a 200-kHz bandwidth.

Low-distortion ac-line rms regulator

Almost all functioning ac-line-voltage regulators rely on some form of waveform chopping, clipping, or interruption. This requirement promotes efficiency but introduces waveform distortion, which is unacceptable in some applications. Figure 7 regulates the ac line's rms value within 0.25% over wide input swings and introduces no distortion. It accomplishes this task by continuously controlling the conductivity of a series-pass MOSFET in the ac line's path. Enclosing the MOSFET in a diode bridge permits it to operate during both ac-line polarities.

You apply the ac-line voltage to the Q2-diode bridge. A calibrated variable-voltage divider senses this bridge and feeds IC1. You route IC1's output, representing the regulated line's rms value, to control amplifier IC2 and compare it with a reference. IC2's output biases Q1, controlling drive to a photovoltaic optoisolator. The optoisolator's output voltage provides level-shifted bias to diode-bridge-enclosed Q2, closing a control loop, which regulates the output's rms voltage against ac-line and -load shifts. RC components in IC2's local feedback path stabilize the control loop. The loop operates Q2 in its linear region, much like a common low-voltage dc linear regulator. The result is the absence of introduced distortion at the expense of lost power. Heat dissipation constrains the available output power. For example, when you set the output adjustment to regulate 10V below the normal input, Q2 dissipates about 10W at 100W output. You can improve this figure, however. The circuit regulates for VIN≥2V above VOUT, but operation in this region risks regulation dropout as VIN varies.

Circuit details include JFET Q5 and associated components. The passive components associated with Q5's gate form a slow turn-on negative supply for IC1. They also provide gate bias for Q5, a soft-start transistor that prevents abrupt ac power application to the output at start-up. When power is off, Q5 conducts, holding IC2's positive input low. When you apply power, IC1 initially has a 0V reference, causing the control loop to set the output at zero. As the 1 MΩ, 0.22-µF combination charges, Q5's gate moves negative, causing its channel conductivity to gradually decay. Q5 ramps off, IC2's positive input moves smoothly toward the LT6650's 400-mV reference, and the ac output similarly ascends toward its regulation point. Current sensor Q6, measuring across the 0.7Ω shunt, limits output current to approximately 1A. At normal line inputs of 90 to 135V ac, Q4 supplies 5V operating bias to the circuit. If line voltage rises beyond this point, Q3 comes on, turning off Q4 and shutting down the circuit.

Gain-of-1000 preamplifiers

The preceding circuits furnish high-level inputs to the rms converter. Many applications lack this advantage and require some form of preamplifier. High gain preamplification for the rms converter requires more attention than you might suppose. The preamplifier must have low offset error because the rms converter (desirably) processes dc as legitimate input. More subtly, the preamplifier must have far more bandwidth than is immediately apparent. The amplifier's –3-dB bandwidth is of interest, but its closed-loop 1%-amplitude-error bandwidth must be high enough to maintain accuracy over the rms converter's 1%-error passband. This requirement is not trivial, because very high open-loop gain at the maximum frequency of interest is necessary to avoid inaccurate closed-loop gain.

Figure 8 shows a gain-of-1000 preamplifier that preserves the LTC1966's dc to 6-kHz, 1% accuracy. The amplifier may be either ac- or dc-coupled to the rms converter. The 1-mV full-scale input splits into high- and low-frequency paths. IC1 and IC2, which are both ac-coupled, take a cascaded, high-frequency gain of 1000. Chopper-stabilized IC3 which is dc-coupled, also has a gain of 1000, but its RC-input filter restricts it to operate only at dc and low frequency. Assuming the switch is set to dc+ac, high- and low-frequency-path information recombine at the rms converter. The high-frequency path's 650-kHz, –3-dB response combines with the low-frequency section's microvolt-level offset to preserve the rms converter's dc to 6-kHz 1% error. If you require only ac response, set the switch to the appropriate position. The minimum processable input, which the circuit's noise floor sets, is 15 µV.

The LTC1968, with a 500-kHz, 1%-error bandwidth, poses a significant challenge for an accurate preamplifier, but the circuit in Figure 9 meets the requirement. This design features decade-ranged gain to 1000 with a 1%-error bandwidth beyond 500 kHz, preserving the rms converter's 1%-error bandwidth. Its 20-µV noise floor maintains wideband performance at microvolt-level inputs. Q1A and Q1B form a low-noise buffer, permitting high-impedance inputs. IC1 and IC2, which are both gain-switchable, take cascaded gain in accordance with the figure's table. You set the gains using reed relays, which a 2-bit code controls. IC2's output feeds the rms converter, and a Sallen-Key active filter smoothes the converter's output. The circuit maintains 1% error over a 10-Hz to 500-kHz bandwidth at all gains due to the preamplifier's –3-dB, 10-MHz bandwidth. You can eliminate the 10-Hz, low-frequency restriction with a dc-stabilization path similar to the one in Figure 8, but you would have to switch its gain in concert with the IC1-IC2 path.

Figure 10 shows preamplifier response to a 1-mV input step at a gain of 1000. IC2's output is singularly clean, with trace thickening in the pulse's flat portions due to the 20-µV noise floor. The 35-nsec rise time indicates a 10-MHz bandwidth. To calibrate this circuit, first set S1 and S2 high, ground the input, and trim the zero adjustment for 0V dc at IC2's output. Next, set S1 and S2 low, apply a 1V, 100-kHz input, and trim A=1 for unity gain, which you measure at the circuit output, in accordance with the table in Figure 9. Continue this procedure for the remaining three gains in the table. A good way of generating the required accurate low-level inputs is to set a 1V-ac level and divide it down with a high-grade 50Ω attenuator, such as the Hewlett-Packard 350D or the Tektronix 2701. It is prudent to verify the attenuator's output with a precision rms voltmeter (see sidebar "AC-measurement and signal-handling practice").

Measuring quartz-crystal rms current

Quartz-crystal rms operating current is critical to long-term stability, temperature coefficient, and reliability. You must minimize introduced parasitics, particularly capacitance, which corrupt crystal operation. This requirement complicates accurate determination of rms-crystal current. Figure 11, a form of Figure 9's wideband amplifier, combines with a commercially available closed-core current probe to permit the measurement. An rms/dc converter supplies the rms value. The quartz-crystal test circuit in dashed lines exemplifies a typical measurement situation. The Tektronix CT-2 current probe monitors crystal current and introduces minimal parasitic loading. The probe's 50Ω termination allows direct connection to IC1 without the FET buffer in Figure 9. Additionally, because quartz crystals are uncommon at frequencies lower than 4 kHz, IC1's gain does not extend to low frequency.

Figure 12 shows the results. A crystal drive, which you take at Q1's collector (Trace A), causes a 25-µA-rms crystal current, which appears at the rms/dc-converter input (Trace B). The trace enlargement is due to the preamplifier's 5-µA-rms equivalent-noise contribution. Table 2 details characteristics of two Tektronix closed-core current probes. The primary trade-off is low-frequency error versus sensitivity. The current probes contribute essentially no probe noise, and capacitive loading is notably low. You calibrate the circuit by putting 1-mA rms current through the probe and adjusting the indicated trim for a 1V circuit output. To generate the 1 mA, drive a 1-kΩ, 0.1% resistor with 1V rms.

Stable AC-voltage standard

Figure 13 uses the rms/dc converter's stability in an ac-voltage standard. Initial circuit accuracy is 0.1%, and six months of drift at 20 to 30°C remains within that figure. Additionally, the 4-kHz operating frequency is within 0.01%, and distortion is less than 30 ppm. IC1 and its power buffer, IC3, sense across a bridge comprising a 4-kHz quartz crystal and an RC impedance in one arm; resistors and an LED-driven photocell comprise the other arm. IC1 sees positive feedback at the crystal's 4-kHz resonance, promoting oscillation. Negative feedback, stabilizing oscillation amplitude, occurs through a control path, which includes an rms/dc converter and an amplitude-control amplifier, IC5. IC5 acts on the difference between IC3's rms-converted output and the LT1009 voltage reference. Its output controls the LED-driven photocell to set IC1's negative feedback. RC components in IC5's feedback path stabilize the control loop. The 50-kΩ trim sets the optically driven resistor's value to the point at which IC3's lowest output distortion occurs and maintains adequate loop stability.

Normally, you would ground the bridge's "bottom." Although this connection works, it subjects IC1 to common-mode swings, increasing distortion due to IC1's finite common-mode rejection versus frequency. IC2 eliminates this concern by forcing the bridge's midpoints and, hence, common-mode voltage to 0V but not influencing desired circuit operation. It accomplishes this task by driving the bridge bottom to force its input differential to zero. IC2's output swing is 180° out of phase with IC3's circuit output. This action eliminates common-mode swing at IC1, reducing circuit output distortion by more than an order of magnitude. Figure 14 shows the circuit's 1.414V-rms (2V peak) output in Trace A, and Trace B's distortion constituents include noise, fundamental-related residue, and second-harmonic components.

The 4-kHz crystal is a relatively large structure with a high Q factor. Normally, it would require more than 30 sec to start and arrive at full, regulated amplitude. You avoid this drawback by including the Q1-LTC201-switch circuitry. At start-up, IC5's output goes high, biasing Q1. Q1's collector goes low, turning on the LTC201. This action sets IC1's gain abnormally high, increasing bridge drive and accelerating crystal start-up. When the bridge arrives at its operating point, IC5's output drops to a lower value, Q1 and the LTC201 switch off, and the circuit moves into normal operation. Start-up time is several seconds.

Read more In-Depth Technical Features

The circuit requires trimming for amplitude accuracy and lowest distortion. You perform the distortion trim first. Adjust the trim for minimal output distortion, which you measure on a distortion analyzer. Note that the absolute lowest level of distortion coincides with the point at which control-loop gain is just adequate to maintain oscillation. As such, find this point and retreat from it into the control loop's active region. This retreat necessitates giving up about 5-ppm distortion, but you can achieve 30 ppm with good control-loop stability. You trim output amplitude with the indicated adjustment for exactly 1.414V rms (2V peak) at the circuit output.

Random-noise generator

Figure 15 uses the rms/dc converter in a leveled-output-random-noise generator. Noise diode D1 ac-biases IC1, operating at a gain of two. IC1's output feeds a 1- to 500-kHz, switch-selectable lowpass filter. The filter output-biases the variable-gain amplifier, IC2-IC3. IC2, a current-controlled transconductance amplifier, and IC3, an output amplifier, reside on one chip. This stage takes ac gain, biases the LTC1968 rms/dc converter, and acts as the circuit's output. The rms-converter output at IC4 feeds back to gain-control amplifier IC5, which compares the rms value with a variable portion of the 5.1V zener potential. IC5's output sets IC2's gain through the 3-kΩ resistor, completing a control loop to stabilize noise-rms-output amplitude. The RC components in IC5's local feedback path stabilize this loop. You can vary the output amplitude using the 10-kΩ potentiometer; a switch permits external voltage control. Q1 and associated components, a soft-start circuit, prevent output overshoot at power turn-on. Figure 16 shows circuit-output noise in the 10-kHz filter position; Figure 17's spectral plot reveals essentially flat rms-noise amplitude over a 500-kHz bandwidth.

RMS-amplitude-stabilized level controller

Figure 18 borrows the previous circuit's gain-control loop to stabilize the rms amplitude of an arbitrary input waveform. You apply the unregulated input to variable-gain amplifier IC1-IC2 which feeds IC3. DC coupling at IC1-IC2 permits passage of low-frequency inputs. An rms/dc converter, comprising IC4 and IC6, takes IC3's output, which feeds IC5's gain-control amplifier. IC5 compares the rms value with a variable reference and biases IC1, closing a gain-control loop. The 0.15-µF feedback capacitor stabilizes this loop, even for waveforms lower than 100 Hz. This feedback action maintains waveshape and stabilizes output-rms amplitude despite large variations in input amplitude. You can set the desired output level with the indicated potentiometer, or you can switch in an external control voltage.

Figure 19 shows output response (Trace B) to abrupt reference-level-setpoint changes (Trace A). The output settles within 60 msec for ascending and descending transitions. You can achieve faster response by decreasing IC5's compensation capacitor, but the circuit would then be unable to process low-frequency waveforms. Similar considerations apply to Figure 20's response to an input-waveform step change. Trace A is the circuit's input, and Trace B is its output. The output settles in 60 msec due to IC5's compensation. Reducing compensation value speeds response at the expense of low-frequency-waveform processing capability. Specifications include 0.1% output-amplitude stability for inputs of 0.4 to 5V rms, 1% setpoint accuracy, 0.1- to 500-kHz passband, and 0.1% stability for 20% power-supply deviation.


Author Information
Long-time EDN contributor Jim Williams, staff scientist at Linear Technology Corp (Milpitas, CA), has more than 40 years' experience in analog-circuit and instrumentation design.


References
  1. "1968 Instrumentation/Electronic-Analytical-Medical," AC Voltage Measurement, Hewlett-Packard Co, 1968, pg 197.
  2. Sheingold, DH, editor, Nonlinear Circuits Handbook, Second Edition , Analog Devices Inc, 1976.
  3. Model LK-343A-FM Manual, Lambda Electronics.
  4. Grafham, DR, "Using Low Current SCRs," General Electric AN200.19, January 1967.
  5. Williams, Jim, "Performance Enhancement Techniques for Three-Terminal Regulators—SCR Preregulator," Linear Technology Corp, AN-2, pg 3, August 1984.
  6. Williams, Jim, "High Efficiency Linear Regulators—SCR Preregulator," Linear Technology Corp, Application Note 32, March 1989, pg 3.
  7. Williams, Jim, "High Speed Amplifier Techniques—Parallel Path Amplifiers," Linear Technology Corp, Application Note 47, August 1991, pg 35.
  8. Williams, Jim, "Practical Circuitry for Measurement and Control Problems," "Broadband Random Noise Generator," "Symmetrical White Gaussian Noise," Appendix B, Linear Technology Corp, Application Note 61, August 1994, pg 24 and 38.
  9. Williams, Jim, "A Fourth Generation of LCD Backlight Technology," "rms Voltmeters," Linear Technology Corp, Application Note 65, November 1995, pg 82.
  10. Meacham, LA, "The Bridge Stabilized Oscillator," Bell System Technical Journal, Volume 17 , October 1938, pg 574.
  11. Williams, Jim, "Bridge Circuits—Marrying Gain and Balance," Linear Technology Corp, Application Note 43, June 1990.
AC-measurement and signal-handling practice

Accurate ac measurement requires trustworthy instrumentation, proper signal-routing technique, parasitic minimization, attention to layout, and care in component selection. The main text describes a circuit's dc to 500-kHz, 1%-error bandwidth. These figures seem benign, but unpleasant surprises await the unwary.

Performing serious ac work requires the use of an accurate rms voltmeter. Table A lists types that Linear Technology uses in its laboratory. These thermally based, high-grade, specialized instruments make precise rms measurement. The first three entries—easy-to-use, general-purpose instruments with many ranges and features—meet almost all ac-measurement needs. The last entry is more of a component than an instrument. The A55 series of "thermal converters" provide millivolts-level outputs for various inputs. Typical input ranges are 0.5, 1, 2, and 5V rms, and each converter receives individual calibration data. They are somewhat cumbersome to use and fragile but are highly accurate. Their primary uses are as reference standards to check other instruments' performance.

AC-signal handling for high accuracy is a broad topic, involving a considerable degree of depth. Layout is critical. The most prevalent parasitic in ac measurement is stray capacitance. Keep signal-path connections short and small in area. A few picofarads of coupling into a high-impedance node can upset a 500-kHz, 1%-accuracy signal path. To the extent possible, keep impedances low to minimize parasitic-capacitive effects. Consider individual component parasitics and plan to accommodate them. Examine effects of component placement and orientation on the pc board. If a ground plane is in use, you may need to relieve it in the vicinity of critical circuit nodes or even individual components.

Keep in mind that passive components have parasitics. For example, resistors suffer shunt capacitance whose effects vary with frequency and resistor value. It is worth noting that different brands of resistors, although nominally similar, may exhibit markedly different parasitic behavior. Use capacitors in the signal path so that their outer foil connects to the less sensitive node, affording some relief from pickup and stray-capacitance-induced effects. Some capacitors have markings that indicate the outer foil terminal; others require consulting the data sheet or vendor. Avoid placing ceramic capacitors in the signal path. Their piezoelectric responses make them unsuitable for precision ac circuitry. In general, examine any component in the signal path for its potential parasitic contribution.

Treat active components, such as amplifiers, as potential error sources. In particular, ensure that there is enough open-loop gain at the frequency of interest to ensure the necessary closed-loop-gain accuracy. Margins of 100-to-1 are not unreasonable. Keep feedback values as low as possible to minimize parasitic effects.

Coaxially route signals to and from the pc board at low impedance—preferably 50Ω—for best results. In 50Ω systems, terminators and attenuators have tolerances that can corrupt a 1%-amplitude-accuracy measurement. Verify such terminator and attenuator tolerances by measurement and account for them when interpreting measurement results. Similarly, verify the accuracy of any associated instrument's 50Ω input or output impedance and account for deviations.

All this work seems painful but is an essential part of achieving 1%-accurate, 500-kHz signal integrity. Failure to observe these precautions risks degrading the rms/dc converter's system-level performance.




Reed Business Information Resource Center

Featured Company


Related Resources

ADVERTISEMENT

ADVERTISEMENT

Feedback Loop


Post a CommentPost a Comment

There are no comments posted for this article.

Related Content

 

By This Author


ADVERTISEMENT

Knowledge Center


Events

Oxford University Online Introduction to Electronics Short Course
Dates: 10/5/2009 - 12/11/2009
Location: Online

FPGACamp - Debugging Your FPGA on 11th Nov. 2009 in Silicon Valley
Dates: 11/11/2009 - 11/11/2009
Location: Santa Clara, CA

5th Lithium Mobile Power
Dates: 11/12/2009 - 11/13/2009
Location: Boston, MA

Heatsink 101 - Everything You Ever Wanted To Know
Dates: 11/18/2009 - 11/18/2009
Location: On-line

Semiconductor Reliability
Dates: 2/8/2010 - 2/10/2010
Location: San Jose, CA

Submit an EventSubmit an Event




Technology Quick Links

EDN Marketplace


©1997-2009 Reed Business Information, a division of Reed Elsevier Inc. All rights reserved.
Use of this Web site is subject to its Terms of Use | Privacy Policy

Please visit these other Reed Business sites