• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Analog IC Tips

Analog IC Design, Products, Tools Layout

  • Products
    • Amplifiers
    • Clocks & Timing
    • Data Converters
    • EMI/RFI
    • Interface & Isolation
    • MEMS & Sensors
  • Applications
    • Audio
    • Automotive/Transportation
    • Industrial
    • IoT
    • Medical
    • Telecommunications
    • Wireless
  • Learn
    • eBooks / Tech Tips
    • FAQs
    • EE Learning Center
    • EE Training Days
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Design Guide Library
    • Digital Issues
    • Engineering Diversity & Inclusion
    • LEAP Awards
    • Podcasts
    • White Papers
    • DesignFast
  • Video
    • EE Videos
    • Teardown Videos
  • EE Forums
    • EDABoard.com
    • Electro-Tech-Online.com
  • Engineering Training Days
  • Advertise
  • Subscribe

Analog computation, Part 2: When and how

January 21, 2019 By Bill Schweber

Analog circuits based on op amps can be used to implement mathematical functions and are still useful in many applications due to their unique attributes.

Part 1 of this FAQ looked at the basic need for and virtues of analog-based computational circuits. Part 2 looks at some implementation specifics and considerations.

Q: What are the basic analog building blocks needed?

A: The two key analog building blocks are the operational amplifier (op amp) and the analog multiplier. The analog multiplier is a clever arrangement of transistors (now in an IC, of course), with a function which is simple to define: the signal at the output is the product of the two input signals, moderated by a scale factor which may be fixed user selectable (Figure 1). The multiplier can be used to square a signal by feeding the same signal to both inputs, but also much more.

Analog computation
Fig 1: The analog multiplier is a basic building block for analog computation, and is comprised of an arrangement of transistors and other components (all in IC form) configured to provide the desired function while overcoming or canceling some unavoidable sources of error and nonlinearity. (Image source: Analog Devices)

Q: What are some examples of these computation circuits?

A: A summing circuit is the next basic element (Figure 2). It is based on the standard op amp.

Fig 2: Another basic function is the summer or adder, which is easily built by using an op amp and input resistors; some adders can only handle positive input voltages, while others can also accept negative ones as well. (Image source: University of Rhode Island)

Q: Are there others?

A: There are many! The logarithmic amplifier (log amp) is another valuable analog function, as determining the log of a signal is very calculation intensive (unless a specialized processor core is used) and not practical for high-speed signals or low-level RF, since the log function is needed to adjust the front-end gain of the weak input. There are several ways to build a log function; one of the most common approaches begins with a diode or transistor collector-emitter in the feedback loop path (Figure 3), (but there is much more needed to make a truly viable log amp).

Fig 3: The inherent logarithmic relationship between the current and voltage of a diode (or transistor) junction in an op amp’s feedback loop, is leveraged to build the core of a log amplifier. (Image source: Analog Devices)

Q: What about other basic functions?

A: Division and square roots are accomplished with a multiplier and an op amp, with fairly simple topologies (Figure 4):

Fig 4: Arranging a multiplier and an op amp in various ways produces circuits which a) analog division and b) analog square root functions. (Image source: Analog Devices)

Q: Can more complicated functions be arranged?

A: Yes, these functions can be cascaded for polynomial series expansion of as many degrees as desired, (Figure 5).

Analog computation
Fig 5: Multiple analog functions can be used to “solve” polynomial equations of unlimited degree, in theory, in principle; in practice, internal errors may accumulate to an unacceptable level, but the level of acceptable error is dependent on the application specifics. (Image source: Analog Devices)

Q: Anything else?

A: Other arrangements provide the integration and derivative functions by using a capacitor in different placements around an op amp, and using a diode and capacitor to build a peak detector (again, along with an op amp). The latter function is especially useful and is often embedded deep within in an RF-front end IC, as it is impractical to build a peak detector for RF signals with standard hardware and microprocessor. Doing so would require an RF preamplifier, superfast A/D, and a short but fast-repeating “comparison loop” in software. That’s a very costly, power-hungry, and resource-hogging approach which can instead be accomplished with a few analog components

Q: Can I just build my own analog computation circuits using inexpensive op amps and other basic, passive components?

A: You could in principle do so, but performance would be “marginal” at best. The reality is that the concept is sound and fully proven, but an analog computation block with acceptable performance has many subtleties in hardware execution. There are issues of drift, imbalance, linearity, saturation, stability, dynamic range, offsets, and many more.

For this reason, the best course is to buy an IC which incorporates the complete functional block, often with some user-settable parameters such as gain. Designers of these ICs can take advantage of IC process technology considerations which combining discrete components cannot do, such as using matched resistors with nearly identical drift, or current sources with nearly identical characteristics, to achieve outstanding performance. There are many other subtleties and “tricks” they use as well as fabrication and trim steps that they can employ.

The complete part comes with the datasheet, of course, which fully characterizes the block across many parameters and conditions, and so defines performance over all relevant conditions. An example is the Analog Devices AD834 (Figure 6), a monolithic, laser-trimmed four-quadrant analog multiplier (both inputs can range positive and negative) intended for use in high-frequency applications, with a bandwidth of 500 MHz; the typical total full-scale error is 0.5%.

Fig 6: The AD834 is a high-performance analog multiplier with guaranteed performance to 500 MHz and fully specified with respect to various classes of error. (Image source: Analog Devices)

Even though digital computation is the dominant approach used now for calculation — and with excellent reason — there are many “smaller” situations where an analog computation function is a technically viable, attractive solution to the application requirements. For that reason, good designers look at the system requirements and don’t automatically assume they need to go digital, for some installations.

References

  1. EE World, “Why Use a Nonlinear Amplifier?”
  2. International Slide Rule Museum
  3. The Analog Computer Museum
  4. The George A. Philbrick Researches Archive
  5. K2-W Operational Amplifier Data Sheet and Applications
  6. Robert Paz, “Analog Computing Technique”
  7. Quora, “What are the advantages analog computers have over digital ones?”
  8. The Computer Museum, “Analog Computers”
  9. Analog Devices, “Op Amp Applications”
  10. Analog Devices, “Multiplier Application Guide”
  11. Analog Devices, “Analog Multipliers MT-079 Tutorial”
  12. University of Rhode Island, “Operational Amplifier as A Black Box”
  13. Analog Devices, “Nonlinear Circuits Handbook”
  14. Analog Devices, “Amplifier Applications Guide”, Section 9, Section 10

Filed Under: FAQ, Featured Tagged With: analogdevicesinc, basics, FAQ

Primary Sidebar

Featured Contributions

Design a circuit for ultra-low power sensor applications

Active baluns bridge the microwave and digital worlds

Managing design complexity and global collaboration with IP-centric design

PCB design best practices for ECAD/MCAD collaboration

Open RAN networks pass the time

More Featured Contributions

EE TECH TOOLBOX

“ee
Tech Toolbox: Internet of Things
Explore practical strategies for minimizing attack surfaces, managing memory efficiently, and securing firmware. Download now to ensure your IoT implementations remain secure, efficient, and future-ready.

EE LEARNING CENTER

EE Learning Center
“analog
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

EE ENGINEERING TRAINING DAYS

engineering

RSS Current EDABoard.com discussions

  • Elektronik devre
  • 12VAC to 12VDC 5A on 250ft 12AWG
  • SPI speed pic18f66j15
  • Antiparallel Schottky Diodes VDI-Load Pull
  • Power handling in RF waveguide components

RSS Current Electro-Tech-Online.com Discussions

  • How to repair this plug in connector where wires came loose
  • how to work on pcbs that are thick
  • compatible eth ports for laptop
  • Actin group needed for effective PCB software tutorials
  • Kawai KDP 80 Electronic Piano Dead
“bills

Design Fast

Component Selection Made Simple.

Try it Today
design fast globle

Footer

Analog IC Tips

EE WORLD ONLINE NETWORK

  • 5G Technology World
  • EE World Online
  • Engineers Garage
  • Battery Power Tips
  • Connector Tips
  • DesignFast
  • EDA Board Forums
  • Electro Tech Online Forums
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips

ANALOG IC TIPS

  • Subscribe to our newsletter
  • Advertise with us
  • Contact us
  • About us

Copyright © 2025 · WTWH Media LLC and its licensors. All rights reserved.
The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media.

Privacy Policy