Professional Documents
Culture Documents
The Handbook
of Linear Ie
Applications
BURR - BROWN@)
E:IE:I
BURR-BROWN®
I I II
The Handbook
of
Linear Ie Applications
Burr-Brown Corporation International Airport Industrial Park P.O. Box 11400 Tucson, Arizona 85734 USA
Telephone: 602-746-1111 • FAX: 602-746-7357 • TWX: 910-952-1111 • Telex: 66-6491 BURR BROWN ATU • Cable: BBRCORP
The information provided herein is believed to be reliable; however, BURR-BROWN assumes no responsibility for inaccuracies or omissions. BURR-BROWN
assumes no responsibility for the use of this information, and all use of such information shall be entirely at the user's own risk. Prices and specifications are subject to
change without notice. No patent rights or licenses to any of the circuils described herein are implied or granted to any third party. BURR.£ROWN does not authorize
or warrant any BURR-BROWN product for use in life support devices and/or systems.
Burr-Brown Corporation: A World Leader
In Industrial High Technology
Burr-Brown is a leading designer and manufacturer of precision
microelectronic components and microcomputer-based systems
for use in data acquisition, signal conditioning and control.
Our principal products are data conversion and signal conditioning
components (integrated circuits); board-level, input/output sub-
systems; data communications components; and microcomputer-
based data entry terminals, processors, and related peripheral
equipment.
Burr-Brown components and I/O subsystems provide the high
degree of reliability, speed and accuracy required for high perfor-
mance applications such as precision automatic testing, indus-
trial/process monitoring and control, sophisticated medical instru-
mentation, military electronics and computer systems.
Burr-Brown was founded in 1956 and today has more than 1200
employees worldwide. In addition to manufacturing and testing
facilities in Tucson, Arizona, Livingston, Scotland, and Tokyo,
Japan, Burr-Brown also maintains sales and distribution subsidiaries
in Germany, France, England, Switzerland, Netherlands, Austria,
Italy, Belgium and Sweden. •
ANALOG CIRCUIT FUNCTIONS (Mathematical Functions) Page
Analog ICs Divide Accurately To Conquer Computation Problems .
Describes the design of the DIV100 analog divider. Depicts its use in one- and two-
quadrant applications, plus square-rooters and bridge Iinearizers.
Create Complex Nonlinear Transfer Functions With A Multifunction Converter 7
Describes the use of a multifunction circuit -which has the transfer function X ·Y/Z.
Includes rms-to-DC conversion, exponentiation, trigonometric functions, vector
computation, and use as a log amp.
Mold Circuit Response With A Multifunction Converter 12
Describes six circuits capable of producing a wide variety of non-linear transfer
functions including bows and "s" curves. A BASIC program fits a complimentary
transfer function to a data table describing a non-linear input.
10MHz Analog Multiplier Carries Output Amp, Breaks Bandwidth Barrier. . . . . . . . . . . . . . .. 18
Explains the operation of a wide-bandwidth analog multiplier and discusses its
application as a modulator/demodulator in communications circuits. Compares
performance with double-balanced diode mixers.
CURRENT TRANSMITTERS (4-20mA Transmitters)
Current Transmitter IC Caters To High-Level Signals And Tight Budgets . . . . . . . . . . . . . . .. 23
Describes the features and benefits of a monolithic voltage-to-current converter.
Shows how to use the device in current-mode loops and as a precision current source
for test and instrumentation.
Two-Wire Transmitter Promotes Painless Process Control. . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 28
Discusses the advantages of two-wire current mode signal transmission and
discusses application of a two-wire transmitter. Gives practical circuits for
thermocouple and RTD measurements.
DATA CONVERSION SYSTEM APPLICATIONS
Getting Transducers To "Talk" To Digital Computers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 33
Describes component selection of signal conditioning and analog-to-digital
conversion components needed to interface transducers to computers.
Maintaining Accuracy In High-Resolution AID Converters .... "......................... 37
Discusses power supply bypassing, use of ground planes and noise minimization
techniques to obtain optimum performance from high resolution A/D converters.
PCM, A DAC For All Systems 41
Discusses digital-to-analog converters designed especially for digital audio
applications. Describes fundamentals of digital audio reproduction, circuit
descriptions, testing and alilplications.
Principles Of Data Acquisition And Conversion. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 47
Discusses basic principles of analog-to-digital systems, including sampling rate,
aperture error, accuracy, resolution, throughput, and codes.
To Sidestep Sample/Hold Pitfalls, Recognize Subtle Design Errors. . . . . . . . . . . . . . . . . . . . .. 52
Discusses performance characteristics of sample/hold amplifiers. Examples illustrate
how to select the appropriate device for an application.
Superposition: The Hidden DAC Linearity Error. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 57
Discusses how superposition error affects the performance of D/A converters. Gives
suggestions to help user minimize linearity errors in high-resolution D/A circuitry.
18-Blt Hybrid D/A Converter Breaks Size And Performance Barriers 63
Discusses circuit design, error analysis, and applications of the DAC729.
DC- TO-DC CONVERTERS
DC- To-DC Converters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 71
Discusses key issues in selecting and applying DC-to-DC converters, including input
stages, transfo'rmers, output stages, and regulation. Includes comprehensive glossary.
Minimizing The Effects Of DC/DC Converter Switching Noise. . . . . . . . . . . . . . . . . . . . . . . . .. 76
Provides tips on circuit design, PC board layout, and component selection to control
or eliminate noise problems.
DIGITAL GAIN CONTROL APPLICATIONS
Digital Gain Control Streamlines Signal-Acquisition Systems. . . . . . . . . . . . . . . . . . . . . . . . . .. 78
Shows the application of a digitally-programmable operational amplifier in the design
of signal acquisition and conditioning systems. Gives several design ideas and
configurations to simplify circuit development.
Digital Gain Control Wins Op Amp A Niche In Microprocessor Systems. . . . . . . . . . . . . . . .. 85
Discusses the operation and application of a programmable-gain op amp in the front
end of microprocessor-based data acquisition systems. Gives several practical circuits.
HIGH SPEED DATA CONVERTERS
Circuit Applications for a 12-bit ECl DAC . . .. . . . . . . .. . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . .. 90
Compares operation of TTl and ECl D/A converters with respect to data skew,
ground currents, line driving and receiving capability. Includes discussions on ampli-
tude and phase synthesis and the use of an ECl DAC in a 12-bit, 250ns A/D converter.
A High Speed Peak Detector. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 96
Describes the design of a high speed analog peak detector.
A Waveform Digitizer For Dynamic Testing Of High-Speed Data Conversion Components .... 98
Describes the design of a sampling waveform digitizer for testing the settling time
performance of analog and data conversion components.
Subranging High-Speed Modular Analog- To-Digital Converters 107
Describes the design and performance of the ADC600, a 12-bit, 10MHz sampling rate
A/D converter.
INSTRUMENTATION AMPLIFIERS
Gain Block Realization Using Instrumentation Amplifiers 117
Demonstrates the advantages of using monolithic instrumentation amplifiers to build gain
blocks and compares several implementations with its operational-amplifier counterpart.
Instrumentation Amp Addresses Power-Miser Circuit Applications 122
Describes the use of a low-power monolithic instrumentafion amplifier in situations
usually requiring high power dissipation. Exploits the low power consumption
attributes of the INA102 in battery-powered, isolated and high-density applications.
Instrumentation Amplifiers Sift Signals From Noise 128
Describes basic features and benefits of instrumentation amplifiers and compares
them with operational amplifiers. Gives several typical applications.
Instrumentation Amplifier Suits Wide Range Of Circuit Designs 132
Illustrates the benefits obtained in high-in put-impedance circuits by using newer
monolithic instrumentation amplifier designs. Gives insight into the characteristics, use
and application of these newer designs. Discusses tradeoffs of noise and settling time.
Instrumentation Amplifiers 137
Describes the features and general operation of instrumentation amplifiers. Depicts
their use in bridge circuits, in reducing ground loop interference, and in driven guard
input circuits.
Monolithic Difference Amp Eases The Design Of A Variety Of Circuits 143
Discusses many applications for this versatile analog building block, including preci-
sion reference voltage generators, instrumentation amplifiers, and summing amplifiers.
Tame Transducer Bridge Errors With Op-Amp Feedback Control 149
Describes how to use op amps to linearize bridge response and reduce drift sensitivity.
Voltage Gain Is Just One Of The Many Uses For Instrumentation Amps 153
Describes the versatility of the monolithic instrumentation amplifier. Shows several
non-conventional ways to extend the usefulness and application of these devices.
ISOLATION AMPLIFIERS
An Error Analysis Of The IS0102 In A Small Signal Measuring Application 158
Shows detailed error analysis of IS0102 isolation amplifier when used with low level
input signals. Sources of error discussed include isolation mode rejection, gain error,
offset error, power supply rejection and noise.
Hybrid Isolation Amps Zap Price And Voltage Barriers 160
Describes two unique capacitively coupled isolation amplifiers rated at 1500V and
3500V isolation. Includes details of design, construction and applications.
The Key To Understanding Sources Of Error In The IS0100 Isolation Amplifier 164
Some applications of the IS0100 isolation amplifier require error correction.
Describes how to quantify the effect of errors and identify the most appropriate
means of correction.
Design And Application Of Transformer-Coupled Hybrid Isolation Amplifer Model 3656 .. 172
Describes the design and construction of a miniature transformer-coupled isolation
amplifier with self-contained power supply. Includes several industrial and medical
applications.
OPERATIONAL AMPLIFIERS
Combine Two Op Amps To Avoid The Speed Accuracy Compromise 180
Discusses interconnecting low drift and wideband op amps to form a composite op amp.
Designing Photodiode Amplifier Circuits With OPA128 182
Discusses common photodiode amplifier configurations with emphasis on selection of
an appropriate op amp. Provides tips on achieving optimum sensitivity and low noise.
Diode-Connected FET Protects Op Amps. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 184
Shows how to use an FET to protect an op amp from overload in a circuit that
measures dielectric properties.
How To Determine What Heat Sink To Use . . .. . . . . . . . . . .. . . . . . . . .. . . . . .. . . . . . . . . . . . . .. 185
Describes thermal calculations used to select heat sinks to limit junction temperature
to a desired value. Suggests measurement techniques to verify thermal performance
of a design.
Noise Analysis Of FET Transimpedance Amplifiers 187
Provides a detailed noise analysis of the transimpedance-amplifier/op-amp
configuration commonly used with photodiodes. Shows the contributions of voltage
and current noise and the effect of frequency-dependent noise gain.
One Supply Powers Precision Bridge Circuit . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 191
Shows the use of an operational amplifier to establish an artificial reference in a single-
supply instrumentation amplifier circuit for use with resistive bridge sensors.
Photodiode Monitoring With Op Amps. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 192
Examines various current-to-voltage converter circuits. Describes circuit performance
as a function of noise, DC errors, signal bandwidth, and feedback resistance.
Single-Supply Operation Of Operational Amplifiers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 202
Explains the attributes of a "single-supply" op amp. Shows circuit techniques which
allow operation of standard or high performance op amps in single power supply
applications.
SWOP AMP®, Analog-To-Digital Converter Make Zero-Droop Sample/Hold 207
Describes a sample-and-hold with zero droop using the OPA201 SWOP-AMP and an
A/D converter.
The SWOP AMP 208
Introduces the concept of the Burr-Brown OPA201 SWOP AMP and describes its
features and benefits. Shows how design of selectable-gain amplifiers, auto-calibrating
systems and sample-and-hold circuits is simplified with the SWOP AMP.
Understanding Power Amplifier Specifications 214
Describes the meaning and significance of power amplifier specifications. Includes
discussion of various parts of safe operating area curves and temperature deratings.
Varying Comparator Hysteresis Without Shifting Initial Trip Point 220
Describes adding a positive feedback circuit to introduce precise variable hysteresis
into the usual comparator switching action.
TESTING DATA CONVERTER ACCURACY
Automatically Test The Linearity of 12-81t Analog- To-Digital Converters 221
Describes the servo-loop method for automatically testing 12-bit analog-to-digital
converters.
Data Converter Test Methods For Digital Audio Applications 229
Discusses the relative importance of operating parameters of data converters when
applied to digital audio systems as opposed to traditional instrumentation
applications. The primary parameters are pinpc. .Ited, with appropriate test circuits
and evaluation methods given.
Dynamic Tests For AID Converter Performance 235
Describes theory and technique for evaluating the performance of AID converters:
dynamic (1) beat frequency, (2) histogram analysis, (3) sine wave curve fitting, (4)
discrete finite Fourier transform.
Settling Time - 244
Discusses several circuits and techniques that enable accurate measurement of the
settling time of D/A converters, operational amplifiers or any analog output waveform.
Static And Dynamic Testing Of Dlgltal- To-Analog Converters 258
Describes test procedures and equipment for measuring offset, full-scale, gain and
linearity errors in DACs. Test equipment discussed ranges from digital voltmeters to
automatic testers.
Testing Of Analog- To-Digital Converters 264
Discusses methods, circuits and instruments for testing accuracy of AID converters
with conversion times under 100psec. Includes a circuit for testing high-speed
converters with less than 10psec conversion times.
VOLTAGE-TO-FREQUENCY CONVERTERS
Op Amp Improves VlF Converter's Input 270
The addition of a single external op amp to a VFC320 voltage-to-frequency converter
is shown to provide a differential (instrumentation type) input.
Through Continuous Integration, V/F Converter Raises Accuracy Of Cumulative
Measurements 271
The VlF converter is shown to have continuous integrating properties suited to
measurement of certain physical quantities. A technique for multiplying two variables
is shown.
VOltage- To-Frequency Converters Offer Useful Options In AID Conversion Conversion .. 276
Describes the use of a voltage-to-frequency converter as an AID converter by
counting its output frequency. Shows an efficient implementation of ratiometric
frequency counting to maximize conversion speed and resolution.
ANALOG ICs DIVIDE ACCURATELY TO CONQUER
COMPUTATION PROBLEMS
Although analog dividers are basic building blocks in a denominator below which the divider will exhibit unac-
wide variety of applications, until recently they remained ceptably large errors. These two conditions define the
bulky, very limited in operating range, and prohibitively operating region of a divider (the shaded area in Figure
expensive. Within the past two years, though, they have I). For one-quadrant dividers, the operating region is
profited from the kinds of technological and design either the top or the bottom half of the operating region
advances thl\.l have characterized the progress of inte- of a two-quadrant divider.
grated circuits in other areas.
Now, dedicated analog dividers are available in dual-in-
line packages, and their low price-typically less than
S30-has gone hand-in-hand with performance that has
improved by orders of magnitude •. Burr-Brown Corpor-
ation, for instance, makes a hybrid precision divider, the
DIVlOO, with a guaranteed maximum error of less than
0.25% over a 40/1 denominator voltage. With optional
external trims, the error may be significantly better over
its 40/1 denominator range.
-:-
Vo = 10 INlol
III MULTIPLIER·
INVERTED
DIVIDER
Zl Zz
RZ RZ
XI
12 K = RZ/RI
Vo = 100Z1 . ZZl/lXl . XZ)
RI
Vo = 10 IN/D)
·loV .;IXI . Xz- <0
Ibl
FIGURE 2. Economizing Space. An analog divider can be constructed by FIGURE 3. More Accurate. The multiplier-inverted divider exhibits
connecting an analog multiplier in the feedback loop of an op amp (8). improved accuracy when connected in the manner shown. The error
Packaged multipliers (b) do not require an external op amp to be pin- equation is given approximately by Ed = IOEm(KD), where K is the ratio of
programmed for performing division. R2 to Rl and can be used to optimize the divisors's range.
reduced by a factor of K. However, the divisor input is 0.25%. At low input-signal levels, the offset voltages and
thus limited to -20/ K volts. When K = 2, the divisor will bias currents of the Y and Z op amps contribute most of
swing within the same range of 0 to -IOV. In other words, the errors. By trimming them out with potentiometers R2
the divider error can be cut in half without sacrificing the and R3, the maximum error can be reduced less than
divisor's dynamic range. With K greater than 2. say. 0.25% over a 40/ I dynamic range. R, is used to trim out
K = 10, the divisor is limited to the range of 0 to -2V. gain errors.
The DIV 100 analog divider has been optimized as a log-
ONE-QUADRANT DIVIDER
antilog divider. It is specified to be the most accurate
The well-known multifunction converter (M FC), through two-quadrant, self-contained divider available in Ie
different external connections, can be used as a precision form. It operates in principle very similarly to a multi-
divider whose accuracy and dynamic range greatly
function converter, but has several additional features.
exceed that of a multiplier-inverted divider. It is. how-
For one, it contains an internal level-shifting circuit for
ever. good for one-quadrant operation only, whereas the
two-quadrant operation. For another, it is laser-trimmed
MID is a two-quadrant divider.
to hold total error to less than 0.25% over a 40/ I dynamic
The functional diagram of this converter is shown in range. In addition, both linearity compensation and an
Figure 4. Its transfer function is given by: on-board temperature-compensated reference are
Vo= X(y/zt provided.
where m is determined by two external resistors and can PRECISE FOR TWO QUADRANTS
range from 0.2 to 5. The circuit can be analyzed by The divider's functional circuit diagram is shown in Fig-
applying, to each of the four transistors used to achieve ure 5a. Q, - Q. are the four logging transistors, which are
the logarithmic relationship Q, - Q., the Ebers-Moll always laid out on a monolithic chip along a thermal
equation: equilibrium line. Their geometries are specially designed
for maximum conformity to a logarithmic output. In
v•• = (KT/q)ln(l</I,)
fact, log-conformity error is less than 0.05% over four
where: decades of collector current from 100/-lA to IOnA. Thus,
Vb<= base-to-emitter voltage the divider can maintain its accuracy over many decades
K = Boltzmann's constant (8.62 x 10-' electron- of denominator voltages.
volt/K)
The error sources at low input levels are mainly due to the
T = absolute temperature
offset voltages and bias currents of the numerator and
q = charge of an electron (leV) denominator input op amps, and not to the logging tran-
I, = collector current sistors. Optional trims are usually provided by manufac-
I, = emitter saturation current turers in order to eliminate the offsets and bias currents
Solving the equation for each of the four transistors that are inherent in all op amps.
simultaneously yields the converter's simple transfer As with the multifunction converter and the multiplier-
function. This procedure assumes that the four transis- inverted divider, the bandwidth ofthe log-antilog divider
tors are matched. so that I, and T are the same for all four decreases almost linearly with divisor voltage level; for
equations. example, a 400kHz divider at a IOV divisor voltage will
The multifunction converter is capable of operating over become a 4kHz divider at a 100m V divisor voltage. It is
a 40/ I denominator range with an error of less than interesting to note that if it were possible to rearrange the
four logging transistors and the four op amps and As mentioned before, the offset voltages and bias cur-
replace the voltage reference by a current reference, a rents of the op amps should be nulled out for Jow-signal
log-antilog divider whose bandwid~h remains constant at operations. Unfortunately, with a reference current in
high level even with decreasing divisor voltages could be place of a reference voltage, this divider circuit cannot be
realized (Figure 5b). readily used as a three-input multiplier-divider to per-
Notice that the current through the output stage (QJ, Q., form Vo= XY/Z.
and A.) is determined by the reference current, I, and SQUARE-ROOTERS
remains constant. If I is set high, the divider's bandwidth One application of a precision divider is computing the
will stay fairly flat from a IOV divisor voltage down to square root of an input signal, often required in process-
100m V and then start to drop gradually, at a much slower control systems. If the divisor's input is connected to its
rate than the circuit in Figure 5a. Using 74 I-type op amps output terminal. the divider's transfer function. that is.
and setting I equal to 200/lA, typical component values V" = ION/ D. becomes:
are:
Vo = 10 (N/Vo) = (ION)112
R, = 50kO R. = IOkO The output is now proportional to the square root of the
R, = IOkO Rs = lOOkO input. N.
RJ = 33kO C = 33pF Square-rooters employing a log-antilog divider and a
multiplier-inverted divider are shown in Figures 6a and seen, if small-signill accuracy is critical, a preCISIOn
6b, respectively, Since Vo is always unipolar, adding a divider like the log-antilog type should be used.
diode at the output of the divider will help prevent the With an external voltage reference, a multi-function con-
square-rooter from saturing to the opposite supply verter may also be used to build a square-rooter. There
voltage, which is occasionally caused by power-supply are two ways to implement this function. The straight-
transients. In Figure 6b, a I MO output load may be forward method is to set m = 1/2 with two matched
necessary to turn on the diode, because the input resistors and connect X and Z to a IOV reference (Figure
impedances of the mid divider are so high (about IOMO) 7a). Then the output voltage becomes.
that, without the load, practically no current will flow
Vo = IO(Y/ 10)'/2 = (IOy)'/2
through the diode.
Alternatively, m can be set to I as in Figure 7b and the X
The square-rooter's accuracy is strictly dependent upon input connected to a + IOV reference. By shorting Z to the
the accuracy of the divider employed. With a multiplier- output, Vo, the transfer function becomes:
inverted diviOer, the accuracy is poor at low input vol- Vo = IO(Y/Vo) = (IOy)'!2
tages. The error-versus-signal voltage can be estimated
The accuracy of this square-rooter is about equal to that
from:
of a log-antilog divider.
Vo = (IOV'n + IOtm)'12
LINEARIZING THE BRIDGE
where Vo and Vinare the square-rooter's output and input
voltages, respectively, and Em is the multiplier error speci- The familiar Wheatstone bridge is widely used in measur-
fied by the manufacturer. For example, for a 0.5% mul- ing the resistance of sensors like strain gauges, pressure
tiplier, Em = 50mV maximum, and therefore the square- transducers, thermistors, and servo motors. Unfortu-
rooter's error would be 25mV maximum at Vin= IOV, but nately, the output of the bridge is a nonlinear function of
would be 109mV maximum at Vin = 500mV. the input variable, the change in the resistance being
measured. As illustrated in Figure 8a, the output voltage,
Figure 6c compares the typical error curves of square-
Vo, is related to the input variable, l>, by:
rooters built with a multiplier-inverted divider and those
made with a log-antilog divider. Typical errors would
V••=V,l>/(1 +l»
normally be much lower than in the graph. As can be where 2V, is the bridge supply voltage.
1 +10V
REFEREN~E
"D.50
I +10V
I
~ 0.25
REFERENCE
III lei
ZVx
Vx
Vo = .Vx6 Vo = ·106
bridges are packaged in four-terminal boxes and there- signal, nothing less than a well-designed automatic-gain-
fore will not work with this method, which requires five control circuit will do. A good AGC circuit is one that can
terminals. keep the output constant over a wide dynamic range of
A low-cost multiplier-inverted divider with differential Z input signal levels (tracking range). Analog dividers are
inputs can, however, implement the inverse of the bridge excellent candidates for such applications.
function and linearize it. In Figure 8c, the output voltage The tracking range of an AGC is directly related to the
of the bridge, Vb, is given by: denominator's operating range of the divider employed.
Vb= 1015/(1 +15) For example, if a divider has a divisor operating range
from 10V down to 100mV, the AGC circuit associated
and the multiplier-inverted divider provides the transfer
with it will track AC signals over a 40d B range.
function, Vo = IOVb/(I0 - Vb). The series connection of
these two nonlinear circuits results in a linear function,
that is, Vo = 1015.
If the bridge supply voltage is single-ended, rather than
floating as in Figure 8c, an instrumentation amplifier is
needed to convert the two output terminals of the bridge
to a single output. The amplifier can also be used effective-
ly to compensate for bridge voltage variations. By
inverting the signal such that Vd = -V,15/( 1+ 15)a nd using
four resistors to sum the bridge voltage with, and divide it
by, Vd (Figure 8d), the divider's denominator and numer-
ator voltage become:
D = [2Rin/(3R,n + 2R,)](V, + Vd)
N = [2R'N/(3RiN + 2R.)]Vd
respectively, where RiD is the input impedance of the
divider's denominator input and RiN is that of the
numerator input.
The cleverness of this circuit becomes clear when D and N
are substituted into the divider's simple transfer function,
Vo = ION/D. The bridge voltage, 2V" and the input
FIGURE 9. Controlling Gain. The bandwidth of a 40dB automatic-gain-
impedance, R, (= RiN = R,n), cancel out, resulting in control circuit using the DIVlOO(a). will be increuing by n times, or its
Vo = -1015. Therefore, the output is independent of the tracking range by n times, by cascading n dividen in the feedback loop
bridge supply voltage. When R, is much smaller than R•. shown in (b). The 400kHz bandwidth, however, cannot be exceeded.
the circuit is insensitive to the value of R,.
Figure 9a shows an AGC circuit using a two-quadrant
CONTROLLING THE GAIN AUTOMATICALLY log-antilog divider. The divider serves as a voltage-
To compensate for amplitude fluctuations of any given controlled amplifier whose output increases with a
decrease in divisor voltage. Diode D, rectifies the output adjustable gain (from the nominal 10 to 100). With low-
'voltage, Yo. Low-pass filter R, - C, produces a negative cost IC dividers, it is practical to provide direct readout in
voltage, V., proportional to the negative peak ofVo• The percentages of such parameters as efficiency, distortion,
integrator, comparing V. with a positive reference vol- gain/loss, error, and so on.
tage, VR, determines the divisor voltage of the divider. Figure 10 shows a percentage measurement circuit employ-
Automatic gain control"is achieved thus: as the input ing a differential multiplier-inverted divider. The circuit.
signal, Vi., increases, Vo tends to increase, pushing V N which provides I V = I%, is capable of measuring ± 10%
further negative. This increases the integrator's output deviations. Wider deviations can be measured by decreas-
voltage, which is connected to supply the divisor's input. ing the ratio of R,/ R" and narrower variations by
As the divisor voltage goes up, it will pull Vo back down increasing the ratio. If the dynamic range of V, is too wide
until it reaches an equilibrium. for a multiplier-inverted divider to handle, a log-antilog
Typical values for audio applications are: divider may be employed, but an extra operational
R, = R2/ 10 = R3/ 10= Ikfl amplifier will be needed to take the difference V2 - V,.
C, = IOC, = IOIlF The percentage circuit can also be used to sort compo-
VR = 0.3V nents by first converting the component's parameter into
These values will provide a. 2V peak-to-peak output a voltage and comparing it with a reference. A compara-
amplitude, which can be reset by adjusting either R3 or tor at the output of the percentage circuit may then be set
YR. For subaudio frequencies, an increase in the values of to separate units beyond a specified limit.
both C, and C, is necessary.
The upper frequency limit is determined by the band-
width of the divider, and the bandwidth of most dividers
decreases with decreases in divisor voltage. This means
that the bandwidth of the AGC will decrease with input
signal voltages.
As an example, with a divider's 3dB bandwidth specified
for 400kHz at a IOV divisor voltage, the bandwidth will
be, as a rule of thumb, 40kHzat a I V divisor voltage and
4kHz at a 100mV divisor voltage. With these specifica-
tions, a 40d B AGC circuit will operate over a 40dB signal
range only up to 4kHz and over a 20dB range up to
FIGURE 10. A Natural Application. Direct n:adouts in pera:ntage or such
40kHz. Although it can function up to 400kHz, the cir- parameters as efficiency. distortion, gain/loss. and error are easily obtained
cuit will have no practical tracking range at those fre- by connecting 84214 in a configuration that provides an output of IV = 1%
with deviations measured up to ± 10%.
quencies.
The bandwidth of the AGC circuit can be expanded by
cascading two or more dividers in the feedback loop
(Figure 9b). For the 40dB example, each of the dividers
operates actually over 40/ n dB, where n is the number of
dividers cascaded. The bandwidth of the AGC circuit will R.'•..•ncn:
I. Y.J. Wong and W.E. Otto "Function Circuits: Design and Applications."
thus be increased by n times, but will, of course, never McGraw-Hili. New York. 1976.
exceed the divider's maximum bandwidth of 400kHz. 2. J.G. Graeme. "Designing with Operation Amplifiers: Applications Alternatives."
McGraw-Hili. New York. 1977.
The cascading technique will also increase the tracking
range of the AGC circuit by n times; that js, two 40dB
dividers will yield an SOdB AGC circuit. AC coupling at
the output of each divider is recommended to eliminate
unwanted divider offset voltages.
TAKING RATIOS
For ratiometric applications, a divider naturally comes to
mind. Percentage measurement:
Vo= lOO(V, - V,)/V,
isjust another version of ratiometric measurement, but it
requires a divider with differential numerator inputs and
CREATE COMPLEX NONLINEAR TRANSFER FUNCTIONS
WITH A MULTIFUNCTION CONVERTER
KT @
q
3000K
is approximately
= 26 mY, Vbe corresponding to a diode drop
600 mY.
~
SQUARE
h7w:t.:r.
E
in
2
_ ••••-----
_
Ein
2
E
-----
=
S~~~~E
JEin 2
rm.
rms
4 6
Yx
FIGURE 5. RMS to DC Converter Using Multifunction Circuit. FIGURE 6a. Exponentiator Transfer Characteristics for(v~)m.
The implicit solution yields an output of
This too can be a useful circuit if linearizations with nega-
_Ein2. . tive slope are required. These two examples illustrate just
Erms --- solvmg for Erms.
Erms some of the multitude of transfer functions that can be
obtained with the multifunction circuit. If more than one
of the three inputs are used as variables the possibilities are
Erms =J Ein2
endless.
The averaging time constant is determined by the choice of The ability of the exponent, m, to assume nonintegral values
R & C in the lowpass f11ter. This time constant determines contributes to the versatility of the multifunction circuit.
the lowest frequency ofEin that the unit will convert to DC. A nonintegral exponent can be very helpful in linearizing
Of course, the unit will respond correctly to a DC input transducer transfer functions. The multifunction circuit
voltage. provides a much smoother linearization than a diode break-
EXPONENTIATION point generator (piecewise linear method) because it has no
discontinuities.
As mentioned earlier, the exponent m may be continuously
varied from 0.2 to 5. This parameter allows use of the
multifunction in linearization circuits that require correction The nonintegral exponent is also very useful in approxima-
I ting trigonometric functions such as sine, cosine and arc
factors such as Vzm or (V x)m. Figure 6 shows the transfer
tangent. A Taylor's series expansion of an arbitrary func-
tion is
characteristics when using the multifunction in the Vzm 2 n -I I
mode. f(x)=f(o)+xr'(o)+4:('(o)+'" +(x _ ),fn- (0).
2! n I .
For sine, cosine and arc tangent this is:
.
smx=x-- x3 + -x5 __x7 +
3! 5! 7!
x2 x4 x6
cos x = I -- + - -_ +
2! 4! 6!
tan-I x=~_.!..+..! -2. r ••• forx> I
2 x 3x3 5x5
. x2.827 Log
SInx=x---- Ratio
6.28
x1.504
cos x = 1+ 0.2325 x ---
1.445
1.2125
tan-I x = x (900)
l+x1.2125
~---------- Multifunction I
V02=VI2+V22
V02_V22=VI2
(V 0 - V2)(V 0 + V2) = V 12
2
VI
V +V2=--
o Vo-V2
VI2 ( )
Vz =t(-Ez +10), Vx = ~ (-Ex +10), Vy = i (-Ey +10).
VO=Vo_V2-V2 =/VI2+V22
Eo = vy('ti;t =-t( -Ey + 1O)[t( -Ez +10)] m
This final equation is in a form suitable for the multifunction ~(-Ex +10)
circuit to process. This circuit can be implemented as shown Eo=(lO-Ey) 10-Ez m
in the simplified diagram of Figure 9. [ 10-Ex ]
Ey, Ex, Ez can now be any value between +10 V and -10 V.
Vt2
As an example, a four-quadranl multiplier such that V 0 =
Vz MULTIFUNCTION VO-V2
Vx CIRCUIT
Ez Ey can be implemented. (Ez and Ey anywhere between
10
Vy Burr.Brown 4302 +10 V and -IOV.)
E = (10 _ E )( 10 -Ez)m
o y 10 -Ex
With Ex grounded and m = I, we have
Eo (10 _ E )( 10 - Ez) = 100 - 10 Ey - 10 Ez + Ey Ez
V 2 y
VO=JV12+V22=V~_V2 -V2
10 10
Eo = Ez Ey +10 -Ey -Ez
10
E E = Eo -10 + E + E
V 0 = ..!:.....!.
LOG AMP y z
10
The multifunction will perform as a log amp with these typ-
This can be implemented by adding an additional op amp
ical specifications:
at the output of the circuits shown in Figure 10. This op
amp circuit would simply implement the above equation
Voltage (4 decades) + 1 mV to +10 mV (see Figure 11).
Current (5 decades) +10 nA to +0.1 mA
Eo
As mentioned previously, the temperature stability is not
compensated in this mode of operation. If operated in a -IOV
V.
•
-10v0c
1+
R,
~(~)m I
R,
-IOVOC m
1000n
R, ~(~r
'. = 2., _
'+
'O(.,/5I
(.,I5Im
R, I
lOIln •• = -v.
l+~(~r
R, I
•• =10 ~
1 + (.,/5Im
m=5
11=3
•• =10 ~
1+ ••,I5Im
.=1
1I=0.li
.=0.2
/
;" .... -- .••..,,
, "
I 10
'" I.........•
= 10 ~ - D.87.,
,_ •••• " • 1 + (.,151'
_!!. y"
R,
Io=
'+ ~(~)m R, I
The program seeks a solution by iterating both m and b sation circuit is of the Figure 4a type, and the parameter
using an iteration factor which is gradually reduced as a finding program is set for a type 2 equation. Running the
minima in error is approached. Since the program may program finds the compensating transfer response to be
converge on more than one minima, the starting value eA)1.27
for b can be stepped through a range of values. The eo = 1.621 eA - 6.214 ( 10
starting b value producing the best solution is saved and
repeated in the final pass, and execution halts with the Residual nonlinearity calculated by the program would
results. The error indicated in the final display is the be 12m V or 0.12% of the JOV full scale, as compared to
deviation from the desired straight line response. the initial 5.5% nonlinearity. This reduced level of error
The program prompts for all required inputs. A starting, is compatible with the accuracy attainable in practice
ending, and step value for b is chosen. Parameter c is with the multifunction converter.
chosen by the user in order to ensure accuracy-preserving
larger values in the multifunction converter denomina-
T("C) .,(mV) •• (V)* eo (V)** Error (mV)
tor. Full scale inputs of IOV lead to greatest accuracy,
40 1.611 .772 1.011 11
making c = 10 an appropriate choice. An initial guess is 1.996 -2
80 3.357 1.809
supplied for the constant m. 120 5.227 2.504 2.969 -11
160 7.207 3.453 3.966 -12
The input voltage data is written into lines 40 through 4.450 4.991 -9
200 9.266
130 of the program to facilitate easy rerunning. The data 240 11.456 5.490 5.996 -2
in the listing is for the example given in Figure 10. These 280 13.707 6.568 7.003 3
320 16.030 7.661 6.006 6
lines should be changed to your input data points after 18.420 9.005
360 8.827 5
trying the sample data. Depending on the nature of the 400 20.669 10.000 9.998 -4
data analyzed, convergence may be smooth and fast, or -8 .•. = 479.2 e,. --eo = 1.621e .•. - 6.214(eJ10f.l'1
perhaps somewhat difficult to achieve. In any event,
some human intervention may be required to select the
best range and step size for b and initial guess for m. A
few runs from different starting points will help verify
that a good solution has been achieved. REFERENCES
As an example, consider the task of linearizing the I. G.A. and T.M. Korn, Electronic Analog and Hybrid
response for a type T thermocouple. Shown in Figure 10 Computers, McGraw-Hill, 1964.
is the thermocouple output voltage CT for ten equally
2. Y. J. Wong, W.E. Ott, Function Circuits-Design
spaced temperature increments away from zero. It is
and Applications, McGraw-Hill, 1976.
assumed that a preamp would be used to boost this out-
put to eA and that its gain is set for a IOV full scale 3. J. Graeme, Designing With Operational Amplifiers,
output. Examination of the data points reveals a down- McGraw-Hill, 1977.
ward bow so linearization can be achieved by processing 4. J. Graeme, "Circuit Provides A Gaussian Response
the signal through a response having an upward bow, With A Multifunction Converter and Op-Amp," Elec-
like that found in Figure 4b. So the appropriate compen- tronic Design 6, March IS, 1977.
10MHz ANALOG MULTIPLIER CARRIES OUTPUT AMP,
BREAKS BANDWIDTH BARRIER
A transconductance multiplier chip, the first one fitted with an output
amplifier, alleviates design worries in high-bandwidth communication circuits.
No monolithic solution has ever existed for wide band good as its linearity, accuracy, and stability. Here lin-
analog multiplication. Beyond a IMHz bandwidth, multi- earity and accuracy depend on the transconductance
plier chips usually need external amplifiers and biasing, core, and more specifically, on how precisely the base-to-
and many cannot deliver their promised accuracy and emitter voltages of its six transistors match. To maximize
performance without external trimming components. linearity, the transistors are diagonally coupled (cross-
Those burdens have largely kept single-chip multipliers coupled) on the die and then laser-trimmed.
out of communication applications. Mixer circuits, for Maintaining a constant scale factor over temperature
example, have instead relied on signal-diode rings. even requires stable bias current in the core. A built-in
though those rings bring their own performance draw- bandgap reference keeps' the scale factor's temperature
backs. including poor low-frequency response and narrow coefficient within 30ppm/oC over a temperature range of
frequency and power ranges. -55°C to + 125°C. Nevertheless, the scale factor can be
With the arrival of the M PY634 multipliers, wideband adjusted over the range of IOV to 3V by connecting a
analog multiplication need no longer be a multichip resistor from the negative supply to the Scale Factor
affair or imply performance compromises. Along with Adjust pin.
its 10M Hz small-signal bandwidth, the four-quadrant As with an op amp, the multiplier's open-loop equation
chip has a laser-trimmed DC accuracy of 0.25%, an offers insight into the chip's operation, as well as into its
adjustable scale factor. and the ability to drive loads constraints. The open-loop equation is:
down to 2kn.
(XI - X,)(YI - Y,) ]
In addition. because it has three instead of two differential VOUT = A [ ------- - (ZI - Z,)
input pairs. the chip can divide. square. and find square SF
roots. Those functions make it, in effect, a multifunction where VOUT is the output voltage; A is the output
converter. As a result. adding just a few components amplifier's open-loop gain and is assumed to be infinite;
creates any number of analog processors, including a XN• YN• and ZN are input voltages; and SF is the scale
voltage-controlled filter or a mixer. factor, which is nominally IOV.
The chip unites three voltage-to-current input converters, For stability, feedback is applied to one or more inputs.
a transconductance core, a highly stable voltage reference, (However, when feedback involves more than one input.
and a high-gain output amplifier (Figure I). The three designers must take care that the overall feedback does
converters can be viewed as differential amplifiers with not become positive.) Since the gain is always positive.
an extremely low transconductance, the benefits of inputs that receive feedback become dependent on the
which are a IOMO input impedance and a 20V/ p's slew output voltage. Thus, the behavior of the circuit can be
rate. Moreover. the converters' input voltages can be predicted by substituting VOUT (or its function) for the
differential or single-ended; in the latter case, the second appropriate input voltage.
input can be used to nullify offsets .• For example, in a basic multiplier with single-ended
inputs and no offset, X" Y" and Z, all equal zero.
HAVING THE DRIVE Feedback enters directly through the ZI input. Because
The differential outputs of the converters drive the converter Z drives the output amplifier's inverting input,
transconductance core, which actually performs the mult- the feedback is negative and the output voltage is given
iplication. The output of the core. a differential current, by:
produces a voltage across a resistive load that feeds a VOUT = A (XIYI/SF - VOUT)
high-gain. high-bandwidth amplifier. For multiplication, When A approaches infinity the equation gives:
the output of the amplifier is fed back to converter Z;
VOUT = XI YI/SF
other mathematical operations are set up by different
feedback connections. Applying the feedback through a voltage divider increases
the overall gain. For example, if a 10:I attenuator makes
Like any mathematical circuit, the multiplier is only as
--!.:c-
- Voltage-
to-Current
,
Converter X
~
Transconductance
-
~
Ixly
~ VOUT
- Voltage-
to-Current
--..!:::...
...!!.-
Core
/
- ,
Converter Y
- Voltage-
- to-Current
Converter Z
- I +v
I
Bandgap Reference
Generator I
I
_ -v
FIGURE I. The MPY634 multiplier chip is the first to break the IMHz barrier without the external wide band amplifier, making it a
suitable alternative to diode mixers. It combines three voltage-la-current converters, a transconductance core, a voltage reference, and an
output amplifier.
Applying the feedback through a voltage divider increases falls to zero or goes negative, the feedback around the
the overall gain. For example, if a 10:1 attenuator makes filter chip is lost and the circuit becomes unstable.
Z, equal O.IVouT, as gain becomes infinite the open-loop With 0.1% resistors, the filter holds its full-scale frequency
equation beeomes: to 2% over a 10:1 range of control. Moreover, no
VOUT= IOX,Y,/SF external trimming adjustments are required, unless
To make a divider circuit, single-ended inputs X" Y accuracy must be raised even further (in which case the
and Z, are grounded. The feedback is applied to Y, so " input offsets can be nulled by trimming). The bandpass
that it is negative for positive values of XI. However, if and cutoff frequencies drift no more than ±50ppm/oC
X, is negative, then Y, is grounded and the feedback is over -55°C to + 125°C. At a full-scale frequency of
applied to V,. In either case, the open-loop equation is: 25kHz, the wideband noise is typically less than 160pV.
The output swing can go as high as 20V p-p, yielding a
-A [ (X,) (-VOUT) ] dynamic range of 96dB.
VOUT- ----- - Z,
SF
Limits on the slew rate of the amplifiers inside the
As gain approaches infinity, VouT,becomes Z,/ X I SF. universal active filter restrict the input amplitude and Q.
The scope of the multiplier chip becomes apparent in a First, since the filter's internal amplifiers handle a maxi-
highly accurate voltage-controlled filter. Two multiplier mum slew rate of 6V/ ps, the full power bandwidth
chips, a universal active filter chip, four resistors, and six (IOVpk) is 100kHz compared with the small-signal band-
bypass capacitors team up to form a second-order filter width of 200kHz. As a result, the input voltage should be
with high-pass, low-pass, and bandpass outputs (Figure limited to 20V p-p below 50kHz and 2V p-p between 50
2). The multipliers act like li~ear voltage-controlled and 100kHz. Above that, the maximum input voltage is
resistors that set the filter's center frequency and thus the determined by the formula fe/50,OOO, where fe is the
cutoff frequency of the high- and low-pass outputs. filter's cutoff frequency. Second, a high Q can make
Although the active filter chip allows a compact imple- internal voltages larger than the input swing. Thus the
mentation for bandwidths up to 200kHz and a Q of up maximum Q is below 4kHz and fe/20,OOO above 4kHz.
to 500, the bandwidth can be el\tended to IMHz by The high performance of this voltage-controlled oscillator
implementing the filter with discrete op amps instead. justifies the use of the multiplier and the universal active
Precision 1% resistors ensure accurate values for the full- filter. Though a switched-capacitor filter and a voltage-
scale center frequency and for Q. Two such resistors, controlled oscillator represent an easier and less costly
between each multiplier's output and the filter chip, alternative, the arrangement's 75dB dynamic range and
determine the full-scale frequency, which is the center 30kHz upper frequency fall far short of the multiplier-
frequency of the bandpass for a IOV control voltage. In based configuration. Moreover, the switched-capacitor
operation, a control voltage drives both multipliers at approach suffers from clock feed through and aliasing,
once and must always be greater than OV. If the voltage which dictate additional filtering.
Universal
Active
Filter
FIGURE 2. A voltage-controlled second-order filter revolves around two l)1ultiplier chips and a UAF21 universal active filter. The
multipliers act as linear voltage-controlled resistors that vary the center and cutoff frequencies of the active filier chip. Bandwidths up to
200kHz and Q values up to 500 can be attained with just a handful of components.
Since this transconductance multiplier needs no external son resistor can be shunted across the input to match
circuitry to attain its wide bandwidth, it is a particularly impedances. The output is insensitive to load impedances
good choice for building low-cost mixer circuits (see greater than 2kn and less than 1000pF.
"Strike up the Bandwidth''). Mixers form the heart of Transconductance mixers exhibit better linearity than
heterodyning, which is used for modulating and demod- typical double-balanced diode mixers (see the table).
ulating signal amplitude. The input voltage to diode mixers is applied directly to
A ring-diode circuit, one of the most common types of the diode junction, so that the region of linear operation
mixers, performs well at high frequencies but suffers is small. Any nonlinearity causes harmonic distortion
numerous limitations. For instance, since the diodes in and feed through, which adversely affect almost all speci-
the ring must be biased, transformers must be coupled at fications. In addition, it generates spurious carriers,
the mixer's input and sometimes at the output. Unfortu- intermodulation distortion, and increased feed through.
nately, transformer coupling precludes low-frequency Within the transconductance mixer, the input voltage is
operation. The low-end frequency of most diode mixers converted into a current before being applied to the core,
is limited to several hundred kilohertz, preventing them affording a much wider range of linear operation.
from modulating rf signals directly with audio signals. One mixing application combines a 1kHz low-pass filter
On the other hand, the transconductance mixer is directly with a 5MHz local oscillator to create a bandpass filter
coupled and thus can modulate audio signals directly with an extremely high Q of 5000-normally an imprac-
onto an rf carrier. For example, the amplitude of a tical if not impossible achievement. In a passive network,
IOMHz carrier can be modulated simply by.applying an reaching that Q would necessitate many poles, which are
audio signal to the X input of the multiplier chip and difficult and costly to tune. In addition, a typical active
feeding the output of a IOMHz local oscillator to the Y circuit version would require expensive op amps with
input. high gain-bandwidth products.
A ring-diode mixer also requires a-resistive impedance, The input signal is first multiplied by the local oscillator
usually son, at its input and output ports. A reactive and then sent through the low-pass filter (Figure 3).
impedance can severely degrade performance. The trans- Since the filter has a 1kHz bandwidth, it passes all
conductance mixer, in contrast, is relatively insensitive incoming components between the local oscillator fre-
to I/O impedances. At low frequencies, its input imped- quency and 1kHz above it. The filter's output is then
ance is IOMn and, at about IMHz, that starts to drop reconverted into the original frequency by multiplying it
off, falling to a low of 25kn at IOMHz. If required, a by the local oscillator output. An image frequency is
The mixer circuit can also be adopted for phase detectors;
6-la
IAI te~ IAI te!
the designer need only connect a low-pass filter to the
multiplier chip's output (Figure 4). The configuration
follows the principle .that the product of two signals of
equal frequency contains a DC component,
component is proportional
and that
to the cosine of the angle
between the sign!!ls.
Low-Pass
Filter
(we « 2w) 1/2 cos (</»
Multiplier Chip
Typical Double-Balanced
Specification Diode Mixer DC toO.5MHz 0.5 to 10MHz
Carrier Feedthrough 25dS SOdS 40dS
Isolation: RF Input to Local Oscillator 40dS SOdS 40dS
Local Oscillator to Mixer 30dS SOdS 40dS
RF Input to Mixer 25dS SOdS 35dS
Third-Order Intermodulation Intercept 1V rms 50V rms 2V rms
Frequency Range Several kHz to several GHz' DC to 10MHz DCto 10MHz
STRIKE UP THE BANDWIDTH
The limited bandwidth of transconductance multipliers like a direct load to voltage-to-current converter Z and
is customarily attributed to the output amplifier. to the core. Since the core is transparent to converters
Though the bandwidth of the MPY634 multiplier chip X and Y. they see GmOl'r as the direct load. Moreover,
can be kept to 50M Hz by the core transistors, the because GmOl"r represents the load impedance for all
output amplifier slashes that figure to IMHz. The the converters, the wideband gain is GmouT/Gml~,
drop is caused by interaction between the core's For GmOlT/Gm,,, to remain constant over a broad
output resistance and the large Miller capacitance at frequency range, the RC time constants of both trans-
the amplifier's input, creating a pole at about IMHz. conductances must be within 100% of each other.
Designers have usually compensated for that inter- Fortunately, with worst-case process and temperature
action by making the output amplifier's -3dB cutoff variations, the match between the RC time constants
frequency occur at or before the pole. However, the can be held to within 20%.
new chip shifts out that pole in frequency, so that the In this multiplier chip, a reactive element of the input
gain can be sustained far beyond IM Hz. Keeping the stage keeps the transconductance ratio constant. The
gain constant. however, mandates an unchanging ratio element, a small nitride capacitor, parallels the norm-
of transconductances in the output and input amplifier ally high resistance Gm,~. In fact, this purely resistive
stages. To keep the ratio constant over a wide band, transconductance causes GmOl'T to limit (he ban.dwidth
the input stage's transconductance, Gm"" must decrease in the first place.
at the same rate that the output transconductance,
The resistive portions comprise thin-film resistors that
GmOITT,does for increasing frequency.
can be matched to within 1%. The capacitive portion
The gain of each input amplifier is the ratio of its load of GmOUTdepends mainly on the quiescent current of
impedance to the transconductance of the input ampli- the output amplifier's differential inputs. That current
fier stage (see the figure). Also, the overall transcon- is laser-trimmed to a known value. Consequently, only
ductance of the output stage is the output resistance of the absolute tolerance of the added nitride capacitor
the core plus the input capacitance and transconduc- determines the match between the capacitive portions
tance of the output amplifier. This lumped value looks of GmOliT and Gm,,,.
+
R,
~ 4-20mA
V,
62500
1562.50
FIG U RE I. The XTR 110current transmitter contains three main functional blocks: a IOV reference circuit and two operational amplifiers.
The extra transistor, which keeps power dissipation away from the chip, is the only external component needed for basic operation.
R"
lkO
Offset
Adjustment
R,
4~.9kO
Span
Adjustment
R,
100kO
A,
1/4 LM324)
+
FIGURE 5. Alterations to the support circuitry to the current transmitter allow it to accommodate actuators that require a bipolar current.
Resistors R, and R, feature low temperature coefficients and dissipate just O.2W continuously; R, and RIO, two JO-turn potentiometers,
afford great sensitivity.
some constant current from QI. Resistor R, in the those devices are connected to the amplifier's output.
transconductance amplifier should be selected to set the The collector currents of the transistors follow the ratio
current sink a bit high in anticipation of the adjusted of their emitter areas and emitter resistors with respect to
offset current sourced by·T1• If required, high-impedance the control transistor and its resistor.
buffer A. can be configured for gain.
The circuit includes both offset and span adjustment
circuitry to compensate for the 1% tolerance of the
resistors and the inherent offsets of the op amps. Span
..-.-
To Output Current Switches
4!1N 2 hN 1lN
Small variations in the current transmitter's output single potentiometer can adjust the current transmitter's
permit gain to be adjusted accurately, and large variations output current. The potentiometer should be connected
can be used for digital multiplication. If a system calls between the + JOy reference and ground, with its slider
only for the converters' full-scale outputs to be set, a to the Y REF In pin.
THE CARE AND FEEDING OF CURRENT transmitter chip could not draw current from the
TRANSMITTERS MOSFET, and no voltage would develop across the
Getting the most out of the XTRlJO current trans- load resistor. Although that cautionary measure
mitter is as simple as following a few basic rules. may seem self-evident, designers sometimes inad-
First and foremost, designers should pay close atten- vertently overlook the return path if the load resistor
tion to the way that output current affects system already terminates in a local ground. In any case, the
ground, since the flow of current can modulate ground for the receiving circuitry should be con-
individual circuit grounds. nected-directly or indirectly-to the current trans-
A floating ground may be of no consequence if all mitter's ground.
the signals of interest are relative to local ground. The voltage at the output of the current transmitter
For example, if the signal from a resistance-temp- (that is, the drain of the MOSFET) is not critical.
erature detector or a thermocouple is amplified at For example, the current could return to a negative
the same site as the current transmitter, no confusion supply without affecting the circuit's linearity or
exists over the integrity of the ground. On the other accuracy. The positive compliance voltage must be
hand, if a host controller drives the current trans- 2Y lower than the current transmitter's positive
mitter from many feet away, the designer must supply, plus the IR drop from the drain-to-source
consider errors induced by tPI: drop in ground. Any on-resistance of the MOSFET. The breakdown
path that current takes from one point to another voltage of the MOSFET determines the negative
should have a return path as well; otherwise the compliance voltage.
TWO-WIRE TRANSMITTER PROMOTES
PAINLESS PROCESS CONTROL
Faced with low signal amplitudes and high electrical noise, control and
data acquisition system designers need all the help they can get.
Lending a hand is a small monolithic that resists noise and reduces cost.
Pity the process-control designer: he is charged with from the minimum input signal of 4mA. Even current-
delivering miniscule signals reliably through hostile envi- induced errors are suppressed by using the simple
ronments over long distances. and as always, he is asked' twisted-wire pair.
to do it as simply and as cheaply as possible. Fortunately, In operation, amplifiers A, and A, act together as an
the'se demands, though not tdvial, can be met. instrumentation amplifier controlling a current source,
A crucial link in the chain of components that forms the AJ and Q, (see Figure I). An internal feedback loop,
solution is the signal transmitter. It influences the completed by an external resistor, sets the operating
number of transmission lines, the transmission type, and point. I nput voltage e" applied to pin 3, appears at pin 5;
ultimately, the system's overall noise immunity. and e" applied to pin 4, appears at pin 6. Thus the current
Among the better choices for this part is a current-mode in the spanning resistor, Rs, is Is = (e,-e,)/ Rs = e;./ Rs,
two-wire signal transmitter that, as its name implies, where e;. is the input voltage differential. This current is
connects the ends of a transmission system with a single added to internal current IJ; and the sum, I" controls h,
pair of twisted wires. Both signal and power travel which is set to be 19.times greater.
together, avoiding exotic, expensive transmission cable In a 4mA to 20m A current loop, the output current's
(see "The Transmission System Choices"). lower limit of 4mA occurs when ei. = e, - e, = OV. The
What's more, a recent two-wire transmitter implemented components of the 4mA current are a 2mA quiescent
as a monolithic circuit represents a breakthrough in current driving into pin 7 and 2mA drawn from both of
performance. The XTRIOI gives designers a small, the current sources.
inexpensive signal conditioner that converts low level The upper limit of the output current, 20mA, is set by
signals into a standard 4mA to 20mA output. Not only properly selecting Rs, based on the upper limit of em. In
does it amplify small signals, but it also provides excita- this case, Rs is chosen to give a 16mA output current
tion for strain-gauge bridges, RTDs (resistance tempera- span, or [(0.016mA/mV) + (40/Rs)] e,.(full scale) =
ture detectors), and thermistors. And it does so with l6mA. Also, since the output current, lout is unipolar, e,
12-bit accuracy between -40°C and +85°C, with loop must always be larger than e,; and to keep lout at 20mA
voltages of 11.6VDC to 40VDC. The package is small or less, e,. must be less than IV when Rs = oon and
enough (0.7" by 0.3" by 0.15") to fit inside many trans- proportionately less as Rs is reduced.
ducer packages. The majority of the 16mA current can be off-loaded to
Placing the XTRIOI near the sensor reduces errors in a an external transistor as shown in Figure I. In this way
hostile electrical environment and also minimizes the the self-heating of the XTRIOI is dramatically reduced
need for expensive shielded sensor wire. for a factor of 25 less self-induced thermal drift.
Finally, because a current level instead of a voltage level One purpose of the XTRIOl's self-contained dual current
is used, the transmitted signal is unaffected by noise sources is to simplify temperature measurements. Con-
voltages or contact potentials. Current-mode transmis- sider one application in which a platinum RTD with a
sion also eliminates crosstalk even when wires are resistance of lOon at O°C and 200n at 266°C is needed to
bundled together, and high-signal-level transmission transmit 4mA at 25°C and 20mA at 150°C (Figure 2).
means inexpensive unshielded copper wire can be used. Here the RTD is excited with one of the ImA current
Also, by transmitting current instead of a voltage, the sources, while the other source is used for zero sup-
voltage drops caused by line resistance do not cause pression, an input biasing technique.
measurement errors. The 4mA minimum current, which
is necessary to supply power to the XTRIOI and power the USING THE CURRENT SOURCES
two excitation I mA current sources, has the added To start, feedback resistor Rs is picked so that the
benefit that a broken line (OmA) can be distinguished intended temperature span produces a full scale current
5
r---------r -------------- --------.,
~ I PRECISION
1.251<0 1.251<0 INSTRUMENTATION I
AMPLIFIER I
I
+VCC I
- I,
'In
+ ••
swing. First, the senSItivity of the RTD, ill R~ T, is The equation for Rs is obtained by differentiating the
defined as 10001 266°C. Thus. when excited with almA transfer function to obtain the change in the load current,
current source and exposed to a 25°e to 1500e temper- IL, divided by the change in e;n; in other words tile/ ile;n,
ature range, the span of e", will be and then solving for Rs. That is:
ImA X (I000/266°C) X 125°e = 47mV
Rs = 40
(illo",/ ile;n) - (0.16mA/mV)
= 109.4mV
Since R. is excited by the second ImA current source,
FIGURE 2. In applying the XTRJOI in a temperature-measuring circuit,
the operating point is fixed by the span resistance, Rs, a zero-suppression R.= 109.4mVjlmA
voltage across R •. an input biasing voltage across Rl• and of course the = 109.40
resistance of the RTD.
In applying the XTRIOI, it is both convenient and helpful
to think of it is a single-supply instrumentation amplifier
where pin 7 is ground and pin S is Vcc. As with any Since IL should span 16mA (4mA to 20mA) when e;n
single-supply amplifier, the input voltages must be biased changes 5SmV (for a ooe to lOOOoe temperature range),
with a common-mode voltage to keep the input transis- Rs is calculated to be 123.30.
tors operating linearly. In the case of the XTRlOl, biasing
requires that pins 3 and 4 be kept between 4V and 6V
above pin 7. That is done by having both current sources COLD JUNCTION COMPENSATION
flow through a resistor, R2, located between pin 7 and the Remember, thermocouples produce a voltage propor-
inputs. Making R2 = 2.5kO produces a 5V drop. The tional to the difference in temperature between two
input voltages, with respect to pin 7, are then junctions. In the example just disc.ussed, one junction is
el = 5V + 0.1094V at the process itself and the other at the reference point,
e2 (min) = 5V + 0.1094.V (occurs at 25°C) where the thermocouple wire is connected to the signal
e2 (max) = 5V +0.1564V (occurs at 150°C) transmitter. To produce an input voltage' to the XTRIOI
that is proportional to the process temperature, it is
Thus the 4V to 6V requirement is met. necessary to create a voltage proportional to the temper-
If it is necessary to place the RTD a significant distance ature of the reference junction, whatever that may be.
from the transmitter, measurement errors due to the This technique of establishing a reference is called cold
resistance of the cable connecting the RTD to the junction compensation.
transmitter can result. In such a case, the dual current A practical way to compensate the thermocouple circuit
sources of the XTRIOI and a three-wire RTD connection is to create a known voltage in the thermocouple loop
'correct the problem (see Figure 3). Here, if RI = R2 that tracks the temperature of the reference junction.
(meaning identical wire lengths), and II = h, equal and Two common methods are with semiconductor diodes
opposite voltages (VI and V2) are produced in series with and with RTDs. When the former is chosen (see Figure
the RTD voltage, canceling the line resistance error. 4), the loop that forms eonruns from pin 3 to pin 4 and so
e;n = VTC+V4-V.
where VTCis the temperature-compensating voltage; V.
is created from the diode voltage, V D, which itself is a
function of the diode temperature; and V4 is in series
with VTC. A voltage divider consisting of Rs and R.
scales the diode voltage properly and places it in series
with the thermocouple voltage loop.
To accomplish that task, the voltage divider must meet
two criteria. First, it must make the gradient ~ V.I ~T
the same as the gradient of the thermocouple voltage
(52jJV/oe at 25°C-obtained from standard thermo-
couple tables). Second, the impedance level of the
divider must be much larger than the diode impedance
FlGURE 3. When a long line is needed to connect the RTD to the to prevent loading of the diode voltage.
transmitter, errors that might be introduced by line length are reduced by
using this three-wire connection to the transmitter. Here, line drops V I and For the first criterion,
V2 cancel out, since they produce equal voltages on both sides of the RTD. ~VTc/~T= ~V./~T
= ~VDI ~T [R./(Rs + R.)]
52jJv/oe = 2000jJV/oe [R./(Rs + R.)]
THERMOCOUPLE SIGNAL CONDITIONING
For the second criterion, Rs is chosen as 2kO and solving
The XTRIOI is well suited for thermocouples, the most
the last equation yields a value of 510 for R•.
popular temperature sensors. Its temperature range of
-40°C to +S5°e means that it can be placed close to the The purpose of V. is to set the process temperature
thermocouple, reducing the need for expensive thermo- corresponding to 4mA of output current, that is, to
couple extension wire, as noted. With the dual current determine which VTC will produce an e;n of O. For
references, the function of thermocouple compensation, convenience, V. = R. X I mA. Also, when the reference
burnout indication, and zero suppression and elevation junction is at 25°C and the process temperature is at ooe,
all are easily accomplished. eonshould be O.
A typical thermocouple application might involve a Transposing the terms of the equation for e;n gives
process temperature range of ooe to 10OO°C. A type J V. = e;n - VTC + V.
thermocouple produces a voltage span of 5Sm V for that so that with T2 = 25°C, V. = 600mV X (51/2051) =
temperature range and the thermocouple's sensitivity is 14.9mV. Also when TTc = ooe, VTC= -1.2SmV (from the
52jJ V 1°C at 25°C from standard thermocouple tables. To thermocouple tables). Then when e;n = 0, (4mA out), V.
find Rs, the span-setting, or gain-setting, resistor, recall = l6.ISmV and with a ImA current R. is calculated to be
that 16. ISO. What's more, varying R. achieves zero suppres-
- 40 sion and elevation as needed, with no interaction between
R s-
(~IL/ ~e;n) - (0.016mA/mV) zero and span adjustments.
r--------1 -lmA
I I
I RS I
: 2kn' I
I
I I
!;I ,;iI.
I I
REMOTE PROCESS
,..-----------,
I I
I I ) 51n I I
: I
: TC I
I _..II
I
I I
I PROCESS :
L.__ T~!~R~~U.!!~ __ J
REFERENCE
TEMPERATURE. T2
I
I
I
ICOLO JUNCTION) I
~-------------------------------_~
Thermocouples are frequently used in very hostile envi- burns out, it opens and its impedance becomes very large.
ronments such as hot, corrosive atmospheres, where they The input bias current flowing into the positive input (pin
often burn out. A convenient way to determine when 4) causes Ie to go to the value of its lower range limit,
burnout occurs is to force the two-wire transmitter about 3.8mA. If instead an up-scale indication is needed,
current beyond its normal range and detect an abnormal a circuit can be built so that when the thermocouple
condition using a limit or level detector. opens, the transmitter's output goes to its upper range
limit, about 38mA (see Figure 5).
DETECTING BURNOUT
With the XTRIOI, forcing the output above or below its BRIDGE TRANSDUCERS, TOO
range is done with the input bias currents and hence One of the most popular uses of two-wire transmitters is
requires no extra components. When the thermocouple in bridge circuits. These circuits include transducers for
r-----------------------------i
I
I
I
I
I
I
REMOTE PROCESS
I
,..---------, I
I
I
I
I
I
I I
I
I
I
I I r----
I PROCESS I I
L_~E~~~A2~:_J I II
II
RTO
1l1On
I
15/} I
I
II
IL ....• 2.5itn
I \ COLO.,JUNCTION
L ~~~~"- ..J
measuring pressure, load cells for measuring force and
weight, and strain gauges for measuring vibration and
acceleration. However, 4mA to 20mA two-wire trans- r------------- 2llOO FT.
: REIIOTEPROCWSITE :
mitters impose some special constraints on the selection l ATD I
of a bridge. Because only 4mA is available to power the I
I
I
transmitter and the bridge sensor, the current available I
Transducers and computers don't speak the same The input transducer in this case produces low level
language. So a data converter must translate the analog voltage outputs. Before the signals can be processed, they
signal from a transducer into a digital signal. To apply must be converted by an analog-to-digital (AI D)
data conversion, you must look at not only the type of converter. Since there is more than one input, multiple
data converter and its specifications, but also the type of AIDs must be used or all inputs must go through a
transducer, the converter support circuitry and the multiplexer switch into one AID converter. Presently,
method of interfacing the converter to your computer. the least expensive and most accepted method is to
multiplex several inputs into one AID converter. Since
TAKE A LOOK AT THE TRANSDUCER converters require inputs of several volts, a differential
instrumentation amplifier must amplify the low level
Temperature, pressure, flow, level, position and other
signals.
physical parameters must be translated before they can
be handled digitally. The electrical signals produced can Digital output signals from the computer are converted
range from small to large voltages or currents. by a DI A (digital-to-analog) converter. The computer
output then becomes a control signal. Electrically
Fortunately, the electrical signals produced by most
operated fuel and mixture valves are adjusted through
transducers fall into three major categories: high level
voltage setpoint inputs. And high level voltage inputs
voltage, low level voltage and current. High level voltages
drive the strip chart recorders as well.
generally range from zero to several volts, typically not
more than 10. Low level voltages range from zero to a few
tens of millivolts. Most current transducers use the
following ranges: 0-20mA, 4-20mA or lo-SOmA.
It's possible to design an analog interface to match all
these levels in one system, but it's unnecessary - especially
for microcomputers. Typically, a microcomputer system
is responsible only for a few similar types of transducers.
The microcomputer system may interface to a larger
central computer that monitors a number of
microcomputer loops, but the analog interface is needed
only at the microcomputer level.
The types and number of tranducers interfacing to the
microcomputer will dictate the analog interface needed.
Take, for example, a microcomputer system that
monitors and controls a combustion boiler (Figure I).
Inputs come from flame temperature sensors,-effluent gas AGURE 1. A microcomputer monitors and controll.combustion boiler.lnpuu
analyzers and fuel flowmeters. Computer outputs control from flame temperature tn.nsducers. effluent pi analyzers aDd fuel flow meten
fuel and oxygen, and also drive a small strip chart are monitored by tbe miQ'OO)mputer. Using the inputs to compute the control
algorithm. it adjusts the valves controlling fuel and oxygen and also drives a small
recorder to record the burner's operation. strip chart recorder.
INTERFACING A THERMOCOUPLE CONVERTER SHOULD MATCH THE
TO A MICROCOMPUTER TRANSDUCER
Interfacing a thermocouple to a microcomputer is not Once you know the transducer outputs, you can look at
just a matter of hardware; it also requires software. In this the interface components. To specify the appropriate
example, we interface a thermocouple using an ice point component for your application, you must understand
reference junction (32°F) to an Intel SBC80/10 single- the basic characteristics of the components and what the
board microcomputer. The interface is a Burr-Brown specifications mean (see Figure 2).
analog I I 0 system with 8 differential (or 16 single-ended) First, let's look at the D I A converters, which are typically
inputs. Because the thermocouple converts the matched with high level voltage signals. With DI A
temperature to a low level voltage, we use one differential converters, digital data is applied to a binary or BCD
input. The instrumentation amplifier on the I I 0 board is (binary coded decimal) weighted resistor network so that
set for 1000. In this case, the Burr-Brown interface is the each resistor selectively draws current from a precision
type that forces the processor to wait during conversion. voltage source. The currents are su'mmed to produce a
total current flow proportional to the digital data. The
current itself can be considered the converter's output
and converted with several operational amplifiers to
produce either a 4-20mA output or a voltage output.
The key specifications to look at for the D 1A converter
are: resolution, monotonicity, and linearity.
('tIO
CHI Clock Out
Sk Serial Out
CHZ
CH3 r;mr
o
CH4
CH'
CH6
CH7
,. 12 Bit
MSBI
I
I
,
~
Analol
~:j~~
~~:
RTN2 CHIO
to
Dililal
I
I
I ..
<5
AS Short
Cycle
<5
l
Status
A'I
A(S Ext. Gain
< .= Adj.
AI
+'V
~
Load Enb. Oil. Gnd.
Strobe
Ana. Gnd.
~
Delay Adj. J
Delay Adj. 2
t t
~IGURE 2.. Convert~ng the analo~ signal ~o a digital signal usually requires more than an AID converter. Typically, analog signals are first multiplexed into an
instrumentation ampilfier that amplifiers the low level voltage signal into a high level voltage signal that can be converted. The sample and hold circuit then freezes the input
for the conversion process, which is performed by the AID converter.
AD-these operations are initiated by software although A better method relies on the processor's interrupt system
the wait period of settling time can be controlled by an to report the end of conversion. During the conversion
external timing circuit. Because software is so important time, other segments of the program can be executed
in the data conversion process, it's important to look at until the end-of-conversion signal pulls the interrupt line.
the way converters are connected to the computer. This Although this approach may appear efficient, caution
can affect the software program significantly. should be used when interfacing very fast A/D systems.
The overhead time associated with servicing the interrupt
COMPUTER INTERFACE AFFECTS THE may take the processor longer than the time required for
SOFTWARE the conversion. The net effect would be slower
throughput than if the processor were to constantly poll
From a software standpoint, it is usually easier to treat
for an end-of-conversion signal.
each analog channel as a separate address. Computers
can address a converter as either an I/O device or as part Another approach that overcomes the interrupt method's
of memory. In the case of the I/O address, the converter speed disadvantages is to connect the analog system so
is connected to the computer's I/O bus. The computer's the processor is placed in a wait state during the
I/O bus has a limited number of addresses, which a conversion. With some processors, it's possible to halt the
system of any complexity can quickly use up. If the processor mid-cycle to wait for the conversion. In this
converter is treated as memory, its address is mapped into way, the entire conversion process can be carried out
a memory address field. Besides the ability to handle during a single memory read instruction with the timing
more input channels, memory mapped I/O provides of the operation totally transparent to the programmer.
more flexible programming since there are many more Halting the processor during the conversion time
memory instructions than I/O type instructions with provides the highest throughput speed for programmed
a microcomputer. data transfers. It also reduces noise generated by the
In addition to deciding how to address a converter, users digital system.
must also consider how to handle the timing of the analog
conversions. Using the simplest method, the program, One drawback to this method is that the processor is
after starting the process, continually checks or polls for oblivious to any other outside event during the
an end-of-conversion signal to determine when the conversion. If a processor must respond to external
conversion is finished. This method, although simple, events faster than the given conversion time, then this
wastes processor time since the processor can't do method should not be used.
anything else but poD for an end-of-conversion signal
(Figure 3). . Still another method, if a block of channels must be
continually scanned, is direct memory access (DMA).
Although more complicated from a hardware
standpoint, this maximizes channel throughput with a
minimum of software.
DMA can take one of several forms, depending on the
processor. In one mode of operation, a segment of
memory can be continually updated by continuous
automatic operation of the analog system and the digital
data can be transferred between processor cycles. Only a
slight reduction in software execution speed will result
and the data can be fetched from memory without regard
to the operating details of the analog interface. With
another mode of operation, several channels are
processed and then an interrupt is generated to signal the
software that a block of data is available.
Although 14- and 16-bit AI D converters are providing possible and make the ground pattern as wide as possible
the high resolution needed in many demanding applica- to further reduce the impedance. A solution to the noise
tions, their circuits must· be built with special care if the problem is to use a ground plane, or shield, under the
devices are to achieve maximum accuracy. Circuit prob- converter. However, if there are changing ground cur-
lems that might cause only second- or third-order errors rents in the ground plane, the shield can behave like an
in 8-, 10-, and 12-bit converters can induce first-order antenna-increasing noise rather than decreasing it. The
errors in 14- and 16-bit devices. ground plane, therefore, should be connected only to the
The Burr-Brown model ADC76KG 16-bit AI D conver- analog ground pin of the converter. If it is not possible to
ter (see Figure I) has a maximum specified nonlinearity separate the AI D converter's grounds from the rest of
error of ±O.OO3% (l4-bit). In converters of this type, the circuit, the grounds can be bound together and tied
most layout problems result from poor grounding tech- to a point close to the supply return.
niques.
BYPASSING IS IMPORTANT
A good rule of thumb is to separate the grounds for the
converter's analog and digital circuits from the rest of Another important factor in maintaining converter accu-
the circuit and connect them to a low-impedance point racy is power-supply bypass (see Figure 2). Most conver-
near the power supply. The currents flowing into these ters are not affected by small, low frequency variations
grounds can change during the normal conversion pro- on the supply lines. However, as the frequency increases
cess, and if there is a high impedance in the ground line, -when a switching power supply is used, for example-
the changes in current can cause changes in voltage at more noise couples into the critical reference circuitry
the analog ground pin of the converter. Such changes inside the converter and induces errors. Even if well fil-
can increase the nonlinearity errors of the converter and tered power supplies are used, high frequency noise can
increase noise at critical transition points. still couple into these lines from such sources as system
clocks and address switching.
To avoid these problems, keep the ground traces' from
the converter to the power supply return as short as Large tantalum capacitors (lOIlF to lOOIlF), paralleled
with smaller ceramic capacitors, are effective in reducing
GAIN
ADJUST '10kClTO
10kCl TO l00kCl
l00kCl OFFSET
ADJUST ANALOG
COMMON
lpF -=
FIGURE I. This connection diagram for the Burr-Brown ADC76KG 16-bit AID converter must be translated into an
optimum circuit board layout to ensure specified performance.
SEPARATE ANALOG AND DIGITAL LINES
GROUND PLANE (UNDER AiD CONVERTER- The converter's analog-input lines can also be sources of
NO CURRENT FLOWING IN GROUND PLANE)
errors. These lines should be separated and shielded
+1SVDC
from the digital 110 lines. The coupling of high fre-
+SVDC quency digital signals into the analog lines by mutual, or
stray, capacitance can produce errors that are even more
GROUND significant than those caused by poor grounding.
-lSVDC A fraction of a picofarad of stray capacitance, for
instance, can cause 3V to 4V TTL signals with rise times
of 20ns to 30ns to induce glitches of several LSBs in the
·Other grounds Ire ··If peripheral devices have
brought to the conver- large changes in the ground
analog-input line (5k!l. to IOk!l. impedance). A low
ter. length of ground current (as in three-stale bus impedance shield between the TTL signal and the analog
pattern from the con- drivers, for instance), the
input line should be used to ground the noise signals.
vqrter to the power- ground connections from
supply return is kept to those devices should be The input impedance of a typical successive-approxima-
minimum. Bypasses made as close to the power
tion AI D converter is relatively low (5k!l. to IOk!l.), so a
8
FIGURE 3. A successive approximation AID converter can be driven with an external buffer amplifier (a). 'The
glitches at the output of the buffer (b) are caused by input-current modulation that occurs in the converter during the
conversion process.
LOW OUTPUT
IMPEDANCE
BUFFER
FIGURE 4. A simple two-transistor buffer-amplifier circuit (a) inside the feedback loop of the amplifier reduces the
output impedance at high frequencies without disturbing the circuit's overall DC transfer characteristics. As a result,
the output (b) is relatively clean and nearly free of spikes and glitches.
U sing digital techniques to reduce the effects of random in the number of conversions averaged. For example,
noise enables an efficient system design. The post· four 14-bit conversions will result in IS-bit resolution,
converter logic can be commanded to perform only as and sixteen l4-bit conversions will result in 16 bits.
much averaging as is necessary. For example, in a This technique, known as over-sampling, is effective for
multiple-channel system, high accuracy may be required increasing the resolution in AI D converter systems
on some channels, and high speed (with reduced accu- without sacrificing accuracy. It's most often used in
racy) may be needed on others. digital-audio applications but can be easily adapted to
Furthermore, the effective resolution of the system can many data acquisition tasks.
be increased by one bit for every factor-of-four increase
FIGURE S. A portion of the transfer FIGURE 6. The ADC7IKG with its FIGURE 7. A IOOpF capacitor,
function for an ADC7IKG converter conversion time slowed down to 9O~s added between the comparator input
with l4-bit resolution-operating at still displays some noise at transition and analog ground, reduces the band-
the specified maximum conversion points in the transfer function. width of the comparator and, hence,
"time of SO~s-shows inherent noise filters the signal at the critical deci-
at transition points. sion point and eliminates the noise.
ess, bipolar zero and bipolar gain are trimmed and tested.
PERFORMANCE
The result of this effort is a precision 16-bit part which channels by means of FET switches driven by signals
offers the convenience of fast serial loading and provides from the LSI circuit APTR AND APTL.
a fast settling voltage output with almost zero glitch Figure 4 illustrates another popular configuration which
energy. A shortened data sheet is shown in Table I. The provides separate DACs for both left and right channels.
input shift register will typically clock at up to 30M Hz In this example the NPC SM5804A digital filter is
and the output settles to within 0.006% in 1.51-'s. depicted with its separate left and right channel output
Pins 14 and 15 are brought out to facilitate external operating at X4 oversampling frequencies. In this exam-
adjustment of bit I. This feature allows the differential ple deglitching circuits are employed and the control sig-
linearity error at bipolar zero to be adjusted to zero, and nals are generated from the latch enable output, C04. To
is an attractive feature for the high end user. By bringing avoid a possible race, condition delays are required and
out pin 15 from the internal reference, tracking of the are provided by the inverters shown.
adjustment current over temperature is ensured. The If deglitching circuitry is not required - many manu-
suggested arrangemnt is illustrated in Figure I. facturers operate in this mode - the dely circuit may be
With this level of performance and convenience in a 16- dispensed with.
pin DIP, operating at a mere 175m W from ±5V supplies, In addition to digital audio applications, the perfor-
the part has already found wide acceptance among CD mance of this part is of great interest to some industrial
player manufactuers.
Serial input requires only three input connections be-
LatchEnable~
tween control circuit and DAC, which utilizes less space (C04 Delayed) ,
than the usual 16 inputs.
~
Oeglitcher Control --t t-Inverter
APPLICATIONS (CO'!) Delay
SM5804A PCM56P
The part is suitable for use in systems employing sepa-
SODA DATA
rate DACs for each channel and those with one DAC
multiplexed between channels. It will operate at up to
four times oversampling frequencies in either of the
above modes, and the glitch energy is small enough that
in many applications no deglitcher is required. Digital
feed through is minimal and the combined analog and
digital noise is typically less than 121-'V,m, in a 20kHz
bandwidth. Typical applications of the DAC detailing
the interface to some existing LSI control circuits are CLOCK
shown in Figures 3 and 4. Figure 3 shows the connec- L.E.
tions between the SONY SDX 1130Q control circuit,
PCM56, and the left and right channel integrate-and-
hold circuits. The CXD 1130Q operates at a clock fre-
quency of 4.23MHz and includes a X2 oversampling dig-
ital filter. The single serial output contains data which is
decoded by the DAC and multiplexed to the appropriate
users. Many users find they can live with the looser gain, Characterization is being carried out to assess the feasi-
offset, and drift parameters for the added convenience of bility of grading out parts with tighter gain, offset, and
serial input and the compact l6-pin DIP format. In addi- drift specifications. TRese parts will be slightly more
tion, because the part is sold in such large quantities to expensive, reflecting the extra test time, but will be much
the CD industry, the price is very attractive. closer to typical Burr-Brown industrial specifications.
SPECIFICATIONS
ELECTRICAL
MODEL PCM56P/·J/·K I
MIN I TYP MAX UNITS
INPUT
DIGITAL INPUT
Resolution 16 Bits
Digital InputsUl: Vo" +2.4 +V, V
V" 0 +0.8 V
I.", V1N = +2.7V +1.0 pA
1,1..VIN = +O.4V -50 pA
Input Clock Frequency 10.0 MHz
TRANSFER CHARACTERISTICS
ACCURACY
Gain Error ±2.0 %
Bipolar Zero Error ±30 mV
Differential Linearity Error ±O.OOl % of FSRI2)
Noise (rm!. 20Hz to 20kHz) at Bipolar Zero (VOUT models) 6 pV
MONOTONICITY 15 Bits
OUTPUT
0
Short CirCUIt Duration IndefInite to Common
Current Output Configuration:
Bipolar
Output
Range (±~)
Impedance (±30%)
I ±10
1.2
I mA
kO
ls1
POWER SUPPLY REQUIREMENTS
TEMPERATURE RANGE
Specification 0 +70 ·C
Operation -25 +70 ·C
Storage -60 +100 ·C
NOTES: (1) logic input levels are TTUCMOS-compatible. (2) FSR means full-scale range and is equivalent
to 6V (±3V) for PCM56 in the VOVl mode. (3) This is the combined drift error due to gain, offset, and linearity
over temperature. (4) Measured with an active clamp to provide a low impedance for approximately
200ns. (51 All specifications assume +Vs CDnnected to +VL and -'Vs connected to -VL• It supplies are
connected separately, - VL must not be more negative than -V, supply voltage to assure proper operation. No
similar restriction applies to the value of +VL with respect to +Vs.
Data acquisition and conversion systems are used to data sample which is converted into digital form by an
acquire analog signals from one or more sources and A/ D converter. The converted sample is then presented
convert these signals into digital form 'for analysis or at the output of the A/ D converter in parallel and serial
transmission by end devices such as digital computers, digital form for further processing by the end devices.
recorders, or communications networks. The analog
signal inputs to data acquisition systems are most often SYSTEM SAMPLING RATE - Error Considerations
generated from sensors and transducers which convert
The application and ultimate use of the converted data
real-world parameters such as pressure, temperature,
determines the required sampling and conversion rate of
stress or strain, flow, etc., into equivalent electrical
the data acquisition and conversion system. System
signals. The electrically equivalent signals then are
sampling rate is determined, as shown in Figure I. by the
converted by the data acquisition system and are then
highest bandwidth channel, the number of data channels
utilized by the end devices in digital form. The ability of
and the number of samples per cycle.
the electronic system to preserve signal accuracy and
integrity is the main measure of the quality of the system.
Aliasing Error
The basic components required for the acquisition and
conversion of analog signals into equivalent digital form From the Nyquist sampling theorem. a minimum of two
are the following: samples per cycle of the data bandwidth is required in an
ideal sampled data system to reproduce sampled data
I - Analog Multiplexer and Signal Conditioning
with no loss of information. Thus, the first consideration
2 - Sample/ Hold Amplifier
for determining system sampling rate is aliasing error,i.e.,
3 - Analog-to-Digital Converter
errors due to information being lost by not taking a
4 - Timing or Sequence Logic sufficient number of samples per cycle of signal
Typically, today's data acquisition systems contain all the frequency.
elements needed for data acquisition and conversion,
Figure 2 illustrates aliasing error caused from an
except perhaps, for input filtering and signal
insufficient number of samples per cycle of data
conditioning prior to analog multiplexing. The analog
bandwidth.
signals are time multiplexed by the analog multiplier; the
multiplexer output signal is then usually applied to a
How Many Samples per Cycle?
very-linear fast-settling differential amplifier and/ or to a
fast-settling low aperture sample/ hold. The sample/ hold The answer to this question depends on the allowable aver-
is programmed to acquire and hold each multiplexed age error tolerance, the method of reconstruction (if any),
Aliasing Error (not enough samples per frequency cycle -15 < 2f••••.•)
••
Highest
ti c
u;'"
-, -
Bandwidth
Oats Channel ••
c
:§l
m
o
Number
of
Channels ,
~
,
I
I
I
"','
r
I
-' '
I
!SamPlas I
I
I _ ••
.•••-;1. I~"- oJ
I
I
I
J,..~""
~ '\
I L.
~
Zero Order
Interpolation
First Order (Reconstruction
Interpolation Directly From a
Minimum (Reconstruction Using D/A Converter)
System Filter or Vector Generator)
Sampling
Rate
~"
The improvement in average accuracy of sampled data is ~
:;
0.1
1/2LSB of 10 Bits
u.
dramatic with only a slight increase in the number of sam-
ples per cycle as shown in Figure 4. The theoretical limit
~ 1/2LSB
1/2LSB
of
of
12 Bits
13 Bits
e 1/2LSB of 14 Bits
is the throughput accuracy of the acquisition and conver- w 1/2LSB of 16 Bits
sion system for continuous sampling. ~
~
t:
For zero order reconstruction of data, it can be seen from "«
Q.
Accuracy VFSR
Resolution = One LSB = -- , for binary AID converters
All analog values are presumed to exist at the input to the
2n
A/D converter. The A/D converter quantizes or encodes
specific values of the analog input into equivalent digital V
codes as an output. These digital codes have an inherant un- = FSR, for decimal A/D converters
100
certainty or quantization error of ±~LSB. That is, the
quantized digital code represents an analog voltage that can LSB = Least Significant Bit
be anywhere within ±~LSB from the mid-point between ad- VFSR= Full Scale Input Voltage Range
jacent digital codes. An A/D converter can never be more where n = number of bits
accurate than the inherant ±~LSB quantizing error. Analog o = number of decimal digits
errors such as gain, offset, and linearity errors also affect
AID converter accuracy. Usually, gain and offset errors can
be trimmed to zero, but linearity error is unadjustable be- The number of bits defines the number of digital codes and
cause it is caused by the fixed-value ladder resistor network is 2n discrete digital codes for AID converters.
and network switch matching. Most quality A/D converters
have less than ±~LSB linearity error. Another major error For this discussion, we will use binary successive-approxima-
consideration is differential linearity error. The size of steps tion A/D converters. Table 1 shows resolutions and LSB
between adjacent transition points in an ideal A/D converter values for typical A/D converters.
is one LSB. Differential linearity error is the difference be-
tween adjacent transition points in an actual AID converter
and an ideal one LSB step. This error must be less than one
LSB in order to guarantee that there are no missing codes. The throughput rate of the system is determined by the
An A/D converter with ±~LSB linearity error does not neces- settling times required in the analog multiplexer and input
sarily imply that there are no missing codes. amplifier, sample/hold acquisition time and A/D converter
settling and conversion time.
TABLE I. Relationship of A/D Converter LSB Values
and Resolutions for Binary Codes. Two programming modes that are commonly used in data
acquisition systems are normal serial programming (Fig. 6A)
AID Convert., R•• o-
and overlap mode programming (Fig. 6b). The range of
Iulion (Blnlry Codl.) Vilul 01 1LSB Vilul 01 1/2LSB
typical system throughput rates for these types of modes
Number Number 010 +10V +10V 010 +10V +10V
01 Bit. of I"cr •.. RlnUI RlnUI RlnUI RlnUI
are shown in Table II for the Burr-Brown SDM857KG mod-
(n) mint. (2") (mV) (mV) (mV) (mV) ular data acquisition systems.
16 65536 0.152 0.305 0.076 0.152 A wide range of throughput speeds can be achieved by
12 4096 2.44 4.88 1.22 2.44
11 2048 4.88 9.77 2.44 4.88
"short cycling" the A/D converter to lower resolutions and
10 1024 9.77 19.5 4.88 9.77 by overlap programming the data acquisition system.
9 512 19.5 39.1 9.77 19.5
8 256 39.1 78.2 19.5 39.1 The multiplexer and amplifier settling time is eliminated
by selecting the next sample (channel n + I) while the
held sample (channel n) is being converted. This requires
a sample/hold with very low feed-through error.
The number of bits in the A/D converter determines the re-
solution of the system. System resolution is determined by
the channel(s) having the widest dynamic range and/or the
TABLE Ill. System Error Contribution and RSS Error vs.
Resolution for Burr-Brown Model SDM857KG Modular
Data Acquisition System.
Resolutions
Error Source
S Bits 10 Bits 12 Bits
MUX Error 0.0025% 0.0025% 0.0025%
AMPError 0.0'·% 0.01% 0.01%
I Settling
I
sit ion & Conversion Time
I
Quantizing 0.2% 0.05% 0.012%
TABLE II. System Throughput Rates and RSS Accuracy One final consideration in data acquisition and conversion
for Normal and Overlap Mode Programming for Burr- systems is the digital coding of the data at the output of the
Brown Model SDM857KG Modular Data Acquisition A(D converter. Data is usually encoded in either binary or
System. binary-coded-decimal (BCD) form.
Normal Overlap Binary encoded data formats are most commonly employed
Programming Mode for digital computer-oriented applications where the proces-
Resolution sing is normally performed in binary notation. BCD data en-
Max System MaxSystem coding is usually required in applications where the data is
RSS RSS
throughput Accuracy throughput Accuracy fed to decimal end devices such as digital readouts and print-
Rate Rate ers. The majority of applications require binary encoding.
12 Bits 18kHz 0.025% 27kHz 0.025% The most commonly used binary codes in A(D converters
10 Bits 0.08%
are:
19.5kHz 30kHz 0.08%
2
The source impedance, data bandwidth, A(D converter re- Mid Scale 100. .. ooll +VFSR/2 Zero
solution and system throughput rate affect these error calcu- +Y;,LSB
-F ull Scale 000. ... 00 II -v FSR +%LSB
lations. To simplify, errors can be calculated by assuming
2
the following:
One least VFSR
I. Aperture error is negligible - i.e., less than I(IOLSB. Significant -- ± V FSR
n
2. Source impedance is less than 1000 ohms. Bit 2 2n
~ ~
+Full Scale 1 1001 1001 1001 999 +999
SUMMARY
The criteria that determine the key parameters and
performance requirements of a data acquisition and
conversion system are:
I. Number of analog input channels.
2. Amplitude of data source signals.
3. Bandwidth of data.
4. Desired resolution of data.
5. End use of converted data.
Although this discussion did not treat all system criteria
from a rigorous mathematical point of view, it does not
identify and attempt to shed insight on the most impor-
tant considerations from a practical viewpoint.
TO SIDESTEP SAMPLE/HOLD PITFAllS,
RECOGNIZE SUBTLE DESIGN ERRORS
By knowing the key parameters and practices that govern important sample/hold
functions, you can obtain optimum performance from these deceptively simple devices.
You can avoid the potential design traps that lurk in nonstandard terminology. (For some widely accepted
sample/ hold applications by understanding and applying definitions, see below.)
proven sampling rules and definitions. Widely used for To help clarify a muddled situation, therefore, this
voltage storage in analog-signal-processing and data application note presents some sample/ hold design-
conversion systems, sample/ hold devices provide seem- verification guidelines. By carefully defining the basic
ingly simple operation that often misleads designers. sample/ hold types -their primary specifications and their
In practice. functional intricacies hide error sources that chief time- and frequency-response considerations -these
can degrade sample/hold performance. Unfortunately, guidelines arm you with the design information needed
when manufacturers describe these errors, further com- for proper sample/hold application (see Table I).
plications can arise because most vendors use their own
Acqul.ltlon time • Time after the sample-to-track Droop rite· Hold capacitor's voltage-output decay or
command activates for the hold capacitor to charge to a drift in Hold mode. arising from switch leakage current,
full-scale voltage change and settle within a specified hold-<:apacitor value and op amp bias current.
error band around the final voltage value. FHdthrough· Amount of input signal that appears at a
Aperture delly • Elapsed time from activation of the sample/hold's otuput in Hold mode.
sample-to-hold command to the opening of the switch in Olin Iccurlcy· Expressed by the deviation in gain from
Hold mode. its nominal value.
Aperture time· Time for a switch to go from sample to Monotonlclty • In ADCs. describes an output that
Hold mode. measured from the 50% point of mode- increases continuously with increasing input.
control transition to when the output stops sampling the
QUlntlzlng error· Inherent uncertainty in digitizing an
input.
analog voltage to the nearest digital code word.
Aperture uncertainty time • Variation in the time
sample/hold· Amplifier circuit that acquires analog
required for a switch to open after sample-to-hold
input voltages during very short sampling times and
transition occurs, or the time variation in aperture delay.
stores them on a hold capacitor for a specified time.
Blndwldth - For small signals, the frequency span
saUllng time • Time taken after a sample-to-hold
between the points at which a sample/ hold's gain goes
transition for a sample/hold's output to assume final
down 3dB from its DC value (the frequency span between
voltage value with a specified accuracy.
the points at which the output signal's amplitude equals
0.707 times the input signal). This parameter serves as a Spectrumre.pon •• • Charcteristic that traces a sample/
gauge of amplifier performance in Sample mode. hold's amplitude - versus - frequency values.
Chlrge Injection • Offset error voltage on the hold Slew rite· Fastest rate, usually measured in volts per
capacitor when charge transfers from the capacitor to the second, at which a sample/ hold's output can change.
gate-drive circuit via capacitive coupling at switch Zero-order hold - Filter that reconstructs an analog
turn-off. . signal from a train of impulses by producing the first term
of a power series approximation of the input.
TABLE I. Characteristics of Diode-Bridge and FET low noise signals with minimal spiking at high update
Sample/ Hold. rates (3MHz to 20M Hz). The deglitchers operate by
placing the sample/ hold in Hold mode before updating
DIODE BRIDGE TYPE FET TYPE
Gr •• ter DC accuracy; has no offset
the DAC.
Lower charge injection error.
and doesn't need feeback resistors.
CALL ON FET DEVICES FOR BOTH SPEED AND
l •• generation of spikes; Faster in higher voltage applications;
lower drive vetteges are needed offers larger slewing current. ACCURACY
for bridge .w~ching, For more demanding applications, FET-type sample/
Shorter aperture delay; Diodes Smaller droop; Exhibits less
inherent leakage .
holds yield superior performance in high speed. high
• w~ch '.ter thin Fer •.
accuracy, to-bit to 13-bit data acquisition systems.
FOR HIGH SPEED, USE DIODE-BRIDGE UNITS Accuracy and speed result from the use of two FET
switches, both of which help cancel the charge-injection
High performance wideband and sample/ holds come in
error caused by the gate's drive waveform, permitting a
two versions - junction FET and diode bridge types (see
low hold capacitor value. Additional FET-type sample/
Figure I). Diode bridge devices more readily accom-
hold advantages include higher input impedance than
modate applications that call for short RC time constants.
diode bridge types and the elimination of offset. bias. and
Emphasing speed rather than accuracy, these applications
feedback resistors. And because FET sample/ holds
generally involve 6-bitto IO-bit data acquisition systems
exhibit much lower leakage than diode bridge units - as
with sampling rates of I M Hz to SOMHz.
well as a balanced configuration -the FET type's output
Because diode bridge devices require up to SmA bias, buffer amplifier contributes virtually no leakage current.
their slew rate becomes the limiting factor in large
In high voltage applications, where slewing time can
capacitor and large input signal applications. When the
cause long operational delays, high speed FET sample/
hold capacitor exceeds ISpF, for example, the diode
holds have 2SmA to 40mA available for slewing the hold
bridge's slew rate starts to decrease. (In such cases,
capacitor, compared with SmA for the diode bridge types.
consider the FET-type sample/hold.)
And although a diode bridge's lower charge-injection
An important diode bridge application centers on de- error eliminates the need for a large hold capacitor. this
glitching a fast DAC (see Figure 2). Diode bridges'
straightforward interfacing capability allows them to
serve well here, and the relatively low voltage switching
levels involved lead to very fast operation. In display
applications, especially, DAC deglitchers must deliver
SAMPLE/HOlD
BATE
CONTROL
1111 DRC
OUTPUT ~~
lei BATE HOLD
CONTROL SAMPLE JL.JlJ""L
V,N RT
SWITCH
BATE
DRIVE
I
/
I
;~~::'-
Idl
DEBUTCHED
SAMPLE/HOLD
OUTPUT
/
A 0/ A •• v.relon •• ctlon 1'1 recllvllllll.rg. dlgllllinput Ironlilloni e.n COUll volllll'
In • 1Ia.1e ••• pll/lIIld circuit .n .nlitg IWllelI cl_ ond elI'llIlI • coPlcllor 10 III. aplk'I, or gUlch.I,ln lilt .nlitg output 1111.Connoclld II !hi DAC'I OUtpulll. dogUfclIor,
Input volla1l.IS.mpl. mod'l. Wllln III•• wllell 0Plnl, th. coplellor p••••• 1111Ilored • limp II/hold removllllluo unWilltld Ironlllnla by laklllll.lllw .nlllIll lIIlI •• mpl.
VlIlIt.1II lilt lUlput .mplNllr IHoid 1IIOdt1.For f.lllllllll .• lgnlllwllchlllll.1 re ••• nlbl. "lIr th. gUlch hllllnl.d leI. Th.n th ••• mpl./lIIld returnlll Hold IIIOdt b••••• III.
_rocy. eOlllldor. dlodl brldg.lyp ••• mpl./hold 1'1. To obl.'n high .eemey'l w.II DAC'I output eh'IIlI.1 ag.'n, mulling In • rof.aVlly ImeatII 1II0n0t0nle Ironlllion
II fill IIrll .• lgnll IWlfclllllll,lII' on FET·lype •• mpl./hold Ibl. bllWMn bollI.omplll Idl.
FIGURE I. Diode-Bridge and Juntion-F,ET Sample/ FIGURE 2. Diode-Bridge Sample/ Hold Used for
Hold Circuits. Deglitching a Fast DAC.
advantage still doesn't overcome its lower slewing-<urrent
limitation.
Further, FET devices' single time constant - based on I
feedback resistance and hold capacitor - is much shorter I
I
than that of the diode-bridge types. When an FET unit's
I
time constant equals or becomes less than the device's I
buffer-amplifier time constant, the sample/ hold's selliing SAMPLE/HOLD TRACK :
time tends' to depend upon the amplifier's sellling char- SATE- - -~---_ ••
acteristics. Generally, this relationship applies for a hold
capacitor of about IOpF and a feedback resistor of about
300ft But when the time constant produced by these
HOLO
I
---------
I
components becomes much larger than the amplifier's I
time constant, the sample/ hold's sellling characteristics I
do not depend on the amplifier. In this case, the FET-type I
sample/ hold provides faster selliing than a diode bridge ERROR SAHO I I SAMPLE. To-HOLO
device. . _Ll -;1 t:' _a~~~~M~_
CLEARING UP SOME FOGGY SPECS SAMm/HOLO OUTPUT I
Many sample/ hold problems emerge not from lack of T :-- ::-:-- ;H~O~A;--
knowledge about circuit design, but from difficult-to- HOLD-tAPACITOR CHARGE~ I I I
understand nonstandard specifications. Complex parame-
ter descriptions frequently result in designer confusion
and misunderstanding. Further compounding the prob-
I
- 11 I
r--r-r-r ....,..
WAVE~ After some manipulation. this expression equals:
___
F(!) _ ,Jrr
. f/f. s sinrrf/fs_
NARROW
PULSE~
nL-JnL-JnL F(O) rrf/ f,
A digital-to-analog converter (DAC) translates digital rical or,in other words, for every possible input code
signals to analog signals. For example, a 12-bit DAC ·there exists an equal and opposite error associated with
takes a 12-bit binary number, called an input code, and the one's complement of that code. The linearity error
converts it into one of 4,096 analog output voltages or (sometimes called relative accuracy, integral linearity,
currents. When the contribution to the output voltage or nonlinearity or end-point linearity) is defined as the
current of each individual bit is independent of any maximum error magnitude that occurs.
other, it means that the device exhibits no superposition Now consider the relationship between the individual bit
error or that "superposition .holds." For a DAC with errors (E;) and the linearity error. There exists some
little or no superposition error, the linearity error for any digital input code (b" b2 ... bn) that yields the maximum
given code will relate to the linearity error at sO\YIe linearity error (Emu) and the one's complement of this
different code. This allows you to determine the worst code (bl, b2 ... bn), that must yield an error of the same
case linearity error, and the digital code where that error magnitude but in the opposite direction (-Emu). The
occurs, with a very simple test. I relative magnitude and polarities of the errors determine
However, if the DAC under test has excessive superposi- which actual input code has the most linearity error. For
tion error, this simple test will give erroneous results; the error to be maximum, all of the error terms must be
therefore, you must test all digital codes to determine the additive and the following proves true:
worst case error and code. Superposition error, or bit IEmul + I-Emul = IblEI + b2E2+ ....
interaction, often is significant in converters with a + bnEnl + IblEI + b2E2 + ... + bnEnl
resolution of 12 to 16 bits. If the error becomes large
21Emul = (b, + b,)IEd + (b2 + b2)IE21 + ...
enough, a DAC may fail to meet a 1/2LSB linearity
error or relative accuracy specification even with each
+ (bn + bn)IEnl; (3)
individual bit adjusted perfectly. This specification but bi + b; = I, making the maximum linearity error:
becomes important in many applications such as IEmul = 1/2 [lEd + IE21+ ... + IEnl]. (4)
automatic test equipment or precision voltage standards This result proves interesting because it rel'ates the
where the absolute value of the output voltage must maximum linearity error to the individual bit errorS';
remain within specified limits after calibration of offset therefore, you can evaluate a DAC by simply measuring
and gain errors. the output error associated with n digital input codes
For a DAC with low superposition, the following instead of all of the 2n possible combinations.2.3
equation determines the output voltage, if we assume Stated another way, the sum of the positive bit errors
that the offset and gain errors have been removed: should equal in magnitude the sum of the negative bit
Vo = VFS [bl (1/2 + EI) + b2 (1/4 + E2)+ ... errors when the gain and offset errors have been
+ bp (1/2n + En)], (I) removed. Any difference in these magnitudes indicates
where E;X V FS equals the linearity error associated with the presence of a superposition error. If this difference
the ith bit and b; equals the value (0 or I) of the ith bit of proves greater than approximately 1/10 of an LSB
the DA<:;'input code. Since the analog output error with (JDEC standard for superposition error), further testing
all input code bits off (000 ... 000) and all input bits on may become necessary to determine the accuracy of the
(Ill ... 111)has been adjusted to zero, then the summation DAC. However, a superposition error of more than
of all the bit errors, 1/IOLSB does not by itself imply that a DAC cannot
meet a linearity specification of, say, ±1/2LSB; it simply
• Electrical Value
01 Code
• Algebraic Sum
01 Code
_ +0.50 +0.50.
:Jl
m +0.25
=.a: +0.250 '"a:=. 0
0 0
a: -0.25 a: -0.25
a: a:
w -0.50 w -0.50
(a) (b)
TABLE 1. In this data from a 12·bit hybrid DAC, the full-scale voltage was digital input to the MSB indicates the midrange and
increased to IO.231SV, making the ideal bit weights, starting at the LSD, equal to
2.SmV. S.OmV, IO.OmV... 2.S60V and finaliy S.l2V for the MSB. You can easily
full-scale binary counts.
memorize these numbers and quickly calculate the error voltages by inspection. The DAC errors displayed in Figure 3a appear symmet-
rically about the center of the scope, indicating very little
Input Code Ideel Output (V) Actual Output (V) Error{JJV) superposition error; while those in Figure 3b are almost
All Bila "On" +10.23750 +10.23750 0 all positive which indicates a moderate amount of
All Blla "Olf" 0 0 0 superposition error. Figure 3b shows why some manu-
Bit 1 (MSB) 5.12000 5.1'995 - 50
Bit 2 2.56000 2.55982 -180 facturers specify linearity error as the maximum
Bit3 1.28000 1.27994 -60 deviation from a best fit straight line rather than a
Bit4 0.84000 0.83998 - 20 straight line through the end points. You can see, in this
Bit5 0.32000 0.32004 +40
Bit 6 0.18000 0.16004 +40
example, that a linearity error specification of ±1/2LSB
Bit7 0.08000 0.06004 + 40 proves easier to meet when using the best fit straight-line
Bit 8 0.04000 0.04005 +50 method. In a DAC with symmetrical error patterns, as
Bit 9 0.02000 0.02010 +100
Bit 10 0.01000 0.01002 + 20
shown in Figure 3a, a straight line through the end
Bit11 0.00500 0.00502 +20 points becomes the same as a best fit straight line.
Bit 12 (LSB) 0.00250 0.00251 + 10
Positive Sum +320
Negative Sum -310
Difference + 10
Generally, superposition error in monolithic and hybrid
CR T are spaced so close together that the switching converters results from the feedback resistor, Rr, changing
transients create a wide band of noise making it difficult in value as the output voltage varies from OV to +IOV.
to tell if the converter meets its specification, especially This apparent nonlinearity comes from the variable
with a linearity error near the ±1/2LSB limit. One way power dissipation that occurs in this resistor which can
around this problem, if you assume that the errors produce a temperature rise (self-heating) of as much as
contributed by the last four bits of the DAC are small, 1°C to 2°C in some DACs. This in turn changes the
absolute value of the feedback resistor since it will have a
TABLE II. Note that the difference between the positive bit errors (+SSOJ.l.V)and
the negative bit errors (-I,6S0J.l.V) in this data from a monolithic bipolar DAC,
temperature coefficient (TC) of between 50ppm/oC and
equals -l.ImV or almost 1/2LSB. In this situation, superposition does not hold 300ppm/oC for a thin-film material and over 1,000
and you cannot say anything definite about linearity with the amount of data ppm/oC for a monolithic diffused resistor. This problem
available.
generally does not occur in discrete data converters
Input Code Ideel Output IV) Actual Output IV) Error{JJV) because the physical size of the feedback resistor is so
All Bits "On" +10.23750 +10.23750 0 large that the temperature rise, and therefore the resis-
All Bits "Olf" 0 0 0 tance variation, remain extremely small. In a monolithic
Bit 1 (MSB) 5.12000 5.11927 - 730
Bit2 2.56000 2.55928 - 720
converter, however, with real estate at a premium, the
Bit3 1.28000 1.27996 - 40 mass of the feedback resistor is often so small that a
Bit4 0.64000 0.64013 + 130 large temperature rise will occur for even small changes
Blt5 0.32000 0.32013 + 130
Bit6 0.18000 0.16003 + 30
in power dissipation, due to self-heating.
Bit 7 0.08000 0.07987 - 130 To determine if the feedback resistor is at fault, substitute
Bit8 0.04000 0.03997 - 30
Bit9 0.02000 0.02000 + 0
a low TC external resistor for the internal feedback
Bit 10 0.01000 0.01008 + 80 resistor of the DAC and see if the nonlinearity disap-
Bit11 0.00500 0.00512 + 120 pears. The oscilloscope photograph in Figure 4 shows
Bit 12 ILSB) 0.00250 0.00256 + 60
the results of using the test circuit shown in Figure 2 and
Positive Sum + 550
Negative Sum -1650
the same DACs whose transfer functions appear in
Difference -1100 Figures 3a and 3b respectively, with the internal feedback
resistors being replaced by low TC external resistors.
entails inhibiting these bits with \he AND gates shown in Note that the DAC errors in both cases are now almost
Figure 2; this reduces the binary count to 256 and also evenly distributed about the center of the oscilloscope
gives each count 16 times longer for the glitches to settle which indicates that the major cause of the superposition
out. You can make other improvements to this tester error has been removed. You cannot use an external
such as automatic offset and gain error nulling, a feedback resistor, of course, in most practical applica-
sample/ hold deglitcher to remove the glitches at the tions because it will cause excessive gain drift since it will
error output and a go / no go window comparator to test not track the internal diffused or thin-film reference
the linearity error at each binary count. resistor with variations in time and temperature.
Using the test circuit shown in Figure 2 and three Superposition error or bit interaction can occur in other
different 12-bit DACs produced the oscilloscope photo- ways-by temperature gradients on a monolithic chip
graphs in Figure 3. The offset and gain errors have been which cause the magnitude of a bit output to be a
nulled at the left and right portions of the photographs function of the state of the other bit switches, or by
respectively; and the linearity error appears as the feedback resistors which have an appreciable voltage
deviation from the horizontal center line of the scope, coefficient of resistance (VCR), such as diffused resistors
with the vertical sensitivity 1/2LSB per division. The might. Again, the presence of superposition error does
I
0
C
O.~
Oe~
O.~
r~ -
Jl.
+VDC
ZERO
ADJUST
ORE
A O. SHOT ,- :- BAIR
II En ADJUST
~ --.J V -VDC
74121
l~ 3 EACH 7408
0
C
••••= 0.
ii Oef-
I
I
I
-
Y I
I
liT 1
MSI
I I I
I O.f- I
I
I
....!...
I I
I
I
A O.
LI
~ ---J I I En
+5V
..~"
•..
r
i ....•
9
0 0•
•••
ii Oel--
I
I 1
Ill-BIT
C I CURRERT I•••
I
I I I OUTPUT 5O.cn
I O.~ I
6
I I REFERERCE
I 1 OAC
A O.
En
~ ---J I I
4 +5V ~
~+
0
C
=
~ OD
iiOe l-
I
I
I
Y
- I
,
I
I 0.1- ,
I
I
I ,
I
A O.
I
A
L.I
I
I
liT 12
LSI
-:.. En SCO
SYRCHROR
~II I -
~I'
~ 4 EACH
74181
~Jv OUAO 3
1 --------- 12
5lcn
OAC
I CLOCK
IRH/IIT UROER TEST
FIGURE 2. This tetter work. well for 8~. 9-. and to-bit converters. For al2-bit DAC, the 4,096 segments displayed on the CRT are spaced so close together that the
switching transients create a wide banc;t of noise making it difficult to leil if the converter meets its specification, especially with a linearity error near the ± 1/2LSBlimil.
One way .round this problem, if you assume that the errors contributed by the last four bits of the DAe are small, entails inhibitinl these bits with the AND .ates shown.
1
'_'C~ .-
. • _>7C'
~~r~t,i",J
.. ' ~
!
~~
FIGURE 3. In these scope waveform photographs showing the output of the test circuit in Figure 2, the top traces indicate the linearity error and the bottom traces reflect
the status of the MSB of the input code. The hybrid DAC (a) exhibits little superposition error, while the asymmetry of the linearity error (b) about midscale shows
superposition error for the monolithic bipolar DAC. The MSB transition marks the horizontal center.
REFERENCES
I. J. aylor, "Testing Digital/ Analog and Analog/ Digi-
tal Converters," IEEE Trans. on Circuits and Systems,
Vol. CAS-25. No.7, July 1978.
2. T. Cate. "Tom Cate of Burr-Brown Speaks Out on
D A Converter Specs," EDN/ EEE, pp. 34-40, June I,
1971.
3. P. Prazak, "Programmable Handheld Calculator
Computes Digital-to~Analog Converter Errors," pp.
122-127. Computer Design, June 1978.
18-BIT HYBRID D/A CONVERTER
BREAKS SIZE AND PERFORMANCE BARRIERS
In the world of high resolution, true l6-bit accurate used by connecting the Reference Out and Reference In
digital-to-analog converters, most designs have been pins together.
restricted to modular "bricks." Such modular designs, by The DAC also has an uncommitted operational amplifier
virtue of their size and complexity, take up needed PC II V converter which is normally used for voltage output
board space in user applications. Other disadvantages applications to achieve output ranges of 5V, JOV or 20V
for modular designs include large power dissipation, (unipolar or bipolar offset modes of operation). The
long warm-up times and high costs. Now, a new hybrid internal amplifier is the best overall choice for appli-
IS-bit digital-to-analog converter has entered the high- cations where low noise and high speed are needed at the
resolution market. Containing a precision 2ppm/oC JOV same time. However, if noise reduction is more important
reference, monolithic IS-bit DAC chip with laser-trimmed than speed, and external low-noise op amp such as the
current sources, and a low noise, high-speed-output Burr-Brown OPA27 can be used instead. If an application
operational amplifier (I/V converter), the Burr-Brown requires current out operation, a current output of 0 to
IS-bit DAC729 is a first among the next generation of -2mA for unipolar operation or ±lmA for bipolar
D I A converters. The DAC729 is fully contained within a operation is provided. The absolute accuracy of this
40-pin double-wide side-brazed package. the DAC729's output current is ±O.I % of full-scale range (FSR). This
small outline makes it ideal for user applications where allows the output range to be accurately changed, for
precision accuracy is needed without compromising PC example to JO.24V, by simply adding an external 2400
board real estate. With its compact size, multiple I% resistor in series with the DAC feedback resistor.
DAC729s can be used with external latches to interface In addition, while the DAC729 can perform conversions
to a user's data bus to create a system of programmable to an accuracy of ±76/l V or I 12LSB at the 16-bit level,
voltage or current sources, all on one PC board. An external bit adjustment pins are provided for the first
equivalent system, built around modular DIIA con- four MSBs so that higher accuracy can be achieved with
verters, would require many separate PC boards to external adjustment (see Figure I). IS-bit accuracy is
implement. typical provided external adjustment of the MSBs is
The DAC729 is a complete D/A converter within itself. done. With 40 pins available, the DAC729's pinout is
No external components or adjustments are required to designed to permit maximum use flexibility, all in a
perform IS-bit conversions with an integral linearity single double-wide package.
accuracy of ±76/l V. Moreover, the DAC729 was designed
to permit maximum user flexibility. In some systems,
DESIGN GOALS
multiple devices, including the D I A converters, must
track each other over time and temperature. For such The goal in designing the DAC729 was to make a hybrid
cases, all devices that must track each other are referenced IS-bit D/A converter, which would fit into a double-
to a global system reference voltage. The DAC729 has wide package, with performance equal to or better than
the option of using such an external voltage reference so the Burr-Brown l6-bit accurate modular DAC73. The
that the gain of the DAC will track changes in the size requirement of the DAC729 was important so as to
external reference potential. If an external reference is optimize a precision D/A converter which could easily
not needed, the DAC729 internal JOV reference can be be accommodated in applications such as automatic test
equipment, precision voltage sources, digital audio, analog-
to-digital converters and robotics. Alongside the goal of
I--
I
____
Reference Out
I
I
...J
I 5k
5k-2'
5k 10k-2 l}
-4
I
I
I Connection
for Unipolar
Ot010V
(to Reference In)' ___ ~J : A1 A2 J
lOUT VOUT
10AC I Ladder
0-20mA • Common
R R R
6 7 14 15
Reference In
Gain Adjust
+15V
270kO
designing the part to fit into a small outline package was ARCHITECTURE
the goal of reducing the complexity or chip count of the A block diagram of the DAC729 is shown in Figure 1.
part. With reduced complexity came lower cost and
The architecture of the DAC is basically made up of four
higher reliability. Performance, however, was not traded sections: I) JOV reference; 2) Closed-loop reference
off for reduced complexity. A summary of preliminary circuit; 3) Output I/V converter; and 4) DAC current
specs for the DAC729 such as linearity, drift, noise and sources and R-2R ladder.
settling time are shown in Table I.
10V REFERENCE CIRCUIT
The IOV reference is an improved version of the Burr-
Specification Limit Unit, Brown REFIOI precision IOV reference. The reference
ACCURACY consists of a low-noise OPA27 op amp, thin-film
Linearity Error at +25°C 0.00075 % of FSR nichrome resistor network and an ultra-stable reference
Gain Error: Voltage 0.1 % of FSR
% of FSR
zener diode. Capacitor CI was added to the REFIOI
Current 0.1
Offset Error: Unipolar 2 mV circuit to create a pole at f = 1/ 2trR4CI = 3. 5kHz to
Bipolar 5 mV eliminate high-frequency noise from the reference zener.
1QV Reference 5 mV
The reference, as well as the other components of the
DRIFT DAC729, undergo a burn-in at 125°Cto insure longterm
Linearity 0.5 ppml"C
Gain 5 ppml"C
stability. After burn-in, the reference's TC is determined
Offset 5 ppm/·C so that the operating current of DZI can be trimmed at
10V Reference 2 ppml"C package level to give a reference drift spec of less than
OISE (Unipolar) 2ppm/oC. The burn-in of the reference and zener diode
Voltage at 100kHz 70 pV, rms
results in a typical stability rating of 25ppm/ 1000hours.
Current at 100kHz 4 nA, rms
The reference output is available at the Reference Out
SETTLING TIME
(to .00075% of FSR)
. pin of the DAC and can be used as ultra-stable IOV
10V Step (Unipolar) 10 IJS source to supply up to 5mA to external loads. The
20V Step (Bipolar) 10 IJS reference has an adjustment pin, Reference Adjust,
Slew Rate 20 V/IJS
lOUT 2mA Step 300 ns available which can be directly connected to a poten-
SIZE SO.50 X 15.75 X 8.40 mm (LXWXH)
tiometer, as shown in Figure I, in order to adjust the
Reference O\Jt voltage to 10.OOOOV.
CLOSED-LOOP REFERENCE CIRCUIT
The closed-loop reference circuit provides the DAC
current sources with the proper bias voltage for operation. ~
_t
Range of
+ Full ~?
p/-~
The closed-loop reference output is dependent upon the Scala Offset Adj.
input voltage Reference In. Reference In is normally tied
to the Reference Out pin of the DAC, but can be
connected to an external reference voltage. Similar to /,%lV)--GainAdj
All Bits
/~.." Rotates
multiplying D I A coverters, the DAC729 will track ratio- Logic 1
~/ the Line
metrically to the voltage applied to the Reference In pin.
% "f++? r++-t,
However, the Reference In voltage must be held within a
range of IOV ±0.5V for proper operation. For users with
I
~ Bipolar V
Offset.;f'
t .-/rj All Bits
Logic 0
external reference voltages outside this range, a possible
solution is to scale the external voltage to IOV so that it
can be used. Whether internal or external reference are
Range of
Gain Adj. rI
,~
OUTPUT IIV CONVERTER where RFB is the II V converter feedback resistor and
The output II V converter is made from two separate RLADDERis the R-2R ladder impedance of the DAC.
monolithic components, Al and A2. Al is a single-op- Such linearity errors due to the II V converter's Vos
amp version of the Burr-Brown dielectrically-isolated changing could not be trimmed out during laser-trim.
FET OPA404 quad-op amp having a slew rate of 20V I /-,S With the two-chip design, however, Al is looking into
and a wide band noise spec of 12nV I VHZ at 10kHz. A2 is A2's input impedance of 1.5MO. Thus, the output stage
a unity gain, high-speed buffer capable of driving a 5mA power dissipation of Al is never more than 17/-'W for a
load. A two-chip approach was taken in the design of the IOV output swing. The DAC output stage buffer A2, on
I/V converter in order to reduce thermal feedback from the other hand, can deliver tens of m W to external loads
the power-sourcing-output stage to the op-amp-input without thermal feedback to A I's' input stage, while
stage. Such thermal feedback, if occuring on AI, would maintaining a total II V converter linearity of 18 bits.
18-BIT DAC CHIP
The heart of the DAC729 is the 18-bit monolithic DAC There are four feedback resistors available to the user.
chip, containing 22 switchable current sources and R-2R These feedback resistors have values of 5kn and IOkn.
ladder, as shown in Figure 1. For simplicity, bits I and 2 They can be used in several ways to provide a wide
are shown as only having one transistor current source variation of gain and offset modes. With the DAC
and scaled emitter resistance. In actuality, four parallel output current IOAc having a range of 0 to -2mA, 10k-I
connected current sources are used for the MSB and 2 can be connected to the IOV Reference In pin to generate
parallel connected sources for bit 2. The remaining a ImA offset current for bipolar operation, thus making
current sources are scaled with the R-2R network to a ±lmA current at the louT pin. For the above configura-
achieve binary ratioing of the DAC output current. tion, if 5k-2 is used as the I/V converter feedback
resistor, an operating range of ±5V will exist. If IOk-2 is
Bit adjustment pins are available to the user for adjusting used instead, the range will be ±IOV. For unipolar
the linearity of the first four bits. By using these pins. operation, 10k-I and IOk-2 can be connected together to
DAC linearity can typically be adjusted to an I8-bit level give 0 to + IOV operation. Zero to +5V can be achieved
of accuracy. The bit adjustments are accomplished by by connecting all feedback resistor pins together in order
summing an external current into the DAC bit-current to make an equivalent 2.5kn resistor. All feedback
source. The emitter resistors of bits I through 4 are resistors have absolute tolerances of ±O.l%.
tapped and brought out to external pins. By using an
external potentiometer and a series current limiting
resistor, RL, an offsetting current can be produced, as DAC ERROR BUDGET ANALYSIS
shown in Figure I for the bit I current source.
The design of the 18-bit DAC chip (where the weight of
The DAC729 employs a unique approach to bit adjust- an LSB is 2-18 or 0.00038% of FSR) turned out to be a
ment. As discussed earlier, changes in the -VEE supply real challenge. The design issues that needed special
voltage can be a potential source of error in the bit-current attention included:
sources. The same problem exists for the bit adjustments
I. matching and tracking over temperature of the resis-
unless the tapped voltage of the pot tracks equally to the
tors and the transistors in the switchable current
voltage potential at the bit adjust pin. Otherwise the sources;
voltage drop across RL will vary with -V EEand cause the
bit weight to change. To overcome this problem, the 729 2. matching critical IR drops in the interconnections of
uses a pin to which all external bit adjustment pots are to aluminum (which has a temperature coefficient of
about +4000ppmj°C);
be connected. Named VPOTENTIOMETER, or VPOTfor short,
this pin provides a voltage which will track the internal 3. achieving fast settling time from transients created by
current source base rail as the - VEE power supply dynamic switching signals;
fluctuates. V POT'Svoltage is derived from an emitter 4. reducing errors caused by thermal changes and ther-
follower connected to the current mirror-base rail. This mal gradients across the chip;
emitter followe,r acts as an equivalent DAC current
5. minimizing the sources of shot and Johnson noise;
source, with its output current taken to ground, when
the external pots are connected from it to the - VEE 6. reducing superposition errors in order to achieve
monotonic operation;
supply. Thus, as the minus supply moves up or down,
the voltage across the pots will remain constant, similar 7. achieving good long term stability.
to the DAC current sources. This is important, for The most critical design requirement is to maintain low
example, if at one time the DAC's linearity was adjusted integral linearity error (lLE) over temperature. An
with -VEE = -15V, but then at a later time -VEE was analysis of the major contributions to this error will be
equal to -14V. The external connections for the adjust- done at the major carry where the input code changes
ment pots are as shown, with only the series current- from 011---111 to 100---000.
limiting resistor, RL, shown for bit I for clarity.
First let us consider the VBE matching in the current
sources required to limit the ILE drift to ±lj2LSB at the
17-bit level (±3.8ppm of FSR) over a temperature span
Output
of 25°C (lLE drift of O.l5ppm/ 0C). (Volts)
This is best demonstrated with the 4-bit DAC example
shown in Figure 3. Figure 3a shows the input/ output
transfer functions of a perfectly calibrated DAC at
temperature To. Bits 2-4 are considered to be ideal or
reference bits for the purpose of this analysis; therefore
their value will remain constant. At temperature T" Bit 1
has shifted in value by lLSB as shown in Figure 3b.
Since ILE is defined as the worst case deviation from a
straight line through the DAC end points, our example
has an ILE of ±1/2LSB. The worst case ILE often
occurs at the major carry, so this simplified analysis
actually gives a good estimation of the precision required
to maintain ±1/2LSB ILE.
For the following calculations in this section, the 18-bit
011'
DAC can be simplified as illustrated in Figure 3c, where Di
bits 2-18 are merged into a "reference" current source.
When we apply the above reasoning to our 18-bit DAC,
we see that a shift of ±1/ 2LSB in the ILE (at the 17-bit
level) will be caused by a Bit I shift of lLSB, which is
7.6ppm of FSR or 76p.V.Note from Figure 3c that R, =
5kO and has 5V across it. The output for Bit I, Eo" is °
also 5V since RFB= 5kO; therefore there is a one-for-one
relationship between a shift in VBE, and a change in "
Eo,.
.
Therefore, the maximum allowable shift in VBE1, is
76p.V at T,. Next we need to find the initial VBE
matching required from wafer 'processing. It is known I ••.•.•
that VBE tracking between two transistors will vary ~ 1LSB Shift
r"o in Bit 1 Gives
3.3p.V/oC per each millivolt of VBE mismatch.I'1There- l
±1I2LSB ILE
fore the VBE matching requirement is given by
VBEQIA - VBEQREF= a VBE V
76p.V -;- [(3.3p.V/°C)/mV x 25°C] = O.9mV V
/
Next we will find the temperature tracking (Equation 6) /
requirement of R, relative to RREF.Because of the unity /- 01'1
gain of Bit I, Eo, can be written as
Eo, = 5V X RFB/R1
Expanding and solving we find that
Eo, + aEo 1 = 5V X RFB/(R, + aR,)
r-------
aEo I/Eo, = -(aR,/R1) (4)
I
I
but Eo, = 1/2Eo (at full scale), therefore the maximum
shift allowed in R, is I
aR,jR, = -2 X (aEo I/Eo IATFULL SCALE) I
= 2 X 7.6ppm = 15ppm I
From this result the ratio tracking of R, to RREFis
I
15ppm/25°C = O.6ppm/oC (6) I
The third major contributor to shift in Bit I is Beta
mismatch and drift in the current source and switch I
transistors. This same O.6ppm/oC ratio tracking from
Equation 6 applies to 10 , drift relative to IREFdrift (see
Figure 3c). Because Beta in silicon transistors has a large
II s~~ )SV =:~ I
TC of +5000ppm/oC, it is important that Beta be well L ~t.2- _i_Bits 2~ _I
matched to achieve O.6ppm/oC ratio tracking. Starting
with
The proper placement of RFB minimizes thermal gradients
across the MSBs, but another problem with RFB must be
IREF = /3R/(/3R + I)] X I considered. Self heating in RFB changes its value because
the temperature drift of a mismatch between 10 I and of its TCR.!3J141 This effect has been reduced by making
IREFdue to Beta mismatch is given by RFB physically large in size and by selecting a low TCR
nichrome resistor process of less than 2Sppm/°C. RFB is
D. [(10 I - lREF)/IREF] + D.T '"
actually four separate series/ parallel connected resistors
/3/ /3 X 1//3 X SOOOppm/oC = 0.6ppm/oC so that the maximum power in each resistor is SmW. The
If /3 = ISO, then net result is a self-heating error of under 2ppm of FSR.
/3//3 = (0.6ppm/oC + SOOOppm/°C) X ISO X 100% As a result of these efforts, superposition errors have
= 1.8% (9) measured to be less than 30J.LV.
Because the DAC729 has a gain drift of Sppm/oC,
If cascode transistors QIB and QRB in Figure 3c are
another error source must be considered when the
mismatched by 1.8%, another 0.6ppm/oC error must be
package changes temperature. For example, a SmA
added. The same is true for switch transistors QIC and
external load plus a 2mA load in the I/V feedback
QRC, giving a total worse case error of 1.8/oC. Fortun-
resistor, RFB, produces a SSmW power change as the
ately due to averaging, the errors will rms (root mean
DAC output varies from 0 to +JOV. Since the junction-
square) giving a total error multiplier of v'3instead of 3.
to-ambient thermal resistance of the package is about
Therefore, Beta match must be 1.8%/v'3 = 1.0%, which
2SoC/W, the DAC729 will experience a temperature rise
is not an easy wafer processing requirement.
of 1.4°C. This temperature rise will cause the FSR (full-
In summary, each of these 3 error sources, namely VBE, scale range) to shift by 7ppm or 70J.LVas the package
Beta, and resistor matching can produce O.1Sppm/oC of heats up. Unfortunately, this shift will take several
ILE drift. When we rms these 3 drift sources the ILE minutes to reach its final value because the package has a
result becomes O.1S;oC X v'3 = 0.26ppm/oC. long thermal time constant (due to its large thermal
ILE drift from the first lot of prototype units ranged mass). In applications where the DAC output voltage
between 0.1 and 0.2ppm/oC, however, data from three must remain constant for hundreds of milliseconds at a
lots will be required before a final specification can be time, the output load current should be restricted to ImA
determined. or less to minimize this effect. If SmA or greater external
load is required, an external 1/ V converter op amp
SUPERPOSITION ERRORS should be used.
To achieve a ±1/2LSB ILE and monolithic operation, When using an external op amp I/V converter, instead
low superposition errors are required.(2) Superposition of the DAC729's internal converter, it is cautioned that
error is defined as a bit weight interaction that causes an care be taken to choose an op amp which has sufficient
individual bit weight to be dependent upon the ON/OFF rejection of thermal feedback. Otherwise, the DAC729's
state of other bits. l6-bit linearity can easily be degraded to around 14-bits
The management of superposition errors becomes ex- just by the external op amp.
tremely important during chip layout. Obviously, IR In applications where absolute accuracy is paramount,
drops in aluminum interconnects must be considered, even the low-gain-drift specification of Sppm/ °C can not
but a more subtle problem is the management of thermal be tolerated because of package temperature changes
gradients, especially those due to variable power sources. due to varying load currents or changing ambient temp-
The main power offenders are: erature. In these cases one must resort to techniques such
I) the DAC output amplifier which must deliver up to as the use of automatic gain recalibration (using hardware
2mA to RFB and SmA to an external 2k load as the and / or software) or by using ratiometric measurement
output swings 0 to JOV. This is a variable power techniques. A ratiometric circuit is shown in the appli-
source of SSmW; cations section. For other applications, such as digital
2) the reference output amplifier which delivers up to audio where the output signal is AC coupled, only ILE is
JOmA to the reference zener and an external load; and important in order to minimize harmonic distortion.
3) the 20mW variable power in RFB.
In order not to compromise thermal performance it was GROUNDING CONSIDERATIONS
decided not to include the output amplifier and the In order not to compromise the DAC729 performance,
reference amplifier on the 18-bit DAC chip. RFB cannot three separate supply common pins have been used as
conveniently be removed from the chip as it must ratio shown in Figure I. Internally the commons for AI, the
match and track the bipolar offset resistor and the closed-loop reference loop, and the JOV reference are
reference input resistor in the closed-loop servo amplifier. "star" connected to the Reference Common pin. Current
Therefore, RFB was carefully positioned layout on a flowing in this pin is constant and independent of input
thermal centerline above the three MSB (most-significant- code or output load variations. Variable currents from
bit) current sources. RFB was also spaced at a maximum the biasing circuits are tied to Power Common. Finally
possible separation since temperature rise is inversely the R-2R ladder common and the OFF side of the
proportional to the distance from a power source. differential bit switches are connected to Ladder Com-
mon, in order to prevent code-dependent superposition shown in Figure 5. The active clamp, which lowers the
errors. These three common pins are then star connected RC time constant a~ the DAC output, is optional as a
to the user's system referene common point, which is speed improvement. A high-speed preamp ahead of the
usually the PC board ground plane surrounding the comparatot is required to amplify the small value of an
DAC729. LSB. Although the AI D coverler looks simple, in practice
a great deal of skill is required to implement this circuit
especially because of the DAC and comparator sensitivity
to coupling from logic signals.
An example of using the DAC729 in a ratio metric
measurement circuit is shown in Figure 4. This circuit
can be used to test the linearity, gain and offset of the
device under test (DUT). Since the DUT and the measure-
ment ADC both use the DAC729's internallOV reference,
all devices track this reference. Measurements made on REFERENCES
the DUT are taken by setting the DAC729 input code to I) J.G. Graeme, G.E. Tobey, and L.P. Huelsman,
that of the DUT. The resulting outputs of both the DUT Operational Amplifiers-Design and Applications.
and DAC729 are then converted to an error voltage, McGraw-Hill and Burr-Brown Corp., page 55, 1971.
gained up by 100 by the instrumentation amplifier, AI.
The resulting error is then measured by a 12-bit ADC. 12 2) P. Prazak and T. Wang, Superposition: The hidden
bits of accuracy for the ADC is sufficient since the error DAC linearity error, Electronic Test, pages 70-79,
signal, VERROR, has been gained up by 100. The actual July 1982.
DUT voltage can then be calculated by,
3) G. Howell and J. Winsberger, Don't overlook self-
VOUT 100) + V".
= (VERRoRI heating of resistors, Electronics, pages 117-119,August
Because of the DAC729's 16-bit accuracy, V". is set to be 18,1977.
the ideal output of the DUT. 4) J.R. Naylor, A complete high-speed voltage output
Because the DAC729 has a low-noise current output, it is 16-bit monolithic DAC, IEEE Journal Solid-State
suitable as a submodule in a high precision successive Circuits, Volume SC-18, pages 729-735, December
approximation AID converter. Such an application is 1983.
6
7
8
9
10
11
12
13
14
15
16 -15V
17 +15V
Bit 18
LSB
+5V
118Bils 9
0
'"
9
10 47pF
11
12
3 +5V
Clock
74LS123
+5V
Just about all electronic circuits require a DC power less than the input voltage. Isolated units utilize a
source. Unfortunately not all circuits can operate with transformer. This not only allows an efficient voltage
just one DC level. The DC-to-DC converter was devel- translation, but also allows for channel-to-channel or
oped to allow use of different DC levels without the input-to-output isolation. The basic layout is shown in
proliferation of large expensive central power supplies. Figure I. The DC is changed to an AC signal, trans-
Before the advent of switching DC-to-DC converters, a
linear power supply output had to be incorporated for
each DC level required. With one central supply, this
entailed the design of a complex power distribution
network. This network required sophisticated ground
systems and filtering, and was very inflexible to changes.
The first solution was to incorporate modular AC
supplies distributed throughout the system. This elimi-
nated many of the ground return and inflexibility prob-
lems. On the other hand, 60Hz power spread through the formed, and then converted back to a DC signal. The
system created more noise problems than it solved. In input filter performs two functions. One minimizes the
addition, the lower efficiencies of linear supplies tended ripple reflected back from the modulator; the other acts
to make these systems into power hogs. as an input filter to minimize noise from the system
The DC-to-DC switching converter gave us a highly power supply. The modulator performs the function of
efficient power distribution capability flexible enough switching the input signal so that it can be run through
for modern electronic systems. Although the module the transformer. The output demodulator extracts the
itself is more complex and difficult to design, its use is .desired DC level and the ouptut filter minimizes the
relatively easy. The high power efficiency stems from use output noise and ripple.
of switching speeds normally in excess of 100kHz. Since
this is normally much greater than the system bandwidth, INPUT STAGE
its associated noise can be easily controlled. The high The input section consists of a filter and a modulation
speed also allows us to replace the bulky, inefficient 60 Hz circuit. The filter is usually a pi type as shown in Figure
transformers with compact ferrite core transformers. The 2. The main purpose is to filter out the current ripple
power densities for DC-to-DC converters are usually in created by the modulator's switching circuit. The modu-
the realm of 3W dissipation per cubic inch. This compact lation is implemented in three ways. These range from
size allows efficient utilization of board space. the simple Royer to the more sophisticated flyback and
The DC-to-DC converter input voltage is normally one forward converters.
of six levels. These are 5, 12, 15, 24, 28, and 48V. The
L
input voltage or main supply voltage is dictated by the
type of system being designed. For example, a predom- 1 C'
~----1-0
.I.. .I.. c,
inately TTL logic design would have a 5V main supply .... ....
and utilize DC-to-DC converters for generating spot
power for its linear circuits. A telecommunications device,
however, would probably use a 48V central supply. Like
the DC-to-DC converter input, the output also has a One of the simplest and probably the oldest methods is
standard set of voltages. These are 5, 12, and 15V. The the Royer circuit. This circuit is shown in Figure 3. The
voltages are available with both single and dual outputs. switching transistors or FETs are driven by secondary
All of the above are available as off-the-shelf items, windings of the output transformer. The transistors are
although just about any other voltage may be obtained in a push-pull configuration. Since these windings create
on a custom basis. a positive feedback, this circuit will self-oscillate and
There are two basic types of switching DC-to-DC conver- generate a square wave output. Even though the circuit
ters: units with voltage isolation and those without. The is simple, it is more expensive to construct. The switching
unisolated type usually consist of a boost or buck circuit, frequency may greatly vary from circuit to circuit,
depending upon whether the output voltage is more or creating problems where ,synchronization is required.
II~
TRANSFORMER
The modern modular DC-to-DC converter is based on
FIGURF 3. Royer Converter.
the use of high frequency ferrite materials. Ferrites are
Both the forward and the fly back circuit use an IC- ceramic ferromagnetic elements with properties known
driven switching circuit as shown in Figure 4. This may to have a high degree of reliability and repeatability.
be either a square wave or a pulse-width-modulated Because of its high resistivity, the ferrite core transformer
signal generated as feedback from the output. Pulse- affords a low-loss device in contrast to laminated and
width modulation (PWM) is one way of regulating the powdered-iron core transformers. This along with its
outp!!t voltage. excellent long-term time and temperature characteristics,
allows us to build efficient modular DC-to-DC conver-
ters.
The transformer gives us the isolation along with the
voltage translation. Unfortunately, the physical character-
istics which afford us good efficiency tend not to give us
low cost or good isolation. The two most common types
of ferrite transformers used in DC-to-DC converters are
the bobbin and the toroid. The bobbin is much cheaper
to construct since it lends itself to machine automation.
Normally each winding is laid over the last, and the
separation is made up of the wire insulation or a thin
barrier molded into the bobbin. On the other hand, the
toroid allows a better isolation barrier and much closer
coupling. The barrier is formed by separating the wind-
FIGURE 4. Controlled Frequency Switcher.
ings around the toroid, as shown in Figure 7. For
Figure 5 shows the flyback converter. In this configura- isolation voltages specified by the medical market, the
tion the energy is stored in the transformer's output toroid is the only practical core type. It allows a wide
winding. The energy is only transferred to the output safe barrier while affording good close coupling. The
during the time the modulator switch is not conducting. major drawback with toroids is that the small diameters
This circuit is slightly less expensive to implement than sometimes require hand winding.
the Royer or the forward converter. However, it has a
higher output ripple voltage than the other configura-
tions.
:~311 EH
nominal.
Input voltage range-The high and low input voltage
FIGURE II. Dual-Output Converter. Isolation-The electrical separation between input and
output of a power supply. This is usually performed
Efflciency-A percentage measure of power loss in the by means of a transformer. This separation may also
converter itself. This is defined as the ratio of power be between output channels.
out to power in times 100.
Isolation capacitance-The capacitance measured
EM I-Electromagnetic interference generated by internal across the isolation barrier.
high frequency switching. This may be transmitted by
Iiolation rated Yoltage- The continuous voltage for
radiation or conduction and is minimized by filtering
which the isolation barrier is designed. Usually
and shielding.
expressed in VDC.
Fault-mode Input current-The power supply input
Iiolation reilitance- The resistance as measured across
current when one or more of the outputs are shorted.
the isolation barrier.
Flyback DC-to-DC converter-A switching DC-to-
Leakage current-The current flowing across any isola-
DC converter in which the energy is stored in the
ted barrier of a DC-to- DC converter. This current
transformer. This type of circuit usually employs one
may be AC and/or DC and is dependent upon the
switch and has a half-wave output rectifier. See
barrier's capacitance and resistance.
Figure 5. This is a low cost type of design, but can
cause severe EMI problems. Line regulation-The percent change in output voltage
as the input voltage is varied over its specified range.
Foldback-A type of protection circuit which causes
This is usually designated with all other parameters at
the output current to decrease as the demand or load
their nominal value.
increases above the specified level. This protection
routine minimizes internal power dissipation under Load regulation-The percent change in output voltage
overload conditions. See Figure 12. as the load is varied over its specified range. This is
usually designated with all other parameters at their
nominal value.
Long term stability-The change of a parameter in
percent due to time only, with all other factors held
'/; I
I
constant.
Malter/llave-A power supply which can either syn-
chronize, or be synchronized by, another power supply.
For synchronization the internal switching must be
operating at the same frequency.
Maximum Input current-See inrush current. Regulated converter-A DC-to-DC converter which
MTBF-Mean time between failure. The statistical in- exercises some form of internal control over the
operation time between the first turn on and the time output voltage.
the unit experiences a failure. This time is determined RFI-Radio frequency interference. Sometimes generated
either by elevated temperature life testing or by in the switching operation. Extensive shielding and
calculations according to MIL-Handbook-217. filtering are used to minimize the effect on surrounding
MTTF-Mean time to failure. For an unrepairable unit circuits.
this is the same as MTBF. Ripple current-The AC variations in input current
Operating temperature range-The temperature range caused by the switching operation. This is minimized
over which the unit will not experience permanent by use of filtering on the inputs:
damage. Royer DC-to-DC converter-A DC-to-DC converter
Output current range-The current limits over which input stage utilizing a secondary winding to control
the DC-to-DC converter is specified. the input switches. See Figure 3.
Output filtering-Filtering used to minimize the output Short circuit protectlon-A circuit designed to protect
voltage ripple or EMIl RFI generated by the switching the DC-to-DC converter whenever the output current
operation. exceeds a specified level. As the overload condition is
Output rated voltage-The output voltage correspond- removed the supply should return to normal operation.
ing to the nominal or design input voltage with the Six-sided shielding-The practice of encasing the DC-
output at the design maximum load. to-DC converter in a metal shield on all sides in order
Output rated current-The output current correspond- to minimize EMI and RFI.
ing to the output rated voltage with the design Specification temperature-The temperature range
maximum load. for which the DC-to-DC converter's parameters will
Output ripple voltage-Noise voltage imposed on the stay within their stated limits.
output due mainly to the switching and output rectifi- Stabilization bake-A screening method defined in
cation. This AC voltage is usually expressed in both MIL-STD-883 Method 1008used normally as precon-
Vp-p and Vrms. ditioning treatment prior to the conduct of other
Output voltage temperature coefficient-The varia- tests.
tion of the output voltage due to the change in the Storage temperature-The temperature range which
temperature environment while all other parameters will not cause damage to an unpowered DC-to-DC
are held constant. converter.
Output voltage accuracy-The change of the output Temperature cycllng-A screening method defined in
voltage in percent from one unit to another due to MIL-STD-883 Method 1010used mainly to determine
variations in component parts. This is usually specified failure due to stresses caused by thermo-coefficients.
with full load and all other parameters at their design Transient recovery time-The time between the start
nominal. of the load current change to the time the DC-to-DC
Pi filter-A type of filter commonly used in DC-to-DC converter output voltage returns to within its specified
converters. This filter may be used on both inputs and limits See Figure 8.
outputs to reduce EMI and RFI. See Figure 2. UL544- The United States standard used to define a
Push-pull DC-to-DC converter-A DC-to-DC conver- safe medical electrical environment.
ter input design that allows the transformer to transmit Unregulated converter-A DC-to-DC converter with
power in both switch cycles by utilizing a center-taped an output directly dependent upon the input voltage.
transformer and two switches. See Figure 6.
VDE750- The West German standard used to define a
Power dissipation-The power loss which is generated safe medical electrical environment.
by the DC-to-DC converter. This is calculated by
Warm-up time-The time from turn on required for the
subtracting the output power from the input power.
DC-to-DC converter to reach specified operation.
MINIMIZING THE EFFECTS OF
DC/DC CONVERTER SWITCHING NOISE
When dealing with high frequencies, the interaction To suppress any tendency toward oscillation, reduce
between devices requires extreme care in setup. Some peaking of frequency response, and limit output noise,
devices are more susceptible to high frequency noise. the output stage is slightly compensated with CIO = 5pF.
This unwanted interaction can ruin the performance of Ceramic bypassing capacitors were used for each supply
otherwise excellent devices. For our example we will voltage for both input and output sides directly at the
look at the interaction between a DC-to-DC converter's IC. (C6 - C9 = .01IlF). Finally, the output voltage is
high frequency noise and a wide band isolation ampli- available directly at output I or through a low-pass filter
fier. The DC to DC converter is the model PWR 74 and at output 2.
the isolation amplifier is the ISOIOO.
At first, the use of DC/ DC converters may seem trivial. PCB
You simply apply a DC voltage to the input and obtain Ground planes relating to the three isolation voltages are
one or more isolated DC voltages at the output. In prac- implemented on the component side of the PC board
tice though, things are not that simple. The switching (see Figure 2). Each is separated by a space sufficient to
action of the converter's internal circuitry can cause assure high-voltage isolation. These planes offer low-
noise at its input, ripple at its output, and .radiated inter- inductance reference points required by RF applications
ference into adjacent circuits. and also provide guarding for sensitive signal lines.
All of these undesirable effects can be minimized by the Leakage current across the PCB isolation barriers are
techniques given in this application note. This example, minimized by guarding both rows of pins with low-
developed for and in use by a customer, typifies the mea- resistance paths to their respective commons. This is
sures that can be taken to optimize practical DC/DC done on the component as well as solder sides of the
converter applications. board.
The following parts were used:
NOISE
DC/DC converter PWR74
If the input voltage to the DC/ DC converter is not
Isolation amplifier ISO I00
"clean", its effect on the amplifier will have to be mini-
Ll-L5 100llH RF inductor
mized. Using the internal capacitor present in the
CI 10ILF
PWR74, a pi filter was constructed with LI = loollH and
C2-C5 IIlF
CI = 101lF. In addition, the filter suppresses the reflec-
C6-C9 .011lF
ted ripple current of the DC/DC converter caused by the
CIO 5pF
dynamic current component at its switching frequency
RI, R2 IMO
(about 500kHz). This is of major importance if other
R4 2MO
circuits are supplied by the input voltage.
ZI, Z2 Offset voltage span.
R5, R6 Dimensioning as required. Each of the PWR74 output voltage ports contains an
R3/ClI Low-pass filter at output. internal filter capacitor. An LC filter (L2 - L5 = 100llH,
Dimensioning as required. C2 - C5 = IIlF) was used for additional ripple
suppression. The filtering of high frequency noise directly
CIRCUIT at its source not only eliminates conducted noise, but
also simplifies circuit layout. The high frequency of the
In order to be more universally applicable, this circuit
PWR74 demands low effective series resistance (ESR)
(see Figure I) was designed for three-port isolation. Thus
capacitors for the input and output filters (CI - C5).
the input from the power supply is isolated from both
For this reason ceramic caps were used.
the input and output sides of the amplifier, which are
isolated from each other. The circuit is configured with The PWR74 internal shielding is connected to the -V1N
RI = R2 = I MO providing unity gain. Selection of non- pin of the converter. This "quiet" ground, with respect to
inverting unipolar or non-inverting bipolar mode is radio frequencies, is absolutely necessary for efficiency in
made through jumpers JI and J2 as shown on the shielding radiated noise. RF oscillations on the shield not
schematic. Setting jumper 13 provides offset adjustment only would jeopardize its desired effect, but also would
through an auxiliary voltage stabilized with zener diodes. become a potential source of distortion to other circuitry.
•
OTHER APPLICATION CONSIDERATIONS
I. For long input lines to the ISOIOO, use shielded
twisted pair cable.
2. The ISOIOO Input Common (pin 18) and -In (pin 17)
or
:Q.../ •
•
• ••• •
••• •
should be grounded through separate lines. The Input
Common can carry large DC currents and may cause
feedback to the signal input.
3. Care should be taken to minimize external capacitance
across the isolation barrier.
4. Distance across the isolation barrier between external
components and conductor patterns should be maxi-
mized to reduce leakage and arcing.
5. Use of conformally coated printed circuit boards is
recommended.
6. When in the unipolar mode, the reference currents
(pins 8 and 16) must be terminated. !IN should be
greater than 20nA to keep internal LED on.
7. The noise contribution of the reference currents will
cause the bipolar mode to be noisier than the unipolar
mode.
8. The maximum signal output voltage swing is deter-
mined by IIN and RF.
VMAX SWING- IIN MAX X RF
DIGITAL GAIN CONTROL STREAMLINES
SIGNAL-ACQUISITION SYSTEMS
A monolithic op amp that includes digital gain control the selected input stage, and it does so by closing the
simplifies the design and layout of a signal-acquisition feedback loop. Because it switches the input stages
system. By adding some simple circuitry to the op amp, instead of the feedback connections, the op amp can use
you can combine the part's digital-gain-control function switched-current circuitry.
with such functions as automatic gain control and
current-feedback amplification. SWITCHED-FEEDBACK EQUIVALENT
To understand how the PGAI02 operates, consider the
By adding some simple circuitry to a monolithic pro- simplified, symbolic representation of the op amp in
grammable gain amplifier (PGA), you can design cir- Figure lb. In the figure, a 2-bit digital-control code
cuits that combine the PGA's digital gain control with switches the noninverting amplifier's gain to I, 10, or 100.
gain-polarity control, automatic gain control, current- The three gain levels offer 0.05% (or better) accuracy;
feedback amplification, or a sample/hold function or switching between them requires no more than 81ls for
V / F converter. 0.01% settling. Furthermore, the amplifier's bandwidth is
The monolithic PGAI02 op amp (Figure la) offers at least 250kHz at any gain level.
programmable gains of I, 10, and 100. It includes three The switched-gain, noninverting amplifier in Figure I b
input stages with a user-a~cessible differential input for differs from the actual configuration of the PGAI02,
each; however, only the selected stage closes a feedback however, in that the figure dqesn't show any dependence
loop, so the selected stage's tap in the feedback network- on the offset voltage of the gain range. In the actual
determines the operating gain. PGAI02 circuit, each gain range uses a separate input
The op amp's three input stages sense different taps on a stage with its own offset voltage, so the offset will usually
feedback network, and a gain-control circuit activates change when the gain changes. You should keep this
one of the three by connecting it to the input biasing behavior in mind when you 'use the simplified switched-
current source (the other two input stages remain off). feedback model (Figure I b) to represent the PGAI02.
The only input stage that determines operating gain is By adding a switched op-amp stagell) to the PGAI02, you
can provide digital control of a signal's polarity as well as
its gain (Figure 2). The third control bit, A2, allows you to
insert a gain of +1 or -I in the signal path. Such a circuit
would be useful, for instance, in a system in which the
amp drives an A/D converter, because A/D converters
handle unipolar signals more accurately than they handle
bipolar signals.
The logic level of control bit A2 configures IC2 as either a
. voltage follower or as a unity-gain inverter. For example,
a high level at A2 applies forward bias to diode D, and
pinches off FET Q2, but applies reverse bias to diode D"
allowing FET Q, to remain on. Under these conditions,
the op amp (lC,) behaves as a voltage follower and
tracks the PGAI02's output voltage.
0 0 0 -1
0 0 1 -10
0 1 0 -100
1 0 0 1
1 0 1 10
1 1 0 100
FIGURE 2. By switching an op amp between voltage-follower and inverting-gain modes, you can digitally control both the polarity and the magnitude
of gain.
closure would appear to short the PGAI02's output to gain-control functions of the PGA, you can use the
ground through the two JFETs in series. The JFETs circuit in Figure 3.1'1 Unlike many implementations of
have inherent current limits, which prevent shorting, automatic gain control, this circuit can accept a wide
however: The maximum current drain is limited to the range (more than 1800:1) of signal amplitudes. In response
.lower loss value offered by the two JFETs to signal peaks detected by IC'8, FET Q, provides basic
During an A, logic transition from I to 0, the gain of gain control by varying the gain of inverting amplifier
op amp IC, drops from +1 to near zero (when both IC'A. The peaks detected by IC'8 develop the FET's
FETs are on) and then to -I. This action eliminates control voltage on holding capacitor C1• A monitor
output transients because one of the two FET switches is circuit (equivalent to a 2-bit AID converter that's accurate
always on, providing a low-impedance path for the to at least 10%) senses that voltage in order to detect any
discharge of switch capacitance during A,'s state need for a change in the PGAI02's gain.
changes. Although you could also use enhancement- FET QI serves as a voltage-controlled resistor, thereby
mode MOSFETs, such break-before-make devices don't providing the continuously variable portion of gain
provide a quick-discharge path, so they can permit control. In conjunction with R1 and R" the FET acts as
transients as high as 1.2V during a 30ns switching the grounded leg of a tee network that reduces modulation
interval. of the FET's on-resistance and the consequent distortion.
Adding the gain-polarity control doesn't have a sig- Further, feedback via Rs and R6 drives the FET's source
nificant effect on accuracy as long as you use an OPA606 to reduce overall distortion to 0.07%.
op amp or equivalent and make two circuit adjustments. By controlling the variation of FET resistance, you
First, you can reduce the offset voltage by using the op control the tee network's range of equivalent resistance
amp's offset-adjust terminals (in any case, the op amp's and, therefore, you control· the range of gain for the
input offset voltage is divided by the PGAI02's gain). basic AGC circuit. When the FET is turned off, IC,A's
Next, you adjust the op amp's 5kO resistor values for equivalent input resistor is·llOkO, so IClA's gain is -18.2.
0.05% (or better) matching, which will provide at least On the other hand, when the FET is fully on and has a
0.1% overall DC accuracy for input signals in the 100mV drain-source resistance no greater than I kO, this resis-
to IOV range. tance is halved by the effect of feedback from R, and R6,
The OPA606's fast settling time and large bandwidth and the signal swing across the FET is doubled. Con-
preserve AC response: The output settles to 0.01% in sequently, the tee network looks like a 2MO resistor, and
2.ll"s for either a signal transition or a polarity-change the op amp's gain -I. The add-on output stage has a
command. For high gain, however, the PGAI02's set- maximum gain range of 18.2: 1 and the PGA's maximum
tling time (8I"s) is the limiting factor in Figure 2's circuit. gain range is 100:1, so the overall range is 1820:1.
Similarly, because the OPA606's bandwidth is so wide
(13M Hz), it doesn't affect the bandwidth of the circuit, ADJUST RESPONSE TIME
which is limited by the PGAI02 to 250kHz at a gain of Voltage on C" the AGC holding capacitor, controls the
100. FET and the PGA. That voltage is controlled, in turn, by
feedback from IC'8, which operates as a comparator.
ADD AUTOMATIC GAIN CONTROL The comparator responds to the difference between the
To add automatic gain control (AGe) to the digital- signal peaks and a reference level set by potentiometer
G
1 to 18
10 to 180
100 to 1800
R7. If that reference level is lower than the positive-going current (I'N) develops a voltage on R, that drives the
output peaks, the comparator output swings positive, PGA input independently of signal current in the load
applying forward bias to diode D, and increasing the resistor.
voltage on Ct. The resulting drop in the FET's drain-
source resistance shunts more signal current to ground. LOAD CURRENT HAS THREE SOURCES
R, and C, determine the response time for this action. If The load current (lOUT) is the sum of I'N, the current
the output signal remains too low to trigger. the compar- from the PGA's internal feedback network, and the
ator, the discharge of C, through R. will reduce the FET current from R, (an amplified replica of I'N). The
bias and the consequent signal-shunting effect until the circuit's transfer function is a linear relationship between
increasing gain allows triggering to occur again. You the input and output currents with a gain value that's
should set C,'s voltage-decay rate low enough to prevent established by the PGAI02's gain setting. For resistor
overshoot during gain changes. On the other hand, you values shown in Figure 4a, the relationship is simply
should set the rate high enough for the circuit to respond lOUT= (I + IOG)I'N, where G is the PGAI02's gain.
to sudden drops in signal level, but not so high as to
You choose the resistor values for R, and R, by making a
introduce distortion by allowing too much change in compromise between the need for DC accuracy and
gain between signal peaks. The component values shown
several other (conflicting) requirements. For example,
provide a 15ms response-time constant and a Is decay- for the PGA to receive an input signal that's large
time constant, allowing the circuit to respond to fre-
compared to its input offset voltage, R, should be large.
quencies as low as 10Hz.
A large input signal, however, is inimical to output-
FET Q, goes from pinch-off to full conduction as C, voltage compliance, gain accuracy, and the avoidance of
voltage ranges from -2.5V to OV. An attempt by the slew-rate limiting. Because the R, voltage floats between
circuit to adjust this voltage below -2.5V (beyond the the signal source and load, this voltage reduces the range
point of complete shut-off) would indicate that the AGC of output swing or compliance. Also, the PGA's output
can't provide gain, so the monitor circuit would increase swing must, of course, remain within the constraints
the PGAI02's gain. At the other extreme, a positive imposed by the power-supply and load voltages, and the
voltage on the capacitor indicates that the circuit can't output frequency must not exceed the value imposed by
shunt enough signal, so the monitor reduces the PGAI02's slew-rate limiting.
gain.
Another way to provide digital control of current gain is CHOOSE LOW-VALUE EXTERNAL RESISTORS
to configure the PGAI02 as a current amplifier.(3) You Because of the absolute tolerance of the PGAI02's
modify the feedback network by adding a sense resistor internal feedback resistors, you'd do well to choose low
R, and a gain-setting resistor R, to the PGAI02 (Figure values for the external resistors. Although the internal
4a). This combination causes the amplifier and its feed- ratios are closely trimmed for gain accuracy, their abso-
back circuit to float on the load voltage. The input lute values may vary ±2%. A small R, will minimize the
shown for R1• When you combine these errors, you can
see that the circuit can handle input currents as low a's
251'A with no more than 1% of offset error. Further, the
voltage dropped across the selected resistors reduces the
output-voltage compliance by only O.5V.
D, D,
1N4154 1N4154
A,
A, A, Ao A, A, Ao vou,
1 0 0 0 1 0 100V,.(s)
1 0 0 0 0 1 10V,.(s)
1 0 0 0 0 0 V,.(s)
1 0 1 0 0 0 V,.(s)110
1 1 0 0 0 0 V,.(s)/100
,
0
R.
6k
G
,
than 501-'V I I-'s.) Although the circuit's offset will change ,
0
0
600
60
10
100
A, A" G
0 0 1
0 1 10
1 0 100
FIGURE 8 .By adding op amp Ie] to the circuit in Figure 7, you create an
instrumentation-amplifier input without affecting either the circuit's fre-
quency range or its digital-gain-control capabilities.
DIGITAL GAIN CONTROL WINS OP AMP
A NICHE IN MICROPROCESSOR SYSTEMS
A 2-bit input puts the first monolithic op amp with programmable gain under
digital control for fast gain adjustments for many of the device's usual roles.
As digital control extends its influence, even analog The control logic connects a biasing current source to
circuits' must fall in with its dictates. Gain control, in one of the three differential pairs at anyone time.
particular, is important in data acquisition systems. An Switching, or more aptly current steering, is a long-
associated microprocessor, if assigned that duty, will perfected trick used in digital-to-analog converters and
maintain the high-level signals that vastly expand a is nicely handled by small bipolar transistors.
system's dynamic range. Basically a noninverting amplifier, the PGAI02 can
Amplifiers have been available for some time in also be used in inverting, attenuator, or instrumentation
programmable versions that a supervisory system can applications. To adapt the chip to a particular job, its
instantly tailor to changing gain requirements. But in a several control pins are configured to select the right
gain-switching device, good DC characteristics conflict combination of gain and performance (Figure I b). For
with the needs of speed. To date, hybrid op amps have example, one 2-bit digital code applied to the gain-
traded speed away in favor of good DC input accuracy. control inputs selects A" an amplifier with a short-
The first monolithic programmable-gain op amp, the circuited feedback path. Because of its unity gain, the
PG A I02, manages to preserve both virtues by separat- amplifer can serve as a voltage follower. Amplifer A2
ing them. It makes a ten-to-one speed improvement over can be selected for its gain of 10 and, if required Aa will
hybrid devices, but then relegates DC input accuracy to
one of the many instrumentation amplifier chips capable
of meeting that requirement at low cost. In addition, the
new device creditably performs numerous traditional op
amp functions.
The monolithic realization of the PGAlO2 hinges on a
new switching method. Amplifier gain has typically been
controlled by switching resistors into and out of the
feedback path. However, when switches are connected
to that path, their on-resistance causes gain error and
drift. Although the switches can be placed in an
amplifier's input lead, where there is little current flow,
even there on-resistance would introduce noise. Bipolar
. transistor switches are not the answer either, because of
their inherent offset voltage in the on state. FETs, when
designed for a low on-resistance, present prohibitively
large die areas.
BORROWED TECHNIQUE
To avoid those problems, the gated-amplifier
approach was borrowed from the pioneer analog
computer days. The technique uses paralleled amplifiers
that are switched on and off via a common signal path.
If only one of the amplifiers is turned on, it supplies the
only gain from input to output. Thus the feedback
circuit connected to that amplifier determines the
overall circuit's gain. Conserving hardware, the design
needs just a switch to control the amplifier's internal FIGURE I. Current switching and a simplified gated-amplifier design
biasing (Figure la). Only the input devices of a give the PGAI02 op amp its programmable gain feature (a). Control
signals select one of three input stages to activate a feedback path and
particular feedback channel need be enabled or disabled to set gain (b).
to connect feedback elements.
give its user a gain of 100. Although they would The address bus also carries a signal that serves as
generally be connected to the same signal source, each of both a latch enable and a trigger for a one-shot that
the amplifiers can be fed with separate inputs for causes the sample-and-hold device to sample until it and
multiplexing applications. the programmable-gain op amp have settled. At the end
Other connections on the chip provide similar ways of of the delay, the first one-shot triggers a second one that
modifying performance. Thus the Force and Sense pins holds the converter's buffer in the acquisition mode for
can be used to remove the gain error and drift that might a required settling time. In that manner, the net input
otherwise be introduced by wirebound resistance in the gain is set before every measurement, ensuring
common feedback path. And because connections to the consistently high signal levels.
internal gain-adjustment resistors are brought out to If its input and common connections are reversed, the
external pins, trimming resistors can be added in op amp can serve as an inverting amplifier. The input
parallel to fine tune the gain. signal is applied to the feedback networks instead of to
Even the gain select pins can be customized by the noninverting inputs. In this mode only two channels
applying the correct voltage to the Logic-Threshold are available, since one will have no feedback return to
Control pin (LTC). The gain select pins switch at 1.4V common. The two channels achieve gains of 9 and 99,
above the voltage applied to the LTC pin. (For TTL but for convenience they can be adjusted to 10 and 100
control, LTC would be grounded.) by means of the gain-adjustment pins.
A programmable attenuator is formed simply by
ACQUIRING DATA using the PGAI02 in the feedback path of another op
A data acquisition system is a typical application for amp (Figure 3). There it amplifies the other op amp's
the programmable op amp (Figure 2). There, an output so that a smaller signal will be needed to satisfy
instrumentation-amplifier preamp, with a gain set feedback requirements. When the programmable op
somewhere between 10 and 100, provides initial high- amp's gain is increased, the main device's output drops
precision gain. Then the op amp adds further gain as in direct proportion. Since the basic connection is for an
dictated by control feedback from a microprocessor. inverting op amp, the output will be a negative replica of
the input, scaled according to the PG Al 02's truth table.
0, 0, eo
0 0 -(RJR,) e,
e, R,
10kO
1
0 ,
0 -(RJR,)
-(RJR,)
e,110
e,/1oo
ATTENUATING CIRCUMSTANCES
An op amp of this type calls for other considerations
in addition to resistor values. Because there are two
amplifiers in the feedback loop, extra phase compensa-
tion is needed. Without it, the circuit would be plagued
by additive phase delays of sufficient amplitude to cause
The user controls the circuit by adjusting the gain of
oscillation. A dominant pole must be developed in the
the difference signal between the inputs of the PGAI02
feedback loop with the aid of a capacitor, C. That part
and the voltage follower. To optimize the circuit in other
bypasses the programmable op amp at high frequencies,
ways, the resistance ratios of the two resistor pairs can
reducing the feedback around the other op amp to the
be accuratefy trimmed to improve gain accuracy and
level of an integrator. As long as the frequency response
common-mode rejection. The latter will be no more
plot of the integrator intercepts a line-prescribed by I
than twice the reciprocal of the ratio mismatch. For
+ R2/R,-at a point well below the PGAI02's roll-off, example, if the mismatch is 0.1%, the CMRR will be
the circuit will function well. Because the PGAI02's
2000 or less, or about 66dB.
minimum bandwidth, or fa min, is 250kHz for a gain of
100, values of IOkO for resistor R2 and 150pF for MATCHMAKING REQUIRES ADJUSTMENTS
capacitor C will meet the stability requirement at one- For a very finely adjusted match, at least two of the
fifth the roll-off point. The resulting attenuator resistors should be paralleled by trimming resistors.
bandwidth will be 50kHz. Initial adjustment should minimize the gain error;
Gain and DC errors also delimit attenuator opera- subsequent adjustment is aimed at improving the
tion. The gain errors that result from the ratio of R2/ R, CMRR. Such tweaking can bring the gain error to as
and the PGAI02 itself appear at the output, as does the little as 0.05% and the CMRR to as much as 90dB. Of
input offset voltage of the programmable device; that of course, to retain the performance over time, the resistors
op amp A" however, will be first divided by the must have a very-low temperature coefficient. The
PGAI02's gain. feedback path of the voltage follower is connected
Other types of circuits can take advantage of the one- through the Force and Sense pins of the PGAI02,
chip op amp's programmability. A voltage or current establishing, in effect, a Kelvin sense. In addition to
source fitted with the op amp, for example, gives the preserving gain accuracy, that connection avoids gain
user digital control of those values. That can be error due to signal drop in the internal wire bonds of the
especially handy in an automated test system. feedback common return path. By sensing at the
When the op amp is used in an instrumentation internal common point, associated error is removed
amplifier, it lends the circuit a tenfold improvement in from the input circuit and transferred to the output
settling time and slew rate over prepackaged program- without gain. The connection prevents the wire bond
mable amplifiers. In a conventional three-chip circuit, alone from introducing a gain error of as much as 0.2%
the settling time is as low as 3IJs to 0.01% and the slew at a gain of 100. Although the initial error would be
rate is 9V / IJS (Figure 4). The bandwidth is determined removed by careful gain adjustment, a significant
by the PGAI02 because it is the only device connected thermal drift error would have be.en created because of
for high gain. However, it will be no less than 250kHz. the 4000ppm/oC temperature coefficient of the
In the circuit, the PG A 102 serves as a noninverting wirebond resistance.
amplifier, A,. Another noninverting amplifer, A2, helps The force and sense error reduction technique can be
develop an appropriate signal for differential amplifier applied to most other applications of the monolithic op
A3 and also affords a measure of common-mode amp. The input shown connected to the voltage follower
rejection. A2 is connected as a voltage follower to sense is then simply grounded.
and drive the common point of the PGAI02, bootstrap- Two other parameters benefit from adjustment: input
ping it to remove common-mode signals from the and output offsets. Because this example uses OPA356
feedback path. op amps for their speed, both offsets are larger than
usually desired. The input offset should be adjusted first, gain error and offset voltage of the op amp. The gain
at the highest gain level, using the offset trim adjustment error of the unity-gain bias-monitoring channel will
of A,. Then, at minimum gain, A,'s offsets can be bottom out at 0.003%-or more precise calibration than
reduced to less than 1001tV. the bridge output measurement channels would provide.
Although most of the adjustments can be avoided The input offset voltage is higher on the monitoring
with a preirimmed difference amplifier, that solution channel, but its contribution to total error, in view of the
sacrifices the speed advantages of the OPA356. Gain high level of bridge bias, is not ,significant. Lower offsets
scaling is also a factor that encourages building, rather are introduced in the bridge output sensing channels,
than buying, a difference amplifier. Thus while the where much lower signals are measured. Once again, the
PGAI02 sets the circuit at gains of I, 10, and 100, relative error in the calibration channel is much smaller.
changing the gain of the difference amplifier affects the Although it might be considered a nuisance, the
overall circuit gain. A pretrimmed difference amplifier bridge's sensitivity to biasing voltage can actually be put
does not allow that flexibility. to good use. Instead of switching amplifier gain, the
apparent gain of the bridge can be changed by simply
BUILDING BRIDGES
switching the level of bridge bias. Since the bridge's
The output signal of a bridge is proportional to the output is directly proportional to the bias, the net circuit
current flowing in any of the legs. The current, in turn, response would be correspondingly scaled.
is directly related to the bridge's bias voltage. For that A programmable attenuator circuit (Figure 6)
reason, a highly accurate and stable bias supply is illustrates how the PGAI02 can affect bridge biasing.
necessary, or alternatively, periodic corrections must be The circuit is equipped with a transistor to boost the
made under software control. current over the bridge. For precise, consistent bias
The multiplexing capability of the PGAl02 comes in voltages, the REFIO voltage reference is added as well.
handy for a dual assignment: monitoring the bridge's It sets the scaling standard by virtue of its 0.05% initial
output and periodically checking the bias level for accuracy and Ippm/oC drift. That precision is met with
calibration purposes. In a representative circuit, the op compatible performance from the op amp, but the other
amp serves as a programmable-gain block to boost the components must be carefully selected to ensure a high
output of an instrumentation amplifier (Figure 5). The level of accuracy for the entire circuit.
unity-gain input of the op amp is connected directly to
the bridge bias supply instead of to the instrumentation
amplifier.
10V
o 1V
1 0.1V
o v.
o 10 v.G, (dR/RI
1 100V.G, (dR/R)
~ r
Briefly. ECl has lower logic delay than T l. is less noisy. I I 1
and the data registers have low data skew. In addition. the DI61TAliNPUT I : I
I
circuit structure of ECl naturally lends itself to cleanly I
driving lines free of reflections and over-shoot. This IIT12·12 I
I
Application Note will show how these desirable properties I I
can benefit the user in a particular application. I I
I I
--I
I
I
I
I
ECl VERSUS T2l I
I
When the clock rate is greater than 10M Hz. it becomes I
I
difficult to isolate digitally generated noise from the I
analog circuits and ECl circuitry starts to have advan- I
tages. This section will focus on comparing ECl vs Tll
with respect to data skew. ground currents. line driving
and receiving capability. In particular. the impact as to FIGU RE I. Response of Digital-to-Analog Converter in
how these characteristics affect the generation of analog Presence of Digital Data Skew.
waveforms will be shown.
Therefore, for a period of time equal to the data skew. the
DI A converter output would start to head in the direction
of an output that was considerably different than a I lSB
change from the previous code. The phenomenon that is
DATA SKEW AND GLITCH created by data skew is often referred to as a D I A output
Data skew occurs when all the digital inputs do not glitch. A convenient way to specify the glitch is by
change at exactly the same time and is defined as the measuring the area of the glitch in units of lSB-nsec.
difference between Tpd(+) and Tpd(-). Tpd(+) is the Some manufacturers specify the glitch in units of m V-
positive going propagation delay while Tpd(-) is its nsec or mA-nsec but for purposes of comparing one DI A
negative counterpart. As an example of the phenomenon. to another using the units of LSB-nsec is the preferred
consider the major carry e,pange to a 12-bit DAC. For a way.
I lSB change around the MSB, the code would change
from 0111 I1II IIII to 1000 0000 0000 under ideal Tpd(+) and Tpd(-) tend to match within 0.2nsec for ECl
conditions. With the presence of data skew all bits might as compared to about 2nsec for TlL. Therefore. due to
not change at the same time and an intermediate code this characteristic. data skew will be reduced by an order
could exist. As an example of this phenomenon. consider of magnitude.
what would happen if the MSB changed more rapidly
Applications such as displays and precise amplitude or
compared to the rest of the bits. so that the code transition
phase synthesis required in digital TV are adversely
pattern would be
affected if the glitch is too large. For these situations ECl
will yield performance superior to that of Tl L.
Glitch performance of 250lSB-nsec is obtainable with
l2-bit ECl DAC's without the need for deglitchers. See
Figure 2 for a test circuit that displays the glitch
characteristic.
~~.J
.". CI2 ~ 3
l I I
Cur"ntllul ~A3 741 Ikll R38
AlIURR·IRoWN
I I
INC3 oPAllOO 1NC2 ~~r 4 7- 3 D 4 .52V1Oj;
(~ ..
UpF
( \-,
, ..L l~r
':" Cll .15VoC
I IC3 MClolo,
18 5
I
-=- ~f- 7
r ~-;;-ch
C3 ~~ -5.2V .o.aV
+15 C2 ':" '1~4VOCClI. +1H5VDC C18 Sl.
,~! 4
l~F
I~F Rn 1 ·1.7V
..dr
-=-C1112y
53
,
~+
":'" CI CIR ~. ~II
R2I ~R28 R3D~R31 III 13
24 22 23 12 13 I 10
I "Al 1"3 I
I 14 ~ 7
t::l-..
'jt-
1 211 11 14 ICI 11 15· 1
...c(-
M ~too..
_C4
IIi' f"'-
14
~Wl
I 18
10
8
15
2
:e
;;
12
5
Z 16C=IO
3 4 01 I
.J-
_
-
I
7
3
4 I
~
87
8
--'-
14 10 13 33Dll
DAC13
UndlrTa'
188
=C;4~~"
L 15
Ice
!1
~ 18
78-t -=
f1R6
8 13 I 10 2 I
J33011L
5
4.rlR4
rlRl
14
15
IC2 11
:e 12
--=
348
14 1013
"N-r R34
3 ..,R3
4 ~ 7
151ea , D..- 33011 330114c-
R35-
rlR2 2! !!J~R3B
3 • 8
13 14 15 18
r-l 2
18WJ I.L
5 3 i I ~·2V-52V
II I I ~ ••••••...
8 --l ..J.. ~~
I..I~F
-=-
1;~
li13
Tin Turn t ~l'okll
PT
Iii
·15VoC
Coarse
The circuit in Figure 2 uses the DAC63 to generate a
staircase waveform which can be examined to evaluate
the glitch performance. Digital data is generated by a
counter comprised of IC4. IC5 and IC6. ICI and IC2 are
data registers that are strobed at the proper time to enter
low skew data into the DAC. Variable resistors R I
through R6 have the function of adjusting the data delay
to reduce the glitch si7e. IC6 buffers the clock input and
generates the proper logic threshold voltage for the DAC.
Op amp A I can be used to increase the output voltage if
necessary.
PI_
IIIppl,
~
-Iy
c..-
'"''
••••••
Amy
OAC
IIIIWlr
nil. Illite 'lAC
IUllllly
2'
22
r2L
Ortlntld ~
olgllli 0AC83
21
Procu.
~
210
211
212
Prior to sending the digital data down the line, the data is each sample point which would be used to generate the
converted to an ECl format by the use of the M C 10124 encoding table for the ROM. Refer to Figure 9 which
which is a quad-differential T'L to EeL translator. shows a block diagram of an actual system that will
Transmitting the data diffcrentially, as shown in Figurc 7, generate a high speed synthesized waveform.
maintains the correct logic threshold in spite of cable
losses and temperature differences between the sender WordM-I
and the receiv·er. The data is received by the use of the WordM -~----------------
-----------------
WordM.I~----------- I
MCIOI15 which is a quad-differential line receiver. At I
I
can create a noisy analog signal which the data register Wonl4
Word 3 = =r-r
,
I
,
I
,, I
,,
I I
OF AN ANALOG WAVEFORM ,
Another use of a high speed digital-to-analog converter,
I I 1/
•• 1
'~i
'I
I :
I
I
I
1.1
waveform. While there are many ways to accomplish this I 234 Simp" M
with lower frequency circuitry, the use of a high speed FIGURE 8. Arbitrary Waveform To Be Synthesized.
DAC is an attractive alternative. A high frequency DAC,
such as the DAC63, is capable in the small signal mode of The sample points would correspond to the ROM address
being updated at a 50M Hz rate which will substantially while the ROM output would be the associated code at
ease the subsequent analog filtering requirements. each one of these addresses. The block diagram shown in
Figure 9 has the capability to create a waveform with 256
sample points and can generate a waveform with an
Figure 8 shows an arbitrary analog waveform that needs effective sampling rate from 25 to 50MHz. The block
to- be synthesized. If the waveform were sampled at diagram shown in Figure 9 is attractive because of the
periodic intervals, the synthesized waveform would result. simplicity with which it can be designed. Another
This synthesize procedure would consist of mathema- approach could be to use bit slick hardware which is
tically computing the closest 12-bil approximation at microprogrammed.
- MCIOI3ll
MCMJOI.
~
'---
....--- MCIOI38 ~8ynlllllllld
OAC83 AnlIIlI OUt
MCMIOIU
12-BIT 250nsec ANALOG- TO-DIGITAL provide the fine resolution that flash encoder I was not
CONVERTER able to achieve. Flash encoders 2 and 4 serve the purpose
of handling the over or under flow that could be generated
See Figure 10 for a block diagram of a 250nsec. 12-hit
analog-to-digital converter. This converter can he imple- as a result of the subtraction that was previously
mented at a cost in the neighborhood of $800. When a mentioned. The over and under flow result from the fact
designer is faced with a "make or buy" decision. this that flash encoder I will not have 12-bit accuracy and the
would represent another way to go. residue signal that appears at the output of the amplifier
will be. the sum of the offset and gain error of flash
encoder I in addition to the quantizing error. The output
The block diagram works in the following way. At the
of all the flash encoders are then fed into a two's
heginning of the conversion Interval. flash elll'otkr I
complement adder so that final 12-bit word can be
samples the input but can only resolve the signal to I>hits.
created.
The first 6-bit approximation is then converted back to
If the gain of the amplifier is set high enough, the block
analog form with the DAC and subtracted from the
diagram just described is not sensitive to any of the offset
original analog input. It is very important that the digital-
and gain errors associated with the flash encoder.
to-analog converter have 12-bit accuracy and precise
settling time as it will not be possible for the AI D
It should be noted that since most flash encoders have
converter to achieve 12-bit performance o' .•erwise.
ECl outputs, having a fast settling ECl DAC provides a
natural interface in this application. The analog-to-digital
After the 6 bit approximation is converted back to analog converter shown in Figure 10 is a very effective architec-
form. it is subtracted from the input signal and amplified. ture because the only component that needs 12-bit
The output of the subtracting amplifier then drives flash accuracy is the DAC. Errors of the Flash Encoders will
encoders 2, 3 and 4. The function of flash encoder 3 is to ha ve a negligible effect.
21
22
.1
23
21
24
An"" In 22 12-111 Two'.
AMI •• DIgItII 25
23 ECl
III Out 24 ClmpiamMl 2B 1lI11l1100t
~B1tRIIII 25 DAC
Enetdlr 2B 27
Adder
2B
AMI •• Dill
CIII'U ClftVlftar 211
21D
211
212
The circuit shown in Figure I will capture and hold the mode on the first peak. Bringing RESET high momentar-
peak value of fast-changing analog signals. ily will return the SHC804 to the track mode, ready for
The occurrence of a peak is detected by the diode- the next peak. If the reset function is not used (RESET
clamped differentiator circuit, which is built around an left high), the circuit will hold the peak only until the
OPA600 op amp. When the input voltage reaches a peak input signal falls below the threshold or starts to rise
and begins to decrease, the current in capacitor CI again to a new peak.
reverses, causing the op amp to switch rapidly from its The 3553 input buffer is used to isolate the source from
negative to its positive output state. Comparator 2 the large input capacitance of Cl.
detects this change and switches the SHC804 into the As shown, the circuit is configured to detect positive
"HOLD" mode, freezing the peak value. At the same signal peaks over a ±IOV input range. Note, however,
instant, the PEAK DETECT signal goes low, which can that the output will be inverted due to the -I gain of the
be used to initiate a reading of the peak value by an AID SHC804. If a careful layout and a good ground plain are
converter (such as the model ADC803). used, the circuit will maintain high accuracy even for
In many applications, it is desirable to establish a very small signals. To use the circuit for negative-going
threshold level such that the peak detector operates only signal peaks, simply reverse the input polarity on both
for signals above a preset limit. This prevents false trig- the comparators.
gering on low level noise peaks. In order to accomplish Key SHC803/804 specifications:
this, comparator I is used to keep the SHC804 in the Acquisition time 350ns, max
"SAMPLE" (track) mode as long as the input is below Sample-to-hold
the threshold (see Figure 2). This level is set by the 5kO settling time 150ns, max for
potentiometer. ±0.01% throughput nonlinearity
If the RESET function is used, it should normally be Aperture "jitter". . . . . . . . . . . . . . . . . . . . . . . .. lOps, typ
held low. This causes the circuit to latch in the "HOLD"
Analog
Output
Analog ~ Out 1 ~
Inpul ~
son ~
lkn
~n·;~:
~r-----------,
!
I
:
I
;.f-kn
10V
i
I
I
Comparator
!
I
Zener ~
:
-5V Supply L -::~:V ...J
I
I
-----~--------- --------J------------
I
-1_---
Comparator 2
I
I
Output
-------------
(Hold Input) I
I
I
I
A WAVEFORM DIGITIZER FOR DYNAMIC TESTING
OF HIGH-SPEED DATA CONVERSION COMPONENTS
This application note presents a highly accurate and
A sampling waveform digitizer is suitable for production
flexible measurement technique which achieves previously
testing of high performance analog and data conversion
unattainable results in the measurement of settling time,
components. Completely automated dynamic perform-
and also meets all the essential requirements of a pro-
ance characterizations of sample hold amplifiers and
duction tester. The system can easily be adapted to
fast digital-to-analog converters, including accurate
measure the dynamic characteristics of op amps, DACs,
measurement af settling time, have been implemented
sample/hold amplifiers and other analog system com-
with this technique.
ponents. In addition, its flexibility makes it suitable for
One of the most challenging requirements facing a testing the dynamic switching characteristics of digital
supplier of high speed, precision data-conversion com- logic circuits.
ponents is the accurate and' efficient measurement of The measurement system is essentially a sampling wave-
dynamic performance parameters. Important dynamic form digitizer which operates under computer control,
characteristics are usually determined via rather pains- enabling digital storage of time and amplitude points for
taking laboratory evaluation of a few randomly selected software analysis. It employs a synchronous sampling
devices. Often the proced ure involves the use of several detector consisting of a latching comparator with inte-
different fixtures, requiring a skilled technician to operate grator feedback. This sampling technique meets the
the instruments and record the results properly. The critical requirements of a high accuracy, high speed
performance specifications are then published as "typical" digitizer: wide analog bandwidth, very short aper~ure
or "guaranteed but not 100% tested," neither of which is time, high linearity, and low noise.
very satisfactory from the customer's point of view.
Some measurements, such as settling time of a fast ALTERNATE APPROACHES
current-output digital-to-analog converter (DAC), are Before adopting the technique described herein, several
traditionally so difficult to perform that the published alternate approaches were considered. These include:
specification is in fact only a "best guess," which the high speed clipping amplifiers with oscilloscope viewing
customer must verify by observing the device's apparent of the output, sampling oscilloscopes, window comparator
performance in his particular circuit. Therefore, it has techniques, and commercial waveform digitizers.
become increasingly desirable to perform these difficult Conventional wideband oscilloscopes are suitable for
dynamic measurements on a production basis, as well as measuring dynamic characteristics to only one or two
in the design laboratory. This requires that several percent accuracy. Precise settling time measurements
different characteristics (e.g, settling time, slew rate, cannot be made directly because the very large dynamic
bandwidth. time delay) must be tested quickly, reliably, range of the signal overloads the oscilloscope amplifiers.
and with minimal socket changing or operator inter- Therefore, test circuits have been developed specifically
vention. to prevent overloading in the oscilloscope.
These requirements became especially clear during the By clipping the test waveform with diodes or special
early development of a family of high speed data- "clipping amplifiers," it is possible to display the waveform
conversion components, namely two fast-settling DACs on the most sensitive scale without severe overloading.
and a high speed sample/hold ;lmplifier. The DACs However, the measurement accuracy still depends on
(both Eel and TTl input versions) were required to se~ral high speed, open loop amplifiers between the
settle to 0.01% accuracy in 40ns; the sample/hold had to signal source and the display screen. The clipping circuit
acquire a IOV signal to the same accuracy in approxi- and amplifiers are themselves prone to thermal tails,
mately 250ns. Because the most important design choices ground loops and signal distortion.
were those that affected the speed/ accuracy performance,
Another technique to prevent oscilloscope overloading is
it was necessary to be able to measure the dynamic
to sum the settling waveform with a step generator of the
parameters reliably and verifiably. Also required was a
same amplitude but opposite polarity, so that the large
technique suitable for medium to high volume production
signal excursions are cancelled out.' This method requires
testing, as well as one that customers could use for
that the settling time of the step generator itself be
performance evaluation and incoming inspection.
significantly shorter than that of the device under test, characterization work, because it gives no information
presenting a problem of test verification. If the settling about the actual shape of the waveform.
characteristic of the step generator could be measured, To meet the needs of both the development laboratory
the capability of making the original settling time and the production floor, a system which permanently
measurement would already exist. Therefore, the step records the detailed waveshape is required. In other
generator is assumed to settle well based on theoretical words, the ideal system is an accurate, high speed
circuit calculations rather than experimental verification. waveform digitizer.
Signal clipping and step generator techniques have been Recognizing this, test equipment manufacturers have
used successfully to measure current-mode DAC settling developed digitizers in various forms. Waveform record-
up to twelve-bit resolution, but a high level of expertise ers, transient recorders and digital oscilloscopes are all
and engineering art is required to implement them designed to capture and store a set of time-amplitude
properly. Interpretation of the displayed waveform is points in digital form. Once the signal has been digitized,
subject to operator error, and the test fixture is limited to it is equally useful for production pass/fail decisions as
settling time measurement. Evaluation of other parame- for detailed engineering analysis.
ters still requires an assortment of fixtures and equipment
While the digitizer concept is attractive, commercially
hookup configurations.
available units do not yet offer the combination of
Sampling oscilloscopes have very high bandwidth and bandwidth and resolution necessary for the type of high
avoid the overload problems of conventional types, but accuracy measurements under consideration.
the accuracy of the internal diode sampling bridge is
limited to one or two millivolts. Also, there are numerous DESCRIPTION OF THE SAMPLING DIGITIZER
practical problems in attempting to drive the low input
Figure I is 'a block diagram of the digitizer. The waveform
impedance. under test is fed to the inverting comparator input. The
An interesting method of testing settling time on a comparator's digital output is integrated by op amp A,
production basis is presented by Whealler'. This system and fed back to the noninverting (reference) input.
uses a window comparator with adjustable thresholds. The latching comparator is functionally equivalent to a
Once the DC final value of the waveform is determined, conventional comparator whose output is latched with a
a system of DACs sets the reference levels at the positive "D" type flip-flop. The comparator's strobe input corre-
and negative limits of the error band. The test stimulus is sponds to the clock input of the flip-flop (Figure 2).
then applied to the DUT, and the window comparator
output is enabled after the allowable settling time has
In a true latching comparator, however, the latching
action occurs in the analog input stagel which has only
elapsed. If the DUT output then exceeds the error band,
moderate gain but very high bandwidth. Therefore,
the comparator triggers a flip-flop to indicate a settling
propagation delay and bandwidth limitation in the high
timc failure.
gain output stages do not affect the accuracy of the
The window comparator is suitable for pass/ fail produc- measurement. Because the latching event is edge-triggered,
tion testing of moderately high speed waveforms. How- the effective aperture time is well under 500ps.
ever, it does not lend itself to laboratory development or
Digitally Analog~to-Digital
Programmable Converter
Delay (DVM)
ADVANTAGES OF SYNCHRONOUS SAMPLING
The repetitive sampling technique (sometimes referred to
as "equivalent time sampling") has several important
advantages over transient recorders or window compar-
ator methods. First, random noise in the system is
averaged out by the op amp integrator. The effectiveness
of this noise averaging is determined by the integration
constant and the number of samples taken at each time
point. This is in contrast to the single-shot "transient
recorder"type of digitizer, in which the sample/ hold acts
as a peak detector for system noise.
Second, the op amp integrator operates at very low
frequencies (essentially DC) relative to the waveform
under test. Only the comparator input circuitry is required
to track the input waveform. There is no need for a
precision high speed amplifier, which is a significant
limitation in conventional sampling systems.
A third important advantage of this repetitive sampling
technique is that the measurement resolution is not
limited by the comparator's tendency to oscill.ate for very
FIGURE 2. (a) Logical Equivalent of Latching small differential input voltages. In other systems, this
Comparator; (b) Latching Actually Occurs "oscillation band," which is typically l-5mV for high
in the First Stage. speed comparators, is a significant resolution limit. The
oscillation can be prevented by adding positive feedback,
Figure 3 is an illustration of the sampling/ digitization but the resultant hysteresis around the comparator trip
process. Sampling of the waveform under test is accom- point is also detrimental to system accuracy.
plished by repeatedly strobing the comparator at a In the sampling waveform digitizer, this oscillation is
selected time point, until the integrator feedback forces prevented by strobing the comparator with a narrow
the comparator reference input to equal the sampled pulse (5-lOns wide). This enables the feedback loop to
value of the input signal. In effect, the comparator/inte- track the sampled value with far greater precision than
grator loop forms a bang-bang servo in which the the "oscillation limit" would suggest. In the author's
equilibrium condition results when the integrator output system, the resolution limit is approximately 50ILV, or
oscillates about the sampled value. Once the loop settles, roughly 50 times more precise than the comparator
this value is read by the analog-to-digital converter and alone.
sent to the computer. The sample point is computer
controlled via the programmable delay.
I r Waveform Being I I
I I Sampled at t ~ lOOns I I
II II
+5V II II
JlJlJlJ
I II
W~Vne~~;m 0 II II
Test II II
-5V: I I I I I : l :
I I I II I I I II I I I
I
I
I
I
I
I
II i
I
I
I
I
I
1'1: I
:I i
I
Comparator
Strobe
Signal ~~~
II II
Output of +5V II I ------------
I ••
Comparator- _0 11 I I
Integrator II 1I
Loop -5V II I:
II ~======:::; II
Waveform
Under I
Test I
-ll_
I
Comparator
Strobe
Signal
Integrator
1_-
Output
(Magnified)
For settling time measurements, the required timebase signal to be digitized is completely random or completely
resolution is not immediately obvious. If too few samples unknown. Because the settling waveform is not entirely
are taken over the period of interest, it is possible that random, reasonable assumptions may be made to reduce
the waveform could exceed the error band between the number of sample points and thereby speed up the test.
samples. To illustrate this, consider the case of an
oscillatory settling response (Figure 5). If the sampling DESCRIPTION OF THE PRESENT SYSTEMS
increment is an integer multiple of the oscillation period, So far, two types of automated benchtop testers have
the sample points may easily coincide with the zero been implemented with this technique. The first is used
crossings of the wave. In that case, the measured settling for measuring the settling time of a 12-bit DAC whose
time would be very much shorter than the actual. current mode output reaches 1/2LSB accuracy in under
40ns. The second is a dynamic tester for sample/hold
amplifiers which measures acquisition time, sample-to-
hold settling time, aperture delay, glitch area and slew rate.
DAC Tester
Of the two, the DAC tester is a more basic implementa-
tion of the block diagram shown in Figure 1. Nonethe-
less, it is noteworthy because it allows reliable and
verifiable production testing of current-mode DAC
settling, which has been one of the most difficult measure-
ments to perform under any circumstances.
One way to prevent this type of error is to apply the
A simplified schematic of the DAC tester is shown in
Nyquist sampling criterion:
Figure 6. The test stimulus signal is provided by ICI, a
Ts < 1/2 fMu TTL oscillator set to run at approximately IMHz. IC2 is
where Ts is the sampling increment and fMu is the an 8-bit programmable delay line which is adjustable
highest frequency component of the waveform. However, from 0-255ns in Ins steps. The delay is computer con-
strict use of the Nyquist rate is required only when the trolled using a general purpose parallel output port.
IC1
74LS324
Clock
fo-1MHz
~0.1/1F
IC2
In
PTTL-2o-1
Out
I Programmable Voltmeter I
a-Bit Delay Line
0-255no
000000
The rising edge of the delay line output is converted to a This is required "to prevent the comparator input current,
positive pulse (approximately 7ns wide) through the which switches on and off at the clock frequency, from
TTL "differentiator" circuit formed by IC3. This TTL causing a disturbance at the integrator output. The DC
pulse is translated to ECL levels with a resistor network output is sent to a digital voltmeter which communicates
and becomes the comparator strobe signal. with the computer over the standard IEEE-488 instru-
The original clock signal is also used to switch the DAC ment bus.
under test between zero and full scale, with the polarity Sample/Hold Tester
selected by the computer via IC4. To ensure that the
Shown in Figure 7, the sample/hold tester extends the
comparator can sample at the actual transition time of
capabilities of the basic digitizer by employing three
the DAC, IC5 is used to add delay. This compensates for
separate comparator / integrator loops-one each for input,
the built-in strobe delay through IC2 and IC3. The
output, and amplifier error signal (false summing node).
computer can thus calibrate itself to the "time zero"
A fourth latching comparator, without an integrator, is
point of the DAC output waveform by digitizinag both
used to detect the exact timing of the hold-to-sample and
before and after the transition.
sample-to-hold transitions at the hold command input.
The O-lOmA DAC output is converted to a voltage by
All comparators are latched simultaneously by the vari-
the 2000 shunt resistor. Thus, the value of the least
able delay circuit, which is programmable in Ins incre-
signficant bit is:
12
ments from 0-64l's. The exact value of the delay is set by
LSB = 2V/2 = 2V/4096 = 0.5mV placing a l6-bit control word on one of the computer's
or roughly ten times greater than the minimum system parallel output ports.
resolution. The timing circuit uses a 4MHz crystal-controlled clock
IC6 and IC7 form the comparator-integrator feedback to allow 256 "coarse" delay settings from 0-63.75I's. The
loop. Note the "T" filter network which isolates the clock signal increments an 8-bit binary counter every
comparator reference input from the integrator output. 250nsec. The counter value is compared with the upper 8
Sample/Hold
Under Test
(Gain = -1)
Parallel
TTL
Output
Ports
bits of the "delay select" word from the computer. When shows the detailed settling characteristics as measured at
the two numbers are equal, the output of the 8-bit the false summing node.
magnitude comparator goes high. This rising edge is sent
through the 0-255ns delay line, which adds the "fine"
delay value as selected by the lower 8 bits of the control
word. The delayed signal is then converted to the com-
parator strobe pulse by a differentiator /level shifter cir-
cuit similar to the one described above for the DAC tester.
The test stimulus signal is created by dividing the 4MHz
clock frequency by a factor of 256, giving a square wave
with a period of 64ILs. The sample/hold itself is driven by
a fast settling generator which converts TTL levels to
±5V. The generator can be set under software control to
follow the test stimulus, to invert it, or to ignore it. In the
last case, the generator output can be fixed at ±5VDC
for observing the final value.
The TTL hold command signal is controllable in the
same way as the generator input, except that it is delayed
by 500ns through a shift register.
By independently controlling the polarities of the gener-
ator and the hold command signal, the tester can be
configured to measure acquisition time (hold-to-sample
settling time), sample-to-hold settling time, sample-to-
hold offse.~.~pedestal), glitch amplitude, aperture delay
time, hold mode feedthrough rejection, risetime, and
slew rate. The analog multiplexer determines whether
the voltmeter reads input, output, false summing node or
hold command.
For acquisition time measurements, the familiar "false
summing node" method is used. Because this technique
reproduces the error signal of the internal amplifier in
the sample/hold, it automatically compensates for slow
settling tails in the signal generator. This was convenient
since the sample/hold in question is based on an inverting
amplifier. However, it should be noted that noninverting
amplifiers and sample/ holds can be measured just as
accurately by digitizing both input and output signals. In CALIBRATION STANDARD
that case, software calculations would compensate for
With any measurement technique, it is desirable to have
any imperfections in the test signal generator.
a calibration standard to validate the results. Although it
Acquisition, sample-to-hold settling and aperture delay is impossible to generate a "perfect" voltage step (i.e.,
are defined with respect to the time of the hold command zero risetime and zero droop or ringing), a close approxi-
transition. Therefore, the hold command signal is fed to mation can be realized with a network of Schottky
a latching comparator whose reference input is tied to diodes as shown in Figure 9(a). The theoretical turnoff
+1.4V, the TTL switching threshold. The voltmeter time of this network is dominated by the RC time
reads the comparator output directly; no integrator is constant, and may be calculated as follows:
required because the shape of the wave is not critical.
CNode = COiode + CComparator Input
In searching for the exact time of die signal transition,
the computer operates in "successive approximation"
RC = 2000 X 5pF = Ins
fashion. First, the comparator is strobed at a particular Settling to 200ILV for a 2V step (0.01% settling requires
time point and its output is digitized. Next a different that
time point is selected. If the comparator output switches, V(ts) = 200IL V = V(O) (I - e -IS IRe)
the computer tries a value midway between the first two. Solving for ts gives ts = 9.7ns
The process continues until the switching time point is In practice, the settling time is also affected by ringing
found, and all subsequent measurements are referred to due to lead inductance and imperfect grounds. Figure 9(b)
that value. is a computer plot of the Schottky diode turn-off
Figure 8(a) is a computer printout of the measured waveform as measured on the digitizer system. The
acquisition time characteristics, in which t = 0 corres- measured settling time to ±200IL V is within 7ns of the
ponds to the hold-to-sample transition. Figure 8(b) theoretical.
Again the Schottky diode turn-off waveform serves w~ll
to verify the final value measurement. The network In
Figure 9(a) settles exactly to ground independent of
heating effects in the diode or resistors.
I
I en" = Analog input Ilgnal
I e. (I •• ) = sample/hold output at time of M$B strobe
I a. (Ill = 5amplelhold output at time of LSB Itrobe
I Ae •• = MSB flash encOdar error
I
I I Aeo = Dlgit,Ho-analog con .•.•rt.r error
I • .tt.eL = LSB fI.,h encoder error
Hold 1M
Tr8Ck~
I
I
Digital
M5B Digital-to L5B
Error
Flash Analog Flash
Encoder Converter Encoder Corrector
(Adder)
Digital Output =
Dlglt.1 Output = eaCh.) - A80 + AeL
Input OAe LSB Encoder
•• (ILl - le.(IM) + Ae •• + oeD] + ,e.(h.) + Ae ••] + AeL
Error Error
Input Output from MSB Output from
Flash Encoder in LSB Flash
Analog Form Encoder
/ \_-_/ \_-_/
S-.-~-~lt-e:U-~O-ld--""--------~~ /
-"S-B
=v=".
-EnC-od-.'--L-J
V
l-.-J
V
, __ I
I
=~~~==~ ~I '--
I__....•
~I--------- ..•
I ~I--------- ..••. _
LSB Data ••
-=n-
..__ 8 n
•• _
timing problems. Once the data representing the conver- gain of an operational amplifier is set by external
sion is stored in digital form, the sample/ hold is placed resistors, it is possible to then laser-trim the gain of the
back into the sample mode. For similar reasons, the data entire sample/ hold to a precise value. In addition, provi-
output from both encoders is stored in a l4-bit latch. A sion is made to trim both the offset and offset drift of the
pulse derived from the LSB encoder strobe occurs 22ns entire sample and hold by trimming those parameters at
later to enter data into this l4-bit latch. A final pulse, the amplifier level. Initially, measurements are made to
called Data Valid, is generated to indicate when the determine the untrimmed offset and offset drift. It has
digital data is stable at the output of the converter. For been determined that the sensitivity of offset is
ease of signal routing, these final timing signals are 31-'V /oC/ m V for the entire sample/ hold. Therefore, once
located within the Digital Error Correction module. The the untrimmed drift has been measured, changing the
various timing pulses are laser trimmed to Ins accuracy. offset by trimming either Rl or R2 nominally sets the
voltage offset drift to zero, RI and R2 being the emitter
ADC MODULES resistors of the current sources that set the current in the
Sample and Hold-The sample/hold, the SHC600, input FET stage that affects both the offset and the
acquires input step changes of 2.SV to 0.1% accuracy in offset drift. R3 and R4, the source resistors associated
30ns. The aperture time of the sample/ hold has been with the FET Ql and Q2, are then adjusted to bring the
measured to be Sps, with a small signal bandwidth of overall offset to zero, as these resistors do not affect the
7SMHz. Table II summarizes the other characteristics of offset drift.
the sample/hold. Figure S shows a simplified schematic The sampling function is performed by switching the
of the sample/ hold. One of the unique features of this bridge of hot carrier diodes CRI through CR4 from the
design is the use of a closed-loop FET operational "on" to the "off' state. The bridge bias current is
amplifier to buffer the hold capacitor. There are several generated in current source FETs Q3 and Q4. During the
benefits that result from the use of a feedback amplifier sample mode this current is steered through the diode
in this application as compared to an open-loop buffer bridge by turning on transistors QS and Q8. The bridge
that is commonly found. Due to the fact that the is returned to the hold mode by turning QS and Q8 off
operational amplifier is connected as a voltage follower, and turning Q6 and Q7 on. The action of turning Q6 and
the output impedance of the buffer is 0.2S0, as opposed Q7 on creates a negative bias on the anodes of CRI and
to SO that is typical of an open-loop buffer. This CR2 and a positive bias on the cathodes of diodes CR3
simplifies the interface between the sample/hold and the and CR4. Since the bias voltages are referenced to the
rest of the system, as the other system components (such output, creating a "bootstrap effect," the reverse bias
as the subtraction amplifier and the flash encoder) do voltage that diodes CRI through CR4 experience becomes
not require high impedance inputs. The sample/hold can independent of signal level. This is an important aspect
drive low impedances, which results in reduced settling of the design, as this action prevents the charge offset
times when terminated signal lines are used. Since the pedestal from becoming a non-linear function of signal
level. An ECL signal is coupled to switching transistors Output Impedance 0.2S0
QS through Q8 through matched level translating zener Noise (BW = SMHz) SO,..V
diodes DZI through DZ4. The sampling bridge is isolated Power Dissipation I.3W
from the analog input signal by a high-speed open-loop 7-811 Encoder-The 7-bit encoder is formed by parallel
buffer. To obtain the optimum mix of manufacturing connecting two 6-bit ECL flash encoders. See Figure 6
simplicity and circuit performance, the sample/hold Which depicts how this is done. The encoders that
employs a thin-film-on-ceramic substrate. Thin film process the most significant bits and the least significant
resistors are capable of being laser trimmed, which is bits are substantially the same. The MSB encoder has an
required to achieve low values of voltage and pedestal attenuator of O.S in front of the actual encoder to
offset in addition to 0.1% gain accuracy. interface properly with the sample/hold. The input 1000
TABLE II. Characteristics for High Speed Sample/ Hold resistors, in the MSB encoder, form an attenuator,
SHC600. reducing the input voltage swing to 1.2SV. Each encoder
Acquisition Time (2V step): to ±1.00%. 20ns accepts a 10V reference signal from the DAC module.
to ±0.10%. 30ns ICI buffers the reference, applying it to the flash encoder
to ±0.01% 40ns as the positive reference voltage. This same voltage is
Sample-to-Hold Settling (to ImV) 12ns also applied to a unity gain inverter, IC2, which supplies
Sample-to-Hold Transient l2mV its output to the flash encoders as the negative full-scale
Aperture Delay Time.. . . . . . . .•. . . . . . .. .. 6ns reference voltage. Offset adjustment is achieved by
Aperture Uncertainty.. .. . . . . . . . .. . .. .. . . . . . . . . .. . Sps trimming either R3 or R4. Adjusting these resistors
Slew Rate ±300V / ,..s compensates for the difference in ladder impedance that
Small Signal Bandwidth 70MHz may exist between the two 6-bit flash encoders that
Harmonic Distortion comprise the 7-bit encoder. If left uncorrected, this
(2V p-p at SMHz) -70dB below full scale difference in ladder impedance creates an offset. 22ns
Hold Mode Feedthrough Rejection (at lMHz) 62dB after the trailing edge of the strobe, output data is
Output Current SOmA presented to the DAC and to the digital error corrector
for further processing.
+ Reference ~' (MSB)
6-Bit 2'
Flash 2'
Encoder 2. Digital Output
2'
Analog
2'
In
- Reference 2'
+ Reference
6-Bit
Flash
Encoder
Analog
In
- Reference
Dlgltal-to-Analog Converter/Amplifier Module-This the rest of the system along with a 1.5mA current that is
module contains four main sections: a DAC, a reference used by the DAC.
generator, an input switch, and an output amplifier. The The residue or difference signal is created by resistively
DAC accepts as its input the output from the MSB flash subtracting the DAC output from the sample/hold
encoder. The DAC is capable of settling to l4-bit input. Before the difference is amplified, it is passed
accuracy in 25ns in response to full scale input changes. through a network of FETs to prevent the amplifier from
The weighting of each bit current is determined by the overloading during the period of time when the sample/
feedback action of op amp IC2 (see Figure 7) on the hold is processing new data and the MSB encoder
current sources whose collectors are connected to the output has not been updated yet. Figure 3 shows a
emitters of the actual switching pair. IC2, in conjunction timing diagram illustrating the period of time when the
with resistor Rl and transistors Q3 and Q4, establishes potential for overloading the amplifier exists. When the
the correct operating conditions so that the reference sample/hold begins to acquire the next analog sample,
current of 1.5mA that flows through R3 is created in the MSB flash encoder still has its output latched with
each of the bit switches. A greater degree of accuracy is the analog data from the previous sample. Therefore, for
maintained by passing only the lower order bit inputs a period of time extending from the beginning of the
through the ladder. The MSB current is created by sample/hold acquisition time to the time when the
placing four switches in parallel, while the second MSB digital output of the MSB flash encoder has been
has two switches in parallel and the third MSB is a single updated, the potential for overloading the amplifier
switch. The remaining 4-bit currents are passed through exists. The amplifier is prevented from overloading by
the R-2R ladder to binarily weight the other current switching FET Q5 off and FET Q6 on. This places the
sources. The reference voltage is created by the circuitry amplifier output at OY, which is optimum to allow the
associated with op amp ICI. Transistors QI and Q2 are shortest settling time to the next value. The state of
used to isolate the offset current that flows through R4 switches Q5 and Q6 is reversed after the MSB encoder is
from ICI. This is done to prevent the changing DAC or strobed, and the latched encoder output is then available
sample/ hold signal from feeding back into the reference. as the digital input to the DAC. The difference between
This offset current is necessary to create a bipolar DAC the sample/hold and DAC output is amplified by a low
voltage to match the bipolar sample/hold output. The drift gain-of-32 amplifier with a 65MHz bandwidth ..The
reference circuit supplies a JOy output that is used for combination of low drift and wide bandwidth is achieved
15mA
I A3
by using a monolithic front end with 3G Hz transistors gate. The other input to IC3 is the output from ICI. This
and 5GHz NPN and PNP transistors for the remainder is done to reduce the aperture delay of the system as the
of the amplifier. output of IC3 is used to place the Sample! Hold in the
Timing Module-The timing module supplies all the hold mode at this time. The output of the last stage of
critical timing signals necessary for the operation of the the shift register resets flip-flop IC2, which in turn places
ADC. Several noncritical timing signals are generated in the Sample! Hold back in the sample mode. The output
the Digital Error Correcting Module. The circuitry of the third stage of the shift register is also used as the
within the timing module is designed so that both the input to generate the strobe for the LSB flash encoder.
delay and the pulse width of each timing signal are IC8 forms a differentiator with RI and CI. RI is capable
capable of being laser trimmed to a pre-set standard. The of being laser trimmed so that a precise 8ns pulse is
delay stability of ECL logic is adequate to generate the generated. The frequency of the clock ocsillator is adjusted
necessary timing signal as a combined tolerance of 2% to trim the delay of this strobe pulse. IC4 and IC5
over a 35°C change in temperature and a 5% change in comprise the principal elements of a ring oscillator. R2
power supply value is achievable. Timing signals are and C2 form an additional delay so that when R2 is laser
derived by using the output of a three-stage shift register trimmed, the LSB delay can be precisely determined.
to create unique points in time from which the actual Amplifier Enable, a signal which is used to switch the
signals can be derived. A synchronized 20MHz oscillator input of the final amplifier between its two modes of
is used to drive the shift register. operation, is generated at the output of the second stage
of the shift register. This adjustmet is accomplished by
Figure 8 shows a simplified schematic of the timing
adjusting R3 along with C3, which forms a delay element
module. The Convert Command Signal is differentiated
along with two gates from IC6.
by ICI to allow pulses ranging from about 5ns up to a
75% duty cycle as triggers to the ADC. This differentiated The final signal that is created by this module is the MSB
signal sets flip-flop IC2, which simultaneously releases strobe. This signal is generated from the Sample/ Hold
the shift register from the reset state, starts the 20MHz signal. Provision is made for adjusting the delay and
oscillator, and is also used to generate the Sample! Hold pulse width using techniques previously discussed. It
should be noted that the width of the Sample/ Hold gate words from the tWo flash encoders into the final l2-bit
is not fixed, but is determined by the difference in time output word. Figure 9 shows a block diagram of this
bet wen the ADC conversion time, which is fixed at 67ns, module. In addition, the Error Corrector Module takes
and the overall system conversion rate, which is deter- the LSB flash encoder strobe and generates the timing
mined by the application. Therefore, ADC conversion strobes for the data registers that are located within this
rates in excess of IOMHz are achievable, but at the module. A Data Valid pulse is also generated which is
expense of reducing the acquisition time of the Sam- used to indicate when the data output can be read into
ple/Hold. an external register. This pulse comes 5ns after data is
Digital Error Corrector Module-The function of the present to assure sufficient set-up time for external latch.
Digital Error Corrector Module is to assemble the 7-bit The output of the MSB encoder is read into a separate
Carry Out
2' Bit 1
Bit 2
2' I
I
I
I
12·BII I
Adder I
I
I
I
I Bil 11
2"
Bit 12
2"
7-bit latch at the same time the LSB encoder is being must be provided for detecting the presence of the range
strobed. The output of the latched MSB data, along with being exceeded. If the input analog range is exceeded,
the LSB data, is then read into a 14-bit latch 30ns after the desired output should be all ones. Since the 13th bit
the leading edge of the LSB strobe and before being could go to a one, for the MSB, the lower 12 bits could
applied to the adder, where the actual error correction roll over back to zeroes, thereby creating a false output.
takes place. This latch eliminates any critical timing To prevent this from happening, the carry-out of the 12th
problems that would result when the ADC is operated at bit is detected and used to assert all ones at the output.
its maximum rate. Examination of the system timing The final output ranges from all zeroes (which corre-
diagram, Figure 3, shows that there is inadequate time sponds to minus full scale) to all ones (which corre-
for the adders to process both encoder outputs. The sponds to plus full scale).
system of latches eliminates this problem by extending
the period of time when both inputs to the adder are TEST RESULTS
present, from 22-68ns. The characteristics of the ADC were experimentally
The output of the register is then sent to a l2-bit adder verified using two principal test techniques-histogram
where the final output word is created. The MSB data is and spectrum analysis testing. The histogram test was
treated as the most significant 7 bits of a 12-bit word, conducted at both 200Hz and 4.9MHz, the latter being
with the last 5 bits being assigned zeroes. In a similar near the Nyquist rate of 5MHz. The performance of a
fashion, the LSB data from the least significant bits form typical ADC600 is shown in Figure 10. A block diagram
the other input to the adder with the first 5 bits being of the test system used to determine the histogram is
assigned zeroes. Since two l2-bit words are being added, shown in Figure II. Note that both at 200Hz and at
the output of the adder could exceed 12 bits in range; 4.9MHz, the typical differential non-linearity is O.5LSB.
however, the final output is only a 12-bit word, so means
10MHz
Clock
Generator
+ Convert Command
Digital
Analog
HP3325A Data
Input
Synthesizer 12-Bit 10MHz Hand.shake HP9816
Function ADC600 Logic Computer
Generator Data
Valid
HP3456
DVM
r-- I
IEEE-488
There are no missing codes present and the peak differ- width of all the codes can be rapidly determined. The test
ential nonlinearity does not exceed ILSB. Histogram system shown in Figure II conducts a IOO,OOO-point test
testing is a very useful performance indicator as the in two minutes. A faster version of this test, being more
hardware-oriented, is predicted to take 15 seconds.
Results of the spectrum analyzer test are shown in
Figure 12, with the block diagram of this test system
shown in Figure 13. The input test signal was at 4.8MHz
to test the 10M Hz converter at close to the Nyquist rate.
The ADC600 output was demodulated at a 5MHz rate
to provide a spectrum analyzer display with greater
frequency resolution. With this "beat frequency tech-
nique," the effects of the tester's DAC settling and
glitches are minimized, as the difference frequency of
200kHz is displayed in place of the actual signal frequency
of 4.8MHz. Demodulating the signal at one-half the
sample rate still maintains the correct relationship of the
harmonics to the fundamental. Only the frequency has
been shifted. The harmonic generation of the ADC is
estimated to be at least 70dB below the fundamental for
a full-scale input signal.ol
10MHz
Crystal
Clock
Tektronix
HP3325A 48MHz 12-Bit
7L'04
Synthesizer Bandpass Burr-Brown
Spectrum
Function Generator Filter DAC63
Analyzer
1
An.log
Input
NOTE:
I) Additional FFT Spectral information can be found in
Test Report: FFT Characterization of Burr-Brown
ADC600K. Published by Signal Conversion Limited,
Swansea, Wales, U.K., February, 1987. Copies available
upon request.
GAIN BLOCK REALIZATION
USING INSTRUMENTATION AMPLIFIERS
Instrumentation amplifiers such as Burr-Brown s INAIIO in a single package, especially one available in an SOIC
display characteristics which recommend their use as configuration, minimizes the space used and allows for
gain blocks instead of conventional operational amplifiers more efficient layouts. Power can be an important
and external networks to achieve better performance or consideration in high-density boards. Frequently, a single
easier design. Some general considerations and specific instrumentation amplifier will consume less power than
examples are given. a discrete design of comparable performance.
I
I
I I
I I
I
I
IL _ I
__..J
r-----
I
r--------...,
I I
I I I
I I I
I I
I
I
I
I
I
I
I
__ J
r----------,
I 100kCl I
I I
I I
1~ I
I
I I
I I
I I
L_ --.J
L L __
FIGURE 3. In this battery-powered EEG system, low-power CMOS circuits provide the clock function and also continuously sweep
through the channels. The circuit employes 15 INA102s and draws only 12mA.
one-shots fire when the switch closes. The first one-shot
If your isolation design doesn't require turns on a pair of CMOS switches; the second triggers
very high performance, you can build a the AID converter to take a reading. After a reasonable
amount of time-determined by the warm-up time, the
suitable isolation amp by modulating the
settling time. and the converter's conversion time-the
current in an optocoupler. first one-shot turns off. The resulting measurements
might go into a memory or to an LCD. Overall time
Save Power In Process Monitoring spent in the power-on mode can range from I to 10m. At
Many control schemes don't require continuous a rate of One sample per second, this circuit can be a real
monitoring of the process. Samples taken at a regular battery saver.
interval (once per second, per minute, etc.) suffice. You
can realize significant power savings by designing a
An EEG application illustrates the chal-
circuit that pulses on for a brief time and then powers
down until it's time to take the next sample. lenge of measuring small signals from
The INAl02 is well suited to this type of application. high-impedance sources with as much as
Because of the amplifier's low power requirements, the IVp-p of a 60Hz common-mode signal.
amount of warm-up heating is very small, and the
.warm-up time and drift therefore don't compromise
Place Dedicated INA102s Before Mux
performance each time the circuit 'turns on. Assuming a
The IN A 102 can also be beneficial in multichannel data
70°C / W thermal resistance for a side-brazed ceramic
acquisition systems by allowing you to achieve higher
package. the INAl02 heats itself less then 2°C, which
throughput rates. Standard data acquisition systems
translates to a worst-case offset warm-up drift of 14tJV.
generally use a multiplexer, located before the
Warm-up time is well under I m. The overall time to
instrumentation amplifier. to monitor several channels.
acquire a reading after the power comes on will depend
Such design schemes are used to avoid the high costs of
on the time constant of the output filter used to set the
using dedicated instrumentation amps on each channel.
system bandwidth and on the settling time of the
INAI02. . These costs include the expense of the extra power, the
external components, and the extra system board space
Figure 4 shows an example of this type of application. required to accommodate the dedicated amps.
The example could be a handheld instrument with a You can realize a major increase in performance at a
,imple momentary switch to trigger a reading. The two reasonable cost by using dedicated INAI02s at each
w~ 06201
ANALOG
SWITCH
9V -=- I~FIDEBOUNCE
500
.•• CIRCUIT
~~~~~:VERTER~
-I DATA 1-
CONVERTED
FIGURE 4. To provide significant power savings in process-monitoring applications. this circuit pulses on only when it's time to take a
sample measurement.
Figure 5, this period comes to almost II ms. You must
Many control schemes do not require therefore achieve a higher scan rate through the careful
continuous process monitoring; samples choice and placement of other components.
taken at regular intervals will suffice. Typical sample/hold circuits can settle in just a couple
of microseconds, and most successive-approximation
analog input of data acquisition system (Figure 5). This A/ D converters will also have finished their task of
configuration gives you several dedicated input channels digitizing the input signal in a few microseconds, so
that together require the same power needed to operate these components add no significant amount of time to
one of the older instrumentation circuits. All necessary the sampling process. The critical factor is the placement
gain-setting resistors are built in, and users can select the of the instrumentation amps with respect to the
desired gain via jumpers. According to this dedicated multiplexer. With the more standard approach of using
concept, the signal is amplified earlier in the system, the multiplexer in front of the instrumentation
creating a better signal-to-noise ratio. However, the amplifiers, you can expect a throughput rate of only 93
primary reason for using dedicated input amps is to be samples-per-second; by placing the dedicted IN A 102s in
able to scan the inputs at a faster rate. front of the multiplexer and thereby eliminating the
Il's important to understand how it's possible to achieve effect of the instrument amps' settling hme, you can
the improved scan rate. No matter which data- approach 24,000 samples-per-second.
acquisition scheme you use, you'll have to reduce your Your present power supply is probably adequate to
bandwidth in order to reduce input noise. If you use a power a 64-channel system. With 64 INA 102s operating
band-limiting filter, the settling time for signal from a dual 15V supply, power consumption will be
acquisition will increase. It takes approximately seven about 2W. The INAI02 runs cool, so you can increase
time constants for a single-pole filter to settle to 0.1 % of the circuit board's package density and still not have to
its final value. For the 100Hz-bandwidth filters shown in employ a fan.
MPCBS
CMOS
MULTIPLEXER
I ••. •• ~/
••. - ••
----~\.
6jIS lOllS
SETTLING TIME
When using this scheme, be sure to consider the output capacitance of the multiplexer.
By making the band-limitlng capacitor much larger than the mux capacitor, the errors
can be minimized, while only moderately increasing mux settling time.
FIGURE S. You can increase the throughput rate of a data-acquisition system by dedicating an INA102 to each analog input channel. In
this example, rates can approach 24,000 samples-per-second.
CHOOSING AN INSTRUMENTATION AMPLIFIER ture range to determine the gain drift referred to the
The best way to do a worst-case amplifier comparison is input. Gain nonlinearity is also usually given in ppm/
to analyze all possible error sources. To do so, however, ° C, and you simply add this error source to the other
you must be sure that the data sheets you're relying on figures.
use consistent units. The most popular error-spec units
are parts-per-million (ppm) per full-scale input and Always Some Residual VCM
percent of full scale (%FS). Vo is usually riding on some type of common-mode vol-
Most of the data sheet specs are referred to the input. If tage (VCM). Instrumentation amplifiers are designed
they're listed in terms of the output, you can refer the expressly to reject this common-mode signal, but it will
figure to the input by dividing by the gain of the always generate a small output.
amplifier. Error source VRcombines the effects of the common-
mode and power supply rejection ratios (CMRR and
Three Types of Error Sources PSRR; both are much smaller than unity). Most monoli-
You can divide error sources into three categories: gain thic circuits have excellent power supply rejection, and
errors, offset and rejection errors, and noise errors. The you can often ignore this source of error. It can be sig-
total noise and nonlinearity of the amplifier will nificant in cases where the supply is not well regulated,
determine the overall signal resolution. Offset and gain however. The common-mode rejection ratio is a func-
error drifts with temperature will mostly limit the tion of frequency, and you'll have to check the amplifier
reading accuracy. You can often design around certain data sheet to determine the correct value to use in any
error sources (common-mode errors and power supply analysis. Characteristic PSRR curves are usually similar
ripple, for example), and you can null (or at least to the CMRR curves.
account for) most voltage offsets. Figure 6 models the There are actually two parts that compose the offset vol-
various error sources for an instrumentation amplifier. tage (Vos)-input offset and output offset. For refer-
The input voltage source (Vo) is the signal you would ence to the input, Vos is easily grouped and modeled as
like to amplify accurately. Unfortunately, the gain a single voltage source in series with one of the inputs.
equation includes some error components-DC gain Vos has both initial and'temperature-<iependent parts.
error, gain drift, and gain nonlinearity. Spec sheets
usually list DC gain error in percentage units. However, Check Change In Temperature
you must take care to determine gain at the frequency of Input bias currents induce other offset voltages, but they
interest, because gain rolls off after the amplifier's cutoff are often negligible. The input offset current is simply
frequency. the difference between the two input bias currents. Rs
Gain drift is usually listed in ppm/oC, so you have to represents the Thevenin resistances seen from each input
multiply the figure by the expected operating tempera- terminal, and 6Rs signifies the difference between input
FIGURE 6. You can best compare instrumentation amplifier performance by analyzing all possible error sources. Note that gain and drift
errors are referred to the input. V NW is the white-noise magnitude in the white-noise region; the 6.6 divisor in Eq 5 is a crest factor that
converts a O.lo/o-probable peak value to rms.
source impedances. Though several factors contribute to ratio matching that provides the high common-mode
worst-case offset voltage that can be traced to bias signal rejection (90dB min) and gain accuracy (0.05 to
currents, the change in operating temperature is the only 0.5%, depending on gain). Having all the resistors
significant error source. physically close to each other allows them to track well
Thermoelectric effects at the pins of the amplifier with changes in temperature, which leads to low gain-
package can create other offset errors. These offsets are drift performance (±5 to ±20ppm/oC, depending on
most severe when there is a temperature gradient across gain).
the package.
COMMON
RETURN
POINT
OF IA
---
FIGURE 7. Current Output can also be Achieved by
Floating the Common Return Point of an
Instrumentation Amplifier on the Load FIGURE 9. For Current Monitoring Without
Voltage. Introducing a Voltage Drop an
Instrumentation Amplifier Structure can be
Once signal voltage is converted to a current. another Adapted with Current Feedback.
common instrumentation amplifier application - sup-
plying input to an AI D converter - can be simplified. The circuit monitors current by accepting it in one of the
Often such converters accept only one input polarity. so a R, resistors and returning it through the other. Current
precision rectifier might also be needed. But this recti- conducted into terminal A will cause the output of A, to
fication is straightforward. since the voltage drops of swing positive. This produces a current in R'A that is
rectifying diodes do not introduce signal current error supplied to the inverting input of A,. where it drives the
(see Figure 8). Rectification results when the polarity output of A, negative. That negative voltage conducts the
change in io switches one diode off and the other on. This, terminal A input current through an R, input resistor.
in turn, switches the current from one input of the op amp Similarly. currents conducted out of terminal A, produce
to the other, reversing gain polarity in sync with j.,'s a negative voltage at the output of A, and a positive
polarity. voltage at the output of A,. These opposite-polarity
voltages supply equal and opposite feedback currents to
the input terminals through the R, resistors. At equilib-
CURRENHIUTPUT· I rium. these feedback currents (supplied to the circuit
CONNECTEO ~ inputs) equal the signal current. (To supply these input
INSTRUMENTATION
AMPUFIER currents. the voltage between the outputs of A, and A,
outputs is common-mode voltage ind uced by any voltage
present where A and B are connected. The difference
amplifier. A,. removes this voltage. producing a ground-
referenced output voltage proportional only to the current
monitored and expressed by ell = -2i (R, R,)I R,.
R.f ••.• nce.:
FIGURE 8. Conversion to a Unipolar Output Becomes J. J Graeme; G. Tobey; and L. Huelsman. "Operational Amplifi;~r: Dtsign and
Applkofjom". McGraw-Hill. New York. NY. 1971.
Simple with a Current Output Configuration.
2. J. Graeme: "Applications of Operational Amplifiers: Third Gener.:'tion
TC'('hniqut'.f". McGraw·Hill. 1973.
Current-to-voltage conversion is. of course. another task 3. J. Graeme. "De.figninK h'i,h O{H'rofitmQI Aml'/!lit'n: AI'I'!ic'uti,Jn.f AltertJQIII't'.\''',
in current-loop instrumentation. While a sensing resistor McGraw-Hili. 1977.
can make this conversion. its voltage is not always
ground-referenced. Common-mode voltage can be
removed with an instrumentation amplifier connected
across the sensing resistor.
Current can also be sensed without adding to the voltage
drops in a current loop. To accomplish this. the basic
three op amp circuit is again modified. this time with
current feedback (see Figure 9). Here. gain-setting resistor
R" of .the basic structure has been shorted so that the
INSTRUMENTATION AMPLIFIER
SUITS WIDE RANGE OF CIRCUIT DESIGNS
The latest monolithic instrumentation amplifiers (IAs) and D3, however, can conduct; but the currents flowing
ease the design of a variety of high-input-impedance out of the device are internally limited. The external
circuits. Data acquisition, overvoltage protection, cur- current-limiting series resistor, Rs, is therefore un-
rent sensing, the driving of current loops, program- necessary whenever the input voltage remains between
mable gain amplification-all of these applications can the supply voltages.
benefit from lAs' improved performance specifications. More design care is required whenever V1Nexceeds
either supply voltage. Notice than when VINis O.6V
below -Vcc, D2 and D. conduct without' an internal
Monolithic instrumentation amplifiers (IAs) have made current-limiting resistor. When V1Nis 4V above +Vcc,
significant gains on their discrete counterparts in a the reverse breakdown of all diodes may occur, and
number of performance categories. A high speed, fast- there is no current limit provided for current through
settling monolithic IA like the INAllO, for example, D2 or D•. To protect the device properly, you should
proves useful in a wide variety of applications. It's easy externally limit input currents to less than 1mA; that
to design the external circuitry that helps the device is, Rs should be greater than
meet the stringent reliability requirements of industrial
environments, and the speed of the device suits it to VIN(MAXI
- Vcc (MIN)
multiplexing in data acquisition systems. Other appli- ImA
cations exemplify tJie versifiIity 011be new breed of
monolithic IAs. The offset voltage (Vos) and other input-referred para-
meters are directly related to the input FET's gates (DI
Overvoltages on the inputs of an instrumentation amp- and D2), and these gates typically break down before
lifier can occur in many industrial applications. Two diodes D3 and D. do, so the manufacturer devised the
key concerns of a system designer whose products are following performance test to evaluate the shift in the
subject to input overvoltages are therefore reliability INAllO's parameters that occurs in response to over-
and the maintenance of device accuracies. With the
voltage conditions. Sample units were driven at each
addition of the appropriate components, the INAIIO input with ImA ACpk at 60Hz for 24 hours at room
will meet the requirements for reliability and negligible temperature, after which guaranteed parameters from
shifting in device parameters. the product data sheet were tested. The tests indicated no
The simplified diagram of the INAIIO in Figure I can significant shifts in those parameters, but to guarantee
help you to understand the basics of input overvoltage that the device maintains accuracy under overvoltage
protection. As you can see, D2 and D. cannot conduct conditions of extended time or at elevated temperatures,
for values of VIN within the supply voltage range. D, it's still good design practice to protect the input FET's
gates from breakdown. To do so, you add, along with
the properly selected series resistor, external low-leakage
clamp diodes, placed from each input to +Vcc.
Building on these basic design techniques, you can go
beyond input protection and provide some form of
signal conditioning. Figure 2, for example, shows a
300Hz lowpass filter with 220VAC input protection. The
5OOkO, 1/ 8W resistors provide the required power dis-
sipation at 200VACand limit input current into the device
to 7oop.A for a 350Vpk input voltage. You should use
metal-film resistors, because many other resistor types
exhibit excessivelow frequency noise, which may degrade
the circuit's performance.
The use of R, and R2 without additional capacitors
FIGURE 1. Internal circuitry provides current limiting for the INAJlO as would yield extremely poor common-mode rejection
long as the input voltage remains within the supply-voltage (CMR), resulting from unequal capacitances on the
range. To protect against overvoltage conditions, you should
add e.xternal current limiting resistors (Rs).
inputs. You can alleviate the mismatch in input capaci-
FIGURE 2. This combination input filter and overvoltage-protection 1k 10k 100k
circuit employs a 300Hz lowpass filter and provides input
Frequency (Hz).
protection from 220VAC.
useful to be able to adjust the amplification of each circuit allows you accessto VCM for this purpose. (Settling-
signal in order to increase the dynamic range of the time considerations are ·important for this circuit; see
circuit. The gain-ranging technique increases the dynamic "The Limit of Resolution: Settling Time or Noise.")
range of the circuit by as much as 40dB, thereby assuring
maximum input sensitivity. CURRENT SENSING IN 4 TO 20mA LOOPS
Another application makes use of the common-mode An instrumentation amp like the INAlIO serves in
voltage to cancel input noise injected into the circuit current-sensing applications, where a small differential
through the input leads. Figure 6 shows an IA with gains voltage of interest (I X RSENSE) is superimposed upon a
of 1000and 10,000and input-referred noise of 4nV/.,IHZ. large common-mode voltage. Figure 7 shows an IA with
In this circuit, Vos is held below 50/JV, and two low- a ±IOOVcommon-mode .range and an input impedance
noise OPA37 op amps provide 40dB of differential gain. greater than 100kn. The circuit is well suited to receiving
The INAlIO performs differential-to-single-ended con- a signal on a 4mA to 20mA current loop. If RSENSE is
version rn gairis of 10 or 100, resulting in respective equal to 50n and the INAlIO is set for a gain of 100,you
circuit gains of 1000or 10,000.The minimum DC CMR is obtain a full-scale output of IOVwhen a 20mA Cl,lrrent
108dB and typically exceeds 120dB. AC CMR is usually flows through RSENSE. The wide common-mode range of
a function of the parasitics associated with the input the circuit accommodates the large voltage drops, which
lines. Because the bandwidth of the common-mode drive can occur in the very long wires of a current loop.
point matches the signal bandwidth of 500kHz, and The common-mode range of the circuit extends to
because the slew rate is above 11V/ /JS,an input shield or ±IOOV when you divide down both input signals by a
guard driven by the common-mode signal (VCM) will factor of 10. The circuit also attenuates the differential
greatly improve AC CMR. The discrete design of this
FIGURE 7. You divide down the inputs to improve the common-mode
range ofthis IA circuit. Doing so allows you to use the IA in
such applications as current sensing in a current loop, where
the signal is a small differential voltage impressed upon a large
common-mode voltage.
FIGURE 8. This voltage-t<><urrentconverter uses the INAIIO. two resistors.
and a current-boosting transistor to provide the current for a
signal by 10, so 20mA current loop.
IA .
VOUT = I X RSENSEX ~
10 errors are divided down by the loop gain of 1,000,000.
The lkO resistor from the base to the emitter of the
Common-mode error results from mismatches in the current-boosting transistor forms a return path for cur-
input attenuators, but you can trim these errors with the rent out of the reference and sense terminals when lOUT is
500kO potentiometer connected between the attenuators zero.
and common. RSENSEalso creates a CMR error, which
When R, and R2 are equal to 50.250, you obtain a 0 to
you can cancel by adding a resistor of equal value in
20mA lOUT for a V1NX gain product within the range 0 to
series with the lOOkO resistor in the positive input, or by
IV. The voltage at the VREFpoint may be between +IOV
trimming the 500kO potentiometer. To condition the
and -IOV, which allows for voltage drops along a
inputs, you can add input filtering at the inputs of the IA
current loop.
using techniques similar to those described earlier.
The current-loop mode of data transmission is very The INAIIO is a variation of the classic three-op-amp
popular in many harsh environments, where differential instrumentation amplifier (Figure 9). Its FET inputs
inputs are required for common-mode rejection of noise make possible the use of a differential-input IA in many
as well as for detection of small differential signal on top
of large common-mode signal. You can use an IA as the
front end in the voltage-to-eurrent converter that's
required in current-loop applications. Figure 8 shows
how you can build a complete differential voltage-input
and current-output circuit with only two precision re-
sistors, a current-boosting transistor, and an IA. The IA
creates a voltage equal to VIN X gain between VSENSE and
VREF, causing output current (lOUT) to flow as deter-
mined by the equation
. IOkR,
lOUT = (V IN X gam) + 10k + R,
Key concerns in many analog applications are not only ·An amplifier with a 0.D1'll> letlling time 01 51'S and a 0.001'll> IOttllng time
01101'S will be limited by the time required to limit the nolae bandwidth to
how much resolution is possible, but also how long it the value shown.
INSTRUMENTATION AMPLIFIERS
Versatile Differential Input Gain Blocks
Instrumentation amplifiers (IA), often referred to as mode rejection ratio, CMRR, which is the ratio of the
differential amplifiers or data amplifiers, are closed-loop differential gain to the common-mode gain.
gain blocks with differential inputs and an accurately The impedance Z;d is the differential input impedance,
predictable input to output relationship. They have very- and the common-mode input impedance is represented
high input impedance and common-mode rejection. This by two equal components, Z"m, from each input to
makes them ideal for accurately amplifying low level ground. These finite input impedances will contribute an
signals in the presence of large common-mode voltages, effective gain error due to loading the source impedance,
such as from strain gauge bridges, thermocouples, and and will degrade the overall common-mode rejection of
other transducers. They can also be used to effectively the amplifier stage if the source resistances are un-
eliminate ground-loop interference balanced.
The nonzero output impedance Zo will also produce a
NOT AN OPAMP gain error whose value will depend on the load resistance.
The instrumentation amplifier differs fundamentally
from the operational amplifier. It is designed to be used
as a closed-loop gain block. The necessary feedback
networks are usually contained within the amplifier,
requiring only one external gain-setting resistor. The
gain, input and output impedances, frequency response,
and other characteristics are specified for the closed-
loop, committed operation. Operational amplifiers, on
the other hand, are open-loop devices whose closed-loop
performance depends upon the external networks.
Some lA's have digitally programmable gain, in which
case, even the gain-setting resistors are contained within
the amplifier. The operation of IC instrumentation
amplifiers may require the user to supply one or two
"feedback" resistors in addition to the gain-setting
resistor. These user supplied resistors do not affect the
input impedance nor the common-mode rejection, as
they would in op amp circuits.
Ideally, the instrumentation amplifier responds only to
the difference between two input signals and exhibits an
extremely-high input impedance, both differentially and
common-mode. The output voltage is generally devel-
oped single-ended with respect to ground and is equal to
the product of the amplifier gain and the differential SINGLE OP AMP OFTEN INSUFFICIENT
input voltage; A single op amp can be used to build a differential
Eo = Ad (E2 - EI) amplifier as shown in Figure 2, and is suitable in some
Actual amplifiers will depart from these ideal character- applications. However, if the application requires high
istics and can be modeled as in Figure I. As illustrated in gain, high input impedance, high CMR, or easily selec-
Figure I, the output voltage has two components; one table gain over a wide range; this simple approach will
component proportional to the differential input voltage probably be insufficient.
E;d, and another proportional to the common-mode The differential input impedance of this simple differen-
input voltage E"m. The constant A. is the differential gain tial amplifier is that of the input resistors which are
(usually fixed by the external gain-setting resistor), and generally low, particularly ifhigh gain is required. Also,
A,m represents the common-mode gain of the amplifier. even though the op amp used may have excellent CMR,
This is more commonly specified in terms of the common- the finite matching of the resistors can degrade the overall
CM R; 0.1 % resistors with zero source impedance the optimum frequency and offset voltage characteristics.
unbalance may cause the overall CMR to be as low as Since the output differential amplifier is buffered by AI
6OdB, even if the op amp has infinite CMR. and A2, its feedback resistors Ro can be made low,
providing the optimum CMR with frequency and
minimum offset due to bias currents.
The three-op amp IA can have very-low equivalent input
'offsets when AI and A2 have matched offset voltage and
offset voltage drift (lA's with drift as low as 0.251-'V ;oC
are available). The independent action of the gain-setting
resistor allows gain ranges of I to 1000 with less than
0.001% gain nonlinearity while maintaining very-high
CM R over the entire gain range. Typically the unity-gain
tMR at 60Hz with I kO source unbalance is 90dB and at
a gain of 1000 it is IlOdB.
A limitation of the three-op amp IA is that the output
saturation level (Vo••tl of A, and A2 impose a limit on the
common-mode range in addition to the input common-
mode range limit of the op amps;
I E"ml +1 Ad(E2 - EI)/2~1 V"'" 1
WIDE RANGE OF PERFORMANCE AVAILABLE
For typical IC op amps Vo", is ± 13 volts and the effective
A common configuration of an instrumentation amplifier common-mode range will only be ±8 volts for applications
consists of three op amps as shown in Figure 3a. The two requiring ±10 volt outputs.
input op amps provide a differential gain of (I +
The circuit configuration of a unity-gain instrumentation
(2R, / RG) and a common-mode gain of unity. The output
amplifier is shown in Figure 3b. This type provides input
op amp A3 is a unity-gain differential amplifier. Resistors
impedance 50kO differential and common-mode, with a
R, do not significantly affect the CMR nor the input
typical small signal-3dB frequency response of 1.2MHz.
impedance and their value can, therefore, be chosen for
Such performance is ideal in high speed data acquisition
systems, where a fast transient signal riding on a common-
mode signal must be accurately amplified.
The typcial characteristics of instrumentation amplifiers
can be found in Table I. The wide range of specifications
is the result of designs optimized for such parameters as
low cost, low drift, FET input, ultra-high CMR, or wide
bandwidth. In addition to the specifications of Table I,
most lA's have input and output protection, and pro-
visions for external adjustment of the offset voltages and
CMR for optimum performance.
PARAMETER SPECIFICATION
Range of Gain 1 to 1000
Gain Nonlinearity 0.001%
Input Impedance 1010ll
Output Impedance O.Olll
Common-Mode Rejection 90dS (Ad = 1) to 110dS (Ad = 10001
SENSE Input Offset Voltage Drift 0.25~VjOC to 2~VjOC
Input Bias Current ±5mA
+Vee Full Power Bandwidth 6.4kHz
OUT
-Vee
FET INPUT Z MAY BE LOWER THAN BIPOLAR
The effects of input capacitance must be considered when
specifying an IA. While the FET input provides very-high
input impedance at DC, the input capacitances will
typcially cause the input impedance above a relatively
FIGURE 3 (a). Typical Instrumentation Amplifier low frequency to be no greater than, if not less than, that
(INAIOI). of the bipolar input IA. The typical input impedances of
(b). Low Cost, Unity-Gain Instrumentation both bipolar and FET input amplifiers are shown in
Amplifier (INAI05). Figure 4.
the isolation amplifier in a noninverting configuration as
in Figure 5, the input/ output characteristics are those of
1011 a high-performance instrumentation amplifier; 1012n
common-mode input impedance, I60dB CMR over
101 3500V common-mode range, and easily selectable gains
from I to 1000 with a linearity ofO.05%.
.
£
c
109
A frequent mistake made when applying instrumentation
i
§
loB amplifiers is not providing a sufficiently low impedance
common return path for the input bias currents. These
~
~ 107 input bias currents range in value from a few picoamperes
.
c
'E with FET input amplifiers to hundreds of nanoamperes
~ loB
with bipolar amplifiers. Due to the total signal ground
~ 105 isolation of isolation amplifiers, they do not require a
i
common return path for input bias currents. This and the
104 excellent common-mode input characteristics make
isolation amplifiers ideal for medical and control
103 applications where 220V common-mode signals are
0.1 102 103 104 105 106
common.
Frequency 1Hz)
1
2". Cs Rs
FIGURE 5. Burr-Brown 3656 as a High Performance
Instrumentation Amplifier with a CMR of FIGURE 6. IC Instrumentation Amplifier as a
160dB over a 3.5kV Common-Mode Range. Differential Input High-Pass Filter.
trates this capability by using an IC instrumentation
amplifier to produce the high-pass function;
Ad = I +( 40kO I
Rr; + 21Tfc;
Mil
FLUID
+
FLOW
1'TI
Mbl
PROCESS
Mb2
1'To
MI2 + Eo = l' Ad (To' TII
GUARD DRIVE REDUCES EFFECTS OF INPUT
CABLE CAPACITANCE
While the shield on long inputs, if properly used, can drive" for this purpose, or a voltage which tracks the
significantly reduce the noise picked up, the resulting common-mode voltage can generally be sensed at the
high input capacitance may adversely affect the overall middle of the gain-setting resistor when a guard drive is
CMR. The common-mode input capacitance c.,m in not supplied.
conjunction with a source impedance unbalance R.
causes a limit on the CMR obtained; Figure II illustrates a simple method of generating a
I guard drive. Note that in this example the output of the
CMR(f) ~ 20 log 211"fR.C.,m guard drive amplifier is offset from the common-mode
voltage by about ±I VDC, depending on the A, type used.
Suppose a source impedance unbalance of I k!l is driving
However, this offset does not impair the effectiveness of
a one-hundred foot cable with a capacitance of 1.5nF
the guard drive to remove the common-mode swing
between each input and the shield; the effective CM Rat
between the shield and the inputs.
60Hz would then be less than 64dB, even if the amplifier
itself had infinite CMR. The resistor divider between the gain-setting terminals
This problem can be overcome by driving the shield with does affect the gain of the instrumentation amplifier,
a voltage equal to the common-mode voltage, thereby however. For the circuit in Figure II the only effect is to
reducing the common-mode swing on the cable capac- modify the gain equation by the addition of a one; I +
itance to zero. Some modular lA's provide a "guard (40k!l / RG) versus (40k!l/ Ra).
4OkO)
IElcm• Vkl Eo= ( 1· R6 IE2-El1
Vk = constant
MONOLITHIC DIFFERENCE AMP EASES THE DESIGN
OF A VARIETY OF CIRCUITS
absolute-value buffers. Like all monolithic circuits, the
The general-purpose INA105 monolithic dif- difference amplifier uses less PC board real estate and
ference amplifier can replace discrete op amps delivers better temperature performance than do discrete-
and resistors in a variety of circuits. Because the component implementations. The INAI05 offers an extra
part's four resistors are closely matched, the advantage, however: the part's four resistors are closely
chip offers better performance than that of matched, so you don't need to perform resistor matching.
discrete or hybrid component implementations. One application for the monolithic difference amplifier
is that of a reference-voltage generator in a unity-gain
You can use the INAI05 precision difference amplifier to inverting amplifier. To obtain a precision ±IOV reference,
replace discrete op amps and resistors or a hybrid op you connect the INAI05 with a REFIO (zener-based)
amp/ resistor network in a number of analog circuits, voltage reference, as shown in Figure la. In this instance,
such as reference-voltage generators, instrumentation the INAI05's offset and low-gain temperature drift add
amplifiers, summing amplifiers, current sources, and only about 2ppm/oC to the reference's temperature drift.
To obtain a ±5V reference, connect the INAI05 to
REFIO as shown in Figure lb. This configuration lets
you operate a zener-based reference from dual supplies
whose voltages are lower than the zener voltage. You
can, for example, take advantage of the performance of
a IOV zener reference when using ±9V power supplies.
By combining state-of-the-art op amps with the INAI05,
you can design a high-performance 'instrumentation
amplifier (Figure 2). Resistors R, and R, set the gain of
the instrumentation amplifier according to the transfer
function.
INA10S 2
,... ---- --, REF10
I
I
I
L ,
15
I
I
I
I
I
6 :
I
I
I
_____ ...JI
3
NOTES, Eo = 2EI
Gain Error = 0.01% max
Gain Drift = 2ppm/oC
INA10S
r--------------- :l
2 I
I
sl
I
I
I
6:
I
I
I
I
_______________
I
J
Conventional
_------lnstrumentation INA105 ~_
Amplifier (INA102) A= 2
A=l00
INA105
------------., r-------------,
I I
I
I
I
I
I
I
I
I
I
16
I
t
I
I
3 I
E,O>------<II---~ I
I I
I
L .JI
INA105
5:
I
I
I
1
1
,11
3. :
•...- - - - - - -- -- 4_20;A.J I RLoAo
Output t";'"
INA105
r---- --------------.,
2 15
I
I
1
I
:6
I
I
1
I
1
I
1
L
I ~11
FIGURE 6. To design a 4-20mA current-transmitter circuit, use an OPA27 to sum the reference and use 0 to JOVsignal inputs to develop a -0.2 to -I Y signal
range at the input of the lNAI05 (a). To provide both buffering and gain, add a pair of op amps at the input (b). To compensate for temperature problems, add
an amplifier to buffer the INA105's reference pin (c).
Figure 7 illustrates a current-receiver circuit that has The lOOn sense resistor in series with pin 2 lowers the
compliance to either power-supply rail. When you put a amplifier's gain by about 0.4%, and the 50kn input
lOOn sense resistor between the IN AI05 and the supply impedance at pin 3 shunts the lOOn sense resistor and
rail, the circuit's transfer function is Eo = 1001" for Eo in reduces its effective resistance by 0.2%. The 1% tolerance
volts and I, in amps. Adding another lOOn resistor of the lOOn sense resistor could make the current
preserves the input resistance match of the IN AI05 and receiver's gain error as high as 1.6%. Although 1.6% gain
maintains high CMRR. Because lOOn is small compared error is adequate for many applications, you can improve
to the 25kn resistors in the difference amp, a I% toler- the gain accuracy to 0.05% by using 100.6n resistors with
ance for the lOOn resistors is sufficient to maintain an 0.02% tolerance.
86dBCMRR.
When the circuit's input signals are positive, D, is reverse
biased, and the circuit functions as a unity-gain buffer
(Figure 8c). IC, forces current through D2 to establish a
,NA105
2'"----:------'5 voltage at IC2'S input. This voltage, in turn, makes the
, voltage at IC,'s inverting input equal to the voltage at
IC,'s noninverting input. Because no current flows into
I
R, 1~~~
,, the inputs of either IC, or IC2, the voltage drop across
both R, and R2 is zero, and the voltage at the output of
, IC2 equals that at the input of IC,.
I
R, 10001
1% I, In an application in which you must use digital signals to
control analog circuits, you can use the unity-gain buffer
3' ,
L _
as an amplifier with a digitally controlled gain of +1
(Figure 9). The DGI88 analog switch acts under logic
control to connect the INAI05's noninverting input to
either the input signal or ground.
FIGURE 7. This current-receiver circuit offers compliance to either power- For a logical-zero control signal, the noninverting input
supply rail. The second loon resistor (R2) preserves the input-resistance is connected directly to ground, and the circuit functions
match of the INArOS, maintaining high CMRR.
as a conventional unity-gain inverter. For a logical-one
DESIGN AN ABSOLUTE-VALUE BUFFER control signal, the INAI05's noninverting input is con-
The monolithic difference amplifier is also useful in nected to the input signal. Because the voltage across the
absolute-value signal processing. By connecting a few amplifier's inputs is zero, no current flows through the
components to the INAI05, you can configure the input resistors, and the amplifier acts as a unity-gain
difference amplifier as a precision absolute-value buffer buffer.
(Figure 8a). The OPAlII provides FET-type input char- Errors contributed by the analog switch (a function of
acteristics. Because rectification diodes Dt and D2 are the on/ off resistance ratio) are less than 0.0 I % in this
within the input amplifier's feedback loop, the amplifier's example. The DG188 toggles in less th\ln 150ns, so the
open-loop g<lin corrects for the diodes' forward-voltage circuit's settling time (to 0.01%) is less than 5/ls.
drop. The buffer circuit's overall accuracy equals that of
SOME DIFFERENCE-AMPLIFIER BASICS
the INAI05-0.01%.
In basic terms, a difference amplifier, such as the INAI05
When it has negative input signals, the circuit functions
from Burr-Brown (Figure 10), is the combination of a
as a unity-gain inverter (Figure 8b). D2 is reverse biased,
unity-gain inverting amplifier and a gain-of-2 nonin-
and IC, pulls current through Dt to equalize the voltage
verting amplifier with a 1/2 resistor divider on that
levels at the inverting and noninverting inputs. Because
input. Therefore,
R, equals R2, IC2 simply acts as a precision unity-gain
inverter, and Eo equals -E,.
FIGURE 8. By connecting a few components to the INAI05, you can configure the difference amplifier as a precision absolute-value buffer. The OPAIll in the
buffer circuit (a) provides FET-type input characteristics. When the input signals are negative, the circuit functions as a unity-gain inverting buffer (b). When
the input signals are positive, the circuit functions as a unity-gain buffer (c).
INA10S
r---------,
I I
21 Is
I
I
I
L _
You can simplify the design of transducer bridges by Specifically, Vos is multiplied by the full amplifier gain A;
using op amps to linearize bridge response and reduce the V ~R/ R transducer-deviation signal is only amplified
drift sensitivity. Such bridges pose a demanding instru- by A/4.
mentation challenge because of their low-level output You can, however, reduce (or even eliminate) nonlinear-
signals and inherent nonlinearity; accurately monitoring ity and drift errors. For example, if you bias the bridge
their output calls for an amplifier with input offset with a current source I, network output response becomes
voltage that exhibits very low thermal drift. This article
A(I)~R
illustrates network designs using both voltage and cur-
rent bridge-biasing techniques and demonstrates how
Eo = 4(1 + ~R/4R) - AVos. (2)
feedback control can ease the task of designing high- Now the ~R term in the denominator is divided by 4R,
performance monitoring circuitry. instead of 2R as in the voltage-bias scheme. The result: a
Instrumentation amplifiers usually serve in the classical 2: I reduction in nonlinearity error.
forms of such monitoring circuits. In a typical configura- A dual-transducer bridge allows you to realize the full
tion (Figure I), the amplifier develops an output given benefit of such current biasing. With the second trans-
by ducer replacing the grounded element of the opposite
(A)(V)(~R/ R) bridge leg, output response becomes
Eo = 4(1 + ~R/2R) - AVos, A
Eo = ""2 I~R - AVos. (3)
where ~R and Vos equal transducer variation and
amplifier input offset voltage, respectively. In addition to doubling signal gain, the dual-transducer
Because ~R appears in both the numerator and denom- configuration develops a linear response.
inator of the first term, this circuit develops a nonlinear Unfortunately, reference-current sources suitable for this
output response. Keeping ~R small-so that its effect in approach are not as readily available as their voltage
the denominator is negligible-minimizes nonlinearity counterparts. You could, of course, start with a voltage
error. Unfortunately, reducing ~R in this manner also reference and build a current source, but op amp control
reduces the output signal level, making the Vos term's (Figure 2) offers a more direct solution.
error contribution more significant.
Although you can null out initial offset voltage, its
thermally-induced drift introduces errors. Vos drift is
typically a primary accuracy limitation, and as Equation
I illustrates, the instrumentation-amplifier-monitoring
circuit is particularly sensitive to offset-voltage drift.
l VIAs
current mode. Resistor Rs senses bridge current, and the Unfortunately, you can't achieve perfect gain setting;
voltage developed across it gets compared with a however, adjusting op amp gain to within 0.1 % of -2/ A
reference voltage V. Feedback equalizes these voltages produces a 1000: I reduction in the response's inherent
and improves response linearity by maintaining a con- nonlinearity. Residual nonlinearity then equals that of
stant current in the bridge. the non ideal transd ucer.
In this circuit, errors introd.uced by the op amp are Once again, it's easy to minimize op amp-induced error
negligible. So long as you maintain V's value at a few contributions. The INAI04's output offset voltage gen-
volts, any error-current contribution from the op amp to erates a bridge-bias error voltage equal to [I + (2/A)] Vos.
bridge bias current I has secondary importance. So long as any drift of this error voltage is small in
Similarly, adding op amp input bias current to I rarely comparison to V, the resulting network error not remov-
affects the design significantly. able by calibration is also small. You can control error
arising from op amp input bias current by merely
However, one potential problem does exist. If the op
limiting the value of RF.
amp isn't close to the bridge, stray wiring capacitance
from its inverting input to ground can cause oscillation. Frequency stability is a greater concern because there are
Adding capacitance from the op amp's inverting input to now two amplifiers in the feedback loop; unless one
its output overcomes this problem. dominates the composite-loop frequency response, oscil-
lation can result. You can ensure the presence of a
You can also achieve linearity correction by letting
dominant pole by shunting the op amp feedback resistor
bridge bias vary with the signal. Examine the signal term
with a capacitor.
of Figure I's response equation:
Another way to achieve error correction is via feedback
V (I1R/ R)
modulation of a bias current (Figure 4). As in Figure 2's
1+ I1R/2R
note that if V is proportional to I+(I1R/2R), cancelling
terms appear in both the numerator and denominator.
The result is a linear response.
A signal proportional to I1R is available at the instru-
mentation amplifier's output. After scaling, you can feed
this signal back through an op amp to modulate bridge
bias (Figure 3).
NOTE:
A•. A,: 1/2 OPA2111
FIGURE 6. Halve sensitivity to amplifier offset and drift by applying where A = 2RG! R. This response illustrates the signal-
feedback control. The scheme (U.S. patent 4,229,692) also avoids non- gain! offset-gain improvement.
linearity in bridge response.
In certain applications, you can even realize high-
performance bridge monitoring using only one op amp
The virtual ground at A2's inverting input sets the
(Figure 8). Here, the network provides a linear response
voltage drop across the lower R, equal to V. And A, 's
and retains a favorable sensitivity to amplifier offset and
feedback translates this virtual ground to the upper R,
drift. The op amp's virtual ground removes output offset
bridge element so that both have an impressed voltage
by forcing one of the bridge outputs to zero, producing
level equal to V.
the following zero-based signal:
Constant currents (equal to V! R,) thus flow in both R,
VtiR ( tiR)
resistors, with the current in the upper R, also flowing Eo = - 2R + I + 2R Vas.
Unfortunately, this circuit provides no amplification and
doesn't accommodate heavy loading. Output resistance
equals R/2, and heavy loading significantly attenuates
the output signal. But these limitations present no prob-
lems if you're interfacing with a data-acquisition system
that has its own input amplifier or where bridge output
signal is sufficiently large to directly drive an AI D
converter.
VOLTAGE GAIN IS JUST ONE OF THE MANY USES
FOR INSTRUMENTATION AMPS
:.*=, CSl
+--------
=*=, CS2
+15V
+VCC1
The Errors Of The Op Amp At 25'C (Referred To Input, RTI)
/3 = Feedback Factor
AvO\. = Open Loop Gain at Signal Frequency
P.S.R. = Power Supply Rejection (PVN) [Assuming a 20% change with ±15V supplies. Total error is twice that due to one supply)
VEIO"". 50mV
[1 __
1 +
1
1
]
[0,025mv (1 + 21io) + 40 X 10-' X 10'] ( 20pVN X 3V X 2 ) ( 5nVv'l2O InVrms) )
10·/200
Aner Nulll"ll
0.01mV + (OmV + OmV J + 0.12mV +
4
0.055 X 10 'mVrms
0.13mV
0.26'lIoo15OmV
·FSR = Full-Scale Range. SOmV at input to op amp, or lQV at input (and output) of ISO amp.
Nonlinearity = Peak-to-peak deviation of output voltage from best-fit straight line. It is expressed as ratio based on futl-scale range.
P.S.R. = Change in VooIl0V X Supply Change
1 [ SOOVDC
VE USOI
200 140dB
+ 70mV + 20V X 0.25
100
+ 0.75
100
X 20V + 3.7mV X 3V X 2 + 16;N.Ji20 Irms)]
1
200
I O.05mV + 70mV + 50mV + 15mV + 22.2mV + O.175mVrms J
0.37'l1o 01 50mV
0.32mV
0.64% of 50mV
HYBRI D ISOLATION AMPS ZAP
PRICE AND VOLTAGE BARRIERS
Two hybrid amplifiers cut a novel path to high-voltage isolation.
They spare designers from having to engineer difficult solutions themselves.
If any device tests an analog designer's ingenuity, it is an respective isolation voltages-the voltage across the
isolation amplifier. Its job is to pass precise analog barrier. The ISOl02 is in a 24-pin package, the ISOl06
signals-safely and without degradation-between two in one for 40 pins. However, to maximize isolation, all
points that may differ by hundreds, even thousands, of but 16 pins-8 at each end of the packages-have been
volts. Even though the high voltage may be damaging eliminated. External spacing between conductive mater-
and noisy, it is often there by design, and sometimes ials on opposite sides of the barrier is 390 mils for the
because of a fault in the system. l500V ISOl02, 1180 mils for the 3500V ISOl06.
Ideally, an amplifier should be small, hermetically sealed, Because of that construction, their isolation-mode rejec-
reliable-and inexpensive. Standard devices have in- tion ratio (IMRR), a key specification similar to
cluded modular and hybrid isolation amplifiers, now common-mode rejection ratio (CMRR), is guaranteed to
available for more than 10 years. Yet because of the be at least -125dB at 60Hz. (The IMRR is found by
stringent requirements of most applications, some 80% taking the change in the amplifier's output-signal voltage
of all amplifiers in use are in-house designs. caused by a change in the voltage across the barrier, and
A family of isolation amplifiers aims at relieving dividing it by the barrier-voltage change.) While not a
engineers of the chore of designing their own. The function of ambient temperature, IMRR, like CMRR,
family's first two members, the ISOlO2 and ISOl06, are rolls off with frequency at 20dB per decade. However,
rated respectively at l500V and 3500V. Both are unity- unlike that of most other amplifiers, the ~MRRs of the
gain buffers. Operating from -25° to +85°C, they ISOl02 and ISOl06 hold their value at the rated isola-
dissipate 900mW. Each device is easy to make, elec- tion voltage.
trically and mechanically rugged, inexpensive, and Another unusual feature, even among hybrids built on
isolates better than any now available by an order of ceramic substrates, is that they are hermetically sealed.
magnitude. Furthermore, many other devices incorporate organic
As three-chip hybrids, the amplifiers have from the start packaging materials and therefore are subject to some-
been designed to solve economically the problems that thing called partial discharge, which can degrade a
up to now have limited the use of off-the-shelf units. Key barrier continuously exposed to high AC voltages.
to keeping costs down is a capacitive-eoupling approach It is important to understand partial discharge when
to isolation. Any amplifiers so far available with the using isolation amplifiers. The phenomenon takes place
same capabilities are costly, enlisting magnetic or optical as a localized breakdown of material, but the breakdown
techniques to bridge the high-voltage barrier. Whether does not bridge the space across the barrier. The dis-
hybrids or modules, they are all multidevice circuits charge-inception voltage depends on the insulation
requiring complex assembly procedures. material and can be significantly less than the ~ated
The least expensive competitive device, for example, is breakdown voltage.
rated at half the ISOl02's rms voltage, yet costs twice as Experiments show that a typical barrier's breakdown
much. voltage will actually decrease with time if continuously
The two new units, on the other hand, combine innova- exposed to partial discharge. Thus, for maximum reli-
tive packaging to their novel approach to high-voltage ability the isolation barrier must not be operated at an
isolation. Each of the amplifiers is housed in a low- AC voltage beyond the point at which partial discharge
profile, side-brazed O.6-in.-wide ceramic DIP (see "Build- starts.
ing a Hermetically Sealed Isolation Amp"). Voids in the insulating material set the stage for the
problem. Alternating electric fields can generate a
DIFFERENT VOLTAGE, DIFFERENT LENGTH localized plasma within the voids. A short burst of
The only physical difference between the two amplifiers current flows for about 50ns as the pockets of plasma
lies in the different lengths needed for withstanding their form, and measurement of this current indicates that
partial discharge is taking place. The plasma is usually circuitry, and an output filter. The sense amplifier
destructive because ionic bombardment of the walls of reshapes the pulse tr~ins after they have been high-pass
the void creates excessive temperature on the wall filtered by an RC network formed by the barrier
surface. capacitors and the chip's 3kO input resistors. The sense
Because the barriers of the ISO I02 and ISO 106 are made amplifier drives a digital phase and frequency detector
of ceramic they are not only virtually free of voids, but that guarantees rapid phase-locking. The detector's
also able to stand high temperatures over long periods output, in turn, feeds a 70kHz loop filter that drives the
without damage. Moreover, partial discharge is much feedback VCO.
more prevalent in barriers insulated with organic ma- The pair of vcos gives virtually identical transfer
terials, which are impossible to fabricate without voids functions to modulation and demodulation. The accu-
and therefore more damageable by plasma. racy of the isolation buffer thus depends only on the
In another innovative technique, the ISO 102 and ISO 106 matching of the vcos, not on their actual transfer
feature coupling capacitors that jump the isolation function. The PLL forces the feedback VCO to run at
barrier by using frequency modulation, a technique the same frequency as the encoder VCO, something that
previously untried in isolation amps. The capacitors are occurs when the two have the same input voltage. The
simply 3pF thick-film devices deposited on the ceramic input voltage to the feedback VCO becomes the output
substrate at the time its tungsten metallization is laid (VOUT) of the isolation amplifier after a second-order
down. The capacitors take the place of transformers or Butterworth low-pass filter removes residual carrier
of a combination of LEDs and photo diodes. noise.
The signal through the capacitors is a IMHz frequency- Each VCO chip also contains a 5V, 10ppm-per-degree-
modulated square wave; in effect it is a pseudo-digital Celsius reference that controls the buffer's input and
waveform. It takes three proprietary chips to modulate output offset voltages. The references are in effect in-
and demodulate the ±IOV input signal-one of them a dependent 5V sources, each of which can supply up to
phase-locked loop, the other two are voltage-to-fre- 5mA to external circuits.
quency converters. One of the three, the encoder (which The easy-to-use buffers have gain and offset trimmed
is the FM modulator) to which the floating signal is respectively to within 0.1 % and 20m V while the chips are
applied, is a voltage-controlled oscillator (VCO) with a still on-wafer. Gain and offset errors may be trimmed
center frequency of I MHz (Figure I). The ±IOV input through zero with a pair of input potentiometers.
modulates the I MHz signal ±500kHz. The vco's Nominally, the chips on both sides of the barrier operate
output is through a pair of complimentary pulse trains, from split ±15V supplies; in practice they will operate
fo and ro,that drive the two tungsten capacitors. The anywhere between ±IO and ±20V. The device can put
decoder on the other side of the barrier is formed by the out 5mA and swing to within 3V of the rails. Indeed,
phase-locked loop (PLL) and the second VCO. because only the output supplies limit the swing, input
The PLL chip contains a sense amplifier, the loop voltage can actually exceed input supply voltage.
Offset
Offset Adjust
Gain Adjust
Optional Bandwidth
Control Capacitors
l.
FIGURE I. The 150102 and 150106, respectively rated 1500V and 3500V. transport their analog input signals across the high-voltage barrier on a pair of 3pF
tungsten capacitors; to feed the input signal through the capacitors, the signal frequency modulates a IMHz carrier in an encoder YeO; the signal is
demodulated on the other side of the barrier by a matching feedback vea and a phase-locked loop.
By adding a pair of small capacitors on the output side isolation amplifier's power pins provide all the filtering
of the buffer, in parallel with the low-pass-filter capaci- needed. An LC 1f filter in the + 15V line to the controller
tors, the designer can trade off between system band with eliminates conducted EMI from the rest of the circuit.
and system dynamic range-maximum signal swing To maintain a system's accuracy, a designer must take
divided by the noise floor. Doubling the dynamic range several limiting aspects of the amplifiers into consid-
quarters the bandwidth (Figure I again); adding 0.01 eration. For example, the modulation and demodulation
and 0.021lF capacitors boosts the dynamic range to 16 technique imposes a limit on the isolation voltage's per-
bits while cutting the bandwidth to 280Hz. Without the missible slew rate.
two capacitors, dynamic range is typically 12 bits, small- Transients across the barrier that exceed 100V / IlS can
signal bandwidth 70kHz, and the I MHz carrier appears generate enough common-mode current in the capacitors
as a ImVp-p ripple on the output. to overdrive the decoding circuit. The effect is to inter-
One common configuration for an isolation amplifier is rupt accurate signal transmission for a moment, but no
a system with multiple channels isolated from each other damage occurs because the devices are protected for
as well as from their output side. At the output, the transients to lOO,OOOV / IlS.
signals feed an A/D converter and a computer. An eight- On the other hand, the rated IMRR prevails in the
channel system of this type can be built with eight presence of a 7.5kHz, 1500Vrms sine wave because slew
ISOI02 amplifiers for as little as $25 per channel rate across the barrier does not exceed lOOV/ IlS. For a
(Figure 2). rated IMRR, the rms value of the isolation voltage must
One of the eight amplifiers drives an eight-channel be less than 11.3MV divided by the frequency in Hertz,
analog multiplexer. A 5kO potentiometer trims the as well as less than the rated isolation voltage.
channel's gain to unity, while one of two IkO potentio- The slew-rate limit is of concern only when the signal
meters trims offset voltage to as close to zero as possible. floats continuously on rapidly changing potentials. It
The potentiometers can also trim other gain and offset need not be considered where isolation is only a factor
errors in the channel. In addition, with 300pF and 600pF under fault conditions, as in medical devices.
capacitors connected respectively to the C, and C, pins,
Typical among isolated systems is the kind with com-
small-signal bandwidth is reduced to 10kHz.
pletely floating inputs powered by a high-frequency
Isolated power for the eight separate amplifiers comes DC/DC converter, driven in turn by a logic supply on
from the PWS740 series of DC/DC converter building the barrier's output side. The likelihood then is that the
blocks. One 400kHz PWS740-1 switch-mode control supply's ground is the same as the buffer's digital ground.
circuit drives eight PWS740-2 transformers in parallel,
one for each channel. In such a case, because the primary of the transformer is
driven with a fast rising and falling rectangular wave-
Each transformer's output is rectified by a PWS740-3
form, the converter capacitively couples a charge to the
diode bridge, while O.IIlF bypass capacitors on the
Analog-Input
Ground
-15V
One of eight
isolated
analog data
channels
l Analog
Multiplexer
(MPC8S) ~Analog
~ Ground
tance, reducing the coupled charge. Another method is
to use an electrostatic shield between the primary and
secondary windings.
,--=-,
OUTPUT CIRCUIT
1+----<0}- I
~ I I.." I
I I
r-- I I
I I
I
~~• ~I
II,"
v,"
9
+
I
I
I
I
I I
FIGURE I. SIMPLIFIED 150100 BLOCK DIAGRAM. The ISOIOO can be thouaht of as a I:' current translator with its output flowing into a current to volt ••
converter. This isolation amplifier is inherently a current input device. However, since the input is • virtual ground. an input voltaac can be converted to a current by
simply including R,•. The optional I' connections are used to produce bipolar operation.
d
to two inversions in the signal path from isolation input voltage and iso-mode voltage. However, it would be very
to output. Care should be taken not to be confused on rare that all of these factors would be significant.
this point. Analysis e~amples for these terms are found in the data
The resulting simplified transfer function for the ISOlOO sheet. It will be shown that gain error also introduces an
is given by: offset current term. Voltage offsets (Vos) are modeled as
voltage sources at the inputs of each op amp. lot and 102
VOU'! I;n = (Rr)(1 + A,). represent the currents being generated by the photo-
Gain error (A,) is defined as the deviation of the ratio, diodes. The currents are related by the equation:
l;n!lou1 from unity. It can be thought of as the "coupling
error. n
1m = lot(l + A,).
These are internal currents which mathematically cancel
The optical coupler uses a matched pair of photo-diodes
in presenting the total transfer equation. The gain error
and a light emitting diode (LED) to produce signal
(A,) and the unipolar offset current (Ios) cannot be
transmission. Since an LED only works when current
directly altered. However, these terms can be considered
flows in one direction, the basic mode of operation is
constant for each amplifier, allowing their effects to be
unipolar. In the unipolar mode, only negative input
compensated by simple external means. For instance,
currents are allowed (ie: only currents out of the input
the gain error is compensated by adjusting either R, or
produce a positive voltage to turn the LED on). Bipolar
Roo. Voltage offset can be trimmed as in most other op
operation can be easily produced by internally offsetting
amps, using the trim pins provided. Offset current is
the input from zero. Two matched current sources (I""
trimmed by adjusting the magnitude of one of the
and 1,,(2)are included in the ISOIOO for this purpose. By
reference currents (I"", 1,,(2). Because of the on-ehip
connecting current source I"", on the input side of the
design, sampling or adjusting of the internal references
coupler, the amplifier is made to operate at half-scale
does not have a detrimental effect on the isolation
(when the input current is zero). Connecting an equal
amplifier's performance. los trim with an external input
source (I",,) on the output side, shifts the output voltage
current is possible, but careful consideration should be
back to zero. This arrangement maintains a desirable
given to the effects of temperature and supply voltage
"zero-in! zero-out" relationship, while allowing input
variations. Noise can also be an important error source.
currents of either polarity to be accepted.
While not treated in this applicaiton note, information
can be found in the product data sheet.
THE ERROR MODEL
The model used to represent ISOlOO errors is shown in WHAT IS THE OUTPUT?
Figure 2. Offset current (Ios) is defined as the input
It is important to be able to calculate total worst case
current required to make the output voltage zero. In the
errors for a particular circuit configuration. Clearly, this
unipolar mode, it is mainly composed of mismatches in
is important for establishing incoming inspection criteria
the optical paths. I"" and I"" are the current sources
as well as circuit and system design.
thl!t are optionally connected to produce bipolar opera-
tion. The major source of bipolar los is the mismatch in Equation 2 in the ISOlOO data sheet allows the user to
I"" and I"". The various contributions to the offset solve for the output voltage under any conditions. This
current are grouped together and are modeled as a single transfer equation (for the voltage mode) is repeated here:
current source at the input. Keep in mind that los has a Vo = Rr[(V'N!R;n + Vos;!R;n - I"" + 10s)(1 + A,) +
sensitivity to temperature, supply voltage, common mode 1",2] + V 050.
ISOLATION
BARRIER
I
...•.
FIGURE 2. DC ERROR MODEL. VOIo and Vos.. model the respective input offset voltages. There are several possible contributon laofrset current. The composite effect
is modeled with one current source, IDS.at the input. The gain error (A.) defines the relationship between 101and 102 (101 = IDI(1 + Ac]). While shown u separate sources,
any mismatch in INn and I••rl are included in the los term.
The transfer equation for an input current is:
Vo = R.{(I;n - I"" + 10s)(1 + A,) + 1,,12]+ VoSo
By substituting worst case numbers for all the error
terms, the maximum error in the value of V 0 can be
determined as shown in example I. I
I 1
Example 1: An ISOIOOCP is to be tested at incoming I I
inspection. The part is to be tested in a bipolar unity gain
configuration. For the conditions of Rr = R1n = IMeg ~R" :
and V1n= 0, what output voltage would be within the 1- @l
specification limits?
The maximum values for the error terms are found in the
Qv"","
1+ 1
data sheet. Inserting them into the output equation 1 I
1 1
presented above: I 1
1 I
V", = IMeg[±200/.,v / IMeg - 12.5/lA ± 35nA)(1 ± I 1
I",mu'
t lut""")
t SHIFT DUE
TDR,&R.
v,"
1.,,=-
FIGURE9. OFFSET INTRODUCED BY GAIN ERROR (BIPOLAR ONLY).
R,"
The gain error (A.) will cause an apparent 105term to appear when in the bipolar
mode. A. causes the ideal transfer line A to rotate to position B. Adjusting RI or
R,ft can correct the slope, as suggested by line C. The line will rotate about the
=
point where I," O. The result is a line with the correct slope, but having an offset
equal to I••IJ(A.). This offset term can be adjusted out in the same way as regular
los.
DECREASE
R,
R,"
FIGURE 8. ADJUSTING THE GAIN. Changing the ratio Rf/Ri. will change
=
the gain by rotating the transfer function about the pont w"ere I,,, O. This will
be true for both the unipolar and bipolar cases. Ios is zero in these examples.
Vos ADJUSTMENTS
While both the input ahJ output amplifiers of the FIGURE 10. PREFERRED METHOD FOR VOLTAGE OFFSET TRIM. In
1SOlOO have provisionJ for adjusting offset voltage, it is those rare applications where offset voltage is significant, it is best to adjust the
generally not necessary to do so because the contribution input offset voltage, VOSi, as shown above. Vas' and its drift appear at the output
multiplied by the factor R,/R,n. VoSowill usually not be gained up, and thus will
to total error is small. Only V 0'; has practical significance not need adjustment. Adjust Vas, until opening up and closing S. causes no shift
(in most applications), and then only when R;o is small. in the output voltage.
In most cases the output amplifier is configured so that it
has a voltage gain of one, and as such its Vas contribu- If the system offset must be adjusted from the output
tion 'will be insignificant. The output adjustment range side of the ISOIOO, the output amplifier can be placed in
via the VoSocontrol will be only a few millivolts. a gain configuration, As shown in Figure II, the output
The input offset voltage (Vas') will affect the output only voltage offset (VoSo) is now multiplied by a gain of I +
(Rr/R.). If Rr = IMeg, and R9 = Ik, the output will be
1001 times VoSo. This connection does not alter the input
signal gain, but it does amplify all output stage errors
including VoSo and noise. It is also important to realize
that adjusting offset voltage in the ISOloo (and most op
amps) causes a change in the offset voltage drift of about
v,"
9.76kO R.
3/l V 1°C for each millivolt introduced. Offset drift will be 5000
POT
amplified by the same gain factors (as the Vos) above.
SWITCHES
TEST 51 52 53 54 55 V,"
A, B A A A A +10V VOl = VO V02 - VOl
A,=(1---- )
B A A A A -10V V02 = VO Vin2 - Vin1
1,.112 B A B A B -10V 1"1',2 = Ammeter Reading
105 Bipolar A A A A A - 100 = (V. -;- R,) - (I •••, X A,)
Vaso B A B B B +1V V~ = Vo/1001
FIGURE 13. STANDARD TEST CONFIGURATION. Each of the major errors in the 150100 can be measured with
the circuit shown. The test circuitry is similar in concept to the methods used in the actual production test equipment.
To make measurements, the switches aft placed in the positions indicated in the table, and the input voltage is set
accordingly. The voltage or current reading is then used to compute the error.
DESIGN AND APPLICATION OF TRANSFORMER-
COUPLED HYBRID ISOLATION AMPLIFIER
MODEL 3656
Hybrid-compatible toroid assembly, in a flyback-modulated circuit, achieves
long-term stability, high frequency response, and superior breakdown ratings
Whenever engineers who need or use isolation amplifiers data channels on each PC board. On the other hand, the
get together and talk about the improvements they would medical equipment manufacturer is not as concerned
like to see most, the big three - cost, size, and performance with size but encounters very-high breakdown voltages
are likely to be mentioned. The industrial or medical and requires low leakage at a reasonable price.
equipment manufacturer often has to make a choice of To meet the widely varying needs of these and other
either buying an isolation amplifier or building his own. potential users, Burr-Brown has made a radical departure
Cost is the key criterion for such a decision, but there are from established design and manufacturing techniques in
others as well. For example, the multichannel analog developing its new isolation amplifier, model 3(>56.
system designer usually runs into printed circuit board Among the key design features and the resultant benefits
space limitations. since he almost always requires a lot of for the user are:
FIG U RE I. Self-contained by design. Functional diagram of hybrid isolation amplifier shows transformer T, at its
heart and a minimum of external components. Switching rate of 750kHz results in high frequency response and
eliminates external filter components.
• A single hybrid-compatibletransfonneI{patents4,006,974;
4,103,267; 4,082,908) in conjunction with a patented -+j !--Z50nllc
circuit, that couples both signal and power across the
isolation barrier, resulting in the industry's smallest
,,) Swllch -.J
r;;;;l_l.I~lecQ
." I ==:J ." I~ _
and lowest cost isolation amplifier having its own
internal isolated power.
• A ceramic thick-film integrated circuit that uses the
transformer to provide long-term stability and reliabil-
ity at low cost.
• True three-port isolator design that achieves unprece-
dented voltage breakdown ratings and versatility.
• A 750k Hz switching rate that results in the highest
small-signal frequency response for any isolation
amplifier and reduces external filtering requirements.
• A differential design concept that uses two demodula-
tors, one for feedback and one for feedforward, pro-
FIG U R E 2. Flyback modulation. The pulsed supply'vol-
ducing accuracies comparable to those of higher
tage is applied to transformer winding (a). As a result of
priced transformer-eoupled devices.
voltage V across winding, current I increases as in (b)
Figure I shows the functional diagram of the device in its until switch opens, producing fly back shown in (c). Recti-
unity-gain, noninverting configuration with a minimum fied positive-going pulses provide power to energize
of external components. A highly inductive transformer, input op amp Al which controls f1yback modulator.
T,. is excited by the pulse generator containing a solid-
state switch that alternately applies an open circuit and positive output signal; as modulation increases, the
the voltage present across filter capacitor C, to trans- demodulator output signal decreases until it is negative at
former winding W" as illustrated in Figure 2a. When the maximum modulation.
voltage (V) is applied to the winding, the current (i) in the
inductance (L) of the winding increases as shown in Fig- Flyback demodulator I is used in a closed-loop system by
ure 2b according to : connecting its output to the inverting (feedback) terminal
di/dt=V/L of AI. This configuration causes A, to control the level of
the modulator until the output of fly back demodulator I
(circuit resistances and capacitances have only secondary
equals the signal at the noninverting input of AI. so that
effects and can be ignored here). At the instant the switch
VFH = V'N. Flyback demodulator 2. identical to flyback
opens, the voltage across the transformer reverses and
demodulator 1. has the same output, and thus VFF= V'N.
reaches the magnitude necessary to maintain the current
To prevent loading of demodulator 2. it is buffered by A"
at its previous value. This effect is called f1yback.
which is configured as a unity-gain amplifier. As a result,
The f1yback voltage (VF) appears on all windings in the VOU1 = VFF = V'N.
form shown in Figure 2c. Its amplitude is proportional to
the instantaneous current and the equivalent resistance The accuracy of the transfer equation depends basically
(Re) shunting the transformer inductance: on the stability and tracking of the two op amps and the
VF = iRp close matching of the demodulator components. With
high grade op amps and components matched to within
The magnitude of VF can be varied by changing the 0.5% or better initially. and a temperature coefficient of
parallel resistance across any winding of the transformer, 25ppml"c' a very-high gain accuracy can be achieved.
resulting in a form of amplitude modulation. This is Nonlinearity caused by differences in demodulator out-
accomplished by the flyback modulator, which is con- puts is very low because of the repeatable matching of the
trolled by input operational amplifier A,. Power for A, is resistors and stray capacitances made possible by thick-
generated by rectifying the positive energizing pulse film hybrid-eircuit technology.
appearing across W,. Rectification is' accomplished by
diode DI. and the resultant direct current is smoothed out
by C, to derive the positive supply voltage. Similarly, the HYBRIDS AND TRANSFORMERS
negative supply voltage is derived by diode DJ and capac-
Until now, transformers and large chokes were to be
itor CJ from winding W,. If the isolation amplifier is to be
avoided in hybrid integrated circuits. The few hybrids
used as a three-port isolator, isolated power voltages for
manufactured with such components are hard to produce
output op amp A, can be derived by adding filter capaci-
and very costly because of the difficulties with size,
tors between pins 16 and 17 and between pins 12 and 17.
uneven mounting surfaces, and substrate-to-magnet-wire
At the heart of the isolation amplifier are two identical interconnections. When Burr-Brown moved to enter the
flyback demodulators. Both compare the positive-going rapidly expanding market for isolation amplifiers and
flyback signal at the respective winding ~t which they are isolated DC/ DC converters with low cost transformer-
connected with the amplitude of the negative energizing coupled hybrid circuits, it decided that these shortcom-
pulse. At minimum modulation (load), they,produce a ings had to be eliminated. As a result, it developed a new
approach to implementing a toroidal transformer on a Also. its isolation barrier capacitance is the lowest of any
hybrid substrate that eliminates the manufacturing problems. transformer-coupled device available today - a highly
desirable feature in medical applications where the leak-
Table I is a step-by-step comparison of the new technique age from the standard 115Y AC equipment power outlets
with the conventional (but rarely used) approach. At to the patient must be kept at a minimum. Actually. the
present. the hybrid-compatible transformer is well suited single transformer design keeps the leakage current
for low-cost. low-power transformers. with the overall below 0.5 microamperes. 20 times lower than the limit
cost of the transformer assembly about 60% to 80% of the specified by Underwriters Laboratories.
mounted transformer. However. it does not yet provide
Another big advantage of low barrier capacitance is that
the same performance as the conventional transformer in
the isolation-mode rejection degradation is kept at a
all respects. Although coupling capacitance is lower and
minimum in applications where the source impedance is
accuracy is better. the resistive losses are higher and the
high and the isolation amplifier does not have a balanced
achievable inductance is lower.
front end. The isolation-mode rejection of the new unit
also compares well with that of previous designs. Another
COMPARING PAST AND PRESENT strong point of this device is its small-signal frequency
Table II is a comparison of features and specifications of response - an order of magnitude better than any other
the new isolation amplifier with previously available transformer-coupled isolation amp and even better than
component type units. (Note that previously available optically coupled devices.
transformer-coupled isolation amps were built as printed Moreover. the 20-pin ceramic package. which measures
circuits most often housed in plastic modules.) Amplitude- 1.1" x 1.1" x 0.26". is the smallest of any isolation amp
modulated isolation amplifiers were the first to appear. available today. Finally. its price is the lowest for any
high accuracy pulse-width-modulated types were intro- transformer-coupled device with an internal isolated
d uced in 1973. and optical ones have been available since power supply. Thus. it is more economical to use than
1976. even optically coupled devices in applications where iso-
It can be seen that the single-transformer. tlyback modu- lated input power is not readily available.
lated amplifier performs well in most areas. Its nonlinear-
The innovation that makes it economically feasible to put
ity is in line with that of all the other types and exceeds
this isolation amplifier into a ceramic hybrid package is
that of the low-cost amplitude-modulated types. Its
the hybrid-compatible transformer design. Figure 3. a
isolation-voltage pulse rating is higher than that of any
photograph of an uncapped isolation amplifier. shows
other amplifier and conforms with the requirements spec-
the location of the transformer. the rest of the compo-
ified in medical applications for protection against defi-
nents (the op amps. resistors. capacitors. and diodes) and
brillator pulses.
FIG URE 3. Dominant feature of this hybrid intregrated-circuit isolation amplifier is compatible transformer, which, in
conjunction with the flyback-modulation technique, is used to achieve isolation of signal and power with a single transformer.
FIGURE 4. Transformer views. Top X-ray view (al and cross section (bl show construction of toroid assembly, which,
provides coupling of signal and power across amplifier's isolation barrier. Turns are of gold wire instead of usual magnet
wire and are bonded to screened gold interconnection pattern on ceramic substrate.
conductor patterns shown in Figure 4a. The gold conduc- ing material.
tor is then fired in accordance with Burr-Brown's stand- The integrity of the transformer under high voltage stress
ard thick-film process. The layer of glass insulation is also is ensured by the use of several insulation steps. The glass
screened on and fired using thick-film technology. Further layer on top of the conductors and the insulator coating
processing completes the substrate. which contains 20 on the toroid core each have a minimum dielectric
laser-trimmed cermet resistors and 19 gold-plated pins, strength of 8kV.
swaged and welded in place. .
Finally, the package is sealed by applying a ceramic cap
The first step on the assembly line is the bonding of the over the top of the unit under pressure and heat in a
in~ulation-coated toroid to the glass insulation layer. All nitrogen atmosphere. The heat cures an epoxy ring pre-
the other circuit components are then bonded to the screened onto the ceramic cap to form an airtight seal.
substrates. Chip-to-conductor interconnectors are made
with I-mil gold wire and transformer turns are completed
R7
330kn/lW
High}
RA To Monllor
Low
FIGURE 6. Medical beat. Because of its high isolation, the 3656 is ideal as an electrocardiograph amplifier. It can
withstand inadvertent applications of defibrillation pulses while the patient is being monitored. Heart pulses are
accurately amplified with a frequency response of DC to 3kHz.
The electrocardiograph amplifier in Figure 6 is imple- must be carbon composition types, because film types of
mented with an instrumentation input stage by using a the same rating cannot survive defibrillator impulse
second low power. low noise op amp (such as industry energy, which can range up to 2 watts/second (8kv).
type 4250) in addition to the internal device. Resistors R, Resistor R. sets the quiescent current of AI, and R.
and R. set the noninverting gain of the internal op amp to equalizes the load of the output demodulator with that of
10 and resistors R, and R2 provide matching of the exter" the input demodulator for maximum gain accuracy.
nal op amp inputs in accordance with standard practice Capacitor C2 filters the internal negative supply for the
for designing instrumentation amplifiers. output buffer op amp. but if a ± 15V supply is connected
Resistors R~ and R, protect against the peaks of defibril- to the output buffer op amp, C2 can be eliminated.
lation pulses. which might be inadvertently applied to the This circuit accurately amplifies heart pulses with a fre-
input if a defibrillator is used to restore the patient's heart quency response of DC to 3kHz. A bandpass filter
function while he is being monitored. These resistors between amplifier and monitor can select out the desired
frequency range.
For electroencephalography, or brain wave monitoring.
where defibrillator protection is not required. R~ and R,
can be eliminated. resulting in lower noise. But in order
for the frequency band to be monitored, the gain must be
increased. since brain waves are an order of magnitude
smaller in amplitude than heart pulses. Increasing the
gain is accomplished by bypassing both R, and R. with
an appropriate RC series network. Forexample. to mon-
itor alpha and theta waves (4Hz to 13Hz) with a gain of
200. two 10k!! resistors and two 101-'F capacitors should
be used.
FIGURE 8. Stability. For applications like this thermocouple, where DC stability is important, the isolation amplifier
can be supplemented with a high-performance op amp, using the internal isolated power supply. for which capacitors C2
and C, provide additional filtering.
down or open circuits. If the transmitted current is not between tion can occur in degrees that depend on the circuit. the
4mA and 2OmA, an error condition is generally assumed. isolation capacitance. and external stray capacitances.
Figure 7 shows an isolated I V 5V to 4mA 20mA conver- A simple model of an isolation amplifier with an opera-
ter. All power is derived from a single 24VDC supply. tional amplifier input stage is shown in Figure 9. Ampli-
The voltage for the isolation amplifier is regulated to 15V fier A, represents the input op amp. and A, the unity-gain
using a standard three-terminal regulator. The isolation isolation stage. Specified isolation-mode rejection is
amplifier is used with a floating output (three ports) to achiewd if common-mode signal V,,, produces no dif-
control current-source transistor Q, and feed its emitter ferential input signal between the inputs of A,. A,. or
current into grounded load resistor R,. The feedback hoth. This is the case if both R" R" and R, and C,. C,.
voltage for the internal output buffer is derived across and C,,,, are lero. However. when these resistors and
sense resistor R, and is proportional to the output capacitors have finite values. they form three low-pass
current. filters. each with the general attenuation function:
For increased DC stability when required in applications
like a thermocouple amplifier, the front end of the 3656
can be supplemented with a high performance op amp by
using the available isolated supply. Figure 8 shows such a For example, if R,= I kfl and C",,= 6pF. the calculated
configuration. Resistors R, and R, set the gain of the attenuation A at 60Hl is 2.2 x 10-'. or 2.2ppm. Though a
front end amplifierto 1000. Capacitors C, and C, provide few ppm of attenuation seems trivial. note that I ppm is
additional filtering for the isolated supply - recom- e4uivalcnt to 120d B (20 log I ppm).
mended if A, draws more than 0.1 mA of supply current. Any differential signal appearing at the input of A,
because of une4ual attenuation of V,,, by network C, -R,
GETTING FULL ISOLATION-MODE REJECTION loaded with R, on the one band and C,- R, loaded with
A recent analysis of an isolation amplifier to determine the noninwrting input of A, on the otber will be ampli-
the effect of internal- and external-component and stray fied the same as an input signal (V,,). Tbus. une4ual
capacitances on isolation-mode rejection shows that only attenuation can be directly translated into a limit on
the capacitances of the input wires to the output circuits isolation-mode rejection referred to the input. Any atte-
are critical. Thus, the major factors for the user are nuation of V, " caused hy low-pass filter R,-C"" with
specified isolation-barrier capacitance (C,SO) and the respect to tbe common portion ofY eM across the input of
external capacitance between any of the input and output A, appears across the input of A,. The gain for this signal
pins. is only unity regardless of gain of A" causing an
Designing for high isolation-mode rejection becomes isolation-mode rejection degradation with reference to
very simple if the isolation amp includes an instrumenta- the output.
tion or balanced front end or one is add,d externally. The The three-wire input system in the figure maximi/es the
balanced front end makes it easy to maintain the full isolation-mode rejection of the 3656 or other isolation
isolation-mode rejection specified because the barrier amplifiers with an unhalanced input. hecause C"" becomes
capacitances from each input-to-output common can be less critical with high gain and C, and C· can be kept
easily balanced. To maintain an isolation-mode rejection small. BlIl the value of R, affecr- the circuit gain.
close to 120 decibels with a capacitance unbalance of If a two-wire system is chosen and the input common is
0.5pF, a source impedance unbalance of up to 50kfl can c'onnected to the junction of R, and R, (S, switched), the
be tolerated. gain is no longer affected hy R" but the degradation of
Maintaining full isolation-modc rejection with a single- halanee caused by network C,- R, loaded hy R, in con-
ended or unhalanced front end is more difficult. The junction with the largest capacitance C,,,, is amplified hy
source resistances in this casc must hc no more than a few Al and causes I1lw:h poon:r isolation-mode rejection at
hundrcd ohms. With largc source impedances. degrada- gains higher than unity .
.¢.CISO
WHAT IS AN ISOLATION AMPLIFIER?
Isolation amplifiers resemble operational amplifiers Isolation amplifiers generally serve the following
but are designed to have a galvanic discontinuity functions not achievable with operational or instru-
between their input and output pins. This dis~onti- mentation amplifiers:
nuity, called an isolation barrier, must have high • Sensing small signals in the presence of very-
breakdown voltage, low DC leakage (high barrier high (> 10 volts) or unknown common-mode
resistance), and low AC leakage (low barrier capacit- voltages.
ance).
• Protecting patients undergoing medical moni-
The isolation barrier sets the isolation amplifier t.oring or diagnostic measurements.
apart from operational and instrumentation amplifi-
• Completely breaking ground loops.
ers in cost and complexity, as well as in application.
So called three-port isolation amplifiers have an addi- Below is a comparison of the three basic amplifier
tional isolation barrier between the power supply types. The isolation amplifier, as well as offering
connection ana the signal connections. This feature isolation, increases accuracy because of its floating
increases versatility because it allows the user to con- input. In contrast to the instrumentation amplifier, it
nect power in common with either the amplifier's not only eliminates ground loop errors but further
input or its output. In some cases, it may be advan- reduces the total system error because its isolation-
tageous to isolate the power supply from the input or mode rejection ratio is generally one or two orders of
the output and thereby eliminate additional error magnitude higher than the common-mode rejection
sources that may be present in a system. of an instrumentation amplifier.
SYMBOL
=t>- =t>- =f)~
User defined feedback such Commined feedback. Gain adjustable
FEEOBACK IS voltage. current within fixed limits.
CONFIGURATION dV/dt f Vdl. log V. ete.
1. Gen.r.1 purpose g.in .I.m.nt High accuracy analog sense 1. High accuracy analog sense
2. Bull.r. amplifier when common·mode amplifier for common·mode
BASIC 3. An.IOll comput.r. potentials are smaller than the potentials in excess of supply
APPLICATION supply voltage. voltage.
2. Analog safety Isolator.
3. Break ground loops.
Offset noise and common·mod. Input and output ollsll and noise. Input and output ollset and noise.
MAJOR 0'
errors Independent gain. Total .rror depends on gain. On. set
of common·mod. spo.ificationa.
Separate common·mode and isolation
mode errors except for single·ended
ERRORS input devices.
COMBINE TWO OP AMPS TO AVOID
THE SPEED ACCURACY COMPROMISE
By interconnecting a low drift op amp and a wide band For the differential input composite amplifier shown in
op amp, the best characteristics of both amplifiers are Figure 2, the low drift op amp amplifies the offset
attained in the composite amplifier. Typically, wideband voltage at the inputs of the wideband op amp and
op amps have high voltage offset drift with time and supplies an offset correction to the offset nulling pin of
temperature, which can produce significant error. Shown the fast amplifier (pin 8 for the wide band amplifier
in Figures I and 2 are two composite op amps. Each uses shown). The output of the low drift amplifier stabilizes
a low drift op amp, A" and a wide band op amp, A2, in at the voltage necessary to reduce the offset voltage of
configurations which yield the best performance charac- the fast amplifier to that of the low drift op amp plus the
teristics of each amplifier: the wide bandwidth of A2 and offset from the bias current in resistors R, and R2.
the low offset voltage drift of A,. Added benefits include Again, the offset voltage of the composite amplifier is
increased open-loop gain and reduced low frequency reduced to that of the low drift op amp.
noise. The low drift op amp provides continuous correc- The open-loop gain of both composite amplifiers is A2
tion for the input offset voltage of the fast amplifier. For X (I + OIA,), where 01 is defined as Ex/A,E;. For the
the inverting-only composite amplifier shown in Figure inverting-only composite op amp shown in Figure I, OIA,
I, the low drift op amp A, senses the offset voltage from is the response of the integrator formed by A" R, and
ground present at the summing junction of the wide band Ct. For the differential input composite op amp shown
amplifier. Any such offset will be integrated by A, to in Figure 2, 01is essentially a constant, independent of
develop an offset compensating voltage at the r.on- frequency, and is the change in the offset voltage of A2
inverting input of the fast op amp. Integration continues due to a change in Ex divided by the change in Ex. It can
until the summing junction voltage is equal to the input be shown that for the composite op amps to have a single
offset voltage of the low drift amplifier (including the pole in their open-loop gain response, R,C, must equal
effects of the low drift amplifier's input bias currents on A02/2 11" fC2in the inverting-only composite op amp and
resistors R, and R2). Then the offset voltage of the
01 must equal -fC2/A02fc, 'in the differential input
composite amplifier is essentially that of the low drift
composite op amp, where fCl, fc2, and A02 are the unit
op amp.
R, C, = Ao2/21T fC2• R2 = R,
V'as = VaSAl + R, 10sA"
= 250pV, 1pV/OC typo
A'a = A02 (1 + Ao1)
= 200dB typo
f"e = fe, = 100MHz typo
gain bandwidths of amplifiers A, and A" and the DC low drift op amp in Figure 2 prevent high frequency
open-loop gain of A" respectively. common mode swing from unbalancing the input stage
of the low drift amplifier, which would cause a change in
In addition to a decreased offset voltage drift and an
its input offset voltage.
increased open-loop gain, the differential input composite
op amp has the further advantage of improved common- The composite amplifier has some idiosyncrasies which
mode rejection at low frequencies. At low frequencies may be important in certain applications. It will not
the CMR of the wide band amplifier is essentially replaced completely stabilize in response to a step input until the
by that of the low drift amplifier, which is typically much low-drift op amp and its integrator loop have settled to a
better than the wide band amplifier. final value. This can produce a settling "tail". Since the
Diodes D, and D, at the output of the low drift amplifier DC correction loop has a small effect on the output, the
in Figure I prevent a latch-up condition which can exist magnitude of this aberration may be small or negligible.
in the composite amplifier, since the output saturation Actual applications should be evaluated to determine the
voltage of the low drift amplifier specified exceeds the significance of this effect.
common mode range of the wide band amplifier shown.
Low-pass filters R,/C, and R,IC, at the inputs of the
a4 (t.E,/t.Exl = -fe,/(Ao,I«)
R2 = A,. C2 = C,
V'os = VasA1 + R, los",
= 250/N, 1/lVrC typ
A'o = Ao, (1 + aA,)
= 140dB typo
f'e = fC2 = 20MHz typ.
The new OPAI28 ultra-low bias current operational B: noise bandwidth (Hz)
amplifier achieves its 75fA maximum bias current without R: feedback resistor (il)
compromise. Until now, serious performance trade-offs eOUT: noise voltage (Vrms)
were required which sacrificed overall amplifier perfor-
mance in order to reach femtoamp (fA = 10-15A) bias
currents. It is the world's first monolithic sub-picoamp
op amp.
Hamamatsu
G1735 ~
~
11
Bias current " " 75fA max
0.1 F+ 0:- Offset voltage. .... . . . .... . . .. 500p.V max
Bias Voltage Drift.."" " 5p.V/oC max
+10V to +sov Noise "".. 15nV/v'IIZ at 10kHz
~
•...
..
;
~100
~ gO
=
~ 7D
III
STANDARDDIElECTRIC·EVAlUATlDN SCHEMES c.n pron dlll.trou. to the op ~ 6D •
---------f-------
.mp thay amploy. Hth. dl.ltctrlc undtrtlltlhort •. thl rnulllna high wlllg •• t thl
op .mp'.lnput dlltroy. thl dlvlc. unlll' thl d.vlel·. very-Iow-llill (Iow-volllgl) ...
c
THERMALAND
Inpul.t.gll •• omlhow protlCtld. Thl.olullon I.dllllcult: Wh.tever you dO,lt mu.t NDISE THRESHDlD
not dlgradl thl op .mp'. pirtorm.ncl,
VDG(V)
TYPICAL APPLICATION
The circuit in Figure 3 is a common application of a low
noise FET amplifier. It will be used to demonstrate the
above noise calculation method.
CRI is a PIN photo diode connected in the photovoltaic
If the instantaneous terms represent DC errors (i.e.,
mode (no bias voltage) which produces an output cur-
offset voltage and bias currents) the equation is a useful
rent iIN when exposed to the light, A.
tool to compute actual errors. It is not, however, useful
in the same direct way to computer noise errors. The
basic problem is that noise cannot be predicted as a
function of time. It is a .random variable and must be
described in probabilistic terms. It is normally described
by some type of average-most commonly the rms value.
I Voltage Noise
I I
I I Figure 7 shows the noise voltage gain for the circuit in
I C,-- II Figure 4. It is derived from the equation
I
25pF I
I
I
I
L
I
J
eo = en [I l AJ3 ] = en b [I ~ I ]
AJ3
where:
A = A(w) is the open-loop gain
J3 = J3(w) is the feedback factor. It is the amount of
output voltage feedback to the input of the op
amp.
AJ3 = A(w) J3(w) is the loop gain. It is the amount of
the output voltage feedback to the input and
then amplified and returned to the output.
Note that for large loop gain (AJ3»I) .
~1oo I
~~~ ~ ~
..
~ 10
For the circuit in Figure 4 it can be shown that
~ ...L = I + R2(R,C,s + I) (5)
g
(3 R,(R2C2S + I)
10 100 1k 10k lOOk 1M 10M For very high frequencies (f»h), s approaches infinity
Frequency (Hz) and equation 5 becomes
(b) Current Noise ...L= I +~. (7)
{3 C2
The noise voltage spectral density at the output is Region I; f, = O.OIHz to fc = 100Hz
obtained by multiplying the amplifier's noise voltage
spectral density (Figure 5a) times the circuits noise gain En' rms = K, [ I + ~:] V In ~)
(Figure 7). Since both curves are plotted on log-log
scales the multiplication can be performed by the addi- .
= 80nV/VHZ
[10' ] rI673
1+ 1<l V In (0.0'!)
tion of the two curves. The result is shown in Figure 8.
= 0.293,.,v
This region has the characteristic of I/f or "pink" noise
10M
(slope of -IOdB per decade on the log-log plot of enw).
1M The selection of 0.0 I Hz is somewhat arbitrary but it can
be shown that for this example there would be only neg-
lOOk ligible additional contribution by extending f, several
A(w)
decades lower. Note that K1(l + R,/ R1) is the value of eo
10k
at f = 1Hz.
1k Region 2; fa = 673Hz to f, = 15.9kHz
:;-
~
c
.;;;
100
Em rms = K, • K, V f,' _ fa'
3 3
10
<!l
= (6nV/~) (1.63 X 10-') V (I5.9kHz)' _ (673)' (lOa)
/ 3 3
/ = I 1.3,...V
/
/
/ This is the region of increasing noise gain (slope of
~ K,= 1.63x 10-' = (1Hz/fa) (1 + (R,/R,») +20dB/ decade on the log-log plot) caused by the lead
network formed by the resistance R, II R, and the capaci-
10 100 lk 10k WOk 1M 10M
tance (C, + C,). Note that K,· K, is the value of the eo (w)
Frequency (Hz)
function for this segment projected back to I Hz.
Region 3; f> 15.9kHz
25
= (6nV/..jHZ) (I+ l )V(2)(80K)-15.9K (lla)
= 51.7,...V
This is a region of white noise with a single order rolloff
at f, = 80kHz caused by the intersection of the 1/ f3 curve
~ and the open-loop gain curve. The value of 80kHz is
:>E- 1000 obtained from observing the intersection point of Figure
"'"
J'! 100
7. The 11"/2 applied to f, is to convert from a 3dB corner
0 frequency to an effective noise bandwidth.
>
3' 10
&" Current Noise
The output voltage component due to current noise is
equal to:
Eni = in X Z,(s) (12)
10 100 1k 10k lOOk 1M 10M
where Z,(s) = R, II XC, (l2a)
Frequency (Hz)
This voltage may be obtained by combining the informa-
tion from Figures 5 (b) and 6 together with the open loop
gain curve of Figure 7. The result is shown in Figure 9.
The total rms noise at the amplifier's output due to the Using the same techniques that were used for the voltage
amplifier's internal voltage noise is derived from the eo(w) noise:
function in Figure 8 with the following expression: Region I; 0.1 Hz to 10kHz
Eni, = 4 x 10-9 vlOK - 0.1
Eo rms = VJ-;~eo' (w) dw (8) = O.4,...V
It is both convenient and informative to calculate the rms Region 2; 10kHz to 15.9kHz
noise using a piecewise approach (region-by-region) for
each of the three regions indicated in Figure 8. Eni, = 4 X 10-13 V(l5.9k·Hz)' _ (10kHz)'
3 3
= 10-6 V(0.293)2+(I1.3)2+(51.7/+(64.9)2+(2.2)2 (l5a)
= 83.81'Vrms
10-<1
Conclusions
,.
~
.s
10-1
Examination of the results in equation (l6b) together
1NA101CM
Reference t +
With their low-input currents, FET input op amps are
universally used in monitoring photodetectors, the most
common pf which are photodiodes. There are a variety
of amplifier connections for this purpose and the choice
is based on linearity, offset, noise and bandwidth consid-
erations. These same factors influence the selection of
the amplifier with newer devices offering very low-input
currents, low noise and high speed. 80 = (1 + R,/R,) (KT/q) In (1 + 1,/ls)
A,: OPA128
Photodetectors are the bridge between a basic physical D,: HP5082-4204
indicator and electronics resulting in the largest single
usage of FET op amps. As a measure of physical condi-
tions light is secondary to temperature and pressure until
the measurement is made remotely with no direct con-
tact to the monitored object. Then, the signals of a
CAT scanner, star-tracking instrument or electron micro-
scope depend on light for the final link to signal pro-
cessing. Photodiodes have made that link economical
and expanded usage to detector arrays that employ more
than 1000 light sensors. Focus then turns to accurate
conversion of the photodiode output to a linearly related
eo = Ip R,
electrical signal. As always, this is a contest between A,: OPAlll
speed and resolution with noise as a basic limiting D,: HP5082-4204
element. Central to the contest is the seemingly simple
current-to-voltage converter which displays surprising
multidimensional constraints and suggests alternative
configurations for many optimizations. loop gain of the op amp. Even though R1 is generally
very large, the resulting input resistance remains negligible
CURRENT-TO-VOLTAGE in comparison to the output resistance of photodiodes.
The energy transmitted by light to a photodiode can be Diode current is not accepted by the input of the op amp
measured as either a voltage or current output. For a as its presence stimulates the high amplifier gain to
voltage response the diode must be monitored from a receive that current through the feedliack resistor RI. To
high impedance that does not draw significant signal do so the amplifier developes an output voltage equal to
current. That condition is provided by Figure la. Here, the diode current times the feedback resistance, R1• For
the photodiode is in series with the input of an op amp that current-to-voltage gain to be high, R, is made as
where ideally zero current flows. That op amp has large as other constraints will permit. At higher resistance
feedback set by R, and R, to establish amplification of levels, that resistor begins to develop significant thermal
the voltage diode just as if it was an offset voltage of the DC voltage drift due to the temperature coefficient of
amplifier. While appealing to more common op amp the amplifier input current. To compensate this error, an
thinking, this voltage mode is nonlinear. The response equal resistance R, is commonly connected in series with
has a logarithmic relationship to the light energy received the op amp noninverting input, as shown, and capacitively
'since the sensitivity of the diode varies with its voltage. bypassed to remove most of its noise. The remaining DC
Constant voltage for a fixed sensitivity suggests current error is determined by the mismatches between the amp-
output instead and that response is linearly related to the lifier input currents and between the two resistors. A
incident light energy. A monitor of that current must drawback of this error correction is the voltage drop it
have zero input impedance to respond with no voltage creates across the diode and the resulting diode leakage
across the diode. Zero impedance is the role of an op current. That leakage can override the correction achieved
amp virtual ground as high-amplifier loop gain removes with R" as photodiodes typically have large junction
voltage swing from the input. That is the key to the basic areas for high sensitivity. Leakage current is proportional
current-to-voltage converter connection of Figure lb. It to that area which can become much larger than the op
provides an input resistance of RJ/A where A is the open- amp input currents.
Only zero diode voltage can eliminate this new error
source but that is in conflict with control of a second
attribute of large diode area. Large parasitic capacitance
is also present creating often severe amplification of
noise as will be described. To reduce that capacitartce a
large reverse-bias voltage is sometimes impressed on the
diode greatly complicating DC stability and making
current noise from the photodiode an additional error
factor. Larger diode area may actually degrade overall
accuracy and higher photo sensitivity should first be
(e)
sought through optical means such as a package with an
integral molded lens. Monitor-circuit configurations that IAI (dB)
maintain zero diode voltage are also candidates in this Open-Loop Gain
optimization and are described with Figures 6, 7 and 9.
The value of the feedback resistor in a current-to-voltage 90 = IpR, + InR,+ 1 + J""R,Co en
1 + JwR,Cs
converter largely determines noise and bandwidth as
well as gain. Noise contributed directly by the resistor
has a spectral density of v' 4KTR' and appears directly at
the output of a current-to-voltage converter without amp-
lification. Increasing the size of the resistor raises output /
1/(277 R, Cs)
noise by a square rQot relationship but also increases
output signal by a direct proportionality. Signal-to-noise
\
ratio, then, tends to increase by the square root of the
resistance.
Noise from the op amp also influences the output with a
surprising effect introduced by high feedback resistance
and the diode capacitance. The amplifier noise sources
are modeled in Figure 2a as an input noise current in and FIGURE 2. Due to (a) diode capacitance in the feedback of the basic
current-la-voltage converter, (b) op amp noise receives gain and bandwidth
the input noise voltage en. The current noise flows not available to the signal.
through the feedback resistor experiencing the same gain
as the'signal current. It is the shot noise of the input bias
current IB and has a noise denisty of v' 2qIB '. Choice of with an op amp results in overshoot, response peaking,
an op amp having input currents in the picoamp range poor settling or even oscillation all due to the resistance
makes this noise component negligible for practical interaction with amplifier input capacitance. Together
levels of feedback resistance. Input noise voltage of the the resistance and capacitance form another pole in the
amplifier would at first seem to be transferred with low feedback loop resulting in the classic differentiator feed-
gain to the output. That is true at DC where its gain I + back response. Shown by the dashed line for more
R1/Ro is kept small by the large diode resistance RD. general op amp cases, the associated feedback factor
Capacitance CD of the diode alters the feedback at higher reciprocal intercepts the amplifier open loop magnitude
frequencies adding very significant gain to eo. As both response with a l2dB/ octave rate of closure correspon-
the capacitance and the feedback resistance are commonly ding to feedback phase shift approaching or equal to
large, the effect can begin at fairly low frequencies. 180°. The common cure for this condition is a capacitor
Figure 2b illustrates the effect with an op amp gain across the feedback resistor, which for the very high
magnitude curve plotted with the reciprocal of the resistances of current-to-voltage converters, automati-
feedback factor or the "noise gain." That gain curve first cally results from stray capacitance. Such capacitance
experiences a response zero due to CD and begins a rise degenerates the added feedback pole to control phase
that is terminated only because of a second parasitic shift in the feedback loop.
capacitance. Stray capacitance Cs shunts the feedback In understanding current-to-voltage converter noise per-
resistor resulting in a response pole leveling the gain at I formance it is important to note that the signal current
+ Co/Cs. For large area diodes CD can be hundreds of and the noise voltage encounter entirely different fre-
picofarads causing the noise gain to peak in the hundreds quency responses. The current-to-voltage gain is flat
as well. That gain continues to higher frequencies until with frequency until the feedback impedance is rolled off
rolled off by the op amp bandwidth limit. As feedback by stray capacitance as shown. Gain received by the
resistance increases, the pole and zero of this gain amplifier noise voltage, on the same graph, extends well
peaking move together to lower frequencies encompasing beyond that roll-off and is high in that extended region.
a greater spectrum with high gain. The majority of the op amp's bandwidth often serves
First signs of this gain peaking phenomena are familiar only to amplify that noise error and not the signal. This
to anyone who has used high resistance op amp feedback is typically the dominant source of noise for higher
in more general circuits. High output to input resistance feedback resistances.
Relative effects of the major noise sources of a current- shows for the OPAlIl/OPA21lI. Here, the curves demon-
to-voltage converter can be seen with the curves of strate the square root relationship with the resistanc~
Figure 3. Those curves show output noise for the basic and differ only because of amplifier bandwidths. At still
current-to-voltage converter of Figure I b including the higher resistance, noise gain peaking takes effect return-
effects of the noise gain represented in Figure 2b. Plotted ing the op amp noise to dominance and boosting the
are total output noises for three cases as a function of curves higher. That effect is first demonstrated by the
feedback resistance and each is the rms sum of the increased slope of the OPA404 curve as that amplifier's
components produced by the feedback resistor and an wide bandwidth first encompasses the peaking. The
op amp. Represented are three FET op amps having noise curves level off when essentially the full amplifier
different performance specialties that cover the spectrum bandwidth is encompassed by the gain peaking. Moving
of photodiode applications with low noise, low-input- to yet higher resistance, resistor noise would return the
bias current and high speed. While all three types have curves to rising slopes but resistor bandwidth is by then
low-noise designs and low-input currents the OPAlIl rolled off by stray capacitance. In this upper region, any
offers the lowest noise in the FET op-amp class at increase in resistance is accompanied by a matching
6nV/VRZ and the OPAI28 has the lowest input current reduction in noise bandwidth so that the total resistor
at .075pA. Without neglecting performance in these noise becomes a constant. Variables of diode and stray
categories the OPA404 design pushes bandwidth to capacitances alter the point of onset of gain peaking
6.4MHz. Noise due to the op amp is found by integrating errors but the characteristic shape of the output noise
the amplifier noise density spectral response over the curves remains the same for any case. Each will display
noise gain response.2 Also shown, by a dashed line, is the ranges dominated by op amp noise, resistor noise and
noise due to the resistor alone for the OPAlIl and gain peaking effects.
OPA2111 case. This resistor noise curve is different for Comparing the curves shows the OPAIII/OPA2111 to
the other op amps as each amplifier has a different provide lowest noise in two of the characterisitic ranges.
bandwidth rolling off noise due to the resistor. While the OPAl28 shows a lower noise curve in the
middle range, that is due to the amplifier's lower band-
eno (pVrms)
width and a· bandwidth reduction technique to be de-
Voltage
scribed, removes that difference for the OPAIlI. Where
200
Noise the OPAI28 excels is in very low DC error as its input
Range
currents are a mere O.075pA which is 1/ 20th that of its
low-noise contender. The third op amp, OPA404, pro-
duces higher total output noise overall but that again is
150 largely a bandwidth phenomenon. The 6.4MHz response
iil
~ of that amplifier accommodates noise over a much
3l OPA128 greater frequency range. While the noise curve for this
'0
z OPAll110PA2111 amplifier is consistently higher than that of the OPAI28,
"
a. 100
'5
the OPA404 actually has lower noise density but it has
0 six times the bandwidth. That 6.4MHz bandwidth is
S available to signals for feedback resistances up to 50kO
~ and the amplifier still offers the best bandwidth for
50 I to V Converter
e. = 0.5pF resistances up to 150kO. As the OPA404 is a quad op
0,: HP5082-4204 amp, its economy suggests consideration for use at even
higher resistances along with bandwidth reduction that
o provides more competitive output noise.
100 lk 10k lOOk 1M 10M 100M lG lOG R
Only a five dimensional graph could display the output
Feedback Resistance (0)
noise, resistance, DC error, diode area and signal band-
FIGURE 3. As the feedback resistance of a current-la-voltage converter width considered in current-to-voltage converter design.
increases, the dominant noise source changes from the op amp to the
Each specific application's requirements are evaluated
resistor and back to the op amp under gain peaking conditions.
separately with respect to these factors. To avoid sub-
optimizing a given design for one factor such as gain, the
Different factors control the noise curves for different various effects of increasing feedback resistance are
ranges of feedback resistance. At low resistance levels, anticipated at each step. Choices such as large diode area
the noise curves are largely flat with the op amp voltage are made considering the related capacitance and its
noise the dominant contributor. That domination makes effect on output noise and overall circuit sensitivity.
initial resistance increases have little effect except for the
case of the very low-voltage noise of the OPAIIl/ NOISE CONTROL
OPA21lI. In this region noise gain peaking has not yet Gain peaking effects are the primary noise limitation
been encountered so the output noise remains small. with the commonly preferred high feedback resistances.
Between IOkO and IMO, resistor noise is dominant and To limit this effect, or to eliminate the gain rise entirely,
the curves track , that error source as the dashed line additional capacitance is commonly added to bypass the
feedback resistor. The capacitance level required can be Another option for practical feedback bypass exists with
very small for some values of R, and the relative a resistor tee which is a commonly considered replace-
significance of unpredictable stray capacitance make ment for the high value feedback resistor. The latter is
tuning desirable. Combined, these requirements are a replaced in Figure 4b by elements of more reasonable
challenge better resolved with a capacitor tee network as value but introduces' greater low frequency noise. Its
described in Figure 4a. It is capable of even sub- operation is the dual of the capacitor tee above with R2
picofarad tunable capacitance with little effect on stray and R, attenuating the signal to R, so that the latter
capacitance in the tuning operation. The tee uses a appears as a much larger resistor to the input node. A
capacit'ive divider formed with C2 and C, to attenuate similar opportunity for the DC error compensation
the signal applied to C, at the circuit input. With only a resistor R2 does not exist. DC error due to amplifier input
fraction of the output signal on C" it supplies far less current is no different with the tee so the large compen-
shunting current to the input node as would a much sation resistor is still needed.
smaller capacitor. Controlling the attenuation ratio is Stray capacitance across the feedback is somewhat re-
the tunable C, which is the largest of the capacitors so its duced with the resistor tee by the added physical spacing
capacitance value is more readily available in tunable of the feedback with three elements. Also, stray capaci-
form. Since that capacitor is grounded, it has a shielding tance across each individual element has much less effect
advantage to reduce stray capacitance influence while with their lower resistances. Sensitivity to other stray
tuning. capacitance from the op amp output to its input has the
same effect as before.
C, C2 In the attenuation network of the feedback is the oppor-
tunity for intentional bypass with reasonable capacitor
10P~PF values. Bypassing the moderate resistance of R2 removes
C,!200PF the attenuation at higher frequencies leaving the net
feedback resistance at the level of R,. This operation
differs from true feedback bypass in that impedance
levels off, rather than continuing to fall with frequency,
but the dramatic drop in equivalent resistance serves the
circuit requirement. Another benefit offered by the
resistor tee is more accurate DC error compensation.
Reduced high frequency noise with the tee element
bypass is accompanied by an opposing increase at lower
CEQ = C,C'/(C, + C. + C,) frequencies. Below the frequency of the bypass, noise
= O.5pF to 5pF
gain is increased by the feedback attenuation of the tee
.01/iF A,: OPA111 network. That amplifies the noise and offset voltages of
D,: HP5082-4204
the op amp as well as the noise of resistor R, by a factor
of I + R2/ R,. Countering the latter is the resistor's
smaller value so that this effect is increased only by the
square root of the new noise gain. Most important,
however, is the bypass capacitor removal of high fre-
quency gain as it eliminates the greatest portion of
10MO 10MO previous noise bandwidth. In the absence of other means
R, l00kO to remove the high frequencies, the bypassed resistor tee
provides lower total output noise for the higher ranges of
feedback resistance.
Adding feedback capacitance is an effective means of
reducing noise gain but it also decreases signal bandwidth
by the same factor. That bandwidth is already low with
high feedback resistance and the end result can be a
REO = R, + R. + (R,R,/R,)
= 1000MO response of a kilohertz or less. A more desirable solution
.Ol/iF A,: OPA128 to the noise problem is to limit amplifier bandwidth to a
D,: HP5082-4204 point just above the unavoidable signal bandwidth limit.
Then, the high frequency gain which only amplifies noise
is removed. Op amps with provision for external phase
compensation offer this option but those available lack
the low-input currents and low-voltage noise needed for
photodiode monitoring.
FIGURE 4. Removal of amplifier gain peaking through small capacitive
bypass of large feedback resistance is more feasible with (a) a capacitor tee To achieve this bandwidth limiting with better suited op
or (b) bypass of one element of a feedback resistor tee.
amps, a composite amplifier uses two op amps with the
added one for phase compensation control as in Figure
5a. Note the reversal of the inverting and noninverting
inputs of AI needed to retain a single phase inversion
with two amplifiers in series. With the composite struc-
ture internal feedback controls the frequency response of
the gain added by A2. At DC, that feedback is blocked
by Ct and overall open-loop gain is the product of those
of the two amplifiers or 225dB for those shown. That
gain is rolled off by the open-loop pole of A, and by the
integrator response established for A2 by C, and RJ• As
this is a two pole roll-off, it must be reduced before
intercepting the noise gain curve to establish frequency
stability. A response zero does this due to the inclusion
of R •. Above the frequency of that zero, R. also replaces
the integrator response with that of an inverting amplifier
having a gain of - R.I RJ• Making that gain less than
unity drops the net gain magnitude curve below that of a
single amplifier at high frequencies. Graphically, the
noise gain response of Figure 5b is moved back in
frequency much as if the op amp bandwidth had been
reduced.
Eliminated is the shaded area of noise gain, which
visually may not appear dramatic, but that is because of
the logarithmic-frequency scale. Actually, the associated
noise reduction is large because most of the amplifier's
bandwidth is represented in this upper end of the
logarithmic-response curve. Moving the unity gain cross-
over of the noise gain from 2MHz to 200kHz, as shown,
drops the output noise due to A, by about a factor of
three. To achieve the same result with feedback bypass,
the signal bandwidth would have been reduced a factor
of ten. That bandwidth is unaffected with the Figure 5a
approach. No noise, or offset, is added by A2 as this
amplifier is preceded by the high gain of A,. With the
exceptionally low noise of the OPAlll input amplifier
this improvement reduces noise to the fundamental
limitation imposed by that of the feedback resistor. This
condition is retained for all practical levels of high
feedback resistance. For the second amplifier the wide- current-to-voltage converter also removes the high fre-
band OPA404 is shown to continue its attenuating quency noise. Setting filter poles at the frequency of the
amplifier action well beyond the unity gain crossover of signal bandwidth results in a system bandwidth that does
At. This avoids a second gain peak that could cause not extend beyond that of useful information. Such a
oscillation. Signal bandwidth of the current-to-voltage filter is not enclosed in a feedback loop with the converter
conversion is essentially unaffected as R, has not been so the input noise and offset voltage of the second
influenced. amplifier are added to the signal.
Where the Figure 5 technique is most useful is with lower
level signals that have greater sensitivity to noise. In BANDWIDTH
higher level applications that circuit can encounter a Signal bandwidth requirements are an integral part of
voltage swing limitation but another use of the second the current-to-voltage converter noise considerations for
amplifier offers similar noise improvement. The swing two reasons. Total output noise increases in proportion
limitation results from the maximum output voltage to the square root of system bandwidth simply because a
limit of AI and its attenuation by A,. If the output of AI broader noise spectrum is encompassed. Added is conflict
has a peak swing of 12V and A, has the gain of -1/10 between optimum signal-to-noise ratio and signal band-
illustrated, the final output is limited to a 1.2V peak width. That optimum occurs for very high gain but high
swing. For lower-level signals this will be acceptable as gain current-to-voltage converters are bandwidth limited
the maximum practical level of feedback resistance far below the roll-off of the op amp. To the signal
already limits output swing. current, the amplifier feedback factor is unity which
Higher-level signals are not as senstitive to noise and would normally make the full amplifier unity gain
better tolerate a more straight forward approach to bandwidth available. Yet the very high-feedback resis-
filtering. An active filter following the conventional tances that produce the desired gain are shunted by stray
capacitances at much lower frequency. Just 0.5pF stray
capacitance around a 100M!l feedback resistor pulls
signal bandwidth from megahertz level unity gain cross-
overs down to 3.2kHz. To minimize the stray shunting,
low capacitance resistors and assembly precautions are
used. Mounting the feedback resistor on standoffs reduces
capacitive coupling with printed circuit boards and such
standoffs are normally Teflon'· insulated to reduce A,: OPA111
leakage currents. That mounting must be rigid to avoid A,: 1/4 OPA404
introduction of noise through the microphonic effects of 0,: HPS082-4204
D,
two op amps per photodetector. Often hundreds of
detectors are employed in a large arrays. As a compro-
/11' eo
Ip I o
+1 R,
50MO
IpR2
.....••..•.. -
creates a differential output on the resistances but the
(a>
noise coupling generates a common-mode signal. Sup-
plied to the INAI05, those signals are separated with the
diode signal passed to the output and the noise rejected.
r- - - - - - - - ,- - - ...,
Electrostatic I
+/~se\_ Retained with the new Ilifferential input circuit are the
Coupling I
I O.5pF 2: I lowe'r individual resistance and a zero diode voltage.
eM 1 Ie
R, The latter is assured by the grounded noninverting
I
v, = 5.6V
I, = (12 - 5.6) / 1k = 6.4mA
INA105 25kO
2.2kO
lkO
6 +
+
VOUT=
vo",
v2-v,
25kO
•
4 15V
+VCM ___
":'
VOM= (V, + 15V) I 2
FIGURE 9. The input voltage to this simple difference amplifier is FIGURE JO.Inputs to the instrumentation amplifier are applied directly
divided down by the input resistors before being applied to the op amp. to the active circuitry of the input op amps and therefore are subject to
Thus it is able to handle voltages which are equal to or greater than the the common-mode range limitations of these op amps.
power supply voltage.
SWOP AMP~ANALOG- TO-DIGITAL CONVERTER
MAKE ZERO-DROOP SAMPLE/HOLD
Using a switchable-input op amp (SWOP AMP), a 12- AI D converter. The multi vibrator delays the sample
bit AI D converter and two one-shot multivibrators, you pulse 100/,s before presenting a I/'s-wide convert com-
can configure a samplelhold amplifier (see circuit dia- mand to the AI D converter. This delay allows adequate
gram) that holds a desired analog sample indefinitely time for large-signal settling in the OPA201; the AID
with no droop. Previously, other circuits accomplished converter needs an additional 25/'s to convert. You can
this function by using relays in conjunction with the reduce the analog:to-digital conversion time by using a
AI D converter. The switchable-input op amp does the faster AI D converter; ADC84 and ADC85 types, for
same job faster and more reliably. example, need only IO/'s.
The high sample command switches the OPA20l's input
to op amp #1 and triggers a convert command to the
THE SWOPAMP
A Low Power Op Amp with Multiplexed Inputs
Designing a switching function into a precision analog The SWOP AMP is a low power device, typically draw-
circuit without compromising accuracy, reliability, or ing only 350/olA of supply current. The power supply
cost can be difficult. Relays offer high accuracy, but are may be either single or split, with a range of 5V to 36V.
expensive and have limited lifetime compared to semi- The wide power supply range and low power, combined
conductors. FET switches and multiplexers have ON with precision performance, makes the SWOP AMP
resistance and OFF leakage currents which require ideal for portable or remote battery powered systems.
detailed attention to impedance levels, especially at high Isolated systems and robotics are other areas that can
operating temperatures. A new integrated circuit device benefit from this low cost, small-size analog signal con-
called a SWOP AMP (SWitchable input OP AMP) ditioning and steering device.
combines precision and versatility to provide a nearly The key electrical specifications are shown Table I.
ideal switching function in many applications.
INSIDE THE SWOP AMP
WHAT IS A SWOP AMP?
A simplified schematic of the OPA201 SWOP AMP is
The SWOP AMP (Burr-Brown OPA201) is a precision shown in Figure 2. The circuit has four sections: (A)
operational amplifier with two matched input stages and input stage I, (B) input stage 2, (C) active load and out-
channel select circuitry (see Figure I). A digital channel- put amplifier, and (D) channel-select circuit. The two
select signal enables one input stage by turning off the
bias current in the unselected input stage. Thus only the
ON channel can send signals to the following lltages. The
channel-select circuitry is compatible with a variety of
logic families. The applications as shown are for ground-
referenced TTL channel-select signals. Actual logic lev-
els used may be referenced to ground, -Vcc, or virtually
any other point by connecting the threshold control pin
to the appropriate voltage. See "Inside The O'PA201
SWOP AMP" for more information about internal
operation and channel selection.
Vos 35 100 pV
VQ&drift -25°C to +85°C 0.5 1.0 pV/'C
dVoa (match) Vaal - Vosa 25 50 pV
dVoa drift -25'C to +85°C 1.0 pvrc
I, 25 nA
los 1 nA
Slew Aate 0.2 V/JJ8ec
PSAA 100 dB
CMAA 95 dB
A" A1 = 10kO, V. = ±10V 120 130 dB
Crosstalk V. "off" = ±12V 120 130 dB
CHANNEL·
SELECT
SIGNAL
Ch.n ••••
A" = I + fR,/R. + R,)
_ V_
A., = I + /0. + R./R,)
>2.0V Av X VIM,
an~e and low output impedance. The high open-loop
<O.BV A., X V,,,
gam and CMRR guarantee excellent accuracy and linear-
ity.
The SWOP AMP also provides a mInimum-parts
approach to amplification of low level signals. Each
age is always near zero, the input voltages may exceed
channel may be configured to provide noninverting or
the supply voltages. This allows a system with low
inverting gain using standard op amp design considera-
supply voltage to monitor high voltages by using gains
tions. If the same noninverting gain is desired for both
less than unity. Figure 5c shows a circuit with gains of
channels, a single set of feedback resistors may be shared
-10 and -0.1. Note than V;n2will produce ±IOV outputs
and the inverting inputs for each channel tied together as
for lOOV inputs. The low input bias currents (25nA max)
shown in Figure 5a. Different gains may be set with
and input offset current (InA max) make it easy to pick
ind.ependent feedback networks, or by using only three
impedances high enough to limit the maximum output
resIstors as shown in Figure 5b. When each channel has
current requirement without introducing excessive errors.
independent feedback, the OFF channel's feedback is
treated as a component of the load impedance for design
AutO-Zero, Auto-Cel, System Check
purposes.
The selectable input technique provides a straightfor-
For dual input inverting amplifiers, independent feed-
ward way to perform software auto-zero of system offset
back networks are used. Since the common-mode volt-
Av = 1 + R./R,
R, = R. = RdIR.
-
Cluln ••••
>2.0V
<O.BV
v_
Av X
Av X
VIN1
VlN2
-
Cluln ••••
>2.0V
<O.BV
-10X
v_
VIN1
-0.1 X VINJ
II
13
14 l00kn
15 loon
11
16
IlIOn
-v
P-
P+
Au ~ 1 + R,IR, UNITY-GAIN
R, ~ R. ~ RdIR, 3656 ISOLATION AMPLIFIER
C,-C. ARE O.47"F TANTALUM
R,
If higher input impedance is required, two SWOP
AMPS and a precision op amp can be used to realize a
V,. +Vcc switchable version of the classic three op amp instrumen-
tation amplifier. When the op amp is a low power preci-
R, sion device such as the OPA21, the result is an instru-
mentation amplifier with dual input, auto-zero, or selec-
R.
table-gain features, yet requiring only about ImA of
R. 12
v... supply current. This hard-to-beat combination of per-
formance, features, and power requirements is shown in
13 Figure 9.
R,
R.
Gain
8elact V•••
R.=R,IIR,
>2.0V -R2I'A, X VI'"
R. = R.IIR,
<O.8V -R..IR,x VI'"
6 8 10
Vc. (volts)
FIGURE 2. The Safe Operating Area for the Burr-Brown 3573 is shown, plotting
the limiu for collector current (Ie) versus the collector-emitter voltage (Ved of
the conducting transistor.
YOUT ~ laY
SAFE OPERATING AREA
1 louT The operating limits of QI are designated by the
R, O,W
R,~len boundary line on Figure 2 and the area below this line is
called the Safe Operating Area (SO A). In this case, the
operating point clearly falls within the SOA of the
output transistor.
CURRENT LIMIT
Note that the limit line is divided into different regions.
~~2A The current limited region is usually due to bonding wire
0.330
or hybrid interconnection limitations. Above the
amplifier's rated current, internal interconnection wires
to the power transistors, power supplies or amplifier
In evaluating the stress on the amplifier under this output may burn out like a fuse.
condition, the current through and the voltage across the As the voltage across the conducting transistor (VCE)
conducting power transistor must be considered. The increases, the internal power dissipation increases until
output transistor current is simply equal to lout. The the power limit of the amplifier is reached. At this point,
voltage across QI, (VCE), however, is not Voutbut rather any increase in VCEmust be accompanied by a corres-
+Vcc - Vou'.The operating point of the conducting out- ponding decrease in current to maintain constant power
put transistor is usually plotted on a voltage-current plot dissipation. Note that all points on the power limit line
as shown in Figure 2. In this example, the operating have a constant dissipation (45W in this example). This
point is Iou. = 0.63A and VCE,= (32-10) = 22V and is dissipation limit is due to the thermal resistance of the
power transistor, its attachment, and packaging compo- to the maximum continuous 2A rating. Answer: Vcc =
nents. With a case temperature of +2So C, the maximum ±22.SV. If short circuit to either supply must be toler-
power dissipation will cause the output transistor to heat ated, Vcc = ±11.2SV would be the maximum since the
to its maximum allowable temperature. Operation at total of both the negative and positive supply would be
higher case temperatures is possible but the maximum across the conducting transistor.
power must be derated (more on this later).
As the constant dissipation line is followed to higher
VCE,the secondary breakdown region is entered. At high
VCE,current crowding can occur in the emitter structure·
of the power transistor (Figure 3) leading to isolated hot
spots. As a result, the allowable power dissipation must
be reduced as V CEincreases further. This causes the
change in slope of the SOA limit line. It is this power
amplifier limitation that is most frequently misunder-
stood since the safe operating current may be surpri-
singly low at high VCE. Note that the "SA" power
transistor specified by Figure 2 can handle only 0.6A at
VCE= SO volts.
FIGURE 4. Even with no input voltage, a shorted output will cause high currents
to flow. The offset voltage of the amplifier provides the "input," driving the
output to the current limit set for the device. The current limit must be set low
enough to withstand the high VeE in this condition.
50
2(+Vcc>' _ !
~ ~
"
~
0
Q.
40
Average Po
.~
(both 30
transistors)
is
.2.. Ii;
J
Vce 0 20
Q,
/" "iii
E
"
J!!
E 10
,
"
FIGURE 8. The average dissipation under continuous AC signals is a function of 0
25 50 75 100 125 150
the output voltage relative to the supply voltagc. Peak dissipation occurs at a
peak AC voltage of approximately O.6Vcc. Unlike the DC case, the dissipation
does does not approach 7.ero at maximum output voltage, but drops to roughly
FIGURE 9. The power derating curve indicates that internal dissipation must be
one-half its highest value.
reduced at case temperatures greater than +25°C. This reduces the available
SOA in the power and second breakdown regions.
It is safest to design the whole amplifier system as if the
AC voltage to be handled is always at this worst-case Often these calculations are made "in reverse» to find the
signal level. Not all systems, however, need or can allowable temperature rise for a required load current.
tolerate the expense of this over-design. If You. peak will The maximum junction temperature is then used to
always be equal to 0.85Vcc, for instance, Figure 8 shows calculate the heat sink necessary for a required maximum
that the average dissipation will be approximately 25% ambient temperature. See the application note on heat
less than worst case. An audio amplifier would likely sinking (AN-83) for details on these calculations.
dissipate far less than the worst case power because
Some amplifiers may require a different SOA derating at
audio signals have high peak voltages relative to the
elevated temperatures. In this case, derating curves are
average signal level (high crest factor). The heat sink
normally shown on the SOA chart as a family of curves
could then be designed accordingly.
(as for pulsed operation). Remember that case tempera-
TEMPERATURE DERATING ture must be used 'for these calculations.
As previously mentioned, SOA curves are normally REACTIVE LOADS
based on a +25°C case temperature. Reduced limits for
Figure 10 shows the AC voltage/current waveforms for
higher case temperatures (T",,,) may be found by using
an inductive load. Since the load current lags the load
the temperature derating curve shown in Figure 9. The
voltage by 90° , the peak current occurs when the load
slope of this curve above +25° C is equal to the junction
voltage is zero. At this instant of maximum current, the
to case thermal resistance, OJ-c. If the line were extrapo-
voltage across the conducting transistor is equal to the
lated to the zero dissipation point it would intersect at
the maximum chip temperature (lj max). If the VCE is full supply voltage, +Vcc (or -Vcc at 180°). This
below the second breakdown region, the derated power obviously leads to much greater power dissipation than
dissipation may be read directly from the curve. The with a resistive load.
maximum current in this situation is simply The average power dissipation can be determined by a
simple procedure which is applicable for a wide variety
1= P derated of circumstances. The power dissipated in the amplifier
VCE must be equal to the power delivered by the power
supplies less the power delivered to the load. If the load
For VCEvoltages in the secondary breakdown region, the is purely reactive the load power is by definition zero. No
allowable current at a given operating point may be power can be dissipated in a perfect inductor or
calculated by capacitor. For complex load impedances the load power
can be measured: POUI = (Iou. rms)(VOUI rms)(cosO), where
o is the phase angle between the load voltage and
Example 3: current.
What is the maximum safe current for the 3573 The supply power is easily calculated for sine wave
during continuous short circuit to -Vcc? Power signals and is not sensitive to the type of load impedance,
supply is ±28V, T,,,,, (case temperature) is +6O°C. only the load current. Since the power comes from a
an inductor can be instantaneously changed-the
+Vcc
current cannot. The result is a temporary condition of
high V CE and high current. A similar situation exists with
-l
~OU'
capacitive loads. An attempt to charge a capacitor will
V'"41' IOu
,
lead to high transient currents. In either case, the current
must"be limited to a safe value based on the SOA curves.
-Vec -
MOTOR LOADS
Motor loads can be particularly challenging since they
may present a reactive load as well as reverse EMF to the
driving power amp. These situations may be difficult to
analyze by the techniques previously described since the
power delivered to the load may be converted largely to
mechanical power. In fact, sometimes mechanical inertia
causes the load to supply power to the amplifier.
Consider a DC motor which must be stopped rapidly
(Figure II). The motor produces a reverse EMF which is
proportional to its rotational speed. If the applied
voltage is suddenly forced to zero, the full negative
power supply voltage, - V cc, will appear across the
conducting transistor and the load current will be the
motor EMF divided by the motor series impedance
(assuming no current limit).
fixed DC voltage supply, it is equal to Vcc times the
average (not rms) supply current. For a sine wave this is
2V cc (I peak) j Tr. Each supply provides this for its active
half-cycle and "rests" for the opposite half-cycle.
Supply power may also be measured. An average
responding meter such as a standard D'Arsonval type
can be inserted in the supply lines and will properly read
the average supply current even for nonsinusoidal
waveforms. The determination of the load power in this
case, however, may require some ingenuity. The principle
of power in Jess power out is a valuable one and can be
applied to any type of signal or load condition. Try to
apply it to ·your application!
Example 4:
A sine wave is applied to a complex reactive load. The FIGURE II. When $1 is switched to ground, momentary high stress occurs as the
motor EMF forces current into the amplifier which flows to the ncgative supply.
peak load voltage is 30V and the peak load current is
The duration of this condition is dependent on the mechanical inertia and load
I. 75A. Vcc = ±35V. A phase angle of 550 is measured on the motor.
between the load voltage and current. What is the Such conditions may be· difficult to analyze, but can
amplifier dissipation? usually be satisfactorily evaluated by empirical tests.
Power supply power, Ps = 2(35V)(1.75A)jTr = 39W Voltage and current measurements can be made under
Load power, POUI = (.707)(30)(.707)(1.75)coslJ = 15W actual load conditions (including mechanical load and
inertia to find its duration) to assure operation within
Amplifier dissipation, Pd = Ps - POUI = 24W the SOA. Figure 12 shows one possible method using a
This is the power dissipated by both output transistors storage oscilloscope to capture the transient condition of
averaged over a full cycle. The dissipation of each maximum stress. Remember, this is not necessarily the
individual transistor is half the total. In some cases it point of maximum voltage or current. Points must be
may be possible to use this fact to advantage since the plotted on the voltage-current curve to find the highest
junction temperature rise of each transistor is according stress and its duration.
to its own dissipation, not that of the total amplifier.
A variety of applications have been presented with
DC signals may also present problems with reactive associated analysis and measurement techniques.
loads. Since any change in load voltage (a step change in Perhaps no single example shown here will exactly fit
DC output for instance) implies a change in V CE without your unique situation, but by combining these ideas,
an accompanying change in current. The voltage across most any application can be successfully evaluated.
<C'
~~
;u 0
<3i:
.3-1 1--1-+-+--I--++","~I--1-+-~
"'..
~~
2O~~-+....,.~=1~=*t-+-1-~-+-~
/
; ~ 0 ""IIliiiii;; P Purely Reactive
<3i1
.3-20 1--1-+-+--I--+-+-I--+-+-~ -Complex Reactive- '--- Load (max. current
L~ad at z~ro v~1t8ge}
lr
ou
.l
I. ~Z».10
+- CURRENT SENSE
0.10
V
lou, = 0.10
-or
FIGURE J2. Many measurement schemes can be helpful in determinins transient waveforms of load current and voltage. The X-V approach used in "b"
conditions of unusual loads. Setup "a" is useful in analyzing the duration of may reveal the nature of unknown loads. In both methods, the displayed load
worst case conditions with motor loads. A storage oscilloscope is used to capture voltage must be subtracted from the power supply voltage to find Vc£.
VARYING COMPARATOR HYSTERESIS
WITHOUT SHIFTING INITIAL TRIP POINT
An operational amplifier is a convenient device for should be noted, however, this output cannot sink
analog comparator applications that require two current in the O-volt state.
different trip points. The addition of a positive-feedback Switching speed is determined by the op amp's slewing-
network will introduce a precise variable hysteresis into rate limit for high-level input-drive signals. When the
the usual comparator switching action.' Such feedback input drive is a low-level signal, the output rate of change
develops two comparator trip points centered about the is limited by the gain available to multiply the input
initial trip point or reference point. signal's rate of change. Both the slew-rate limiting and the
In some control applications, one trip point must be gain limiting of switching time are eased if phase
maintained at the reference level, while the other trip compensation is removed from the op amp.
point is adjusted to develop the hysteresis. This type of
comparator action is achieved with the modified
feedback circuit shown in the figure.
Signal diode D, interrupts only one polarity of the
positive feedback supplied through resistor R,.
Hysteresis, then, is developed for only one comparator
state, and one trip point remains at the original level set
by the reference voltage, ER. The second trip point, the
one added by hysteresis, is removed from the original trip
point by:
aV = R, (Vz - ER)f(R, + R,)
where Vz, the zener voltage, is greater than reference
voltage ER. Varying resistor R, will adjust the hysteresis
without disturbing the trip point at ER.
The circuit's other performance characteristics are
similar to the co~mon op-amp comparator circuit. The
accuracy of both trip points is determined by the op
amp's input offset voltage, input bias current, and finite
gain. Resistor R3 limits the current drain through the
zener diode, and resistor R. provides a discharge path for
the capacitance of diode D,.
The output signal can be taken either directly from the op
amp output or from the zener diode, as shown. With the CONTROLLABLE HYSTERESIS. Positive feedback circuit foranalog op-amp
comparator does not shift the initial reference trip point while introducing
latter hookup, the output signal voltage alternates
hysteresis in the second trip point. The voltage difference . .lV. between the trip
between zero and zener voltage Vz, which might be points can be adjusted by varying resistor R~. When the output voltage is taken
desirable for interfacing with digital logic circuits. It from the zener diode. as shown. it switches between zero and V7• the zener voltage.
REFERENCE:
I. G. Tobey, J. Grieme. and l. Huelsman. "Operational Amplifier: Design and
Applications." McGraw-Hili. 1971.
AUTOMATICALLY TEST THE LINEARITY
OF 12-BIT ANALOG- TO-DIGITAL CONVERTERS
ABSTRACT THEORY OF OPERATION
Determining the linearity or differential linearity error of The block diagram for a test set which will allow the
a 12-bit analog-to-digital converter (ADC) using manual transition voltage for any given ADC output code to be
techniques can be a time-consuming and tedious task. determined autom.atically is shown in Figure 2. The
An attractive alternative is the automatic integrator ADC under test, the digital comparator, and the integra-
servo-loop method described here that can easily test all tor form a servo loop. A computer serving as the test
4095 codes if desired. The accuracy is completely deter- controller specifies the code for which a transition volt-
mined by a digital voltmeter (DVM) which can be easily ag~ measurement is desired. This digital word is called
calibrated. the "target code". The output of the digital comparator
is used to control the slope direction of the integrator
INTRODUCTION output voltage. It is configured such that at the end of
Static testing of the linearity error .or differential linear- each conversion by the ADC under test, the integrator
ity error of a digital-to-analog converter (DAC) is rela- output voltage will be set to ramp towards the transition
tively easy because for each digital input code there is a voltage for the target code. A comparator output result-
unique analog output. An ADC, on the other hand, has ing from an ADC output code less than the target code
a continuous range of analog input voltages that can causes the integrator output to slope in a positive direc-
produce a given output code. This range is determined tion. If the ADC output code is equal to or greater than
by the full-scale range and resolution of the ADC and is the target code, a negative output slope is forced. Thus,
equal to one least significant bit (LSB). The linearity when a new target code is specified by the computer, the
error is determined by measuring the analog input volt- integrator output voltage will ramp from its current
age that causes a transition from one digital output code level towards the transition level for the code, and will
to the next and comparing this to the ideal transition lock onto the transition voltage once it is reached.
voltage. The differential linearity error is determined by In its locked state, the integrator output will (ideally)· be
measuring the difference between any two adjacent tran- a triangle wave, centered on the transition voltage, with
sition voltages and comparing this to an ideal one LSB a peak-to-peak amplitude of:
(see Figure I). A test method that automatically searches t:. V = -(II C)t:.t
for these transitions is described in this application note.
where: I = Integrator input current, (1+11 = I-Ii)
C = Integrator capacitance
t:.t = Conversion interval
Because the DVM acquires the transition voltage by
111...110
averaging the integrator output, t:.V, which defines the
resolution of the test, should be kept small, (1/16 LSB or
100 010 less).
100 001 A locked-loop condition is sensed by successively read-
100 000 ing the integrator output. When the voltage difference
011...111
between successive DVM readings is smaller than a
value determined by the t:. V I t:.t of the integrator and the
011...110 time period separating the DVM readings, the loop may
000 001 be considered locked.
000 000
With the computer controlling the DVM as well as pro-
I viding the target code to the test set, transition voltages
I
-FSRI2
I ~
TRANSITION VOLTAGE
I
+FSRI2
for all codes (except code 0) may be acquired automati-
cally. "Transition voltage" in the context of this applica-
tions note is defined as the ADC input voltage which
FOR COOE 01 UI1
causes (with repeated conversions) the digital output
_ - ANALOG IN +
·Converter noise, hysteresis, and asymmetrical integra-
FIGURE I. Input vs Output for Ideal Bipolar Analog- tor input currents will cause the integrator to deviate
to- Digital Converter. from the ideal triangle wave.
The 12-bit digital comparator (IC4-7) is configured in a
nibble-parallel fashion to achieve low propogation
delays. A straight binary comparison is made with the
target code fed to the A comparator inputs, and the
latched ADC output fed to the B side. The A > B (Target
> ADC output) comparator output is used to control
the integrator slope.
IC9 and C21 form the integrator. Current sources RI4
(+) and IC8, R8-I1 (-) produce the comparator input
current. When IC4 pin 5 goes low (ADC output code 2':
INPUT Target code), the negative current source (IC8, R8-I1) is
VOLTAGE turned off, and current flows through R 14 into the inte-
DIGITAL VOLTMETER grator input, causing the integrator output voltage to
ramp in a negative direction. The current flow through
RI4 is equal to 5V / 5lOkfi, or approximately 10/lA. The
integrator output slope under these conditions is, then:
FIGURE 2. Servo-Loop Test Set Block Diagram.
D.V = -(I -;- C)(D.t)
code to be equally distributed between the specified code
and the code one less than that specified. Code 0, then, = -[(10 X 10-6) -;- (I X 10-6)][6 X 10-6]
has no transition voltage. Specification of zero as the = -60/l V / conversion interval
target code would cause the integrator output to ramp to
its most-negative output level and remain there. Once When IC4 pin 5 goes high (ADC output code < Target
transition voltage readings for all desiretl codes have code), the negative current source (IC8, R8-11) is turned
been acquired, the computer reduces this data to pro- on, and IC8 pin II sinks approximately 20/lA. This pin
duce the offset, gain, linearity, and differential linearity sinks the current from R14, and draws the residuallO/lA
parameters for the device under test. from the integrator input, c~using the integrator output
CIRCUIT OPERATION voltage to ramp in a positive direction. The positive and
Figure 3 is the test set timing diagram. Figure 4 is a negative current inputs are equal in magnitude, so the
schematic diagram of a test set designed to test the Burr- positive and negative integrator output slopes are equal
Brown ADC803. as well.
The digital comparator A < B (Target code < ADC
output) is used to sense an ADC missing code failure.
When the integrator loop is in a locked state, this output
should never become active because the integrator slope
I TI•E--
is switched at the ADC out < Target code, and ADC out
' r 2': Target code points. Assertion of the ADC out >
r Target code line indicates that the converter under test
has skipped the target code, and its outputs are switching
ti iiiii~iiii
i
CODE +SV ~ ii
C5
r ''''
~~~~.~~.~:;:!~:!
R18,1000
BIT 1 MSI
+5V RII.looo
IlTt
HtO.lOOO
1113
Jl2l,IOOO
liT 4
TOSfATUS.
R2t,1000
'OC803 IllS
AI R23.I000 32
+ISV +IV 331<0 BITe
l5
R24.1000 'OC803
11T1
At R25.IOOO
"
1'00 !OkO
Rft.IOOO
12 liT a
"
131nl
-ISV
... HOI
CARILIER
CAI
NP2811
+iOV
RI5
'.1000
All
CONVERT
MTEADJUST
L 'VI
!Oko
ItO
'"
510110 ClI
'32
", Ito
CIl
+ISV
.00''''
+IOV
'"
+~
. ~
:i
0
»
OS
...l
C
<>
c:
0
c..
8
0
u
I
...os
"0
0
ll:I
U
~
.-:
~
~
::>
"G:
226
10 ! "SERVO LOOP TEST FOR ADC803"
20 I
Reference 30 I VARIABLE DEFINITIONS
D",gnilion Quantily Description Comments 40 ! Al = TRANSITION VOLTAGE FOR CODE 1
MISCELLANEOUS
50 ! A2 = TRANSITION VOLTAGE FOR CODE 4095
DIODE
320 GOSUB 730 ! GET TRANSITION FOR CODE I
330 IF M= -1 THEN PRINT "CODE 1 MISSING, TEST ABORTED"
CR, 1 Hot carrier HP2811
340 IF M= -1 THEN STOP
INTEGRATED CIRCUITS 350 Al=V
IC. I Opamp OPA27 360 0= Al-(-9.99755) 'OFFSET ERROR IN VOLTS
IC, I Reference REF101 370 PRINT"DFFSET ERROR=";O; "VOLTS"
IC. I Opamp LM306 360 C=4095
IC, I Ouad NAND 74LSOO 390 GOSUB 730 ! GET TRANSITION FOR CODE 4095
IC•. , .• ,, 4 Quad comparator 74LS85 400 A2=V
IClo.lI 2 Hex latch 74LS174 410 G= (((A2-AI)119.9951171-1IXl00 ! IN % FSR
IC,2 1 VCO 74LS324 420 PRINT "GAIN ERROR="; G ;"% FSR"
IC. 1 Transistor array RCA3127 430 8=(A2-Al)/4094 'LSB IN VOLTS
440 ,
CAPACITORS
450 !" ACQUIRE TRANSITIONS & COMPo ERRORS ••
C3-1.U,'. ' 9 O.01pF,ceramic, 25V
460 Ml=O
C. 1 O.1pF, ceramic, 25V
470 M2=0 ! SET MAX ERRORS TO 0
C" I 0.OO1pF,ceramic, 25V
460 A3=A 1 ! LAST TRANSITION=CODE I VT
C,.-20 3 1pF, solid tantalum, 35V
490 FOR C =2 TO 4095
C"-17 3 10pF, solid tantalum, 35V
500 GOSUB 730
Cl.2,t,10 4 1pF, dipped, solid tantalum, 35V
510 IF M=-l THEN PRINT "CODE" ; C ;"MISSING"
C" 1 lpF, metalized polycarbon, 35V
520 IF M=-l THEN GOTO 600 I SKIP CALCS IF MISSING CODE
530 L=lIV-(A1+(C-l)'BI)/B)-11 L1N.ERR. IN LSBS
540 IF ABS (L»Ml THEN Cl=C
550 IF ABS (L»Ml THEN Ml=ABS IL) I UPDATE MAX L1N. ERR.
Connect the power supply leads to the circuit board by 560 0= lIV-A3)/B)-1 ! D.,L. ERROR LAST CODE
570 IF ABS (D»M2 THEN C2=C-l
tack-soldering them directly to the power pads of the
580 IF ABS (D»M2 THEN M2=C-ABS(D) ! UPDATE MAX D.L ERR.
ADC under test. This helps to prevent power supply 590 A3=V
noise generated by other parts of the test circuit from 600 NEXT C
610 PRINT "MAX. LINEARITY ERROR=";Ml;"LSBS AT CODE"; Cl
affecting ADC operation.
620 PRINT "MAX. D.L. ERROR=";M2;"LSBS AT CODE"; C2
630 PRINT "TEST COMPLETE"
SOFTWARE FOR USE WITH THE SERVO-LOOP 640 STOP
VT(CODE + I} - VT{CODE}
D . L . E rrorCODE = --------- - I
LSBDUT
~
JrL1LJL
....
tr--uu-
2.5IlIec ---t ~ .. .
, (b) TIming DIagram
I' Itl" HIlS ~ltO'ltIlP'l (IIL(UUlTlS 'HE MIX COUS 'Olt ""'!' ust ,ltEINE"C" lit AM'!' U~I
each sample point. and Eo(i) is the quantization error at
I'
"'E 'UOu(H('!'.
ItUI T"I U~O"TI: ,.tIOUI"(". flST '.[OU[HCT. Tl:S' '.(OUI"C" """1,."1.101. IIlC Itl. each sampling point. The TH D can then be expressed as:
OLUTlO" A"' 'ULL SC"LI .IIIH'I IIltt Hu,n.
It
4'
lEe t ~U" (Ol"l~u,t.
_'.d.I~ •• ). Id. "'_ •• ,,~~•• >. Id••.'_d •., (~"I.
DI" ••••••
I" Ot,.n 1110111
0•••.•
'1\ ("'>. ,•. ,_(0".("') n
~: :~~
1.
..~·=l~r:·:;:~:~
~.IH'
..
·W"YI WIT"
WILL CIIILCULIITE THE COOlS
'HI U"'"T(
'0 U".OOUCI
'.IQUIHCT. 'I.T·
II SIHI·
THD=~=
i i ~ I [EI. (i) + Eo(i)]
---------x
,
100%
,.
.,
U
~.IH'
~.IHT
·"I:QUU~CY.
'T"I: 'ULL
,.HII iIoIIPL.!TUO[ 0'
••1l 'H[
'5111[-WII'I'[ .£111'
_nOLUTlON 0'
lIeITIU ••
Till[ DollC'UH'
IIL.SO. TII
u.n.·
Em" Erm.~
I" ~_IHT
II' III"'UT ·WH,.T IS TH[ U"'OIlT( F.I:OuIHC'I' 11'1kHI,·.U,,<:I."_'''UI This expression indicates that. in general. there is a
:~: ~::~;·';":~:ri:<:I;~~-~~;~·;:::UIHCY 1M XMI~·.h •• _, •.••
Ie. To •• ( •. o.-T.U ''' ••• 1''.
correlation between the TH D and the square root of the
I~' IH"Ui' 'W"IlIT IS-T ••[ oll""LI'UDI 0' T"I: 'EST 1""I1L. 1M d.'·.".,.
". III"UT 'WIIIIT IS '''I 'uL.L. SCIlIL[ .1lI"CI 0' T"E DollC IN VOL.'S'·."" sum of the squares of the linearity errors at each digilal
". I""UT 'WIIIlI' IS THE .ESOLUTIO" 0' TH[ lollC,·.lto.
I" ~.III'
• ·.·TES'
usa", ·lllII.X.~D.X.loll.IIX.IfIl.X.~
'.[O,,·,T.o'_'''.'':·''I·
•• X.2"·;·U~III11T1: '.IO··,Up<:l •.•• _, •.•• ;· •• input word of interest. However. this expression does not
I" ~.lItT
FS •• ·;F ••. ,· •.••
1.111'" ·111'1.X.PlIID.IC.llll.'M,411.X.lD.X.1111·; 'II'MIIIL """LITU'E··illl ••• : ·0.·.·
mean that the worst-case linearity error of the DAC is
I" "IIIN' ·.ISOL.UTlON-·;It •• ;·Olu·
I"
ll.
UIN'
•• ••• (.<:I."u,.d ••• ("O<:l'r.., ("0<:1 ICIILCULjillTE' TMI HUIII'IIt 0' CODE' .IOUI.l'
directly correlated to the THD. Table I shows the
1,. "••..._ •...,., •...
TO I["IODUCI TNt TEST FIt[QU[H(T
"·(11 ••••'21> tCI'ILCUL.IITIU '''I ",,"L.lTUOl 0' 'HE ns' 'I measured and calculated distortion for a Burr-Brown
IOUlflCT lif VOL".
peM DJ A at ±FS, -20dB and -60dB output. Although
I,.
l4,
a'.
... L.•••• ' ••. '2·...
O-l·II •• ,:
ICIlILCUL.IlIT1:S'MI YIILU[ 0'
ICIILCULIITl:S HIE DICUIIIL. COlli '0.
'''I I."
'HI
IN VOL"
",.
'0. 1.1 '0 H•••• (od. ITNIS I' Tll( \.00" TO C"'LCULIlIT( TN( COOl' the correlation between measured and calculated values is
a.,
11'
a •••
1" •• 1_.1"(
I ••(_(o.o(
II-,Tlu "., •••.••_(0" •• 1 >.~•••. _ •• Jl
I >"ld •• l_ •• ,,11 )~L'.
1" •••••(_(od.(I)-III'ID •.'_(od.II>1 usually quite good in a well designed converter. it is
ltf IF,< '0. ~ TN[N 0114<:1
)1' D.(_,.d0111.IM'CD ••(_(od.(111 usually better to act ually measure the TH D whenever
U. I;OTO U'
n. 1lI<:1":'.c_(o".11 ) ••III"'.C_,od.11 »01
possible since this includes the effects of dynamic settling
1f'
,"
C
1<:1•• 1_<:10«(1 1-'.(_(o<:l.C
Q ••••.•• \I1).14 •• I_ •• "q)-I<:I
I).L.-'I'
•• I_<:I.cel> >'""" T"I OUiIlHffUMC: [1'01 Of' TM! loll
time and noise which may be significant for low level
lU Doc (.<:I.(I).DO( (o<:l.IIUPI.b I THIS IS TNI IlICTul'lL.IICll1ollL. COl( '0' TN( In
11. H[xi 1 - signals.
ltf '011 1"1 '0 II••• (od. I IICl"IlIL '0 M[II-trtl"IlIL COHVI"IOH
n. C.do"DO( c.<:Io(T)
.tf 'Olt J·I fo ••
u. tOd'OoCoO.,te
41. H•• Oo'IIIl1CteC.<:I.)
41. Cod.OoC••• -Mo.
44' 101•••••••• 1'
4" I' H•• )' 'HIH M••• N••• "
4" I' M•• 11' 'H[II "0 •• 110•• 4' OUTPUT MEASURED CALCULATED
4" C.<:I.I(Jl_CMI,(N •• )
41. H[XT J LEVEL THO . THO
4" M•• ( •••• I').CO".'(4)&Co<:l.H)"C.<:Io'CJaCod.'CI)
,.. H[lIf I
'1. ".I ••T usa"t ·4X. ,l1li. I'X, SII. I'X. 1.11. '11.'11. '11.1011-; • 111M. •• 6111I1L·. ·OUoll""UI"'C·
OdB 0.0018 0.0020
.·O[CI""\.·.·"(II· -20dB 0.013 0.015
H' "lilli' USI"' ·411. '11. I )X. ,l1li. IIX. 1,1lI. ~l!. 'Ill. 'X. OIlll·:·SI"(·. "I""'. ·1 •• '1.". ·COll·.
'CO'I' -liOdB 1.38 1.30
~1' "lINT UIIH' ·411.'".111':.'111.11)(.1'"', ·(VO\. " •• ·(VOL ') •• ·CVO\.')·
~ ••, "II"T
". '011 1"1 TO H•.••_cod.
~,. ".IMT usa ••, ~ •• ; Id •• 1_ •• ", 1 '.14 •• , _Cl.(' 1< .0 •.•••" •• I'. 'OC_,.<:I. (I •• "'•• _( •••••• I)
,,, H[II'I
,,.
, ••
..•
1"011'[ fI".DDDDOO.'lt.rlDIl.ODOtDO.,,,.I"l.r.,,,,DDD.''':.DIIDDD.'1I.411
(
A block diagram for a THD test circuit for AI D
converters is shown in Figure 4. This circuit is very
similar to the DAC tester with the differences being that
the PROM's and binary counter are replaced by a low
THIS PROGRAI't IoIIL.L CALCULATE 'HE ColIES UECESSARY TO REPIl:OlIuCE A $1"[- distortion audio oscillator. sample, hold. and A: D
IoI"lVE loin" R IIAC. WHEH PROI1P'ED. E"TEIt: THE U"IIAt( FREOUENCY. TES'
FREQUENCY. AND MPLITUtI£ OF TNE SINE-WAVE IErHG OJ'IT1ZEII. RLSo. TME converter (device under test). and the DAC under test in
THE FULL SCRL.E RANGE RHII THE RESOL.UTION OF 'HE DAC SEiNG USED.
the previous circuit is replaced by a true 16-bit DI A
WHAT IS THE UPDATE FREQUEHCY IH KHz? I
WHAT IS THE TEST FREQUEHCY IH KHz? .1 converter. Although this test circuil is easier to use than
WHAT IS THE AMPLITUDE OF THE TEST SIC~AL IH db? e the DAC THD tester because it does not require the
WHAT IS THE FULL SCALE RAHCE OF THE DAC IH VOLTS? Ie
WHAT IS THE RESOLUTIOH OF THE DAC? 16 computation of any digital codes. it does have more
UPDATE FREQ- Ieee hz TEST FREQ- sources of error that can affect the accuracy of the
SICHAL AMPLITUDE- e db FSR- Ie y distortion measurement. Both the DAC and ADC tester
RESOLUT IO~- 16 b'"
have errors caused by the deglitcher. low-pass filter. and
IDEAL IDEAL QUAHTIZIHC
SIHE DAC ERROR measurement technique used by the Shibasoku 725
(VOLT) (VOLT) (VOLTl distortion meter which limit the lowest achievable THD
2.938926 2.93S'" -.eee069 '2e29 CUD
4.7"283 4.7"249 .eeeeH 63932 Fnc measurement to about 0.002%. In addition. the ADC
4.7"283 4.7"249 .eeee34 63932 Fnc tester contains errors due to the audio oscillator. sample:
2.938926 2.938'" -.eeeen '2e29 CJ3D
8.seeeee e.eeeeee .eeeeee 32768 seee hold. and 16-bit DAC which limit the lowest TH D
-2.938926 -2.93S'" .ee8en 13,e7 34C3 measurement of the ADC test circuit to about 0.003% for
-4.7"283 -4.7"249 -.eeee34 l6e4 e644
-4.7"2S3 -4.7"249 -.eee834 1684 8644 signals near ±full scale range for the 16-bit reference
-2.938926 -2.93S99' .eeeen 13,e7 34C3 DAC. When testing an ADC for low level distortion
e.seeeee e.eeseee .eeeeee 32768 ~eee «-40dB) the same problem is encountered as with the
DAC tester in that the distortion meter requires a
minimum input signal of about 30mV. However. with
rms value of the DAC output error referred to the input small signals. the 16-bit reference DAC introduces a
can be shown to be considerable amount of distortion that cannot be separated
from the errors of the ADC under test. Therefore. simply
f,m, = j.!. £ n i= I
[Et (i) + Eo (i)]' amplifying the output of the low-pass filter is not the
optimum solution. If we could amplify the digital signal
Where n is the number of update points for one full cycle being sent to the DAC. the DAC output would be near its
of the sine wave. EI. (i) is the linearity error of the DAC at full scale range. where the distortion is much less. and the
SHIBASOKU
MODEL 725 OR
EQUIVALENT
B---=t1~I~'Cn~n _
~~n~n~
--i ~ 500nm
~ i:-2.~.c
U U
(b) Timing Diagram
FIGURE 4. Block Diagram and Timing Diagram for Analog-to-Digital Total Harmonic Distonion Test Circuit.
;:"J"J
SPECIFICATION (AID) (D/A) (AID) UNITS
Differential Linearity
Error at Bipolar Zero ±0.0015 ±O.OOl ±0.001 % 01 FSR
Total Harmonic Distortion
Vo; ±FS at F ; 400Hz
14-8it Resolution 0.006 %
16-Bit Aesolution 0.004 0.002 0.002 %
Vo; ±15dB at 1; 400Hz
14-Bit Resolution 0.025 %
.
I I 16-Bit Resolution 0.015 %
Vo; -20dB at 1; 400Hz
,.~'~.~'~.w.
, ,
16-Bit Resolution
Vo; -60dB at 1; 400Hz
--- 0.02 0.02 %
quantization uncertainty due to the finite resolution of ever, these products are designed so that the overall gain
the DAC. Excessive DLE error can usually be detected and offset drift due to the reference are in equal but op-
by a low level TH D measurement «-40dB). but a THD posite directions, resulting in a bipolar zero voltage that is
measurement near full scale will tend to "mask" this virtually unaffected by variations in the reference voltage.
problem due to the averaging effect of the distortion Both the DLE and TH D are dependent upon the
meter. To ensure that this error will not present a matching and tracking of resistor ratios and upon
problem. the DLE at bipolar zero should be specified. matching and tracking of VRE and hFE of the current
source t~ansistors. These ratios are very stable with time
and temperature and the circuits are designed so that any
absolute shifts in these parameters have virtually no
effect on the DLE or THD. The resistors are made of
identical links of ultra-stable nichrome thin-film. In
addition. the current density in these resistors is very low
to furt-her enhance their long-term stability. Actual life
test data on the PCM54f55f56 after 1000 hours at +85°C
indicates almost no perceptible shift in THD for both high
and low level signals.
REFERENCES
I. Richard C. Cabot. "A Comparison of Nonlinear
Distortion Measurement Methods. " paper presented
at AES Convention. May 6-9. 1980.
2. Barry Blesser. "AssessinK DiKital Audio. "Trends and
Perspectives in Signal Processing. July. 1981.
3. Barry Blesser. "Digitization (!f Audio: A Compre-
The parameters of a data converter designed for audio hensive Examination o.fTheory. Implementation. and
applications should be stable over a moderately wide Current Practice". Journal of the Audio Engineering
temperature range and over long periods of time to avoid Society. October. 1978. Volume 26. Number 10.
undesirable periodic readadjustment. As mentioned 4. Paul Prazak. "What DesiKners Should Know ahoUl
previously. gain drift and offset drift. or minus full scllle Society. Data Converter Drift". Electronics. Nov. 10.
drift. are relatively unimportant in audio applications. 1977. pp. I 11-114.
Even a shift of I % in these parameters. which is totally
undesirable periodic readjustment. As mentioned pre- The information prOVided herein is believed to be reliable; however, BURR~BROWN
assumes no responsibility for inaccuracies or omissions. BURR-BROWN assumes
viously, gain drift and offset drift, or minus full scale no responsibility for the use of this information, and all use of such information shall
shift in the bipolar zero. or midscale point. can result in be entirely at the user's own risk. Prices and specifications are subject to change
without notice. No patent rights or licenses to any of the circuits described herein
an audible difference in THD for low level signals. The are implied or granted to any third party. BURR·BROWN does not authorize or
important specifications for the PCM54, PCM55, 56 and warrant any BURR-BROWN product lor use in lile support devices and/or systems.
PCM75, which were designed and specified for digital
audio applications, are shown in Table II. The majority
of the gain and offset drift in the the PCM54f55f56f75 is
due to the drift of the internal reference zener diode. How-
-------------,
I
I
~:
BEAT FREQUENCY TESTING
This article describes useful theory and techniques for
evaluating the dynamic performance of AI D converters. The beat frequency and envelope tests are qualitative
Four techniques are discussed: (I) beat frequency, (2) tests that provide a quick, simple visual demonstration
histogram analysis, (3) sine wave curve fitting, and (4) of ADC dynamic failures. An input frequency is selected
discrete finite Fourier transform. that provides worst-case range changes and maximal
input slew rates that the ADC is expected to see in use.
The output is then viewed on a display in real time.
The key to confidence in the quality of a waveform
recorder is assurance that the analog-to-digital converter The name "beat frequency" describes the reasoning
(ADC) encodes the signal without degrading it. Dynamic behind the test. The input sinusoid is chosen to be a
tests that cover the frequency range over which the con- multiple of the sample frequency plus a small incremen-
verter is expected to operate can provide that assurance. tal frequency (Figure I). Successive samples of the wave-
The results of the dynamic tests give the user a model of form step slowly through the sine wave as a function of
resolution versus frequency for the recorder. More elab- the small difference or beat frequency (Figure 2). Ideally,
orate models of failure mechanisms can be obtained by
varying the conditions of the tests.
All of the dynamic tests used for the 5180A Waveform
Recorder use sine waves as stimulus. Sine waves were
chosen primarily because they are the easiest to generate
in practice at the frequencies of interest with adequate
fidelity. While it may be possible to generate a square
wave, for example, whose function is known to the IO-bit
resolution of the 5180A, no square wave generators exist
that can guarantee the same wave shape to lO-bit resolu-
tion at 10M Hz from unit to unit. Another motivation for
choosing a sine wave stimulus is the simple mathematical
model a sine function provides for analysis. This benefit
greatly simplifies the algorithms used for data anlllysis.
Four dynamic tests for waveform recorder characteriza- t.f
tIOns are presented here: beat frequency testing,' histo-
gram analysis,2 sine wave curve fitting,'" and discrete
finite Fourier transform.' The last three tests operate in
f
f
A{'\
S\~
----.--\.;
1.-.(\ AfV\IV\·
\
.... ..... . l.. '. ----.--
the same way. A sine wave source is supplied to the s + t + + + +
waveform recorder and one or more records of data are
taken. A computer is then used to analyze the data. The
tests differ primarily in the analysis algorithms and con-
sequently in the sort of errors brought to light. Critical the multiplicative propert,ies of sampling would yield a
to the success of these tests is the purity of the sine wave sine wave of the beat frequency displayed on the wave-
source. Synthesized sources are necessary to provide the form recorder's CRT. Errors can be seen as deviations
short-term and long-term stability required by the from a smooth sine function. Missing codes, for exam-
dynamic range of the ADC. Passive filters (a six-pole ple, appear as local discontinuities in the sine wave. The
elliptical filter is used for 5180A tests) are required to oversize codes that accompany missing codes are seen as
eliminate harmonic distortion from the source. widening in the individual codes appearing on the sine
These tests provide the most stressful conditions for the wave. By choosing an arbitrarily low beat frequency, a
ADC with the input signal amplitude at full scale. slow accurate DAC may be used for viewing the test
Generally speaking, nonlinear effects increase more output. For best results, the upper limit on the beat fre-
quickly than the signal level increases because of the quency choice is set by the speed with which the beat
nonideal large-signal DC behavior of the ADC compo- frequency walks through thc codes. It is desirable to
nents and the higher slew rates large amplitudes imply. have one or more successive samples at each code. This
I
alleviates the settling constraint on the DAC and ensures
that the display covers all possible code failures. For a
20MHz sample rate and a IO-bit ADC, this implies a
3kHz maximum beat frequency for a minimum of one
sample per code bin.
Although the usual input frequency for a beat frequency
test is near the sample rate, the analog bandwidth of the
ADC may be measured by setting the carrier to a
number of different multiples of the sample rate. The
band limit is observed as a rolloff in amplitude as the
carrier frequency is increased.
The envelope test differs from the beat frequency test in
the choice of input frequency that the ADC encodes.
Instead of a multiple of the sample frequency, an input
frequency near one-half the sample rate is used. Now the
ideal output is two out-of-phase sine waves at the beat
frequency (Figure 3). This means that successive samples
HISTOGRAM TESTING
6f
A sine-wave-~ased histogram test provides both a local-
ized error description and some global descriptions of
'~~
f. -------- .----- - ----. ------- .-------
the ADC. Using the histogram test, it is possible to
obtain the differential nonlinearity of the ADC, to see
.0.1 whether any missing codes exist at the test frequency,
and to get a measure of gain and offset at the test fre-
quency. Of the sine-wave-based tests presented here, the
histogram test yields the best information about individ-
ual code bin size at an arbitrary frequency.
can be at the extreme ends of the ADC range, which is A statistically significant number of samples of the input
useful for examining slew problems that might not sinusoid are taken and stored as a record (Figure 6). The
appear when successive samples are at adjacent codes. frequency of code occurrence in the record is then plot-
To avoid placing the same stress on the DAC used for ted as a function of code. For an ideal ADC, the shape of
display, a bank of D flip-flops removes every other sam- the plot would be the probability density function (PDF)
ple before the data arrives at the DAC. Thus only one of a sine wave (Figure 7) provided that the input and
phase of the beat frequency remains. sample frequencies are relatively independent. The PDF
Figure 4 shows 5180A beat frequency test results for a of a sine wave is given by:
IO.OO31MHz input sine wave sampled at 10M Hz. For
comparison, Figure 5 shows a IO.OO3IMHz sine wave Y)_ I
P( - ~
being sampled at IOMHz by a commercially available 1rvA--Y-
8-bit, 20MHz ADC.
_...!-~._1(B(n-2N-1))
P( n ) -
. _1(B(n-I-2N-l))~
where A is the sine wave amplitude and V is the inde- 7r SIn N -SIn
A2 A2N
pendent variable (voltage). For a real ADC, fewer than
the expected number of occurrences for a given code bin
indicates that the effective code bin width is smaller than where n is the code bin number, B is the full-scale range
ideal at the input frequency.· No occurrences indicate of the ADC, and N is the number of ADC bits. To avoid
that the code bin width is zero for that input. A greater- large differences in code probability caused by the sinu-
than-expected number of occurrences implies a larger- soid cusp, a sine wave amplitude A is chosen that slightly
than-ideal code bin width. overdrives the ADC.
A judicious choice of frequency for the input sinusoid in
What is a statistically significant number of samples? We
this test is necessary for realistic test results. An input
can determine significance from probability theory. For
frequency that is a submultiple of the sample frequency
a given input PDF and record size, each bin of an ideal
violates the relative independence criterion and will
ADC has an expected number of occurrences and a
result in sampling of the same few codes each input
standard deviation around that expectation. The confi-
cycle. Using an input frequency that has a large common
dence that the number of occurrences is close to the
divisor with the sample frequency generates similar
expectation is equal to the probability that the occurren-
problems since the codes repeat after each cycle of the
ces fall within the appropriate number of standard devia-
divisor frequency. - Ideally the period of the greatest
tions. The ratio of the standard deviation to the expecta-
common divisor should be as long as the record length.
tion (and thus the error for a given confidence) decreases
with more samples. To get the confidence for the entire A 5180A histogram is shown in Figure 8 for an input sine
range, the probabilities for all codes lying within the wave at 9.85MHz. For comparison, Figure 9 shows data
desired error are multiplied together. from a commercially available, 8-bit 20MHz ADC for
an input sine wave at 9.85MHz, while Figure 10 shows
For an ideal IO-bit ADC, 100,000 samples would give us
data from an 8-bit, 100MHz ADC taken at 9.85MHz.
a 12% confidence that the peak deviation from the input
PDF is less than 0.3LSB and a 99.9% confidence that the
peak deviation is less than 0.5LSB. The notion of confi-
dence relies on the input's being a random process. We
can model the sine wave input as random process only if
the input and sample frequencies are relatively inde-
pendent.
The specification of greatest interest that can be calcu-
lated using the histogram test is differential nonlinearity.
Differential nonlinearity is a measure of how each code
bin varies in size with respect to the ideal:
FIGURE II~ Setup for the' curve-fit test and the discrete finite Fourier
transform (DFT) test.
FFTTESTING
These are solved iteratively to give values for the param- The fast Fourier transform (FFT) is used to characterize
eters. The difference between the right and left sides of an ADC in the frequency domain in much the same way
equation 6 is defined as error parameter R and the dif- that a spectrum analyzer is used to determine the linear-
ference between the right and left sides of equation 7 is ity of an analog circuit. The data output for both tech-
defined as error parameter S. An approximation algo- niques is a presentation of the magnitude of the Fourier
rithm using a first-order Taylor series expansion drives R spectrum for the circuit under test. Ideally the spectrum
and S to zero. This approximation algorithm requires an is a single line that represents the pure sine wave input
initial guess for frequency and phase close to the solution and is devoid of distortion components generated by the
to ensure convergence to the bestcfit sine wave. For fre- circuit under test. There are, however, significant differ-
quency. the frequency of the generator output in Figure ences between the spectrum analyzer and ADC spectra
because of the sampling operation of the ADC. octave rate. It is these sidelobes that are responsible for
The Fourier transform of a signal x(t) that is continuous leakage. Even if the spectrum of X(f) is a single line, the
for all time is defined as sidelobes of W(f) during the convolution smear the
energy in the single line into a series of spectral lines
X(f) = f':'~x(t)e-'hftdt spaced 1/Milt apart whenever the frequency of x(t) is
and includes the amplitude and phase of every frequency not an integral multiple of 1/Milt.
in x(t). The Fourier transform cannot be used in this
Leakage can be reduced by multiplying the data in the
form for an ADC, however, because x(t) is only digitized
record by a windowing function that weights the points
at a finite number of points, M, spaced Ilt apart. Instead,
in the center of the record heavily while smoothly sup-
the discrete finite transform (OFT) must be used. It is
pressing the points near the ends. Many different win-
defined as
dowing functions exist that offer various tradeoffs of
"'-I
XD(f) = 2 x(mllt)e-"'ffmLlnllt amplitude resolution versus frequency resolution. A
m=O function commonly used with sine waves is the Hanning
There are significant differences between X(f) and XD(f). window, defined by 1(I/2)(I-cos 27ft/MIl)I. Notice in
While X(f) has infinite spectral resolution, XD(f) has a Figure 13 that both the window and its derivative
discrete frequency resolution of Ilf = 1/milt because of approach zero at the two ends of the record and that the
the finite number of points in the data record. The finite transform's main lobe is twice as wide as that of the
record size also accounts for another difference between rectangular function, while the amplitudes of the side-
X(f) and XD(f) whenever a nonintegral number of cycles lobes decay by an additional 12dB per octave. The
of X(t) is contained in the record. Since the OFT reduced level of the sidelobes reduces leakage, but the
assumes that the record repeats with a period of Milt (to wider main lobe limits the ability to resolve closely
satisfy the Fourier transform condition that x(t) be con- spaced frequencies. Furthermore, the shape of the main
tinuous for all time) sharp discontinuities at the points lobe can attenuate the spectral amplitudes of X(f) by as
where the start of one record joins the end of the preced- much as 1.5dB. However, for the OFT testing to be
ing record cause the spectral components of X(f) to be described here, the Hanning window was selected as a
spread or smeared in XD(f). good compromise between frequency and amplitude
resolution.
The smearing, called leakage, can be explained as fol-
lows. The finite record size of x(t) can be considered the The third difference between the spectra of X(f) and
consequence of multiplying x(t) by a rectangular func- XD(f) is the limited range of frequencies displayed for
tion having unity amplitude during the time period Milt XD(f). The sampling process causes the two-sided spec-
that the record is acquired and zero amplitude elsewhere. trum of X(f), symmetrical about the origin, to be repli-
Since multiplication of two functions in one domain cated as the sampling frequency f, and at all of its har-
(time, in this case) is equivalent to convolution in the monics. If X(f) contains components that exceed f,/2,
other, the spectrum of XD(f) is derived by convolving then these components are folded back, or aliased, onto
X(f) with W(f), the Fourier transform of the rectangular spectral lines below f" causing aliasing errors. The fre-
function. W(f) is the familiar sinx/ x function (see Figure quency f,/2 is sometimes called the Nyquist frequency,
13for IW(f)Il, consisting of a main lobe surrounded by a referring to the Nyquist criterion, which requires the
series of sidelobes whose amplitudes decay at a 6dB-per- sampling rate to be twice the highest frequency present
-f_'_~O-><&" I'~'I
1/MA!
in the input signal to define the waveform uniquely. The the first-pass and second-pass ranges (exceeding the
result is that the spectrum of XD(f) is displayed only redundancy range) or inadequate DAC settling can
from DC to f,/2 and the maximum input frequency must cause localized code errors or differential nonlinearities
be limited to less than f,/2 to avoid aliasing. in the ADC's status transfer function. Furthermore,
Figure 14 presents the magnitude of the spectra derived localized code errors can increase in amplitude and in
from the DFT for perfect lO-bit and 6-bit ADCs given a the number of codes affected under dynamic input con-
pure sinusoidal input. Useful information about the ditions. Aperture jitter is another major source of
ADCs' performance can be derived from three features dynamic error; the magnitude of this localized code error
of the spectra: the noise floor, the harmonic level, and is dependent upon the slew rate of the input at the time
the sp~rious level. of sampling. Each of these localized code errors can be
modeled as a sharp discontinuity in the time domain that
when transformed into the frequency domain results in a
Perfect 10 Bit ADC broad spectrum that raises the height of the noise floor
SIN Ratio = 61.9
above that caused by quantization noise alone.
Theoretical SIN =
61.8
The second feature of the DFT-derived spectrum that
indicates an ADC's level of dynamic performance is the
harmonic content. Static 'and dynamic integral nonlin-
earities cause curvature in the ADC's transfer function. If
the input frequency fi" is much lower than the Nyquist
freqency (f,1 2), then the harmonic components will be in
the expected locations: 2fi", 3fi", etc. If, on the other
hand, the harmonics of fi" are greater than f,/2, then
these frequencies will be aliased onto components below
4 5 6 7 f,/2. Take, for instance, a 20-megasample-per-second (f,)
Frequency (MHz) ADC with an input of 9.85MHz. The second harmonic
at 19.7MHz is aliased to O.3MHz, the third harmonic at
29.55MHz is aliased to 9.55MHz, the fourth at 39.4MHz
is aliased to O.6MHz, and so on.
Perfect 6 Bit ADC Care must be exercised in selecting the input frequency
SIN Ratio = 37.9
Theoretical SIN = 37.8 for the DFT test. An incorrectly chosen frequency can
alias one of its harmonic components on to the funda-
mental and thereby understate the harmonic distortion
(in the example above, an input of exactly 5MHz would
place the third harmonic at the fundamental frequency).
The input frequency should be chosen so that the har-
monics are far enough away to be easily resolvable from
the fundamental, whose energy has been spread into sev-
eral adjacent bins (II M6.t locations) by the Hanning
window. This accounts for the O.l5MHz offset from
10M Hz used in the example of Figure 14.
The third feature of the DFT-based spectrum that is
indicative of the ADC's level of dynamic performance is
FIGURE 14. FFT plots forO.85MHz data quantized by perfect IO-bit (top)
the spurious content. Spurious components are spectral
and 6-bit (bottom) ADCs. The signal-lo-noise ratio computed in each case
agrees closely with the theoretical value of 6N + 1.8dB where N is the components that are not harmonically related to the
number of AOC bilS. input. For example, a strong signal near the ADC may
contaminate the ADC's analog ground somehow and
Two classes of noise sources determine the level of the thereby appear in the spectrum. The nearby signal will
noise floor. The first is called quantization noise. This is not only appear as itself, but because of nonlinearities
the error, bounded by ±1/2LSB, that is inherent in the within the ADC, can combine with the input signal to
quantization of the input amplitude into discrete levels. form sum and difference terms resulting in intermodula-
As can be seen in Figure 14, even ideal ADCs have noise tion distortion.
floors determined by quantization noise. The higher the The combined effects of noise floor, harmonic distortion
number of bits, the smaller the error bound and, there- and spurious errors are reflected in the ADC's rffi'S
fore, the lower the noise floor. signal-to-noise ratio, which can be derived from the
All real-life ADCs have noise floors that are higher than DFT magnitude spectrum. The signal energy is deter-
that solely from quantization noise. The second class of mined by summing the energy in all the bins associated
noise source includes wide band noise generated within with the fundamental. The noise energy is the sum of the
the ADC, along with other sources. In a parallel-ripple energy in all other bins. By taking the logarithm of the
ADC, for example, such things as misadjustment between ratio of signal energy to noise energy and multiplying by
20, the signal-to-noise ratio for the ADC can be calcu- Figure 16 presents, for comparison, the test results for
lated. An ideal N-bit ADC having quantization noise commercially available digitizers: a 20-megasample-per-
only is theoretically known to have a signal-to-noise second, 8-bit ADC and a IOO-megasample-per-second,
ratio equal to (6N + 1.8)dB, which sets an upper bound. IO-bit ADC with a full-scale, 9.85MHz sine wave input,
A signal-to-noise ratio below this ideal limit is indicative sampled at 20 megasamples-per-second. The numerous
of errors of all types that the ADC produces. large harmonic components, both odd and even, are
The FFf test setup is presented in Figure II. A full-scale indicative of severe harmonic distortion errors resulting
sine wave of a properly chosen frequency is applied to from integral nonlinearity in the transfer functions of
the ADC under test. The low-pass filter ensures a spec- both of these ADCs.
trally pure input. A I024-point record sampled at the A rule of thumb has evolved that uses the DFf-based
maximum sampling rate is then taken and given to the spectrum as a quick overview of an N-bit A DC's dynamic
computer, which calculates the DFf using an FFf algo- performance. If all harmonic and spurious components
rithm. The spectral magnitude is plotted as a function of are at least 6N dB below the full-scale amplitude of the
frequency. fundamental, then the ADC is performing satisfactorily,
since each error component has a peak-to-peak ampli-
Figure 15 shows the graphical outputs for the 5180 for
tude smaller than an LSB. If, on the other hand, har-
full-scale sine wave input at 0.95MHz and 9.85MHz. As
might be expected, the distortion increases with increas- monic or spurious components are less than 6N dB
down, or if the noise floor is elevated, then other tests
ing frequency. Harmonic and spurious components are
can be performed that are better at isolating the particu-
typically better than -60dBc below IMHz and -54dBc
lar integral and differential nonlinearity errors. In par-
at 9.85MHz. The latter spectrum at 9.85MHz is the
ticular, the FFf test an be followed by the histogram test
frequency-domain representation for one of the most
or the beat frequency test (or envelope test), as condi-
demanding tests of an ADC, called the envelope test,
tions warrant.
which was described earlier.
~
m
-60
'--~0'," - - - - - - !
f :~-,; ~-;';;,;-
-70
-80
-90
o
t,~.w
lD -20
:2-
Qi -30
...Jil -40
'"~ -50
o -
"§ -60
0.
m
FIGURE 15. DFT plots for the SlgOA with input frequencies of9.85MHz FIGURE 16. OFT plots for a 20M Hz. 8-bit AOC (top) and a IOOMHz.
(top) and O.95MHz (bottom). The low harmonic distortion indicates very 8-bit ADC (bottom). Full-scale input sine waves at 9.85M HI were sampled
low integral nonknearity. at a ratc of 20M Hz. The high levels of harmOniC distortion indicates severe
integral nonlinearities.
CONCLUSION
The four sine-wave-based ADC tests described provide speed and fine resolution (Figure 17). The tests are sim-
information about the quality of any recorder. The tests ple to run, requiring only a synthesized generator and an
may be used to isolate specific failures, even at high HP-IB computer.
Error Hlltogr.m OFT Sine Weve Curve-Fit S•• ' Frequency Telt
Differential Yes-shows up as spikes Yes-shows up as elevated noise flDor Yes-part of rms error Ves
Nonlinearity
Missing Codes Yes-shows up as bins with 0 counts Yes-shows up as elevated noise floor Yes-part of rms error Ve.
Integral Yes (could be measured directly with a Yes-shows up as harmonics of lun- Yes-part of rms error Ve.
Nonlinearity highly linear ramp waveform) damentsl aOssed into baseband
Aperture No-averaged out. Can be measured Yes-shows up as elevated noise floor Yes-part of rms error No
Uncertainty with "locked" histogram
Noise No-averaged out. Can be measured Yes-shows up as elevated noise floor Yes-part of rms error No
with "locked" histogram
References
I. D.J. Packard, "Beat Frequency Testing of Real Time AI D Conver-
ters," Workshop on High Speed AID Conversion, Portland, Ore-
gon. February 1980.
2. H.U. Koller, "New Criterion for Testing Analog-to-Digital Conver-
ters for Statistical Evaluation," IEEE Transactions on Instrumenta-
tion and Measurement. Vol. IM-22, pp. 214-17, September 1973.
3. R. Potter, "Least-Squares Estimation of Sinusoidal Parameters
from Measured Data," Hewlett-Packard internal memo, June 1974.
4. L. Ochs. "Measurement and Enhancement of Waveform Digitizer
Performance," IEEE International Convention, Boston, May 1976.
5. R.N. Bracewell, The Fourier Transform and Its Applications,
MeGraw-Hill, New York. 1965.
One of the most difficult quantities to measure properly is LIMITATIONS OF AN OSCILLOSCOPE
settling time. This parameter becomes even more difficult The most straightforward way to measure settling time is
when extremes in resolution or time are encountered. to use an oscilloscope to view the waveform in question.
Digital-to-analog converters with 12-bit resolution are This measurement is simple and direct but has limited
commonplace today and settling times of under 50nsec dynamic range. A disadvantage of this method is that a
are claimed by numerous manufacturers. Operational modern real-time oscilloscope will overload when the
amplifiers with 100nsec settling times are available from input signal exceeds the selected peak-to-peak sensitivity
several suppliers. Determining the performance of these by a factor of about 50 times. For example, assume that
components can become quite a challenge if settling time the selected sensitivity of the oscilloscope is set for
is to be measured accurately without the test circuit and 2mV / cm and the screen has 8cm of vertical deflection
the accompanying instrumentation interferring with the capability. This means that a waveform of 16mV x 50 =
measurement. The accurate determination of settling 800mV would overload the oscilloscope. On the most
time is important because it can be one of the limiting sensitive range, it would be possible to resolve about
factors that determines the throughput rate of the system. 0.8mV so it would be possible to measure t!resettling time
Many designers develop their own high speed analog-to- of an 800mV change to ±O.I% accuracy. This approx-
digital converters when it is difficult to purchase one to imately corresponds to a IO-bit DAC. This indicates that
suit their needs. Among the important components that a direct measurement .of settling time is limited to
are needed for the design are sure to be operational measuring a 10-bit DAC. Clamping techniques which
amplifiers and a digital-to-analog converter (DAC). A can extend the dynamic range to 12 bits do not work
clear determination of the settling performance of these effectively for measuring settling times under 100nsec
devices is of critical importance. because these are generally limited to I V to 2V output
There are many different ways to measure settling time. signals. Operational amplifiers will require additional
Techniques and circuits are shown and discussed that circuitry as will DAC's of greater resolution. The fol-
enable the accurate measurement of DAC's, operational lowing paragraphs deal with the special circuitry that is
amplifiers, and arbitrary waveforms. The article will needed for higher resoluti'on DAC's and operational
build from the straightforward method of measuring amplifiers.
settling time by use of an oscilloscope towards a technique
which lends itself to automatic data logging of fast
waveforms. This Application Note provides a perspective MEASURING THE SETTLING TIME OF A HIGH
of when it is necessary to employ one technique versus SPEED 12-BIT DAC
another because there is no point in developing a A typical high speed 12-bit DAC will have a 2V output
computerized measurement when an oscilloscope reading swing and an LSB of about 0.5mV. Many manufacturers
will do the job. have products of this type that settle to I /2LSB accllracy
Settling time as used herein is the time between when the in 35nsec. As pointed out before, there are now two
signal begins to change and when the sigI}al permanently problems. Accuracy of 1/2LSB or 0.25mV resolution
enters a prescribed error band. Generally, it is not too cannot be resolved by typical high speed oscilloscopes
difficult to determine when-the input signal begins to and a 2V waveform would overload the instrument
change. It should be noted that this definition is with anyway. The way to solve this problem is to amplify the
respect to the waveform itself compared to using the signal so that 1/ 2LSB is discernible and then to limit that
input signal, which causes the final output, whether the output to prevent the oscilloscope from overloading.
reference be a digital or analog signal. Using the input as Emitter-coupled amplifiers are ideal for this because
the reference will yield the same results except the signal wideband gains along with excellent settling properties
will be delayed by some additional amount. Delay in a are attainable. Figure I is a schematic of an amplifier
system does not usually limit the throughput response of designed for this purpose. The amplifier in this schematic
a system in the way that settling time does. has two emitter-coupled amplifier stages separated by
Practical circuits that measure the settling time of high emitter followers. This amplifier has a bandwidth of
frequency operational amplifiers and DAC's are shown. 130MHz with a gain of 40 when driving a 50n termin-
These are working circuits that can be used either during ation.
the development phase or the manufacturing phase of a Consider the effect of using this amplifier on the high
product. A technique is shown that can automatically speed DAC that was previously mentioned. The LSB of
measure settling time as well as other AC properties such this DAC is about 0.5mV and when amplified, the effec-
as rise time or overshoot. tive weight of the LSB is 20mV. The output stage of this
5.1kn
6
I ,
I
I
I
,,
I
lQ. J
I
,
I
,
'"':' 1 : .- __ 1
, ,
I
I
I
I
,,
I
,~i ,, 0, I
,
I
1B
CRI, CR2 = HPA-2835
NPN', = BFR!II
PNP', = BFT 93
AI = 741
'-- ,----_:
amplifier is designed so that when the output is term- the emitter lead length down to a minimum. The
inated in 500 the voltage swing will be l25mV. The inductance of wire is on the order of 60nH inch so that if
125mV that is observed is the final value of an effective the amplifier were constructed using discrete components,
80V waveform. Since the gain of the amplifier was40 and it would be easy to accumulate as much as 0.5-inch of
the input amplitude was 2V. a linear amplifier would emitter lead length, In the amplifier shown, the emitter
produce an 80V output swing. Because the output resistance of the two transistors is 100 and if the emitter
waveform is clipped to the final 125mV. no trouble is lead length is 0.5-inch, the emitter inductance would be
experienced with the oscilloscope overloading. about 30nH, The pole, due to this effett, would be equal
Briefly, this amplifier operates in the following manner. to RE 10
The input signal is amplified by the input cascoded f=-- = ----=53MHz.
217'L 217' 30 x 10"
connection of transistors, Q, through Q,. A pair of hot
carrier diodes, CR, and CR" are used to clamp the input The amplifier has two poles of this type so the emitter
signal to reduce the settling time of the amplifier. Emitter parasitic effect would restrict the bandwidth to about
followers. Q. and Q" are used to buffer the output of the 40MHz. An amplifier with a 40MHz bandwidth would
first emitter-coupled amplifier to the output cascode of have a settling time, to ±O.O 1% accuracy, of about
transistors, Q. through Q". In order to achieve a 40nsec. This shows that hybrid construction techniques
bandwidth of 130M Hz, it is necessary to form a hybrid must be employed to perform a reasonably accurate
subassembly composed of all the transistors along with measurement of the settling time of a 50nsec DAC.
the 330 resistors that are found in the base of the Figures 2 and 3 show the hybrid layout of this transistor
transistors. The primary reason for doing this is to keep array along with the layout of the entire amplifier.
.IV r>
-.J .2.5V
13(f) = 13(0/
I+jr;
where
13(f) = the current gain as a function of frequency
13(0) = the current gain at DC
h == the frequency at which 113(f) 1 = I
3. Substituting 2 into I and rearranging terms
A(o)
A(f)=
f 13(0) RG
1+ j
h(l3(o) RE + RG)
f _ h(f3(o) RE + RG)
13dB- 13(0) RG
SQUARE
WAVE
INPUT
FIG U RE 6. Block Diagram of System to Correct Offset of Open-L~op Amplifier when Measuring
a Digital-to-Analog Converter.
115MHz corresponds to a time constant = I 2".BW = logic reference for the DAC being tested and it also drives
I 2". 115 X 106 = 1.38nsec. This settling time TS of this IC I and IC2. The logic signal is taken through switch
poleto±O.OI % is given by9.3T which is equal to 12.9nsec. contacts S2b from either pin 2 or pin 3 from IC3. The
The collector time constant Tc is given by TC = RLC1 determination of which signal is selection depends of
where RL is equal to the collector load-resistor and C, is whether positive or negative settling is to be tested. The
equal to the collector capacitor and TC = RLCI = 235 x 2 x phase of the signal at pin 7 of IC3 is constant so the
10'" = 0.47nsec. Similarily, the settling time of the oscilloscope controls need not be altered when viewing
collector time constant is equal to 4.4nsec. Therefore, the positive or negative settling time. The logic signal is then
settling time of the overall amplifier is equal to: sent to ICI and IC2 before being applied to the device
T overall = ~ =.J (12.9)' + (4.4)' = 13.6nsec under test. A calibrate function is implemented by
disabling bit I (MSB) through bit II leaving only bit 12
which is in good agreement with the measured value of
active. Since only bit 12 (lSB) is active, the weight of the
15nsec considering the simplified analysis.
lSB is determined independent of the gain of the
One of the shortcomings of employing this amplifier is amplifier. For convenience, the weight of an lSB is set
the tendency of the offset to shift with time even after a for a Icm oscilloscope deflection. After the digital signal
sufficient warm-up period. This is due to the relatively is applied to the DAC under test, the output of the DAC
high power dissipatIOn of the input stage (7.5mW per is sent to the high speed open-loop amplifier previously
input transistor) and the fact that the input stage has been described. When the phase of the logic input signal is
designed with discrete transistors in hybrid fashion. selected, based upon whether positive or negative settling
More stable performance could be obtained if the input is to be viewed. it is necessary to apply a +IOV reference
was a monolithic pair, but transistors with greater hare level to pin 18 on the device under test. During the time
available only in discrete form. The tendency of the open- when negative settling time is to be observed, the action
loop amplifier to drift with time can be corrected using of the +IOV reference signal through the IkO resistor.
feedback techniques. internal to the DAC63, provides a 10mA current that is
Figure 6 is a block diagram of the system used to correct just equal to the 10mA DAC current that is now being
the offset of the open-loop amplifier. In this system, the turned on. This is necessary to provide approximately a
offset at the output of the open-loop amplifier is con- zero volt signal level to the input of the amplifier to stay
siderably lowered by the DC amplifier and the feedback within the dynamic range of the amplifier.
connection. The DC amplifier can be a low offset Amplifier Al generates the +IOV reference which is
monolithic operational amplifier which will have excel- applied to the device under test through contacts S2a.
lent stability with time and requires little warm-up time. Switch contacts S2a and S2b are driven together so that
The gain of the DC amplifier is set at 150 to mask the the phase and offset of the signal will result in proper
offset of both the sample hold and the open-loop oscilloscope presentation. See Figure 8 which depicts the
amplifier. The sample/ hold serves the purpose of se- output of this test fixture. The synchronization output.
lecting only that part of the output waveform that should which appears at connector J3 is used as a time reference
be controlled for zero offset. If it is desired to observe the for either the measurement of the positive or negative
response time when the DAC is changing from zero to settling of the waveform under test.
full scale, it is necessary to sum an equal and opposite full
The output of the device under test is then sent to the
scale level at the input to the open-loop amplifier so. in
open-loop amplifier whose performance and operation
effect, the output of the amplifier settles from a clipped
have been previously described.
positive extreme to zero. It is necessary to offset the input
by a full scale level to keep the input signal within the The output of the open-loop amplifier is then applied to
dynamic capability of the open-loop amplifier. When the amplifier AJ before being sent to the sample hold that is
DAC settles from full scale to zero, it is not necessary to comprised of amplifier A, switch Q, and driver transistor
offset the input because the input is within the dynamic QI. IC6 is a monostable which is used to supply the
capability of the open-loop input. If the system is driven sampling signal to the sample hold.
by a square wave, the output will tend to be at zero
one-half of the time. The other half of the time, the output
will either be at the positive or negative extreme of the
open-loop amplifier. It is now easy to see why th'e SETTLING TIME OF AN OPERATIONAL
sample/ hold is necessary because output to be controlled AMPLIFIER
is available only one-half of the time. Figure 7 shows a Refer to Figure 9 for a block diagram of a circuit that
schematic of a production test fixture that is used to measures the settling time of an operational amplifier in
measure the settling time performance of the DAC63, a the inverting configuration. The false summing junction
high speed DAC that is ECl-compatible. technique is commonly used because of its simplicity and
I n Figure 7 a square wave generator is formed from IC4 effectiveness in performing the measurement. The false
and the related circuitry and is set for a frequency of summingjunction contains the same settling information
135kH z to allow viewing of the settling time performance as the actual summing junction. The actual summing
beyond just the immediate specification. The square junction is not used in order to avoid any extra loading
wave oscillation is buffered by IC3, a quad ECl buffer. that might alter the performance of the operational
IC3 provides the oscilloscope synchronization pulse, the amplifier under test. Another important feature of this
J2 REFERENCE
PULSE OUT
SETTLING
T 200n J1 TIME
OUT
8
1
9 .1
10 I
I
11 I
1222 I
I
18Dn I
I
I
---------------------~
lkn
+10V REFERENCE
511\11 3.74kn Ikn 8.52kn
AJ
883500
J3
SYNCH OUT
OIGITAL~~ - ----- ---
OAC83 OUTPUT
DRIVING
500 LOAD.
---- -- . . . . ., -
10naec/dlv
measurement technique is to correct for the effect of the of capacitance). Assuming that the feedback resistance R
waveform aberrations associated with the signal coming of the amplifier is I kn and the capacitance load on the
from the pulse generator. Very few, if any, commercial false summing junction is 30pF, an effective 15nsec time
pulse generators have a flat top response that is adequate constant would exist at the false summingjunction. For a
as a test signal if the op amp output is used directly for waveform to settle to ±0.01% accuracy after being
evaluation. Since the inverting configuration creates the impressed upon a simple time constant. 9.2 time constants
opposite phase signal as the input. the waveform viewed are req uired, therefore, it would take 138nsec for the false
at the false summing junction tends to be free of the summing point to settle. If the anticipated settling time of
effects of the input waveform inperfections. the amplifier under test is 250nsec, the measured settling
In practice. it is relatively straightforward to implement time would be in the vicinity of J( 138)2 + (250)2 =
this measurement for making settling time measurements 286nsec. Faced with this problem. one could either buy a
down to about 250nsec with accuracies to±O.O I %. This commercial FET probe or use the circuit shown in Figure
measurement does have some shortcomings when settling 9. The circuit shown in Figure 9 is, in effect. a FET probe
times much shorter than 250nsec to ±O.OI% accuracy for FET BUFFER
IOV output changes need to be made. The difficulties that +15V
develop are two-fold. The typical oscilloscope probe has
too much capacitance and this loads down even the false
summing junction. leading to inaccuracy in the final
measurement. The second difficulty is that fast changing
waveform aberrations cause the summing junction to
have to change so that the amplifier can follow the signal.
The waveform at the a'ctual summing. and henceforth at
the false summingjunction, can be relatively large due to
the AC gain of the operational amplifier being relatively
low at the frequency of the waveform inperfection. The
solutions to these two problems are relatively straight-
forward.
First, to achieve maximum sensitivity. it is often necessary OPERATIONAL AMPliFIER
UNDER TEST
to use a direct-coupled I: I probe or a piece of cable when
connecting to the oscilloscope. Under these circum- FIGURE 9. Block Diagram of the False Summing
stances, it is very easy to add 30pF of capacitance to the Junction Technique for Measuring the
false summing point (I foot of RG58 50n cable has 30pF Settling Time of an Operational Ampllifier.
but is less expensive and is often more convenient to use
because the circuit is easy to build onto the breadboard or
onto the test fixture that is used to evaluate the amplifier
under test. The 2N5564 FET was chosen to buffer the
false summing junction because the input capacitance is
low, about 5pF, and the output impedance is approx-
imately 50n. With the 50n output impedance, the cable
length needed to drive the oscilloscope is not critical
because the cable can be effectively back-matched.
The second problem that must be dealt with is that of
obtaining an input signal with a clean flat-top response.
The flat-top response of typical commerc1al pulse gen-
erators is no better than 1% of the signal amplitude being
V Illnwt
used as a test signal. The false summing technique will
cancel low frequency effects but high frequency effects
cannot be cancelled because of the transient response or ~
phase response of the amplifier. eln (II = IV +a Ilnwll u(1I
To illustrate this effect, assume that the signal used to eln ItI = test Ilgnll Implltude
evaluate the amplifier under test has a ripple component I Ilnwt = dlltortlon 01tilt Ilgnll
of frequency wand an error amplitude of a. Assuming a The time response of thelUmmlng Junction Ilgnllll derived by multiplying the
J-pole amplifier response, the approximate waveform IIpllce Irlnllorm 01thllnput Ilgnll bythl tnnller function olthelnputllgnll
that will exist at the summing junction is given by- to the lummlng junction error Ind then by liking !hi InvenellpllCi trlnltorm
to compute thl time rllpon ••.
Y A(o) -woA(o) a w' .
e(t)=2--(--t---t-1)+ -(--) SInwt Response of the Summing Junction.
A(o) 2 2 2 A(o)'
Allume Ai,) =_ 'Alo~
where wo is equal to the -3dB bandwidth of the open-loop
1+ ;;;0
amplifier and A( 0) is the open-loop gain of the amplifier.
Figure 10 depicts the test waveform and shows more
detail on the derivation of e(t). As an example of this All) = lip lice tnnlform 01 the trequency relponll 01 the op Imp.
effect, the following calculation demonstrates what Alo) = DC glln 01the op Imp.
happens when the test generator has a 5% ripple ampli- wo = ·3dB BW 01open·loop response 01 the op Imp.
tude and a frequency of I M Hz. If the amplitude of the The laplace transform 01the lummlng junction signal II given by:
test signal is 10Y, the ripple amplitude will be 0.5Y. Note
ertl) =.eln (1)_1_12-
the termwoA(o )/2 corresponds to the-3dB bandwidth of 1·1/2 All)
the closed-loop amplifier which will be assumed to be SUbstituting Ind relrrlnglng terms:
10M Hz. Therefore, once the transient caused by the step eln(l) 1+ wO
function has died away, the remaining waveform is ertll=--2-
caused by the imperfect signal generator and the phase S+wo II +~ j
2
response of the amplifier. The amplitude of the signal at
The lapllce Irlnltorm 01the tilt Ilgnllll given by:
the summing junction is then
elnlll =.! + ~
e(t) =-2a (--..L,) sin (WT) S 12+w2
f-3dB Subltltullng elnll) Into the exprlliion lor erll) Ind the liking Ihe Inver ••
llpllCi tnnllorm yleldl the time rllpon •• It the lummlng Junction.
e(t) = O:} (I' /10') sin (WT) = 2.5mY sin (WT). Iitl =~t A(o). 'wA(olt .11 +.LI_w_2_llln wi
Aio) 2 2 2 Alo)2 w';
If the amplifier is specified to settle to ±O.OJ% of FS or to FIGURE 10. Test Signal Applied to Operational
1m Y out of 10Y, clearly a better signal generator must be Amplifier Under Test.
found.
Figure II is a schematic of a pulse shaping circuit that is a square-wave generator which is set for 500kHz. The
capable of supplying the clean flat-top response needed TTL signal from ICI is translated by Q, which, in turn,
to effectively test high speed operational amplifiers. drives Q" a 2N2369. Q, is responsible for creating the
well defined flat-top response as Q, is either driven into
This circuit is capable of producing the low ripple
saturation or when Q, is cut off, the waveform is defined
waveform required to evaluate an amplifier that settles to
by diode, 0" damping to the level established by the
±O.O I% of full scale accuracy for a 10Y step in IOOnsec.
IN753 zener-diode. The signal is then buffered by the
Figure II also shows an entire production test fixture that
action of emitter followers QJ, Q., and Q, before driving
Burr-Brown uses to evaluate the OPA600, a JOOnsec
the device under test al)d the related circuitry. For
settling operational amplifier.
reasons similar to why the OAC signal must be amplified
Briefly, the circuit works in the following manner. IC I is for proper viewing, the signal at the false summing
+15V
DEVICE UNDER TEST
3.3pF
lkn lI80n
IN4148
3.3pF
·15V
N
Ul
N SYNCH
OUT
SETTLING
TIME
OUT
junction of the operational amplifier must be increased. of the hardware used to digitize a waveform, a perspective
Using the same wideband amplifier that was previously 'on the proper sampling rate will be given. Choosing the
described, the false summing junction signal is amplified proper sampling rate is important so that realistic
before being sent to an oscilloscope for viewing. hardware requirements are developed. As an example,
- A, forms a low-pass filter with a gain of about 1000 and is consider the requirements of digitizing the response of a
used to correct for the high offset and drift associated 12-bit DAC that settles to I LSB in 50nsec for a full scale
with the wide band amplifier. It is not necessary to use a change. In the area of the waveform where the DAC is
sample/ hold to correct the offset of the wideband settling to its final value, the rate of change of the
amplifier as was done for the DAC because the waveform waveform is about I m V/ nsec. (See Figure 8 which shows
at the false junction has an average value of zero. This test the DAC63 settling to its final value.) Since this is a 12-bit
fixture has the useful feature of being able to calibrate the DAC, I LSB is equivalent to 0.5mV and if the waveform
amplitude of the error signal. When placed in the is to be digitized to the necessary accuracy, the sampling
calibrate mode, an attenuator is inserted at the output of rate should be V;
the square-wave generator that reduces the amplitude of Ts= (dv)
the test signal to 1/10,000 of its original value. 1/10,000 dT
of the test signal corresponds to the amplitude of ±O.OI% where dv / dT is equal to the rate of change of the signal in
of the device under test, so a convenient means for the area of interest, Ts is eq ual to the sampling interval
checking the measurement is provided without havinll to and VE is equal to the allowable error signal. For the
know the value of the gain. example in question,
WAVEFORM DIGITIZER Ts =.Yli.= 0.5mV = 0.5nsec
A more powerful technique that can be employed to dv 1.0mV
evaluate the settling time of a DAC or an amplifier is to dT nsec
digitize the waveform under test. Once the waveform is The leading edge of the DAC waveform shown in Figure
digitized, the waveform can be sent to a computer where 8 rises at the rate of O.4V / nsec. When the rising edge of
software routines can be used to determine the per- the waveform is sampled at 0.5nsec intervals, this part of
formance of the device under test. Digitizing the wave- the waveform can be resolved to 0.2V accuracy. Con-
form is superior to hardware-oriented instrumentation sidering that it is a 2V waveform, resolving the rising edge
because of the versatility associated with a computer. The to an amplitude of about 10% accuracy is probably
circuits and systems previously described were dedicated adequate or if not, the sampling rate can be increased. If
to evaluating only settling time. Different instrumentation the expected settling time were to be 50nsec, data would
would have to be developed if rise time, delay time, be taken for a longer interval to assure that the device
overshoot or some other AC parameter needed to be settles. If data was taken for 500nsec with 0.5nsecsample
tested. By contrast, once the waveform has been digitized, intervals, a record length of 1000 points to at least 12-bit
any property of the waveform can be analyzed with the accuracy would be required. This example illustrates an
same hardware. Waveform digitization is not limited to appropriate method for selecting the sample interval and
testing DAC's and operational amplifiers, and the circuits record length for the measurement in question. Of
that follow lend themselves to the evaluation of arbitrary course, as the performance requirements change, the
waveforms. Before proceeding with a detailed description measurement parameters can be suitably scaled.
SIGNAL
GENERATOR - DEVICE UNDER
TEST
SAMPLE/HOLD
CIRCUIT -- ANALOG·TO·
DIGITAL
CONVERTER
I I
DIGITALLY
REPETITION PROGRAMMABLE
RATE
GENERATOR
DELAY
GENERATOR
.
t OUTPUT INPUT
COMPUTER
Figure 12 shows a block diagram of a digitizer that can be leading edge that is controlled by a digital input. The
used to record signals for many different measurement delayed leading edge is then differentiated and formed
requirements. The digitizing works in the following way. into a 7nsec sampling pulse by IC2. The sample/hold
The basic principal behind the digitizer is that when a function is created by ICI, a sampled comparator and A"
waveform is synchronously sampled, the sampled value an operational amplifier configured as an integrator. The
of the waveform will correspond to the phase difference comparator and integrator form a sample/ hold in the
between the sample pulse and the input waveform itself. following way. The comparator is a sampling type which
At t = 0, the computer sets the programmable delay means that the output responds only during the presence
generator to start sampling at the beginning of the of a sampling pulse. Therefore, when the input to the
waveform. As thesignal generator has been synchronized comparator is in a state to allow the output to change
with the delay generator, the output of the sample/ hold state, the change of state will only occur at the time of the
will be DC. The output of the analog-to-digital converter sampling pulse. This comparator has the additional
is then sent to the computer for recording. When a stable feature of latching the result until the next sample pulse.
value has been recorded for a particular sample point, the The latched output is then integrated and fed back to the
delay is incremented and the process is repeated until the other input of the comparator. The integrator, in effect,
entire waveform has been digitized. Later it will be shown forms a bang-bang servo and a stable condition of this
that the sample/ hold circuit and the analog-ta-digital loop is arrived at when the integrated output is above or
converter can take on many different forms. Thesample/ below the amplitude of the sampled waveform 50% of the
hold could range from a conventional one to a sampled time. The integration time is selected so that the output of
comparator while the ADC could be a digital voltmeter. the integrator varies by a negligible amount between
Figure 13 demonstrates the waveforms of a hypothetical sample pulses. A differential integrator provides a con-
digitizer. Note how the digitizer responds very much like venient interface to the complementary output of the
a sampling scope. differe'ntial comparator. The output of the integrator,
Figure 14 shows a detailed diagram of an actual digitizing which is now DC, represents the value of the AC
system that can measure the performance of a high speed waveform at the point in time where it was sampled. This,
12-bit digital-to-analog converter like the Burr-Brown in effect, forms a fast accurate sample/ hold with an
DAC63. aperture time of about lOOpsec which is determined by
the comparator IC I. Its dynamic performance is different
The digitally-programmable delay is achieved by com- from a conventional sample/hold in that it takes a long
paring the output of At, which is configured as a time to respond to signals that change rapidly. However,
integrator, to the reference level which enters the other no dynamic error is made for this type of signal because
input to comparator IC3. The variable reference comes the integrator eventually charges up to the correct value.
from DACI which gets its digital input from the com- While performance of this type may not be adequate for
parator. Therefore, as the DAC input to the comparator data acquisition systems, it generally poses no difficulty
increases in value, the comparator will generate a delayed for measurement systems of this type.
FLUKE 8502
DIGITAL
VOLTMETER
DIGITAL HP-45
IEEE-188 8US COMPUTER
OUTPUT
ANALOG
INPUT
DIGITAL
INPUT
17 21
DAC80
':"
DACI S(JUARE
WAVE
':" INPUT
IC3
-S.2V .5V
For the system shown here, the output of the integrator is
sent to a FLUKE 8502 voltmeter for measurement. The
voltmeter is connected to an HP45 through an IEEE-488
interface where the data is stored for further analysis.
Once it has been detected that the output of the sample/
:;
hold is stable, the sample point is incremented to the next ; 0.014
position. This process is repeated until the entire wave- '"
~
Q.
form has been recorded. E
<0.012
0.0018
0.0016
0.008 0
~ 0.0014
Ql
~
"~ r'
0-018
~0.0012
<
0.0010
:;
;0.014
""
0.008.
0 50 100 150 200 i
Time (nsec)
~ 0.012
0.014 0.016
•. . . .~ •.
~0.012 ~0.014
~
Q.
"
~
Q.
E 0.010 E 0.012
"" ""
0.006 0.008 0
0 50 100 150 200 50 100 150 200
Time (nsecl Time (/Jsec)
0.015 0.017
0.013 0.015
~0.011 ~0.013
" " IA
~ "
.€
Q.
~ 0.009
~ Q.
E 0.0'1
V
""
DC RESPONSE DC RESPONSE
0.007 0.009
0.005 0.007
0 50 100 150 200 0 50 100 150 200
Time (nsee) Time (nsec)
FIGURE 17. Comparison of Transient Response and FIGURE 18. Comparison of Transient Response and
DC Response of DAC Under Test. DC Response of Diode Network.
Numerous techniques ranging from oscilloscope mea- the application. The limitations of each measurement has
surements to a computerized digitizing system have been been shown so that the user can determine the proper
offered as solutions to the problem of measuring settling trade-off when assessing the degree of complexity
time. The measurements were described in a way to allow necessary to perform the desired measurement.
the user to determine which procedure is best suited for
STATIC AND DYNAMIC TESTING OF
DIGITAL-TO-ANALOG CONVERTERS
This Application Note describes both static and dynamic 12-bit DAC requires at least a 5-digit DVM. A typical
testing of digital-to-analog converters. 5-digit DV M has a scale factor error of ±0.005c( and a
linearity error of± I digit. Since the linearity of the DV M
is very critical. a trip to the calibration lab is recom-
mended to verify that the DVM is linear to within ±l
STATIC TESTING digit (± 100!' V) on the + 10V range. If tests are made with
the DAC operating in the bipolar mode be sure the DV M
A static test is a test that requires a much longertime than
has low symmetry error. that is. it reads the same for
the settling time of the DAC under test.
positive and negative input voltages. If the DVM is used
A testing time of greater than 100msec is typical because on the IOV and the I V range. the scale factor error of the
of the speed limitations of the digital voltmeter. the man- I V range must match the 10V range to within 100!'V. If
ual operation of taking data. or changing bit switches. the scale factors do not match all measurements should
The DAC under test will be in the unipolar mode (output be made on the 10V range only.
ranges from 0 to +IOV). however the same test could be Next. the test circuit can be considered. Special precau-
made in the bipolar mode (±IOV output): tion should be given to the wiring (see Figure I).
The following measurements will be performed:
I. Offset error
2. Full scale error (full scale error includes offset error)
3. Gain errror
4. Linearity error
Since static testing is a.slow operation. and for a 12-bit
DAC there are 4096 codes. a technique will be explored
to avoid testing all 2" digital codes.
.1~VIIC
to,
TESTS USING A DIGITAL VOLTMETER liAlI'1I.l }'>-O-~""'_""
When testing a DAC with a digital voltmeter (DVM) "'DC
+ISvtIC
particular care should be given to the linearity require-
OFFSHAOJ ::'~----
t·, /.
ments of the DVM in conjunction with the number of bits
the DAC uses. A good rule of thumb is that the DVM
\
15VDC
"
should be at least 10 times more accurate than the smal-
lest DAC error to be measured. which is usually the
linearity error specification of±l 2 LSB. Table I shows
the DVM requirements for accurate measuring within
± I 2 LSB linearity. connecting the DV M. the feedback resistor of the DAC.
and any load impedance so that voltage drops caused by
changing current in wiring resistance will not be mis-
interpreted as DAC errors. If a current output DAC is
DAC LSB DVM DVM
tested. add an external output operational amplifier. The
l'20lSB
RESOLUTION loV FSR REQUIREMENT RESOLUTION adjustment potentiometers can be switched out of the
8 BITS 390mV 19mV • DIGITS lmV
9 BITS 195mV 10mY 4 DIGITS lmV
circuit so that offset and full scale errors can be measured.
10 BITS 98mV OSmV 5 DIGITS QlmV
11 BITS 49mY o 24mV 5 DIGITS QlmV
12 BITS 24mV o 12mV 5 DIGITS OlmV Before measuring any errors of a DAC, sufficient warm-
13 BITS 122mV DOOmV 6 DIGITS OQlmV
14 BITS 061mV o 03mV 6 DIGITS OQlmV up time should be allowed. Many converters have an
15 BITS o 30mV 001SmV 6 DIGITS OQlmV
internal temperature rise of IO"C or greater. If the
temperature coefficient of the gain error is 20ppml"C and
Since the linearity error of a DAC will usually be less than the internal rise is 10°C, a change of200ppm or2.0mV on
its gain error. the linearity error of a DV M is more critical the + 1O.0V output will be experienced from the time
than its scale factor error. From Table I we see that a power is supplied until converter output has stabilized.
Since a 5-digit DVM can resolve 0.1 mV (lOppm), allow means that the converter has very little interaction (low
the temperature rise to reach 9.5"C so the DVM reading superposition errors). This means that the weight of any
will be stable. For instance. if the internal power dissipa- bit or combination of bits that are turned on is toally
tion of a converter is 500mW the warm-up time can be independent of the on off state of other bits.
from 5 to 15 minutes depending upon the type of
package. An epoxy or glass package has a longer warm- This symmetry which produces repeating error patterns
up time than a ceramic or metal package; therefore. to is true of all DAC's (provided superposition errors are
make accurate measurements. allow the converter to low). however superposition errors do not need to be
warm-up or use high speed automatic test equipment small for a eonverter to meet its linearity and differential
which can measure any error before full scale output linearity error specifieations. In fact. bit interaetion
changes by 10ppm. greater than I 10LSB is very likely to occur in a 16-. 15-.
or 14-bit DAC, and occurs in some 12-bit converters.
As mentioned previously. the plan is to devise a test that
eliminates the need to test all 2" digital codes. Table II When bit interaction is less than I 10LS B, it is possible to
shows a test plan to measure the offset, full-scale, and considerably shorten the tests of Table 11. To determine
gain errors. Also. the linearity and differential linearity the maximum linearity error.just do steps 3 and 5 to null
errors are measured at 15 evenly spaced points. namely the offset and gain errors and then test each individual bit
I 16. I 8,3 16 78. and 15 16 of the full scale as shown in steps 6 thru 13 and the second part of steps
output range. Taking data at these 15 points graphically 14.15, 17.and21. Nowtakethesum of the positive errors
illustrates the characteristics of converter errors as shown to get the maximum positive linearity error. Next. take
in Figure 2. The d~ta recorded in the .table was taken from the sum of the negative errors to get the maximum nega-
a model DAC85. A 6-digit DVM was used for extra tive linearity error. When we do this for the DAC85 data
resolution. in Table II. we get a maximum linearity error of +0.63mV
The full scale voltage in step 5 was increased to 10.23750V. for the 1000111110 II digital word and -0.69mV for one's
This gives an ideal bit weight starting atthe LSB equal to complement (011100000100) of this digital word.
2.5mV, 5.0mV. 10mV .... 2.560V and finally 5.12V for When superposition errors are small. the maximum dif-
the MSB. These numbers can be easily memorized and ferentiallinearity error (Dl.E) occurs at one of the digital
the error voltages can be quickly calculated by inspec- code carries of the individual 12 bits. Instead of measur-
iion. The full scale voltage can be boosted to I0.2375V by ing the differential linearity errors they can be computed.
increasing R, (with a resistor in series) or by increasing to save test time. from the individual bit errors (t). as
the reference voltage by 2.4('(. shown below.
12
The linearity error and the differential linearity errors for
the 15 evenly spaced output points are plotted in Figures
DLE1 = EI - fEi, ... , DLEI2 = E12. (I)
2a and 2b. Notice that the offset and gain errors have Now. what if superposition errors arc not small" Unfor-
been nulled to zero. tunately. there is no way to prediet the input code where
the maximum linearity error will occur. Therefore. it is
necessary to test many code combinations. such as the
tests shown in Table II. in order to approximate the worst
case error. Bit interaction can be caused in many ways
such as temperature gradients on a monolithic chip ca us-
ing the magnitude of a bit output to be a function of the
state of the other bit switches. A temperature gradient can
cause the feedback resistor to appear to be nonlinear over
theO to+IOVoutput range (see Figurc9a). Thisapparent
nonlinearity is due to variable power dissipation which
can produce a I"C to 2"C temperature gradient. This in
turn changes the absolute value of the feedback resistor
since it will have a temperature coefficient of between
50ppm and 300ppml"C for a thin-film material and over
1000ppm "c for a monolithic diffused resistor. Bit inter-
action can also be produced by varying voltage drops
caused by changing current levels when critical portions
of a circuit share the same metallization path such as on a
monolithic chip. in a wire bond, the resistance of a socket.
or the wiring resistance of a test circuit (see Figure I).
.,
2 Fl,lllSe.tle Error 111111111111 iiill 9fi76
3 Nl,lUOllsel Error ססoo ססoo ססoo •• •• •• 51 On. Ad/Al HP9825A
aa,.Error 111111111111
••••• 9 ge76 -7'
,
7 B,lll ססoo ססoo 0010 .00500 00050
• or 6·D1gil OVM
·.•... .-
-002 HP3490A.
, 81110 ססoo ססoo 0100 000998 00100 lower
••••• ." ..
BIIS ססoo 000 1 ססoo ••• 00
• Fluke8500A
,.
17 114 FSR Bit 2 Carry 001111111111 255719 25575 -03> ·.05 linearity
0100 ססoo ססoo 255974 25600 -029 FIGURE 3. Automatic DAC Test Circuit Using a
-0" -0" Computing Controller and a DVM.
5116FSA 010011111111
0101 ססoo ססoo
319735
3 19970
31915
32000 -030 '"
3!SFSA 010111111111 383130 38315 -020 -0 •• D,lIerenhat
" 0110 ססoo ססoo 3., ••• 3_ -0" combinations of a 12-bit DAC could take anywhere
20 7116FSR 011011111111 441691 44775 -053
-0 ••
-011 llnearlly from one minute to several minutes depending on
0111 ססoo ססoo 447936 • <600
21 lf2FSA. B,ll Carry 011111111111
1000 ססoo ססoo
511696
512049
51175
51200
-0"
"' .... +103 Errors the speed of the DVM. short-cut methods such as in
Table II may be required to increase the throughput
....
22 9f18FSR 1000 1111 1111 575814 51515 ." -0"
"
23 518FSR
1001 ססoo oboo
100111111111
, 70050
639811
57000
63915
"'."., -0" 15 Evenly
rate.
1010 ססOOססOO 1540014 "000 " -011
DYNAMIC D/A CONVERTER TESTING
11116fSR 101011111111 703716 70375 Spaced
" "29
" 314fSA
1011 ססoo ססoo
101111111111
1100 ססoo ססoo
104015
167715
76B029
7 •• 00
76715
76000
.""
"'''
•• 29
.... Cod.
Since a DVM has a slow conversion speed. the
circuits described in this section do not utilize a
2. 13116FSR 1100 11111111 631188 83115 "'38 -011 Cames
1101 ססoo ססoo 832027 83200 DV M. Most of the testers described will use a
"'''
" 1f8FSA 110111111111 895184
,....
89515 +034 ·041 reference DAC and an oscilloscope to display the
28 15i18fSA
1110 ססoo ססoo
111011111111
1111 ססoo ססoo ·,....
895993
959153 95915
.ססoo
+001
•• 03
-0 ••
-0 •• errors. Circuits to measure DAC output settling
time are also included.
Fast-Computing Controller
AUTOMATIC TESTING WITH A DVM Replacing the DV M of Figure 3 by the circuit of Figure 4
Figure 3 illustrates one method of automating the manu- permits a decrease in each conversion period to 100!-'sec
ally performed tests described in the previous section. A or less. The reference DAC should have a linearity error
computing controller directs the operation of both the specification of±O.OOIS'Jf (± I 2LSB for a IS-bit DAC).
DAC undertest and the DV M via the IEEE Standard 488 The reference DAC and the X I00 error amplifiers should
Interface Bus. The computing controller can calculate have a combined settling time of less than SO!-,sec. To
and remove the effects of offset and gain errors so that
adjustment potentiometers for the DAC are not required.
This test system is easy to program with the high-level
language of the computing controller. Of course. a
microcomputer implementation is also possible but the
high cost of developing assembly language software can
be a disadvantage.
"0'"1'"
on
D3 5011
to the error.
......~
COJIIVERSIOJf COMPLETE I
ONE
SHOT3 I
ONESHOT,---'------~
ERROROUT+r- ¥
Linearity error i. the deviation from the center line of the .cope. The vertical
sen.itlvlty I. 1/4lSB per divi.ion. The digilallnput to the MSB i•• hown to
indiclte Ihe midrange .nd full .cale binary count •.
(al DACwilh a nonlinm leedback resistor which caused each bit to appear to
hive positive error.
Ibl DAC wilh symmetrical error panern •.
DlFF UN
ERROR COMMENT
000111111110 ->-1.2775V
13 BIT 3 CARRIES 0001 1111 1111 -<>-1.2800
1/8 FSR 0010ססoo ססoo -<r-1.2825
0010ססoo 0001 -t
0011 1111 1110 ->-2.5575
14 BIT 2 CARRIES 0011 1111 1111 >-2.5600
1/4FSR 0100 ססoo ססoo ->-2.5625
0100 ססoo 0001 --;'
LINEARITY
0101 1111 1110 ~3.8375 AND
15 3/8 FSR 010111111111 >-3.8400 DIFFERENTIAL
011 0 ססoo ססoo >-3.8425 LINEARITY
0110ססoo0001 --;'
ERROR
01111111 1110
---l. AT
.-<-5.1175
16 BIT 1 CARRIES 011111111111 >-5.1200 7 EVE1'lLY
1/2 FSR 1000 ססoo ססoo ->-5.1225 SPACED
1000 ססoo 000 1 ---j CODE
100111111110 CARRIES
>-6.3975
17 5/8 FSR 1001 1111 1111 >-6.4000
10100000 ססoo >-6.4025
1010 ססoo 0001 ---j
101111111110 -'.>-7.6775
18 3/4 FSR 101111111111 ->-7.6800
II 00 ססoo ססoo >-;.6825
1100 ססoo 0001 --;'
--l,
110111111110
~8.9575
19 7/8 FSR 110111111111
I 11a ססoo 0000 ~8.9600
-->-8.9625
1110 0000 0001
266
the dynamic errors of the conversion process in addition code. If the maximum linearity error of the ADC is
to shifts caused by the linearity errors of the internal ±I /2LSB, the resultant output code will always be within
DAC. The full-scale voltage has been increased to ±I count. This test gives an indication of the quality of an
10.2375V by adding a series resistance (Figure 4) to the ADC, but is does not uncover some of the possible
input, which is 0.024 x R;o. This makes the ideal bit anomalies of the converter's transfer function. After
weights with I LSBequal t02.5mV, 5.0mV, IOmV ... 2.560V studying the examples in Figures 2 and 3, it should be
and finally 5.l2V for the MSB; also the transfer function apparent that a converter can pass a ± I count test and
has deliberately been shifted by + I /2LSB when the offset still exhibit the following anomalies: greater than
adjustment is performed in step 3. Now the ideal ±1/2LSB linearity error, missing codes, nonmonotoni-
transition voltages will occur at exactly the same voltage city, hysteresis, and noisy transitions. Examples of these
as the output voltages of an ideal 12-bit DAC. anomalies are given in the next section.
Notice in step 20f Table I that the gain is calculated,
DYNAMIC TRANSFER FUNCTION TESTER
instead of being measured, by substracting the offset
error from the full-scale error. In order to save space in The test circuit shown in Figure 5 can rapidly display an
Table I, part of the steps have been omitted and only 7 eight-eode segment of the transfer function of an ADC.
evenly spaced carry points are shown. In actual practice All of the tests of Table I that were done manually can
15, 31, or even 63 evenly spaced code carries should be now be quickly performed. In addition, much more
measured if the ADC being tested has excessive super- information is available concerning the quality of the
position errors. ADC under test than is provided by the tests of Table I.
For example, one can readily spot a noisy transition,
It should be apparent that testing an ADC manually will
alternati.ons between codes, hysteresis, missing codes,
be a very time-consuming process, perhaps by a factor of
and nonmonotonicity in addition to offset, gain, linearity,
10 over testing a DAC, due to the increased number of
and differential linearity errors. In other words, the
data points required and because the input voltage must
transfer function displayed on an oscilloscope provides
be slowly varied to find the transition voltages.
an almost totally complete picture of the characteristics
To speed up this manual adjustment process of finding of the ADC.
transition voltages, a servo loop can be used to auto-
The input voltage to the ADC in Figure 5 is a triangle
matically adjust the input voltage. Yet another scheme
waveform superimposed on a DC voltage from a reference
would employ, for example, a computer-eontrolled DAC
DAC. The rate of change of the triangle waveform is
to gradually increase the input voltage to the ADC under
small enough during each conversion period of the ADC
test by a fractional part of an LSB and note the input
so that a sample/hold circuit ahead of the ADC is not
voltage when a code transitio~ occurs.
required. The triangle waveform should be synchronized
Instead of measuring transition voltages, another test to the start convert command of the ADC to prevent any
method is sometimes used. The ideal center voltage of jitter in the scope display. A good figure is 1024
each step is applied to the input of the ADC and the conversions per cycle of the triangle waveform.
resultant output code is compared to the ideal output
This tester works on the principle that the lower order
bits have repeating binary code patterns as shown in
Figure 6 (a). Ifthe last two bits of an ADC are connected
to a 2-bit DAC, the output of the DAC will generate the
TO SCOPE
repeating four-level staircase waveform shown in Figure
HORI.
INPUT 6 (b). Unfortunately, all of the repeating staircase wave-
forms look alike so it is possible to confuse which
staircase represents the specific "code carry of interest."
An improvement is shown in Figure 6 (c) which serves to
identify the "code carry of interest." The MS B of a 3-bit
DAC is connected to the appropriate bit output line of
the ADC (bit' 2 for this example). The result as shown in
Figure 6 (c) is a shifted staircase with eight levels instead
of only four levels when bit 2 becomes true at 1/4 of full
scale (bit 2 also becomes true at 3/4 of full scale). The
open collector AND gates and the center-off DPDT bit
switches of Figure 5 are used to implement this shifting
feature which is activated when a bit switch corresponding
to a specific "code carry of interest" is placed in the
center-off position.
Before testing an ADC, the oscilloscope should be
calibrated so that the beam position (when the inputs are
shorted) is at the position shown by the dot in Figure 6 (d)
and both the vertical and horizontal gains are adjusted to
equal ILSB per division. With the scope calibrated, an
(hI
la) Eo
rOOll 1111 1111
MSB\
(BIT 2 BIT 12
I
:z 01 00 0000 10 00
::-- 01 00
c:I
0000 01 00 :"-
1/4 FSR 01110 0000 0000
:z 01 00 0000 01 10
c;; 01 00 0000 01 01
<
w 01 00 0000 01 00
a:
u
w
01 00 0000 00 11 Ie)
c 01 00 0000 00 10
01 00 0000 00 01 Eo
1/4 FSR- 0 1 00 0000 00 00 38IT
DAC
00 11 1111 11 11
:z 00 11 1111 11 10 I
::-
c:I
00 11 1111 11 01 I
I
} OFFSET
ADJUSTMENT
FIG U RE 6. Basis for the Dynamic Transfer Function Tester of Figure 5. (a) Repeating binary codes in the last two
bits of an ADC output code for an input dither voltage at 1/4 of the full-scale range voltage.
(b) Staircase waveform from a 2-bit DAC. (c) Shifted staircase waveform when the MSB of a 3-bit
DAC is connected to the appropriate output of the ADC. (d) Offset and full-scale adjustments prior to
examining the ADC transfer function.
ideal transfer function will be positioned on the graticule 3-bit DAC) is used to reconstruct the analog input signal.
lines of the oscilloscope as shown in Figure 7 (a). This DAC should be at least ten times more linear than
To measure linearity error, the end points of the transfer the ADC under test since an error amplifier is used to
function are adjusted with the offset and gain adjustment accurately create the difference between the input signal
potentiometers to the positions shown in Figure 6 (d). to the ADC and the output signal from the DAC. The
The transfer function at the "code carry of interest" is output of the error amplifier will be the sum of the
selected by the bit switches and the linearity error is converter's inherent ± I /2LSB quantizing error and its
measured as the deviation from the ideal transition linearity error (for example, see the error plots of Figures
voltages. Differential linearity error is thedeviation from 2 and 3). Differential linearity errors show up in an error
the ideal I LS B step size. To measure gain error, the gain plot as the deviation from an ideal J LSB change in the
adjustment potentiometer is removed by opening switch ramp portion of each sawtooth waveform. Any phase
S 14 and the deviation of the full-scale transition point shift between the input signal to the ADC and the delayed
from the ideal (Figure 6 (d)) is noted. In the same manner, output signal of the DAC will produce an additional
offset error is measured by removing the offset adjustment error term in the error plot, namely, an undesirable small-
with switch S13. amplitude sine wave. Therefore, the frequency of the
input signal must be low enough to minimize this
Several examples of I2-bit ADC transfer functions are
undesirable signal.
shown in Figure 7 to demonstrate the effects of hysteresis,
a missing code, noise, and alternations.
Figure 8 (a) shows the error plot of an 8-bit ADC near the
zero crossing of the input signal. The linearity and the
DYNAMIC ERROR PLOT differential linearity errors are very apparent. Figure 8 (b)
The test circuit shown in Figure 8 differs from the illustrates the error plot at the peak of the sine-wave
previous test circuits since a full n-bit DAC (instead of a input. Notice the reversal of the sawtooth waveform
when the slope of the input signal changes sign. TEST CIRCUIT FOR HIGH-SPEED CONVERTERS
Broad-band noise in the error output limits this test to Figure 9 shows a circuit for testing high-speed converters
8-bit converters. To test greatcr than 10 bits will require with typically less than IOllsec conversion times. These
high-pass filtering of the error signal and a reduction of high-speed converters will most likely use the successive
the frequency of the input signal. Now a storage scope or approximation or the parallel-type conversion schemes.
a strip chart recorder will be required to record the error A unique feature of this tester is the full dynamic exercise
plot. given the ADC under test by digitizing the input wave-
form at points which are slightly greater than 180 out of
0
J In I" In~
STA~UL:.JUL:JL
~
/"Z',N·
nl
, I
/I"N
FIGURE 7. ADC Transfer Function Characteristics for FIGURE 9. Test Circuit for a High-Speed ADC.
a 12-bit Converter. (a) Near-perfect transfer An example will best illustrate the maximum possible
function. (b) Hysteresis at the MSB code frequencies for the input and output waveforms. Consider
carry. Note the missing code 100... 000 for V;" a high-speed 12-bit ADC which has a conversion time
increasing, but when V" decreases the code is (including the sample/hold acquisition time) of Illsec.
not missing. (c) Near-perfect transfer func- The output DAC will be updated every 21lsec as the
tion except for the missing code 011. .. 111. latches are strobed at the completion of alternate conver-
(d) Noise and alternations (code reversals) sions. Since it is desirable to test all 4096 output codes,
near the transition voltages. the maximum output frequency will be 1/(4096 x 2llsec)
or 122Hz. The maximum input frequency, since two
samples per period are being takefl, will be 500kHz. If the
output signal is high-pass filtered, then the quality of the
output waveform, which is a measure of the combined
performance of the sample/hold and the ADC, can be
measured with a harmonic distortion analyzer or a
spectrum analyzer.
CONCLUSION
Several methods for testing A DC's and DAC's have been
presented along with some of the unique properties of
converters in an effort to broaden the perspective of the
converter user. Obviously, test methods for many other
converter parameters could have been included, but only
the more commonly required tests have been covered.
Using the ideas discussed in this paper, the reader should
be able to imp.lement a test system best suited to his
Il2lSB/DIVISIDN Il2lSB/DIVISIDN application.
Ib) Ie)
In instrumentation and process control, many physical are inherently sampling devices. They can handle cumu-
measurements-energy consumption, exposure to light, lative measurements with reasonable accuracy only by
mechanical work-dictate cumulative operations. Indi- making frequent conversions and subsequent mathe-
vidual readings must be summed or integrated either by matical summations-two software-intensive require-
numerical methods (using a microprocessor or computer) ments. Dual-slope converters integrate the input voltage
or by electronic integration. only for a portion of the conversion cycle, typically 30%
The attributes of voltage-to-frequency converters, partic- to 40%; thus they, too, may fall short in accuracy. Dual-
ularly charge-balancing devices, make them ideal can- slope devices that add an autozeroing cycle (so-called
didates for cumulative measurements. The converters quad-slope types) integrate the input voltage for an even
integrate an analog input by storing a charge in an smaller percentage of the total conversion time. A V IF
integrating capacitor (Figure I). When sufficient charge converter, however, provides that unique continuous
accumulates, a comparator trips, the charge drains from integration when coupled with a digital counter.
the capacitor during a reset period, and a one-shot The VFCIOO charge-balancing V I F converter, which
generates an output pulse. Using a digital counter to adapts well to cumulative measurements and also replaces
tally successive pulses moves the integration process several discrete logic and analog devices, conserves
from the analog to the digital domain. Although the engineering design time and troubleshooting efforts.
frequency output of a V/F converter is usually measured The transfer function of the device:
by counting its output for a fixed period of time, if the
counter is never reset, the resulting measurement is an fouT = V1N • £CLOCK
20
infinite or continuous integration. In such cases, the V IF
converter doubles as an analog-to-digital (AI D) con- makes circuit design straightforward by eliminating de-
verter. pendency on the critical one-shot capacitors, as required
in previous V I F designs. Moreover, the transfer function
provides an elegant means of multiplication. By making
tos-j
1-1/10
I- -1 the converter's clock frequency depend on some variable,
--I"L..J"L the chip's output is proportional to the product of the
input voltage and the variable. The chip's continuous
integration, combined with multiplication of two input
variables, comes in handy for measuring power con-
sumption and mechanical work. The design considera-
tions posed by cumulative measurements move to the
fore in a stationary bicycle-a fairly pedestrian appli-
Charge Sllance:
IR AVO = ItN
cation that nevertheless touches all facets of design. The
principles it illustrates can easily extend to more prosaic,
Fa • t08(1 mA) = ~::
if not more productive, pursuits.
facc V1N
The total energy expended (for example, watt-hours or
calories) is figured by integrating the product of rotational
FIGURE 1. Each output pulse of the VFCIOO voltage-la-frequency con-
speed and torque. That product is the power developed,
verter represents the receipt of a fixed quantity of charge at the integrator
input. The integrating op amp integrates the applied voltage with respect to and the time integral of power is work.
time. Counting the output pulses allows the integration to be carried out
indefinitely in the digital domain.
A HANDLE ON TORQUE
Because of continuous integration, V I F converters sport On the stationary bicycle, brake friction, combined with
distinct advantages over conventional AI D converters. the wheel's rotation, imposes a force on the brake
For instance, successive-approximation AI D converters assembly (Figure 2); a strain gauge measures the force by
sensing the opposing amount of force required to restrain A PRERECORDED MESSAGE
the brake. The torque equals the force divided by the Rotational velocity is sensed by a magnetic tape fastened
radius at which it is applied. to the circumference of the wheel and on which a steady
tone has been recorded. A magnetic head positioned
near the wheel senses a frequency that is proportional to
the wheel's speed. The signal, approximately 20mVp-p,
is applied to comparator AI to create logic-level pulses.
A small amount of hysteresis, supplied by resistors R.
and R8, rejects noise and prevents multiple triggering. To
further enhance the ability of comparator AI to trigger
on small signals without producing double pulses or
oscillations, R, and C, momentarily contribute additional
hysteresis after an output transition.
The analog and digital worlds meet at the VI F converter.
As with an AI D converter, the grounding procedures at
this critical interface ultimately determine the system's
accuracy. Special internal circuit techniques isolate digital
and analog signals to achieve a linearity typically 0.01%
at 100kHz (full scale). Since improper grounding can
compromise the internal signal isolation, analog and
Work = Force X Distance
digital ground lines should be separated near sensitive
= F X 2"' (Revolutions)
analog input circuitry.
= 2m J~F (k • RPM) dt
VIN of V/F Converter SPLITTING GROUND
If ~ Tachometer Frequency The meaning of "separate grounds" is often vague, since
Work = 2k"r JoF . (RPM) dt analog and digital grounds are rarely truly separate.
1
L Output Frequency of \ Most often, "separate" means that the analog and digital
, c= T~;al Digi~alc~unt ground buses join at only one point and only at a point
Scaling and Conversion Factors Handled in Software where interaction is minimal (Figure 3 again). In this
case, the two grounds separate at the connector of the
analog input and V I F circuit board.
FIGURE 2. Instruments on the stationary bicycle measure the work done.
The force required to restrain the brake assembly (which would otherwise The system's analog ground runs to the appropriate
be free to rotate with the wheel) is multiplied by the radius of the force, contact on the V I F converter and the associated power-
yielding the applied torque. The time integral of torque times speed is
mechanical work. I
supply bypassing capacitors. The analog ground line
continues to the common side of the bridge sensor, since
The strain gauge is composed of a thin-film resistor pair; the 5V V REF output that excites the bridge is set relative
mechanical stress causes one resistor's value to rise while to analog ground. The V I F converter's high-input-
the other's falls. The gauge teams with two fixed precision impedance ground reference connects directly to the
resistors to form a bridge (Figure 3). output ground references of the instrumentation ampli-
Gain drift is minimized by exciting the bridge from the fier. The arrangement avoids the ground-drop errors
V/F converter's internal5V reference. Any residual drift caused by varying currents in the instrumentation ampli-
on the reference voltage affects the converter's transfer fier's output reference pin or the voltage drops caused by
function and the bridge output in an equal and opposite bridge excitation current.
manner, reducing conversion drift to about IOppm/°C. Digital ground lines pair up closely with lines carrying
Resistor RI supplies approximately 7mA of the IOmA an opposing return current. For instance, the output of
for the bridge; the 5V reference output supplies the the VF converter, FOUT, runs parallel to the digital
remaining 3mA. Any initial imbalance in the bridge ground return line. Fast-changing digital currents flowing
dominates all other voltage offsets in the system and in this loop are thus denied a large antenna that might
must be adjusted-here, with Rs. radiate interference. Similarly, the rpm sensing circuitry
With the brake exerting a full-scale force of 20 Ib on the and its output are given a separate ground return line to
strain gauge, the bridge puts out a mere 5mV and thus avoid radiation. The clock coming from AI serves as the
needs amplification. A precision instrumentation ampli- input to the VF chip and does not require a similar
fier also rejects the bridge's 2.5V common-mode output return current path, since its input impedance is very
voltage. Furthermore, its internal tracking resistors pre- high and the currents are very low.
serve gain accuracy. Since the gain is pin-programmed The chip's transfer function produces accurate multipli-
for 1000, a full-scale bridge output yields a 5V input to cation-provided the integrator amplifier operates in a
the VI F converter-a figure well within the device's 10V linear fashion. If the integrator's output voltage swing is
maximum linear input, yet with room to spare for too large and saturates, accuracy drops. With a constant
overrange force peaks. clock frequency (as is the case in most applications), the
Analog
and
V/F Board Out
CK
CO
Gate
Out
CK ___ Microprocessor
C1 DO-07 Data Bus
Gate
AD
Out WR
CK Ao
C2
A,
Gate
CS
-Trigger
Port
+'2V
(Disables
One-Shot)
FIGURE 3. The output from the comparator, which reads the rotational speed of the wheel, serves as the clock input to the VI F converter. The strain gauge
output, fed through an instrumentation amplifier, is then applied to the V/F converter. Counter outputs are applied to a microprocessor to produce-under
program control-the power, torque, and rpm developed.
integrator voltage swing remains nearly constant over select signal and two bits from address decoding logic. A
the full input range of 0 to IOV. In this multiplying BASIC program reads the counters and processes a
circuit, however, it varies inversely with changes in the conversion (Figure -4). Since the counters are not reset,
clock frequency. any reading of them yields the cumulative work done to
The limit for accurate multiplication is set by the lowest that point in time. Those readings update a bar-graph
expected clock frequency, since the largest integrator display on the computer. In order to keep that display
voltage swing arises at that frequency. As a result, the updated at uniform time intervals, the BASIC program,
integrating capacitor must be large enough to keep the which is dedicated to that task alone, takes readings
integrator amplifier's output swing linear. The special every second. The processor, however, which in other
applications may be busy with supervisory functions, is
design of the high-speed integrator op amp limits its
not required to poll the counters regularly. All readings
output swing to approximately 0 to Vs - 2V.
of the counters will show the cumulative result at that
The integrator voltage swing centers on the 5V offset
time.
voltage applied to the noninverting comparator input,
leaving a positive or negative integration range of 5V. TEMPORARY ASSIGNMENT
The maximum integration time equals the time required The 16-bit counters are read in a two-byte sequence (lines
for the reference reset current (ImA) to charge the 80 and 90) that assigns separate temporary variables to
integrating capacitor to 5V: each byte for conversion into a single 16-bit number. Since
T = (lJ.lFflmA) • 5V = 5ms the 8253 is a down counter, the sense of the count is
Thus for accurate multiplication, the clock frequency reversed before further processing, and the counters are
from the rpm sensor must be greater than (5msf', or never reset to zero, as would be done with frequency
200Hz. counting.
Usually, there is a value of the crank rotation speed At the end of their 16-bit maximum count, CTo and CT,
below which accurate multiplication is not required. In roll over and continue counting. A rollover occurs
this instance, a 200Hz clock frequency corresponds to a approximately every 26 revolutions of the wheel for CTo
very slow crank rotation of 5rpm. Even though chances and is detected in software by comparing consecutive
are that no significant time would be spent at or below counter readings. When detected, 65,535 is added to the
that rate, it is important that designers should keep in appropriate count variable (lines 120 and 130). The
mind the type of errors that occur in passing through this rotation counter must be read at least every 26 revolutions
region. to avoid missing multiple rollovers of the counter, with
the maximum count limited only by software.
The limited integrator voltage range causes the V IF
converter to behave as if a minimum, 200Hz clock
OTHER USES FOR CUMULATIVE
frequency were present. Therefore any positive offset
MULTIPLICATION
evident at the input to the V I F converter when no force
is being applied to the strain gauge is multiplied by a The instrumentation shown is an example of a general
constant 5rpm. That offset error can be reduced by using class of cumulative measurements which require the
a larger value for the integrating capacitor, together with multiplication of two variables. The heat transfer measure-
accurate trimming of the bridge offset voltage. A small ment in Figure 5a shows another situation requiring
negative offset, set with R" ensures that no output pulses multiplication of two variables. The heat transfer rate of
are generated at zero torque and zero rpm. a thermal system can be measured by multiplying the
mass flow rate by the input-output temperature differ-
The accurcy of the total conversion, including multi-
ential. Cumulative heat transfer is determined by count-
plication, depends on the highest clock frequency entering
ing the output pulses of the V I F converter.
the converter. Second-order effects cause the transfer-
function gain to change slightly as clock frequency Figure 5b shows another example requiring the multiplica-
varies, producing small errors in the multiplication. For tion of rate and torque to determine mechanical work of
clock frequencies below 100kHz, gain typically varies less a DC motor. Torque is measured by sensing the current
than 0.1 %, leading to very accurate multiplication when in the motor (torque is directly proportional to the
compared to transconductance-type multipliers. current in a DC motor). Torque and speed are multiplied
A 16-bit counter-timer, actually an 8253 microprocessor in the V I F converter and cumulative output pulses
peripheral, digitally counts the device's output. Its three indicate total mechanical work.
internal counters serve separate purposes: CTo counts When two input variables are expressed as a voltage, it
pulses from the rotation sensor's comparator, A,; CT, may be more convenient to perform multiplication in an
counts the V I F converter's output pulses. Finally, CT, analog multiplier such as the model MPY634. It is
counts the microprocessor clock frequency for a timer, possible, however, to convert the second variable to a
enabling the updated information to be displayed at one- frequency with a second V I F converter (Figure 5c). The
second intervals. The cumulative counts gathered by CTo unique attributes of the V I F conversion and counting
and CT\ represent revolutions and work, respectively. scheme may provide advantages in some systems.
The 8253 counter-timer peripheral chip ties directly to a
Z80 data bus, and its 110 ports are addressed by a chip-
1i ' ERG.BAS z-8i MBASIC -- COUNTER CONTROL PROGRAM 9-23-85
3i GOSUB 48i 'INIT. 8253 PERIPHERIAL AND VARIABLES
4i GOSUB 74i 'INIT. SCREEN FOR BAR DISPLAYS
5i GOTO 7i ' SKIP TIMEOUT FIRST TIME THRU
6i WAIT C2,128,i 'WAIT FOR 1 SEC TIMEOUT IN C2
7i Z\-INP(TPl ' TRIGGER 1 SEC TIMER WITH DUMMY PORT READ
8i LBi-INP(Cil: UBi-INP(Cil 'READ Ci LOWER BYTE, UPPER BYTE
9i LB1-INP(C1l: UB1-INP(C1) 'READ C1 LOWER BYTE, UPPER BYTE
1ii Ki-HI-256·UBi-LBi 'CONVERT COUNTER i DATA TO DECIMAL UP COUNT
11i K1-HI-256.UB1-LB1 'CONVERT COUNTER 1 DATA TO DECIMAL UP COUNT
12i IF Ki1>Ki THEN Ki1-Ki1-HI CHECK FOR ROLLOVER: SUBTRACT 64K
13i IF K11>K1 THEN K11-K11-HI CHECK FOR ROLLOVER: SUBTRACT 64K
14~ KiT-KiT+Ki-Ki1 ADD TO RUNNING REVOLUTION TOTAL
15i K1T-K1T+K1-K11 ADD TO RUNNING WORK TOTAL
16i IF J<>i THEN 18i 'TEST FOR FIRST TIME THRU
17i KiT-i: K1T-i 'ZERO TOTALS ON FIRST PASS
18i J-J+1 ' INCREMENT SECOND COUNTER
2ii REVS-INT(KiT/251i) CALC. TOTAL REVOLUTIONS
21i RPM-6i.(Ki-Ki1)/251i' CALC. CURRENT RPM
24i GOSUB 65i GO DRAW RPM BAR GRAPH DISPLAY
26i Ki1-Ki ' SAVE COUNTER VALUE FOR OVERFLOW TEST
28i WRK-.iii217.K1T CALC. CUMULATIVE WORK
29i PWR-36ii••iii217.(K1-K11l CALC. POWER FROM DELTA WORK
32i GOSUB 65i GO DRAW BAR GRAPH OF POWER
34i TORQ-9.55.PWR/RPM 'CALC TORQUE FROM POWER AND RPM
37i GOSUB 65i GO DRAW TORQUE BAR GRAPH
39i K11-K1 SAVE COUNTER VALUE FOR ROLLOVER TEST
47i GOTO 6i •••••• END OF MAIN LOOP ••••••
48i' SET UP AND INITIALIZE 8253 COUNTER PERIPHERAL
49i Ci-&032i: C1-&0321 : C2-&0322 : TP-&033i : HI-655351
5ii OUT &0323,146 'SET COUNTER 2, LO BYTE, MODE 1, BINARY
51i OUT C2,i ' LOWER BYTE
52i OUT &0323,162 'SET COUNTER 2, HI BYTE, MODE 1, BINARY
53i OUT C2,8i ' UPPER BYTE 8i·256-2i48i
54i OUT &0323,48 ' SET COUNTER i, SEQ R/W, MODE i, BINARY
55i OUT Ci,255 : OUT Ci,255 ' MUST A LOAD COUNTER
56i OUT &0323,112 'SET COUNTER 1, SEQ R/W, MODE i, BINARY
57i OUT C1,255 : OUT C1,255 ' MUST A LOAD COUNTER
58i RETURN ' END COUNTER SET UP AND INITIALIZATION
~2
---vl~F",speed
DC ~- Ifc
Servomotor
VOLTAGE-TO-FREQUENCY CONVERTERS
OFFER USEFUL OPTIONS IN AID CONVERSION
Voltage-to-frequency converters (VFCs) provide unique converter, conversion speed of a VFC system can be
characteristics when used as analog-to-digital (AI D) optimized by using efficient counting techniques.
converters. Their excellent accuracy, linearity, and inte- The frequency counting scheme shown in Figure I is the
grating input characteristics often provide performance most commonly used technique for converting the out-
attributes unattainable with other converter types. By put of a VFC to a numerical quantity. A gate time is
using efficient frequency counting techniques, familiar created by dividing a reference frequency down to a suit-
speed I accuracy trade-offs can be averted. able period, T. The output pulses of the VFC are simply
Since an analog quantity represented as a frequency is accumulated during the time the gate signal is high. If T
inherently a serial data stream, it is easily handled in is equal to one second, for instance, the output count M
large multichannel systems. Frequency information can is equal to the VFC frequency. Other gate periods (often
be transmitted over long lines with excellent noise oj seconds, 10 seconds ... etc.) are conveniently scaled
immunity using low cost digital line transmitters and by a decimal point shift or a simple multiplying factor.
receivers. Voltage isolation can be accomplished with The reset circuitry which must be used to clear the
low cost optical couplers or transformers without loss in counter before the next gate period occurs is not shown
accuracy. Many channels of frequency data can be effi- in this simplified diagram.
ciently steered to one counter circuit using simple digital Since the gate period is not synchronized to the VFC
gating, avoiding expensive analog multiplexing circuitry. output pulses, there is a potential counting inaccuracy of
Like a dual-slope AID converter, the VFC possesses a plus or minus one count on M. This is easily seen by
true integrating input. While a successive approximation imagining a sliding window of width T along the VFC
AID converter takes a "snapshot" in time, making it output waveform. Counting the rising edges which are
susceptible to noise peaks, the VFC's input is constantly seen in that period, you can see how, depending on the
integrating, smoothing the effects of noise or varying VFC frequency, a ± one count error can occur.
input signals. When system requirements suggest the The resolution which can be achieved by this method is
VFC as an appropriate choice, a frequency measurement related to the gate period, T, times the full-scale fre-
technique must also be chosen which meets the conver- quency of the VFC. This is equal to the number of
sion speed requirements. While it is clearly not a "fast" counts, M, at full scale. Many applications require rela-
M=3
1= M ± 1
T
1_ 3 ± 1
-10
"
tively fast conversions (short gate periods) with high with the offsetting and scaling that often must be per-
resolution. This can only be accomplished by the use of a formed.
high full-scale frequency. This is an effective solution in An example of AI D system design is shown in Figure 3.
many cases, but since VFC linearity degrades at high It uses a VFC320 to convert a 0 to JOV input into a 2kHz
operating frequency, this often limits the available accu- to 10kHz output by offsetting the VFC input with a
racy. reference voltage. The JOV reference sets a constant
The ratiometric counting technique shown in Figure 2 input current through R3 + R4 which is added to the
(sometimes called reciprocal counting) eliminates this signal input current through Rl + R2. Since the syn-
tradeoff. By counting N counts of a high speed clock chronized gate awaits complete cycles of the VFC to
which occur during an exact integer M counts of the achieve an exact count, a very-low VFC frequency
VFC, an accurate ratio of the unknown VFC frequency would cause the synchronized gate period to be exces-
to the reference (f,) is determined. sively long. The offset at the VFC input allows 2kHz
This is accomplished by using a D flip-flop clocked with (corresponding to OV input) to be counted during the
the VFC output. A new, synchronized gate period is desired conversion time.
created which is an exact number of VFC pulses in dura- All counter functions are provided by a type 8254
tion. In contrast to the standard counting approach counter I timer peripheral component which interfaces to
which has a plus or minus one count error on M, the many popular microprocessor systems. It contains three
synchronized gate precisely counts an integer number of 16-bit counters which can be programmed for a variety
VFC pulses. During the same synchronized gate period, of functions. Counter C2 provides the timing necessary
high speed clock pulses are counted. Since these high to generate the gate signal "G". A rising logic edge at the
speed clock pulses are not synchronized with the gate, Convert input initiates the conversion cycle. This causes
this count has a plus or minus one count error. High FFI to latch "high". Counter C2 is programmed and
resolution is achieved by making the reference oscillator loaded to count 50,000 clock pulses (3MHz clock), then
a high frequency so the N count is a large number. The reset FFI. This creates a 16.66ms (1/60s) gate period
one count error can then be made to have a small effect at "G".
on the result. FF2 synchronizes the gate signal "G" to an integer
The additional resolution of this counting technique number of VFC pulses, creating the synchronized gate
means that for a given conversion speed, the VFC can "SG". Counter CO tallies the exact number (M) of VFC
now be operated at a low frequency where its linearity pulses, while CI simultaneously counts N high speed
and temperature drift are excellent. Again, reset and clock pulses.
control circuitry have not been shown to clearly illus- Conversion to a digital result is completed by reading the
trate the fundamentals of the technique. contents of counters CO and Cl by the microprocessor.
The resulting two counts (M and N) are divided to The VFC frequency is computed in software as the ratio
achieve the result of an individual conversion. This can of M and N times the clock frequency. The proper choice
be done in a host processor or microcontroller along of counter modes programmed in the setup of the 8254
FIGU RE 2. The ratiometric counting scheme in this simplified diagram synchronizes a gate period to the unknown input frequency from the VFC. The synchronized gate
is then used to count the high frequency reference. The ratio of the exact count of M VFC pulses and the reference count, N, provide a more accurate measure of the
unknown frequency.
peripheral allows counters CO and CI to be automatically
reset at the initiation of the next conversion cycle. The
Convert command can be created by hardware timing or
Frequency response of an
other peripheral hardware can be used to initiate the integrating AID converter.
conversion process with software control. in -10 =
~ Integrating period T.
gj
VFC is equal to the counting period, an interfering sig- a::
nal can be rejected by counting for one period (or an g -30
integer number of periods) of the interfering signal. Line 9l
frequency noise (60Hz) can thus be rejected by counting ! -40
Counterrrimer
Peripheral
8254
VIN = 1.25·
(10 - 2kHz)
10 = M/N • 3MHz
To 1/0 Port
Decoding
Circuitry
~~F
c,
T 3300pF
.• Silver Mica
+15V
Convert
Vo"
VIN = OV VIN= 10V
10 2kHz 10kHz
M =33 =167
N = 50.000 = 50,000
VFC32D And VFC62 Performonee
Approximate Achievable
Frequency Full Scale Linearity (%) Resolution [bits] Conversion Time Comments
STANDARD COUNTING
10kHz 0.005 14 1.64sec Accurate but slow.
100kHz 0.03 11 20.48msec Fair accuracy and speed.
lMHz O.~ 9 512psec Fast, not too accurate.
RATIOMETRIC COUNTING
10kHz 0.005 14 20m see Fast and accurate.
NORTH AMERICAN SALES DIRECTORY
For Component Products
BURR-BROWN OFFICES AND SALES REPRESENTATIVES