TechOnline India Header
Most Popular
Top 5 Courses
  • Fundamentals of PCB Design
  • Paralleling DC-DC Converters
  • Fundamentals of x86 Architecture
  • Analog Devices' SHARC 32-Bit DSP
  • Analog eLab - Improved INA Input Filter
    Most Popular
    Top 5 Technical Papers
  • ARM Platform Technical Overview
  • Using C++ Efficiently in Embedded Applications
  • Top 10 Drivers for Embedded Android
    Most Popular
    Top 5 Webinars
  • Designing embedded HMIs and connecting them to hardware
  • 2009 Embedded Market Study
    All Articles Products Courses Papers VirtuaLabs Webinars
    Top Search Items
    C


    Techpaper Spotlight

    Wind River
    Accelerating the Development of Embedded Linux Devices with JTAG On-Chip Debugging
    /
        Login | Register | Welcome, Guest

    Topics
    POLL
    How much code have you produced in your career?
    A few KLOC
        38%
    100s of KLOC
        44%
    Millions of LOC
        11%
    A trillion
        7%
     



    SIGNAL CHAIN BASICS #38: Single-Supply Precision Rectifiers
    Understand how a "simple" circuit can provide near-ideal performance for this essential function, used for absolute value and metering applications (among many others)
    Planet Analog
    (Editor's note: click here for a complete, linked list of all previous installments of the Signal Chain Basics series.)

    Precision rectifier circuits are commonly used where the absolute value of a signal is needed, as part of a circuit measuring signal magnitude in metering applications. Countless designs exist for these types of circuits, but realizing this function in a single-supply system can be challenging.

    Many recent designs rely on the saturation behavior of a single-supply operational amplifier (op amp) to realize the rectification. In many cases, this is acceptable, but if you want to avoid saturating an op amp and the inherent concerns with that (slow recovery time, potential undesired phase inversion), the circuit in Figure 1 is a good solution.


    Figure 1: Single-supply precision rectifier.
    (Click on image to enlarge)

    The circuit of Figure 1 accepts negative signals (up to the supply rail of the device; 5 V in this example). With a +5 V supply, this circuit will accept up to a 10 Vp-p signal centered on zero volts (i.e ±5 V).

    For positive signals (Vin > 0 V), U1 acts as a summer amplifier and U2 and D1 are out of the picture. For negative signals (Vin<0 V) D1 and U2 form a ground clamp and hold the non-inverting input of U1 at 0 V. U1 now acts only as an inverting amplifier. The result is a full wave rectified sine wave at Vout, as shown in Figure 2.


    Figure 2: SPICE simulation of circuit of Figure 1.
    (Click on image to enlarge)

    For this circuit to operate properly, the op amp outputs must swing to the negative power supply rail on input and output without phase inversion.

    The same circuit can be used for input signals that don't swing below ground, but are referenced to Vcc/2 by simply changing the reference point (the non-inverting input) of U2 to the mid-supply reference, as shown in Figure 3.


    Figure 3: Changing the reference voltage on U2 changes the rectifier's input range.
    (Click on image to enlarge)

    Figure 4 shows the operation of the Figure 3 circuit. In Figure 4, the top trace (Vin) is shown referenced to the mid-supply voltage, so it appears to be bipolar–the trace labeled Vin_ref is the actual input voltage referred to ground, which clearly remains above ground at all times.


    Figure 4: SPICE simulation of circuit of Figure 3.
    (Click on image to enlarge)

    The circuits of Figures 1 and 3 both work up to the voltage swing limitations of the op amps selected. Rail-to-rail input and output op amps, which allow operation typically within a few tens of millivolts of the supply rails, will give the best results in this application.

    Please join us next month when we will discuss Class G audio amplifier architecture.

    References
    Jones, D. and Stitt, M., "Precision Absolute Value Circuits," Texas Instruments, SBOA68, December 1997.

    About the Author

    Rick Downs is applications engineering manager for Texas Instruments' Precision Analog group, Tucson, Arizona. Over the past 23 years, Rick has held various positions in applications and marketing of analog semiconductors focused on audio, data acquisition, digital temperature sensors and battery management products. Rick received his BSEE from the University of Arizona, and holds four patents. He has authored several articles and application notes on analog topics, and prepared and delivered several seminars on data acquisition. You can send your questions to Rick at scb@list.ti.com.

    1
     
     
    Latest Webinars
    · The Next Generation of Ethernet: How the New IEEE Standards Enable Energy Efficiency and Quality-of-Service
    · Simplified Physical Layer Receiver Test of Re-timed Architectures Such as USB 3.0, SATA, SAS, PCIe 2
    · How to solve the most common high-speed bus issues in embedded design on a budget
    · Early access to ARM Core Technology with Fast Models from ARM
    · Latest MIPI Standards: PHY and Protocol Testing Guidance
     
    Member Company Spotlight
    Amphenol TCS
     

    Accelerate Your Backplane Design—DesignLink is the source for backplane design with exclusive on-line interactive electrical and mechanical design tools. Download valuable technical information, symbols, footprints, drawings, SPICE models and more. Click here to request access today.


    Member Companies