Comparator Provides Adjustable Hysteresis Window

June 24, 2011
A potentiometer across its window reference diodes allows this comparator to offer precise hysteresis adjustability .

Fig 1. The traditional window comparator with a single op amp has interactions between the output and the reference voltage that creates uncertainty in its hysteresis window width.

Fig 2. Adding a voltage follower between the reference and comparator reduces uncertainty while the diodes provide a stable reference defining the hysteresis window.

Fig 3. A potentiometer across the window reference diodes allows this comparator to offer precision and adjustability to its hysteresis window.

There are many instances in measurement and automation when it is necessary to use a comparator that has a certain hysteresis, i.e., a window comparator. A well-known window comparator circuit uses a single op amp and has a hysteresis window that depends on R3 and the reference voltage’s input resistance, RIn (Fig. 1). The value of RIn is:

The hysteresis arises because the voltage seen at the op amp’s positive input varies with the op amp’s output voltage VOut. When VOut is at logic high (near the supply voltage) the positive input sees:

When VOut is at logic low (near ground if the supply is unipolar or near the negative supply voltage), the op amp’s positive input sees:

Adding together these two voltages gives the hysteresis window width ?V as:

One problem with this circuit, however, is uncertainty in ?V that arises because the interaction between VOut and VRef depends on the voltage divider’s input impedance.

To avoid this uncertainty, use a second op amp as a voltage follower to buffer the voltage divider from the comparator output and use two diodes to set the hysteresis window width (Fig. 2). The voltage drop across the diodes will remain the same regardless of the output voltage, making the hysteresis independent of both VOut and RIn. The value of VRef sets the center of the hysteresis window, and the window width will be:

A modification of this circuit adds an opportunity to adjust the window width within the range the diodes provide (Fig. 3). You can also replace diodes Q1 and Q2 with a Zener diode to further stabilize the hysteresis window.

\\[Editor’s note: Using a single Zener will yield an asymmetric window because the reverse breakdown voltage is typically much larger than the forward voltage. Using two Zeners back to back will again yield a symmetric hysteresis window, with a much larger difference between the voltage trip points than simple diodes provide.\\]

One major restriction to keep in mind: the maximum hysteresis voltage obtainable using these methods will always be less than VOut.

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!