Absolute-Value Meter With Polarity Detector

Not rated 29,865

Circuit Image

This circuit decomposes an input voltage signal into two components: (1) the absolute value and (2) the polarity or sign (+ or -). It is capable of handling direct input voltages as well as alternating voltages up to several kHz. With a supply voltage of ±9 V, the input level should remain below ±6 V. The circuit comprises two sections, each serving its own function. Operational amplifiers IC1a and IC1b form a full-wave rectifier, with the output terminal providing the absolute value of the input signal, while operational amplifiers IC1c and IC1d analyze the polarity of the input voltage. For negative input voltages, the output of IC1a becomes high, causing D2 to be reverse-biased, which prevents IC1a from affecting the rest of the circuit. IC1b then operates as an inverter with an amplification factor of (R5/R3) or 1, resulting in a positive output voltage. For positive input voltages, D2 conducts, and the amplification of IC1a is -1. The output voltage is determined by the sum of currents flowing through R3 and R4. Considering the polarities and values of all resistors, the overall amplification ensures that the output voltage at the terminal matches the input voltage but maintains a positive polarity. The rectification accuracy relies on the precision of resistors R1-R4, with close-tolerance (1%) types recommended. At low input voltages (less than 20 mV), the input offset voltage of the operational amplifiers may introduce significant errors. In such cases, individual operational amplifiers should be used instead of an array of four (e.g., TL061, TLC271, AD548), as they feature pins for offset voltage compensation. Alternatively, an operational amplifier with a low offset voltage, such as the OP07, may be utilized. In the polarity detection section, IC1c functions as a comparator with a degree of positive feedback from R7 and R8. This feedback introduces a hysteresis of 20 mV, preventing oscillation during slow input voltage changes. IC1d serves as a standard inverter. For input voltages exceeding 10 mV, the SIGN output terminal approaches the positive supply. Conversely, when the input voltage falls below 10 mV, the SIGN terminal drops close to the negative supply voltage. For input voltages within these thresholds, the output voltage remains stable at its previous level. This circuit complements the ± voltage bargraph display circuit discussed elsewhere. The |Uin| and SIGN outputs can be directly connected to the Uin and CONTROL IN inputs of the bi-directional bar display. The ±6 V sign indicator signal can be employed as the control voltage for the ± voltage display, provided the reference voltage remains below 3 V. Although presented as a pair, both circuits can be used independently for various applications.

This circuit effectively serves as a versatile tool for signal processing, enabling accurate representation of both the magnitude and polarity of an input voltage. The full-wave rectifier configuration implemented with operational amplifiers IC1a and IC1b ensures that the absolute value of the input signal is consistently provided, regardless of the input's polarity. The design is robust enough to handle a range of input voltages while maintaining output integrity, making it suitable for various applications in signal conditioning and measurement systems.

The choice of operational amplifiers and resistors is critical to the performance of the circuit. Using high-precision resistors (1% tolerance) for R1-R4 minimizes the potential for error in the rectification process. In scenarios where low input voltages are expected, selecting operational amplifiers with low offset voltage characteristics is essential to maintain accuracy. The feedback mechanism in the polarity detection section, facilitated by R7 and R8, introduces hysteresis, which is particularly beneficial in applications where the input signal may fluctuate slowly, ensuring stable output and preventing unintended switching.

The integration of the output signals |Uin| and SIGN into a bi-directional bar display system allows for clear visualization of both the magnitude and sign of the input voltage. This functionality makes the circuit particularly useful in instrumentation and control systems where real-time monitoring of voltage levels is required. The ability to operate both circuits independently or in tandem enhances the circuit's versatility, allowing it to adapt to various electronic applications seamlessly.This circuit breaks an input voltage signal down into its components: (1) the absolute value and (2) the polarity or sign` (+ or ). It will handle direct input voltages as well as alternating voltages up to several kHz. With a supply voltage of ±9 V, the input level should remain below ±6V. The circuit consists of two sections, each having it s own function. Operational amplifiers IC1a and IC1b form a full-wave rectifier, its output terminal supplying the absolute value of the input signal, while operational amplifiers IC1c and IC1d examine the polarity of the input voltage. For negative input voltages, the output of IC1a goes high. Consequently D2 is reverse-biased so that IC1a has no effect on the rest of the circuit. IC1b then acts as an inverter because its amplification is ( R5/R3) or 1. Thus, the output voltage is positive. For positive input voltages, D2 conducts and the amplification of IC1a is -1. The output voltage is then determined by the sum of currents that flow through R3 and R4. Taking into account the polarities and the value of all resistors, the overall amplification becomes This means that the value of the output voltage at the output terminal is the same as the input voltage, but the polarity is always positive.

The accuracy of the rectification process is determined by the accuracy of resistors R1-R4; close-tolerance (1%) types are recommended. At low input voltages (smaller than 20 mV), the input offset voltage of the operational amplifiers may introduce significant errors.

If this is the case, use individual operational amplifiers instead of an array of four (TL061, TLC271, AD548, . ), because they have pins for offset voltage compensation. Alternatively, use an operational amplifier with a low offset voltage like the OP07. In the polarity detector IC1c acts as a comparator, with a certain amount of positive feedback due to R7 and R8.

This feedback causes a hysteresis of 20mV that prevents oscillation when the input voltage changes slowly. IC1d is an ordinary inverter. For input voltages above 10mV, the SIGN output terminal will swing to almost the positive supply. When the input voltage is below 10mV, the SIGN terminal drops low, almost to the negative supply voltage.

For input voltages between these two thresholds, the output voltage is well defined, too, because it stays at its previous level. This circuit is the perfect complement to the +/ voltage on bargraph display` circuit discussed elsewhere in this blog.

The |Uin| and SIGN outputs of the present circuit may be directly connected to Uin and CONTROL IN inputs of the bi-directional bar display. The ±6 V sign indicator signal may be used as the control voltage for the +/ voltage display as long as the reference voltage remains smaller than 3 V.

Although presented as a pair, both circuits may of course be used individually for other purposes. 🔗 External reference