Generate Absolute Value Of Difference

June 24, 1993
With this circuit, you can generate an output proportional to the absolute value of the difference between two input voltages, V1 and V2 (see the

With this circuit, you can generate an output proportional to the absolute value of the difference between two input voltages, V1 and V2 (see the figure).

The circuit handles input signals over the voltage range of 0 to +5 V, and operates from a single 5-V power supply. Its output voltage is equal to 4.994 × |V − V2|.

The circuit uses three-fourths of an LM660, as an inverting stage (the leftmost U1), a rectifier (the middle U1), and an output stage to provide gain and level shifting.

The approximate output current is Io = | V1 − V2 |/R1; the approximate output voltage is calculated from Vo= 2.5 (1 – RF/RB) + (Io × RF).

Sponsored Recommendations

What are the Important Considerations when Assessing Cobot Safety?

April 16, 2024
A review of the requirements of ISO/TS 15066 and how they fit in with ISO 10218-1 and 10218-2 a consideration the complexities of collaboration.

Wire & Cable Cutting Digi-Spool® Service

April 16, 2024
Explore DigiKey’s Digi-Spool® professional cutting service for efficient and precise wire and cable management. Custom-cut to your exact specifications for a variety of cable ...

DigiKey Factory Tomorrow Season 3: Sustainable Manufacturing

April 16, 2024
Industry 4.0 is helping manufacturers develop and integrate technologies such as AI, edge computing and connectivity for the factories of tomorrow. Learn more at DigiKey today...

Connectivity – The Backbone of Sustainable Automation

April 16, 2024
Advanced interfaces for signals, data, and electrical power are essential. They help save resources and costs when networking production equipment.

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!