7 yo i rs | ANALOG N-304 DEVICES APPLICATION NOTE ONE TECHNOLOGY WAY e P.O. BOX 9106 NORWOOD, MASSACHUSETTS 02062-9106 617/329-4700 One-Chip Slide Rule Works with Logs, Antilogs for Real-Time Processing by Lew Counts, Charles Kitchin and Steve Sherman An analog computer IC multiplies and divides signals, takes powers, and also roots. A log-antilog section raises dynamic range during division. n analog divider circuit seems to promise Bers for nothing. Just divide any num- ber by zero and the result is infinity. But in theory, if numbers approaching zero are in the de- nominator, the divider must achieve infinite gain, and its input offset error must be smaller than the in- put signal. In practice, analog divider chips fail to achieve even the modest 100-to-1 dynamic range vital toa | wide-range circuit. A viable device calls for gains greater than 40 dB and input offset voltages under 100 nV. But all is not lost. The AD538 multifunction ICs | 1000-to-1 dynamic range surpasses the 50-to-1 limit of earlier one-chip dividers. Noise is held to only 25 uVreferenced to the inputover a 1000-Hz bandwidth, with its offset voltages under 100 V. A truly versatile analog computer on a chip, the _ 588 tackles one-quadrant multiplication and one- _ and two-quadrant division. It also calculates powers and roots of ratios. Like all analog computers, it runs ' in real time, making it the chip of choice when linear- izing signals from transducers. Reprinted from ELECTRONIC DESIGN May 2, 1985 Its basic transfer function: Vout = Vy (V2/Vx) makes the circuit simple to configure for a particular function. All that need be done is to connect specific pins andin some casesadd one or two external resistors. Depending on the application, one, several, or all sections of the chip can be called into play. The analog IC basically consists of an accurate 10-V/2-V reference and five precision op amps, all - with offset voltages that are laser-trimmed to under 100 nV (Fig. 1). But the chip is more than the sum of its parts. It is designed as a complete analog comput- er whose system performance is specified for both voltage and current inputs. Its low input and output offset voltages, excellent linearity, and modest noise levels all contribute to its wide dynamic range guaranteed from 1 mV to 10 V (80 dB). The users free access to the summing junctions of four of the chips op amps gives it much of its versa- tility. External input resistors can change the pre- trimmed offset or scaling voltages and allow multi- ple signals to be summed at each input terminal. The ICs power supply ranges from +4 to +18 V, letting COMPUTATIONAL PRODUCTS 6-3it run from standard split +15-V supplies, as well as from +12-V andeven +5-V units. The 2-V reference is particularly useful for driving the chip from +5-V sources. The op amps form three of the devices four major function blocks. The log ratio amplifier section har- nesses three of them; the log and antilog section, one; and the output current-to-voltage stage, the last. A logging operation The V, and Vx inputs connect directly to the log- ratio section. This block furnishes an output voltage proportional to the difference between the natural logarithms, Ln, of the input voltages Vz and Vx (Ln V,, ~Ln Vx). The transfer function between these in- puts and the sections output pin (B) is given by _ kT Vout = Ln q 1. The transfer function of the AD538 one-chip analog computer is Vour = Vy where k is Boltzmanns constant, T is the absolute Kelvin temperature, and q is the unit charge (1.60219 xX 107C). The log ratio section may be used on its own (to compress the ratio of two signals) by temperature- compensating and scaling its output. To do so, its out- put (B) is joined to the summing junction of the out- put amplifier (I;,,) through two external resistors. A 60-01% metal-film device is hooked in series with a 1-kQ temperature-compensating resistor with a tem- perature coefficient of +3500 ppm/C. For most applications, however, the log ratio sec- tion is linked to the input of the antilog section (pin Vy). That converts the signal from the logarithmic into the linear domain, according to the transfer function: Vout = Vy lve vt) where Vc is the voltage at pin C. This section, like the " Current- to-voltage a. output stage Antilog ciroult O>9 circuit (V,/V,) when M is between /s and 5. The flexibility of the transfer function allows the chip, which works in real time, to replace a microcomputer as well as several data converters. 6-4 COMPUTATIONAL PRODUCTS| DESIGN ENTRY Analog computer chip _ log ratio block, may be used alone in order to expand a signal. Combining the transfer functions of both sections by tying together the B and C outputs results in the equation: ( Tt x a x Ln Ve ) Vout = Vy e 4 kT Vx when Vz = Ve. This expression reduces to the multiplier-divider transfer function: V Vout = Wy ' Raising Vz/Vx to the Mth power with an external resistor results in the analog computer chips overall transfer function: Vout = Vy (V2/Vx) where 45