WO2008024704A2 - Hysteresis comparator with programmable hysteresis width - Google Patents
Hysteresis comparator with programmable hysteresis width Download PDFInfo
- Publication number
- WO2008024704A2 WO2008024704A2 PCT/US2007/076297 US2007076297W WO2008024704A2 WO 2008024704 A2 WO2008024704 A2 WO 2008024704A2 US 2007076297 W US2007076297 W US 2007076297W WO 2008024704 A2 WO2008024704 A2 WO 2008024704A2
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- comparator
- variable resistor
- hysteresis
- voltage
- operable
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K3/00—Circuits for generating electric pulses; Monostable, bistable or multistable circuits
- H03K3/02—Generators characterised by the type of circuit or by the means used for producing pulses
- H03K3/027—Generators characterised by the type of circuit or by the means used for producing pulses by the use of logic circuits, with internal or external positive feedback
- H03K3/037—Bistable circuits
- H03K3/0377—Bistables with hysteresis, e.g. Schmitt trigger
Definitions
- the present disclosure relates generally to implementing a comparator, and more particularly to a system and a method for implementing digitally programmable hysteresis in a comparator.
- comparators are used in numerous applications within microprocessors, microcontrollers, integrated circuits and other electronic components and circuits.
- comparators are used in various phases of signal generation and transmission, as well as in automatic control and measurement. Comparators appear both alone and as part of more complex circuits and devices, such as analog-to-digital converters, switching regulators, function generators, voltage-to-frequency converters, power-supply supervisors, uninterruptible power supplies, switch mode power supplies, level detectors, window detectors, pulse- width modulators, Schmitt triggers, motors and a variety of others.
- a symbol for an ideal voltage comparator 10 is depicted in FIGURE 1.
- Voltage comparator 10 may be used as a stand-alone circuit or may used within a microprocessor, microcontroller, integrated circuit or any other suitable electronic component or circuit.
- the function of a comparator is to compare the voltage Vp at one of its inputs (positive input 6) against the voltage v n at the other (negative input 8), and output either a low voltage V OL or a high voltage V OL to output 4 according to:
- VTC voltage transfer curve
- the voltage at positive input 6 is supplied by voltage source 12 with a voltage Of V 1 and the voltage at negative input 8 is supplied by a voltage source 13 with a voltage of VREF-
- comparators may also be used as level or threshold detectors. Level detection can be applied to any parameter that can be expressed in terms of a voltage via a suitable transducer.
- a comparator can be used not only to monitor a parameter, but also to control it.
- a comparator may be used as part a temperature controller, or thermostat.
- a user may set a desired temperature.
- Control circuitry within the thermostat may transduce a voltage (for example, a voltage VREF) corresponding to the desired temperature onto negative input 8 of voltage comparator 10.
- a temperature sensor may transduce a voltage (for example, a voltage vi) corresponding to the ambient temperature onto positive input 6 of voltage comparator 10.
- comparators such as analog-to-digital converters, switching regulators, function generators, voltage-to-frequency converters, power- supply supervisors, window detectors, pulse-width modulators, Schmitt triggers, and a variety of others.
- V OL voltage-to-frequency converters
- V 1 V REF -
- comparators tend to produce multiple output transitions, or bounces, as the input crosses the threshold region.
- comparator chatter Known as “comparator chatter,” these bounces may often be caused by numerous factors, including AC noise invariably superimposed on the input signal, especially in industrial environments.
- An example of comparator chatter is shown in sample waveforms for V 1 and vo shown in FIGURE 5a. As V 1 momentarily falls below and then momentarily rises above V REF , V O quickly spikes from V OH to V OL , then back to V OH again. Comparator chatter is unacceptable in a number of applications, including those involving counters.
- the existence of only one threshold voltage for both the rising and falling transitions of vo may lead to excessive and unnecessary cycling of pumps, furnaces, air conditioners or motors.
- the comparator will activate the air conditioner and cause temperatures to fall. This fall is monitored by the temperature sensor and conveyed to the comparator in the form of an decreasing voltage.
- the comparator will trip and shut off the air conditioner.
- the smallest temperature rise following the shutting off of the air conditioner will cause the comparator to trip and turn on the air conditioner.
- the air conditioner will be cycled on and off at a rapid pace, which may adversely affect the longevity of components within the air conditioner due to the continuous cycling.
- FIGURE 3 depicts an example hysteresis comparator circuit 11 utilizing hysteresis in connection with voltage comparator 10.
- Hysteresis comparator circuit 11 may be used as a stand-alone circuit or may used within a microprocessor, microcontroller, integrated circuit or any other suitable electronic component or circuit.
- FIGURE 4 depicts a VTC for hysteresis comparator circuit 11.
- output 4 has two stable states, and hence the circuit has two possible values for the threshold voltage of input voltage V 1 , namely:
- the threshold is V TH
- V TL the threshold
- the hysteresis width for a particular hysteresis comparator circuit can be set by selecting appropriate component values for the bias resistors, such as resistor 16 (R A ) and resistor 18 (R B )- In the depicted embodiment, increasing the ratio R A /R B increases the hysteresis width while decreasing the ratio R A /R B decreases the hysteresis width.
- Analogous methods may be used to set the hysteresis width in other implementations of hysteresis comparator circuits, hi many cases, it is desirable to provide a mechanism to vary the resistances of bias resistors within a hysteresis comparator circuit — in other words, a mechanism to "program" hysteresis width — thus allowing greater control over hysteresis width.
- Such programmability would allow a user the ability to fine tune to the hysteresis width of a comparator in accordance with the particular application employed by the comparator or in accordance with the nature of the environment in which the comparator is to be used (e.g., a noisy or a noise-free environment).
- conventional methods and systems do not provide efficient means to digitally program the hysteresis width of a comparator.
- a system for implementing digitally programmable hysteresis in a comparator includes a digitally programmable variable resistor wherein modification of the resistance of the variable resistor is operable to modify the hysteresis width of the comparator.
- a digitally programmable hysteresis comparator includes a digitally programmable variable resistor.
- One or more control bits are operable to modify the resistance of the variable resistor, and such modification is operable to modify the hysteresis width of the comparator.
- an integrated circuit includes a digitally programmable hysteresis comparator.
- the digitally programmable hysteresis comparator includes a digitally programmable variable resistor.
- One or more control bits are operable to modify the resistance of the variable resistor, and such modification is operable to modify the hysteresis width of the comparator.
- a system for implementing digitally programmable hysteresis in a comparator includes a digitally programmable variable resistor.
- One or more control bits are operable to modify the resistance of the variable resistor, and such modification is operable to modify the hysteresis width of the comparator.
- a method for implementing digitally programmable hysteresis in a comparator includes providing a digitally programmable variable resistor. The method further includes manipulating one or more control bits, such manipulation being operable to modify the resistance of the variable resistor, and such modification being operable to modify the hysteresis width of the comparator.
- FIGURE 1 illustrates an ideal voltage comparator, as is known in the art
- FIGURE 2 illustrates a voltage transfer curve (VTC) for the ideal voltage comparator depicted in FIGURE 1 ;
- FIGURE 3 illustrates a hysteresis comparator circuit, as is known in the art
- FIGURE 4 illustrates a VTC for the hysteresis comparator circuit depicted in
- FIGURE 3
- FIGURE 5 a illustrates sample waveforms for the input voltage and output voltage versus time for the ideal voltage comparator depicted in FIGURE 1 ;
- FIGURE 5b illustrates sample waveforms for the input voltage and output voltage versus time for the hysteresis comparator circuit depicted in FIGURE 3;
- FIGURE 6 illustrates an embodiment of a digitally programmable hysteresis comparator circuit, in accordance with teachings of the present disclosure
- FIGURE 7 illustrates an embodiment of a digitally programmable variable resistor used in implementing a digitally programmable hysteresis comparator circuit, in accordance with teachings of the present disclosure
- FIGURE 8 illustrates a truth table setting forth the values of resistance for the digitally programmable variable resistor depicted in FIGURE 7 based on different input values, in accordance with teachings of the present disclosure.
- comparators may include any circuit component or device capable of comparing at least one signal or value received at an input, such as a voltage, against one or more other signal or value received at one or more other inputs, such as a voltage, and output one or more discrete signals or values, such as a voltage, based on the relative strengths, intensities, amplitudes or values of the input signals. Comparators may be used in various phases of signal generation and transmission, as well as in automatic control and measurement to implement any number of applications within microprocessors, microcontrollers, integrated circuits and other electronic components and circuits.
- Comparators are used alone or as part of larger systems, such as analog-to-digital converters, switching regulators, function generators, voltage-to-frequency converters, power-supply supervisors, level detectors, window detectors, pulse-width modulators, Schmitt triggers, and a variety of others.
- FIGURE 6 illustrates a digitally programmable hysteresis comparator circuit
- comparator circuit 22 may include any number of suitable circuit designs, layouts, or topologies for implementing a hysteresis comparator circuit.
- comparator circuit 22 may include ideal voltage comparator 10, with ideal inputs 6 and 8 and output 4, similar to the ideal voltage comparator depicted in FIGURE 1.
- comparator circuit 22 may include voltage source 12, which supplies a voltage V 1 , and voltage source 13, which supplies a voltage V REF -
- voltage sources 12 and 13 may be any voltage signals suitable for being input to a comparator circuit.
- Either or both of voltage sources 12 and 13 may be an electrical signal transduced by a temperature sensor, pressure sensor, strain sensor, position sensor, fluidic level sensor, light or sound intensity sensor, or other suitable sensor. In some embodiments, either or both of voltage sources 12 and 13 may correspond to a control signal, such as desired temperature for a thermostat, or some other critical or threshold measure in a level- detection circuit. In some embodiments, voltage sources 12 and 13 may be analog signals that are to be converted to a digital signal by one or more comparator circuits analogous to comparator circuit 22.
- Comparator circuit 22 may also include one or more biasing elements used to establish the hysteresis width of comparator circuit 22, such as resistor 18 with fixed resistance R B and digitally programmable variable resistor 30 with variable resistance Rv AR- Although FIGURE 6 depicts that resistor 30 has a variable resistance and resistor 18 has a fixed resistance, it is understood that other topologies may be employed. For example, in some embodiments, comparator circuit 22 may be modified such that the locations of resistor 18 and resistor 30 are swapped. In other embodiments, both of resistor 18 and resistor 30 may be digitally programmable variable resistors.
- comparator circuit 22 is depicted as comprising resistor 18 and digitally programmable variable resistor 30 as its only biasing elements, it is understood that comparator circuit 22 may include any number of fixed or variable biasing elements, including without limitation, resistors, capacitors, inductors, diodes, transistors, or any other passive or active circuit components.
- the hysteresis width of comparator circuit 22 may be expressed as:
- V T represents the hysteresis width
- V OH represents the maximum output voltage of comparator circuit 22
- V OL represents the minimum output voltage of comparator circuit 22.
- FIGURE 7 illustrates an embodiment of a digitally programmable variable resistor 30 used for implementing digitally programmable hysteresis comparator circuit 22.
- variable resistor 30 may include any number of suitable circuit designs, layouts, or topologies for implementing a variable resistor similar or analogous to that set forth in this disclosure.
- variable resistor includes terminals 31 and 32.
- Variable resistor 30 as depicted also includes an enable bit 33, allowing the user to selectively enable variable resistor 30.
- Variable resistor 30 as shown further includes one or more control bits, such as control bits 34, 35, and 36 representing BITO, BITl and BIT2 of a digital control signal 37, respectively, as shown in the depicted embodiment.
- Variable resistor 30 also includes one or more resistors 51-58 with resistance values Of R 1 , R 2 , R 3 , R 4 , R 5 , R 6 , R 7 and R 8 , respectively, and switches 40-48 operable to enable or disable variable resistor 30 or to enable or disable individual resistors 51- 58.
- Switches 40-48 may be any circuit component capable of making or breaking an electrical circuit, or for selecting between multiple circuits.
- variable resistor 30 may include a first set of series resistors 51-54, and a second set of series resistors 55-58 in parallel with the first set.
- One of the control bits 37 may enable the first set of series resistors and disable the second set of series resistors, or vice versa. A remainder of the control bits 37 may then control selective bypassing of one or more of the resistors in the enabled set of series resistors.
- truth table 80 sets forth the values of resistance R VAR between terminals 31 and 32 of digitally programmable variable resistor 30 based on whether the variable resistor has been enabled via enable bit 33 and the input values of the digital control signal represented by BITO, BITl and BIT2 on control bits 34, 35 and 36.
- control signals such as control signals BITO, BITl, and BIT2 may be used to control the resistance R VAR , thus allowing the user to control hysteresis width.
- control signals BITO, BITl, and BIT2 may be used to control the resistance R VAR , thus allowing the user to control hysteresis width.
- the user may selectively manipulate BITO, BITl, and BIT2 to set the resistance R VAR to a desired value.
- variable resistor 30 is depicted as utilizing three control bits operable to select among eight values for resistance R VAR when enabled, it is understood that variable resistor may comprise any number N of control bits used to select any number 2 N of values for resistance R VAR - Accordingly, although variable resistor 30 is depicted as utilizing nine switches and eight resistors, it is understood that variable resistor 30 may comprise an appropriate number of switches and resistors suitable to implement variable resistor 30 with N control bits and 2 N possible values of resistance.
- a comparator with digitally programmable hysteresis may be useful for many purposes.
- digitally programmable hysteresis comparator may be useful to allow a user to fine tune hysteresis width appropriately to the particular application for which the comparator is used.
- a user may fine tune hysteresis width to an appropriate level based on the electrical noise present in a circuit.
Landscapes
- Manipulation Of Pulses (AREA)
Abstract
A digitally programmable hysteresis comparator a includes digitally programmable variable resistor. One or more control bits are operable to modify the resistance of the variable resistor, and such modification is operable to modify the hysteresis width of the comparator.
Description
HYSTERESIS COMPARATOR WITH PROGRAMMABLE HYSTERESIS WIDTH
TECHNICAL FIELD
The present disclosure relates generally to implementing a comparator, and more particularly to a system and a method for implementing digitally programmable hysteresis in a comparator.
BACKGROUND
It is common to use voltage comparators (or simply "comparators") in numerous applications within microprocessors, microcontrollers, integrated circuits and other electronic components and circuits. For example, comparators are used in various phases of signal generation and transmission, as well as in automatic control and measurement. Comparators appear both alone and as part of more complex circuits and devices, such as analog-to-digital converters, switching regulators, function generators, voltage-to-frequency converters, power-supply supervisors, uninterruptible power supplies, switch mode power supplies, level detectors, window detectors, pulse- width modulators, Schmitt triggers, motors and a variety of others. A symbol for an ideal voltage comparator 10, as is known in the art, is depicted in FIGURE 1. Voltage comparator 10 may be used as a stand-alone circuit or may used within a microprocessor, microcontroller, integrated circuit or any other suitable electronic component or circuit. The function of a comparator is to compare the voltage Vp at one of its inputs (positive input 6) against the voltage vn at the other (negative input 8), and output either a low voltage VOL or a high voltage VOL to output 4 according to:
Vo - VOL for Vp < VN
Vo = VOH for Vp > VN
Introducing a differential input voltage VD = Vp - v», the above equations may alternatively be expressed as vθ = VOL for vD < 0 V, and vθ = VOH for vD > 0 V.
The voltage transfer curve (VTC) for ideal voltage comparator 10 is depicted in FIGURE 2. For non-zero values of Vo, the VTC consists of two horizontal lines positioned at vo = VOL and vo = VOH-
In FIGURE 1, the voltage at positive input 6 is supplied by voltage source 12 with a voltage Of V1 and the voltage at negative input 8 is supplied by a voltage source 13 with a voltage of VREF- The voltage at which V1 = VREF is known as the threshold voltage. It should be evident that in the embodiment shown in FIGURE 1, Vp = V1 and VN = VREF- Hence, for values of V1 < VREF, VO = VOL, and for values of V1 > VREF, VO = VOL. In addition to the other applications for comparators cited in this application, comparators may also be used as level or threshold detectors. Level detection can be applied to any parameter that can be expressed in terms of a voltage via a suitable transducer. Typical examples are temperature, pressure, strain, position, fiuidic level, and light or sound intensity. Moreover, a comparator can be used not only to monitor a parameter, but also to control it. For example, a comparator may be used as part a temperature controller, or thermostat. In one embodiment of a thermostat, a user may set a desired temperature. Control circuitry within the thermostat may transduce a voltage (for example, a voltage VREF) corresponding to the desired temperature onto negative input 8 of voltage comparator 10. Likewise, a temperature sensor may transduce a voltage (for example, a voltage vi) corresponding to the ambient temperature onto positive input 6 of voltage comparator 10. Furthermore, a cooling apparatus such as an air conditioner (or, alternatively, a heating apparatus such as a heater) may be coupled to output 4, with vo = VOL signaling that the air conditioner shall be "off," and vo = VOH signaling that the air conditioner shall be "on." The example thermostat operates as follows. As long as the ambient temperature is below the desired temperature, VREF > V1, VN > vp and vo = VOL, and the air conditioner remains off. If, however, the ambient temperature rises above the desired temperature, then VREF > V1, VN > Vp and vo = VOH, and the thermostat turns the air conditioner on. One skilled in the art would recognize that analogous techniques may be used to implement other level detectors and controllers such as pressure, strain, position, fiuidic level, and light or sound intensity controllers, as well
as other applications using comparators, such as analog-to-digital converters, switching regulators, function generators, voltage-to-frequency converters, power- supply supervisors, window detectors, pulse-width modulators, Schmitt triggers, and a variety of others. In many applications, it is not desirable not to have an output voltage vo transition from VOL to VOH and from VOH to VOL at the same threshold voltage V1 = VREF- For example, when processing slowly varying input signals, comparators tend to produce multiple output transitions, or bounces, as the input crosses the threshold region. Known as "comparator chatter," these bounces may often be caused by numerous factors, including AC noise invariably superimposed on the input signal, especially in industrial environments. An example of comparator chatter is shown in sample waveforms for V1 and vo shown in FIGURE 5a. As V1 momentarily falls below and then momentarily rises above VREF, VO quickly spikes from VOH to VOL, then back to VOH again. Comparator chatter is unacceptable in a number of applications, including those involving counters.
In other applications, the existence of only one threshold voltage for both the rising and falling transitions of vo may lead to excessive and unnecessary cycling of pumps, furnaces, air conditioners or motors. Consider, for instance, the thermostat discussed above. Starting with ambient temperatures above the desired temperature, the comparator will activate the air conditioner and cause temperatures to fall. This fall is monitored by the temperature sensor and conveyed to the comparator in the form of an decreasing voltage. As soon as the ambient temperature reaches the desired temperature, the comparator will trip and shut off the air conditioner. However, the smallest temperature rise following the shutting off of the air conditioner will cause the comparator to trip and turn on the air conditioner. As a result, the air conditioner will be cycled on and off at a rapid pace, which may adversely affect the longevity of components within the air conditioner due to the continuous cycling.
One method used to eliminate comparator chatter and the problem of frequent cycling in comparator circuits is hysteresis. With hysteresis, as soon as V1 crosses a threshold, VQ transitions and the hysteresis circuit activates another threshold, such
that V1 must swing back to the new threshold in order to cause vo to transition again. FIGURE 3 depicts an example hysteresis comparator circuit 11 utilizing hysteresis in connection with voltage comparator 10. Hysteresis comparator circuit 11 may be used as a stand-alone circuit or may used within a microprocessor, microcontroller, integrated circuit or any other suitable electronic component or circuit. Those skilled in the art would appreciate that many other circuit configurations analogous to that depicted in FIGURE 3 may be used to utilize hysteresis. A discussion of the circuit behavior of hysteresis comparator circuit 11 may be better understood with reference to FIGURE 4, which depicts a VTC for hysteresis comparator circuit 11. As those skilled in the art would appreciate, output 4 has two stable states, and hence the circuit has two possible values for the threshold voltage of input voltage V1, namely:
For V1 « 0, vo saturates at vo = VOH- Increasing V1 moves the operating point along the lower segment of the VTC until V1 reaches VTH- At this junction, the regenerative action of positive feedback causes vo to snap from VOL to VOH- This in turn causes the threshold V1 needed to switch vo from VOH to VOL to drop to VTL- Hence, if the output is to change state again, V1 must be lowered back down to V1 = VχL. Hence, we observe that when coming from the left, the threshold is VTH, and when coming from the right, it is VTL- This can also be appreciated from the waveforms of FIGURE 5b, where it is seen that during the times of increasing V1 the output snaps when V1 crosses VTH, but during times of decreasing V1 it snaps when V1 crosses VTL- The "hysteresis width" of hysteresis comparator circuit 11 may be defined as ΔVT = VTH - VTL, which can also be expressed as:
a Ayy T = Q nL( VVOH - V V OL )! RB
If desired, the hysteresis width for a particular hysteresis comparator circuit, such as hysteresis comparator circuit 11, can be set by selecting appropriate component values for the bias resistors, such as resistor 16 (RA) and resistor 18 (RB)- In the depicted embodiment, increasing the ratio RA/RB increases the hysteresis width while decreasing the ratio RA/RB decreases the hysteresis width. Analogous methods may be used to set the hysteresis width in other implementations of hysteresis comparator circuits, hi many cases, it is desirable to provide a mechanism to vary the resistances of bias resistors within a hysteresis comparator circuit — in other words, a mechanism to "program" hysteresis width — thus allowing greater control over hysteresis width. Such programmability would allow a user the ability to fine tune to the hysteresis width of a comparator in accordance with the particular application employed by the comparator or in accordance with the nature of the environment in which the comparator is to be used (e.g., a noisy or a noise-free environment). However, conventional methods and systems do not provide efficient means to digitally program the hysteresis width of a comparator.
SUMMARY
In accordance with the teachings of the present disclosure, the disadvantages and problems associated with implementing hysteresis in a comparator have been substantially reduced or eliminated, hi a particular embodiment, a system for implementing digitally programmable hysteresis in a comparator includes a digitally programmable variable resistor wherein modification of the resistance of the variable resistor is operable to modify the hysteresis width of the comparator.
In accordance with one embodiment of the present disclosure, a digitally programmable hysteresis comparator includes a digitally programmable variable resistor. One or more control bits are operable to modify the resistance of the variable resistor, and such modification is operable to modify the hysteresis width of the comparator.
In accordance with another embodiment of the present disclosure, an integrated circuit includes a digitally programmable hysteresis comparator. The
digitally programmable hysteresis comparator includes a digitally programmable variable resistor. One or more control bits are operable to modify the resistance of the variable resistor, and such modification is operable to modify the hysteresis width of the comparator. In accordance with another embodiment of the present disclosure, a system for implementing digitally programmable hysteresis in a comparator includes a digitally programmable variable resistor. One or more control bits are operable to modify the resistance of the variable resistor, and such modification is operable to modify the hysteresis width of the comparator. In accordance with another embodiment of the present disclosure, a method for implementing digitally programmable hysteresis in a comparator includes providing a digitally programmable variable resistor. The method further includes manipulating one or more control bits, such manipulation being operable to modify the resistance of the variable resistor, and such modification being operable to modify the hysteresis width of the comparator.
BRIEF DESCRIPTION OF THE DRAWINGS
A more complete understanding of exemplary embodiments and advantages thereof may be acquired by referring to the following description taken in conjunction with the accompanying drawings, in which like reference numbers indicate like features, and wherein:
FIGURE 1 illustrates an ideal voltage comparator, as is known in the art;
FIGURE 2 illustrates a voltage transfer curve (VTC) for the ideal voltage comparator depicted in FIGURE 1 ;
FIGURE 3 illustrates a hysteresis comparator circuit, as is known in the art; FIGURE 4 illustrates a VTC for the hysteresis comparator circuit depicted in
FIGURE 3;
FIGURE 5 a illustrates sample waveforms for the input voltage and output voltage versus time for the ideal voltage comparator depicted in FIGURE 1 ;
FIGURE 5b illustrates sample waveforms for the input voltage and output voltage versus time for the hysteresis comparator circuit depicted in FIGURE 3;
FIGURE 6 illustrates an embodiment of a digitally programmable hysteresis comparator circuit, in accordance with teachings of the present disclosure; FIGURE 7 illustrates an embodiment of a digitally programmable variable resistor used in implementing a digitally programmable hysteresis comparator circuit, in accordance with teachings of the present disclosure; and
FIGURE 8 illustrates a truth table setting forth the values of resistance for the digitally programmable variable resistor depicted in FIGURE 7 based on different input values, in accordance with teachings of the present disclosure.
DETAILED DESCRIPTION
Preferred embodiments and their advantages are best understood by reference to FIGURES 6 through 8, wherein like numbers are used to indicate like and corresponding parts. For the purposes or this disclosure, comparators (or "voltage comparators") may include any circuit component or device capable of comparing at least one signal or value received at an input, such as a voltage, against one or more other signal or value received at one or more other inputs, such as a voltage, and output one or more discrete signals or values, such as a voltage, based on the relative strengths, intensities, amplitudes or values of the input signals. Comparators may be used in various phases of signal generation and transmission, as well as in automatic control and measurement to implement any number of applications within microprocessors, microcontrollers, integrated circuits and other electronic components and circuits. Comparators are used alone or as part of larger systems, such as analog-to-digital converters, switching regulators, function generators, voltage-to-frequency converters, power-supply supervisors, level detectors, window detectors, pulse-width modulators, Schmitt triggers, and a variety of others.
FIGURE 6 illustrates a digitally programmable hysteresis comparator circuit
22. Although a specific circuit topology is illustrated in FIGURE 6, it is understood that comparator circuit 22 may include any number of suitable circuit designs,
layouts, or topologies for implementing a hysteresis comparator circuit. In the illustrated embodiment, comparator circuit 22 may include ideal voltage comparator 10, with ideal inputs 6 and 8 and output 4, similar to the ideal voltage comparator depicted in FIGURE 1. In addition, comparator circuit 22 may include voltage source 12, which supplies a voltage V1, and voltage source 13, which supplies a voltage VREF- Although depicted as independent voltage sources, voltage sources 12 and 13 may be any voltage signals suitable for being input to a comparator circuit. Either or both of voltage sources 12 and 13 may be an electrical signal transduced by a temperature sensor, pressure sensor, strain sensor, position sensor, fluidic level sensor, light or sound intensity sensor, or other suitable sensor. In some embodiments, either or both of voltage sources 12 and 13 may correspond to a control signal, such as desired temperature for a thermostat, or some other critical or threshold measure in a level- detection circuit. In some embodiments, voltage sources 12 and 13 may be analog signals that are to be converted to a digital signal by one or more comparator circuits analogous to comparator circuit 22.
Comparator circuit 22 may also include one or more biasing elements used to establish the hysteresis width of comparator circuit 22, such as resistor 18 with fixed resistance RB and digitally programmable variable resistor 30 with variable resistance Rv AR- Although FIGURE 6 depicts that resistor 30 has a variable resistance and resistor 18 has a fixed resistance, it is understood that other topologies may be employed. For example, in some embodiments, comparator circuit 22 may be modified such that the locations of resistor 18 and resistor 30 are swapped. In other embodiments, both of resistor 18 and resistor 30 may be digitally programmable variable resistors. In addition, although comparator circuit 22 is depicted as comprising resistor 18 and digitally programmable variable resistor 30 as its only biasing elements, it is understood that comparator circuit 22 may include any number of fixed or variable biasing elements, including without limitation, resistors, capacitors, inductors, diodes, transistors, or any other passive or active circuit components.
In the depicted embodiment, the hysteresis width of comparator circuit 22 may be expressed as:
A V RVΛR Iγ _ γ \ m T Ό V OH V OL )
where ΔVT represents the hysteresis width, VOH represents the maximum output voltage of comparator circuit 22 and VOL represents the minimum output voltage of comparator circuit 22. Hence, in the depicted embodiment, one may vary the hysteresis width of comparator circuit 22 by varying the resistance Rv AR of digitally programmable variable resistor 30.
FIGURE 7 illustrates an embodiment of a digitally programmable variable resistor 30 used for implementing digitally programmable hysteresis comparator circuit 22. Although a specific circuit topology is illustrated in FIGURE 7, it is understood that variable resistor 30 may include any number of suitable circuit designs, layouts, or topologies for implementing a variable resistor similar or analogous to that set forth in this disclosure. In the illustrated embodiment, variable resistor includes terminals 31 and 32.
Variable resistor 30 as depicted also includes an enable bit 33, allowing the user to selectively enable variable resistor 30. Variable resistor 30 as shown further includes one or more control bits, such as control bits 34, 35, and 36 representing BITO, BITl and BIT2 of a digital control signal 37, respectively, as shown in the depicted embodiment.
Variable resistor 30 also includes one or more resistors 51-58 with resistance values Of R1, R2, R3, R4, R5, R6, R7 and R8, respectively, and switches 40-48 operable to enable or disable variable resistor 30 or to enable or disable individual resistors 51- 58. Switches 40-48 may be any circuit component capable of making or breaking an electrical circuit, or for selecting between multiple circuits. As depicted in FIGURE 7, variable resistor 30 may include a first set of series resistors 51-54, and a second set of series resistors 55-58 in parallel with the first set. One of the control bits 37, for example BIT 0 as shown in FIGURE 7, may enable the first set of series resistors and disable the second set of series resistors, or vice versa. A remainder of the control bits
37 may then control selective bypassing of one or more of the resistors in the enabled set of series resistors.
The operation of digitally programmable variable resistor 30 may be described with reference to truth table 80 depicted in FIGURE 8. Truth table 80 sets forth the values of resistance RVAR between terminals 31 and 32 of digitally programmable variable resistor 30 based on whether the variable resistor has been enabled via enable bit 33 and the input values of the digital control signal represented by BITO, BITl and BIT2 on control bits 34, 35 and 36.
In many applications, it may be desirable for a use to disable hysteresis in comparator circuit 22. Referring again to the equation for determining hysteresis width in comparator circuit 22:
1 AXFyT - — R u γΛR ( Vv OH - V V OL )J
From the equation, it is evident that for RVAR = 0, ΔVT = 0, and no hysteresis is present in comparator circuit 22. hi the depicted embodiment, this can be accomplished by appropriately setting the enable signal on input 33. Referring to the first row of truth table 80, when the enable signal on input 33 is set to 0, switch 40 is closed creating a conductive path between terminals 31 and 32, and the resistance RVAR is equal to zero, meaning ΔVT = 0.
However, where it is desirable to include hysteresis in comparator circuit 22, the user may set the enable signal to the appropriate value (e.g., logic 1 in the depicted embodiment). When variable resistor 30 is enabled, control signals such as control signals BITO, BITl, and BIT2 may be used to control the resistance RVAR, thus allowing the user to control hysteresis width. In the depicted embodiment, the user may selectively manipulate BITO, BITl, and BIT2 to set the resistance RVAR to a desired value. For example, referring to the fourth row of values in truth table 80, enable bit 33 may be set to logic 1, BITO (control bit 34) to logic 0, BITl (control bit 35) to logic 1, and BIT2 (control bit 36) to logic 0. hi such as case, switches 40, 42, 43 and 45 are open, switches 41 and 44 are closed, and a circuit path is completed between terminals 31 and 32 with a resistance RVAR = R1 + R2 + R3. It is evident from FIGURES 7 and 8 that numerous other values for RVAR may be selected.
Although variable resistor 30 is depicted as utilizing three control bits operable to select among eight values for resistance RVAR when enabled, it is understood that variable resistor may comprise any number N of control bits used to select any number 2N of values for resistance RVAR- Accordingly, although variable resistor 30 is depicted as utilizing nine switches and eight resistors, it is understood that variable resistor 30 may comprise an appropriate number of switches and resistors suitable to implement variable resistor 30 with N control bits and 2N possible values of resistance.
Utilizing the methods and systems set forth in this disclosure, one may digitally program a hysteresis comparator to configure a desired hysteresis width. A comparator with digitally programmable hysteresis may be useful for many purposes.
For example, digitally programmable hysteresis comparator may be useful to allow a user to fine tune hysteresis width appropriately to the particular application for which the comparator is used. In addition, a user may fine tune hysteresis width to an appropriate level based on the electrical noise present in a circuit.
Although the present disclosure as illustrated by the above embodiments has been described in detail, numerous variations will be apparent to one skilled in the art.
It is understood that various changes, substitutions and alternations can be made herein without departing from the spirit and scope of the disclosure as illustrated by the following claims.
Claims
1. A digitally programmable hysteresis comparator, comprising: a digitally programmable variable resistor; and one or more control bits operable to modify the resistance of the variable resistor; wherein the modification of the resistance of the variable resistor is operable to modify the hysteresis width of the comparator.
2. The comparator of claim 1, further comprising an enable bit operable to selectively enable the variable resistor.
3. The comparator of claim 2, wherein disabling the variable resistor produces a hysteresis width of approximately zero.
4. The comparator of claim 1, wherein the variable resistor includes a first set of series resistors and a second set of series resistors in parallel with the first set.
5. The comparator of claim 4, wherein a first of the control bits enable the first set of series resistors and disabled the second set.
6. The comparator of claim 5, wherein a remainder of the control bits control selective bypassing of at least some of the resistors in the enabled set of series resistors.
7. The comparator of claim 1 wherein the variable resistor is connected between an input terminal and a positive input of a voltage comparator.
8. The comparator of claim 1 wherein the variable resistor is connected between and output of a voltage comparator and a positive terminal of the voltage comparator.
9. The comparator of claim 8 further comprising a second variable resistor connected between an input terminal of the hysteresis comparator and the positive input terminal of the voltage comparator.
10. A system for implementing digitally programmable hysteresis in a comparator, comprising: a digitally programmable variable resistor; and one or more control bits operable to modify the resistance of the variable resistor; wherein the modification of the resistance of the variable resistor is operable to modify the hysteresis width of the comparator.
11. The system of Claim 10, further comprising an enable bit operable to selectively enable the variable resistor.
12. A method for implementing digitally programmable hysteresis in a comparator, comprising: providing a digitally programmable variable resistor; and manipulating one or more control bits, the manipulation operable to modify the resistance of the variable resistor; wherein the modification of the resistance of the variable resistor is operable to modify the hysteresis width of the comparator.
13. The method of Claim 12, further comprising manipulating an enable bit operable to selectively enable the variable resistor.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US11/467,252 | 2006-08-25 | ||
| US11/467,252 US20080048746A1 (en) | 2006-08-25 | 2006-08-25 | Hysteresis Comparator with Programmable Hysteresis Width |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| WO2008024704A2 true WO2008024704A2 (en) | 2008-02-28 |
| WO2008024704A3 WO2008024704A3 (en) | 2008-08-07 |
Family
ID=39107561
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/US2007/076297 Ceased WO2008024704A2 (en) | 2006-08-25 | 2007-08-20 | Hysteresis comparator with programmable hysteresis width |
Country Status (2)
| Country | Link |
|---|---|
| US (1) | US20080048746A1 (en) |
| WO (1) | WO2008024704A2 (en) |
Families Citing this family (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008041884A (en) * | 2006-08-04 | 2008-02-21 | Rohm Co Ltd | Semiconductor integrated circuit, and electronic equipment equipped with it |
| US20080238513A1 (en) * | 2007-03-29 | 2008-10-02 | Catalyst Semiconductor, Inc. | Hysteresis Circuit Without Static Quiescent Current |
| DE102007046705B3 (en) * | 2007-09-28 | 2009-04-30 | Infineon Technologies Austria Ag | Active diode circuit and method of operating an active diode |
| US8035438B2 (en) * | 2009-05-16 | 2011-10-11 | Avego Technologies ECBU IP (Singapore) Pte. Ltd. | Integrated circuits and methods for enabling high-speed AC-coupled networks to suppress noise during low-frequency operation |
| US8796973B2 (en) * | 2012-03-26 | 2014-08-05 | Hella Corporate Center Usa, Inc. | Filter apparatus and method for brushless DC motors |
| US8981756B2 (en) * | 2012-04-11 | 2015-03-17 | Rockwell Automation Technologies, Inc. | Adaptive threshold voltage for frequency input modules |
| US9018989B2 (en) * | 2012-10-24 | 2015-04-28 | Stmicroelectronics International N.V. | Power-on-reset and supply brown out detection circuit with programmability |
| US10374583B1 (en) | 2018-04-02 | 2019-08-06 | Analog Devices, Inc. | Dynamic hysteresis circuit |
| US11552619B2 (en) * | 2020-07-29 | 2023-01-10 | Texas Instruments Incorporated | Adaptive hysteretic control for a power converter |
| US11218138B1 (en) * | 2021-04-15 | 2022-01-04 | Pixart Imaging (Penang) Sdn. Bhd. | Multi-interval sensing circuit and sensing method having multi-hysteresis |
Family Cites Families (21)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US3471718A (en) * | 1966-03-24 | 1969-10-07 | Philips Corp | Hysteresis control for a schmitt trigger circuit |
| US3581120A (en) * | 1968-02-28 | 1971-05-25 | Western Union Telegraph Co | Schmitt trigger circuit with variable hysteresis and insensitivity to temperature change |
| US3584241A (en) * | 1969-06-25 | 1971-06-08 | Michiyuki Nakamura | Schmitt trigger with controlled hysteresis |
| US3626214A (en) * | 1970-03-03 | 1971-12-07 | Sperry Rand Corp | Bipolar input bistable output trigger circuit |
| US4940907A (en) * | 1989-01-19 | 1990-07-10 | Ford Motor Company | Precision CMOS comparator with hysteresis |
| KR930008554A (en) * | 1991-10-25 | 1993-05-21 | 김광호 | Comparator |
| FR2749939B1 (en) * | 1996-06-13 | 1998-07-31 | Sgs Thomson Microelectronics | SUPPLY VOLTAGE RANGE DETECTOR IN AN INTEGRATED CIRCUIT |
| JP3516556B2 (en) * | 1996-08-02 | 2004-04-05 | 沖電気工業株式会社 | Internal power supply circuit |
| US5894234A (en) * | 1997-04-30 | 1999-04-13 | Lucent Technologies Inc. | Differential comparator with fixed and controllable hysteresis |
| US6133772A (en) * | 1998-12-14 | 2000-10-17 | Ati International Srl | Differential input receiver and method for reducing noise |
| JP3928837B2 (en) * | 1999-09-13 | 2007-06-13 | 株式会社ルネサステクノロジ | Semiconductor integrated circuit device |
| US20010033196A1 (en) * | 2000-01-20 | 2001-10-25 | National Instruments Corporation | State variable filter including a programmable variable resistor |
| US6252795B1 (en) * | 2000-09-29 | 2001-06-26 | Motorola Inc. | Programmable resistive circuit using magnetoresistive memory technology |
| US6518824B1 (en) * | 2000-12-14 | 2003-02-11 | Actel Corporation | Antifuse programmable resistor |
| US6806729B2 (en) * | 2001-01-19 | 2004-10-19 | Dell Products L.P. | Ground bounce detection circuit for use in data error reduction |
| JP4657497B2 (en) * | 2001-06-07 | 2011-03-23 | ルネサスエレクトロニクス株式会社 | Variable impedance circuit |
| US20040217653A1 (en) * | 2003-04-29 | 2004-11-04 | Neidorff Robert Alan | Supply selection circuit with programmable hysteresis |
| US7222278B2 (en) * | 2003-09-17 | 2007-05-22 | Avago Technologies General Ip (Singapore) Pte. Ltd. | Programmable hysteresis for boundary-scan testing |
| JP4211616B2 (en) * | 2004-01-27 | 2009-01-21 | 株式会社デンソー | Hysteresis comparator circuit |
| US7106107B2 (en) * | 2005-01-31 | 2006-09-12 | Agere Systems Inc. | Reliability comparator with hysteresis |
| US7122898B1 (en) * | 2005-05-09 | 2006-10-17 | International Business Machines Corporation | Electrical programmable metal resistor |
-
2006
- 2006-08-25 US US11/467,252 patent/US20080048746A1/en not_active Abandoned
-
2007
- 2007-08-20 WO PCT/US2007/076297 patent/WO2008024704A2/en not_active Ceased
Also Published As
| Publication number | Publication date |
|---|---|
| US20080048746A1 (en) | 2008-02-28 |
| WO2008024704A3 (en) | 2008-08-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2008024704A2 (en) | Hysteresis comparator with programmable hysteresis width | |
| KR101357969B1 (en) | Current limit control with current limit detector | |
| JP5371767B2 (en) | Current limit detector | |
| KR101365309B1 (en) | System and method for detection of multiple current limits | |
| US8410821B2 (en) | Output current detecting circuit and transmission circuit | |
| CN104113226B (en) | Semiconductor Devices and Inverter Systems | |
| US20070241794A1 (en) | Novel comparator circuit with schmitt trigger hysteresis character | |
| CN105676933A (en) | Quick-starting type digital low-voltage-difference voltage stabilizer | |
| JP2018173868A (en) | Overcurrent protection circuit and voltage regulator | |
| US7382167B1 (en) | Circuit and method for controlling hysteresis for bilevel signal transitions | |
| US9160159B2 (en) | Circuit breaker and method of controlling a power transistor with a circuit breaker | |
| US7872481B1 (en) | Low glitch multiple form C summing node switcher | |
| US11356114B2 (en) | R-2R resistor ladder trim circuits | |
| TWI876965B (en) | Power supply circuit having current control mechanism | |
| CN109032233A (en) | A kind of device for generating voltage and semiconductor chip | |
| US6940329B2 (en) | Hysteresis circuit used in comparator | |
| JP2574309Y2 (en) | Electronic load device | |
| US11289245B2 (en) | Resistor replicator | |
| CN222784539U (en) | Alternating current phase and impedance detection circuit | |
| CN112119592B (en) | Battery charging and measurement circuit | |
| JP7332852B2 (en) | Current detection resistor switching device for APC circuit | |
| CN107066001B (en) | For controlling in the equipment with unknown current to the electric current in the load of voltage characteristic | |
| CN109450250B (en) | Periodic self-checking switching power supply and control method thereof | |
| JP2011087405A (en) | Switching regulator | |
| JP2012068074A (en) | Voltage range detecting device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| NENP | Non-entry into the national phase |
Ref country code: RU |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 07814260 Country of ref document: EP Kind code of ref document: A2 |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 07814260 Country of ref document: EP Kind code of ref document: A2 |
