Coherence time: Difference between revisions
Coherence time is 2pi/omega, not 2/omega, where omega is angular frequency omega=2*pi*nu. |
en>Fgnievinski |
||
Line 1: | Line 1: | ||
= | {{other uses}} | ||
In [[electronics]], a '''comparator''' is a device that compares two [[voltage]]s or [[Electric current|currents]] and outputs a digital signal indicating which is larger. It has two analog input terminals <math>V_+\,</math> and <math>V_-\,</math> and one binary digital output <math>V_o\,</math>. The output is ideally | |||
:<math>V_o = | |||
\begin{cases} | |||
1, & \mbox{if }V_+ > V_- \\ | |||
0, & \mbox{if }V_+ < V_- | |||
\end{cases}</math> | |||
A comparator consists of a specialized high-[[gain]] [[differential amplifier]]. They are commonly used in devices that measure and digitize analog signals, such as [[analog-to-digital converter]]s (ADCs), as well as [[relaxation oscillator]]s. | |||
== Differential Voltage == | |||
The differential voltages must stay within the limits specified by the manufacturer. Early integrated comparators, like the LM111 family, and certain high-speed comparators like the LM119 family, require differential voltage ranges substantially lower than the power supply voltages (±15 V vs. 36 V).<ref>''[http://www.national.com/ds/LM/LM111.pdf LM111/LM211/LM311 datasheet]. National Semiconductor. January 2001. Retrieved 2010-08-05.</ref> ''Rail-to-rail'' comparators allow any differential voltages within the power supply range. When powered from a bipolar (dual rail) supply, | |||
:<math>V_{S-} \le V_+,V_- \le V_{S+}</math> | |||
or, when powered from a unipolar [[Transistor-transistor logic|TTL]]/[[CMOS]] power supply: | |||
:<math>0 \le V_+,V_- \le V_{cc}</math> | |||
Specific rail-to-rail comparators with [[Bipolar_junction_transistor#PNP|p-n-p]] input transistors, like the LM139 family, allow input potential to drop 0.3 volts ''below'' the negative supply rail, but do not allow it to rise above the positive rail.<ref>''[http://www.national.com/ds/LM/LM139.pdf LM139/LM239/LM339/LM2901/LM3302 datasheet]. National Semiconductor. March 2004. Retrieved 2010-08-05.</ref> Specific ultra-fast comparators, like the LMH7322, allow input signal to swing below the negative rail ''and'' above the positive rail, although by a narrow margin of only 0.2 V.<ref>''[http://www.national.com/ds/LM/LMH7322.pdf LMH7322 datasheet]. National Semiconductor. January 2010. Retrieved 2010-08-05.</ref> Differential input voltage (the voltage between two inputs) of a modern rail-to-rail comparator is usually limited only by the full swing of power supply. | |||
== | ==Op-amp voltage comparator== | ||
[[image:Op-Amp Comparator.svg|frame|right|A simple op-amp comparator]] | |||
An [[operational amplifier]] (op-amp) has a well balanced difference input and a very high [[gain]]. This parallels the characteristics of comparators and can be substituted in applications with low-performance requirements.<ref>Malmstadt, Enke and Crouch, Electronics and Instrumentation for Scientists, The Benjamin/Cummings Publishing Company, Inc., 1981, ISBN 0-8053-6917-1, Chapter 5.</ref> | |||
In theory, a standard op-amp operating in open-loop configuration (without negative feedback) may be used as a low-performance comparator. When the non-inverting input (V+) is at a higher voltage than the inverting input (V-), the high gain of the op-amp causes the output to saturate at the highest positive voltage it can output. When the non-inverting input (V+) drops below the inverting input (V-), the output saturates at the most negative voltage it can output. The op-amp's output voltage is limited by the supply voltage. An op-amp operating in a linear mode with negative feedback, using a balanced, split-voltage power supply, (powered by ± V<sub>S</sub>) has its transfer function typically written as: <math>V_{out}=A_{o} (V_1 - V_2)</math>. However, this equation may not be applicable to a comparator circuit which is non-linear and operates open-loop (no negative feedback) | |||
In practice, using an [[operational amplifier]] as a comparator presents several disadvantages as compared to using a dedicated comparator:<ref>Ron Mancini, "[http://www.edn.com/article/CA69100.html Designing with comparators]," EDN, March 29, 2001.</ref> | |||
# Op-amps are designed to operate in the linear mode with negative feedback. Hence, an op-amp typically has a lengthy recovery time from saturation. Almost all op-amps have an internal compensation capacitor which imposes [[slew rate]] limitations for high frequency signals. Consequently an op-amp makes a sloppy comparator with [[propagation delay]]s that can be as slow as tens of microseconds. | |||
# Since op-amps do not have any internal hysteresis, an external hysteresis network is always necessary for slow moving input signals. | |||
# The quiescent current specification of an op-amp is valid only when the feedback is active. Some op-amps show an increased quiescent current when the inputs are not equal. | |||
# A comparator is designed to produce well limited output voltages that easily interface with digital logic. Compatibility with digital logic must be verified while using an op-amp as a comparator. | |||
# Some multiple-section op-amps may exhibit extreme channel-channel interaction when used as comparators. | |||
# Many op-amps have back to back diodes between their inputs. Op-amp inputs usually follow each other so this is fine. But comparator inputs are not usually the same. The diodes can cause unexpected current through inputs. | |||
== | == Working == | ||
[[Image:Comparators stuuf.jpg|thumb|Several voltage comparator ICs]] | |||
A dedicated voltage comparator will generally be faster than a general-purpose operational amplifier pressed into service as a comparator. A dedicated voltage comparator may also contain additional features such as an accurate, internal voltage reference, an adjustable [[hysteresis]] and a clock gated input. | |||
A dedicated voltage comparator chip such as LM339 is designed to interface with a digital logic interface (to a [[Transistor-transistor logic|TTL]] or a [[CMOS]]). The output is a binary state often used to interface real world signals to digital circuitry (see [[analog to digital converter]]). If there is a fixed voltage source from, for example, a DC adjustable device in the signal path, a comparator is just the equivalent of a cascade of amplifiers. When the voltages are nearly equal, the output voltage will not fall into one of the logic levels, thus analog signals will enter the digital domain with unpredictable results. To make this range as small as possible, the amplifier cascade is high gain. The circuit consists of mainly [[Bipolar transistor]]s. For very high frequencies, the input [[Electrical impedance|impedance]] of the stages is low. This reduces the saturation of the slow, large [[P-n junction|P-N junction]] bipolar transistors that would otherwise lead to long recovery times. Fast small [[Schottky diode]]s, like those found in binary logic designs, improve the performance significantly though the performance still lags that of circuits with amplifiers using analog signals. Slew rate has no meaning for these devices. For applications in [[flash ADC]]s the distributed signal across eight ports matches the voltage and current gain after each amplifier, and resistors then behave as level-shifters. | |||
The LM339 accomplishes this with an [[open collector]] output. When the inverting input is at a higher voltage than the non inverting input, the output of the comparator connects to the negative power supply. When the non inverting input is higher than the inverting input, the output is 'floating' (has a very high impedance to ground). | |||
Gain of op amp as comparator is get from this equation | |||
V(out)=V(in)*A | |||
= | {| class="wikitable" | ||
! Inputs !! Output | |||
|- | |||
| − > + || Grounded | |||
|- | |||
| + > − || Floating | |||
|} | |||
With a [[pull-up resistor]] and a 0 to +5 V power supply, the output takes on the voltages 0 or +5 and can interface with [[Transistor-transistor logic|TTL]] logic: | |||
:<math>V_\mathrm{out} \le V_\mathrm{CC}</math> when <math>V_+ \ge V_-</math> else <math>0</math>. | |||
==Key specifications== | |||
While it is easy to understand the basic task of a comparator, that is, comparing two voltages or currents, several parameters must be considered while selecting a suitable comparator: | |||
===Speed and power=== | |||
While in general comparators are "fast," their circuits are not immune to the classic speed-power tradeoff. High speed comparators use transistors with larger aspect ratios and hence also consume more power.<ref>Rogenmoser, R.; Kaeslin, H, "The impact of transistor sizing on power efficiency in submicron CMOS circuits," Solid-State Circuits, IEEE Journal of Volume 32, Issue 7, Jul 1997 Page(s):1142–1145.</ref> Depending on the application, select either a comparator with high speed or one that saves power. For example, nano-powered comparators in space-saving chip-scale packages (UCSP), DFN or SC70 packages such as [http://www.maxim-ic.com/quick_view2.cfm/qv_pk/4268 MAX9027], [http://www.linear.com/pc/productDetail.jsp?navId=H0,C1,C1154,C1002,C1463,P1593 LTC1540], [http://www.national.com/pf/LP/LPV7215.html LPV7215], [http://www.maxim-ic.com/quick_view2.cfm/qv_pk/5823 MAX9060] and [http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en010414 MCP6541] are ideal for ultra-low-power, portable applications. Likewise if a comparator is needed to implement a relaxation oscillator circuit to create a high speed clock signal then comparators having few nano seconds of propagation delay may be suitable. [http://www.analog.com/en/amplifiers-and-comparators/comparators/adcmp572/products/product.html ADCMP572] (CML output), [http://www.national.com/pf/LM/LMH7220.html LMH7220] (LVDS Output), [http://www.maxim-ic.com/quick_view2.cfm/qv_pk/1481 MAX999] (CMOS output / TTL output), [http://www.linear.com/pc/productDetail.jsp?navId=H0,C1,C1154,C1004,C1012,P1817 LT1719] (CMOS output / TTL output), [http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2490/t/al MAX9010] (TTL output), and [http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3400/t/al MAX9601] (PECL output) are examples of some good high speed comparators. | |||
=== Hysteresis === | |||
A comparator normally changes its output state when the voltage between its inputs crosses through approximately zero volts. Small voltage fluctuations due to noise, always present on the inputs, can cause undesirable rapid changes between the two output states when the input voltage difference is near zero volts. To prevent this output oscillation, a small [[hysteresis]] of a few millivolts is integrated into many modern comparators.<ref>Ron Mancini, "[http://www.edn.com/article/CA84881.html Adding Hysteresis to comparators]," EDN, May 3, 2001.</ref> | |||
For example, the [http://www.linear.com/pc/productDetail.jsp?navId=H0,C1,C1154,C1004,C1012,P38930 LTC6702], [http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2411/t/al MAX9021] and [http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2363/t/al MAX9031] have internal hysteresis desensitizing them from input noise. In place of one switching point, hysteresis introduces two: one for rising voltages, and one for falling voltages. The difference between the higher-level trip value (VTRIP+) and the lower-level trip value (VTRIP-) equals the hysteresis voltage (VHYST). | |||
If the comparator does not have internal hysteresis or if the input noise is greater than the internal hysteresis then an external hysteresis network can be built using positive feedback from the output to the non-inverting input of the comparator. The resulting [[Schmitt trigger]] circuit gives additional noise immunity and a cleaner output signal. Some comparators such as [http://www.national.com/pf/LM/LMP7300.html LMP7300], [http://www.linear.com/pc/productDetail.jsp?navId=H0,C1,C1154,C1004,C1013,P1593 LTC1540], [http://www.maxim-ic.com/quick_view2.cfm/qv_pk/1219 MAX931], [http://www.maxim-ic.com/quick_view2.cfm/qv_pk/1279/t/al MAX971] and [http://www.analog.com/en/power-management/battery-management/adcmp341/products/product.html ADCMP341] also provide the hysteresis control through a separate hysteresis pin. These comparators make it possible to add a programmable hysteresis without feedback or complicated equations. Using a dedicated hysteresis pin is also convenient if the source impedance is high since the inputs are isolated from the hysteresis network.<ref>AN3616, Maxim Integrated Products, [http://www.maxim-ic.com/appnotes.cfm/an_pk/886/ Adding Extra Hysteresis to Comparators].</ref> When hysteresis is added then a comparator cannot resolve signals within the hysteresis band. | |||
===Output type=== | |||
[[File:Dynamic Comparator.png|thumb|right|350px|A Low Power CMOS Clocked Comparator]] | |||
Because comparators have only two output states, their outputs are near zero or near the supply voltage. Bipolar rail-to-rail comparators have a common-emitter output that produces a small voltage drop between the output and each rail. That drop is equal to the collector-to-emitter voltage of a saturated transistor. When output currents are light, output voltages of CMOS rail-to-rail comparators, which rely on a saturated MOSFET, range closer to the rails than their bipolar counterparts.<ref name="test">AN886, Maxim Integrated Products, [http://www.maxim-ic.com/appnotes.cfm/an_pk/886/ Selecting the Right Comparator].</ref> | |||
On the basis of outputs, comparators can also be classified as [[open drain]] or [[push–pull output|push–pull]]. Comparators with an open-drain output stage use an external pull up resistor to a positive supply that defines the logic high level. Open drain comparators are more suitable for mixed-voltage system design. Since the output is high impedance for logic level high, open drain comparators can also be used to connect multiple comparators on to a single bus. Push pull output does not need a pull up resistor and can also source current unlike an open drain output. | |||
===Internal reference=== | |||
The most frequent application for comparators is the comparison between a voltage and a stable reference. Most comparator manufacturers also offer comparators in which a reference voltage is integrated on to the chip. Combining the reference and comparator in one chip not only saves space, but also draws less supply current than a comparator with an external reference.<ref name="test"/> ICs with wide range of references are available such as [http://www.maxim-ic.com/quick_view2.cfm/qv_pk/5823/t/al MAX9062](200 mV reference), [http://www.linear.com/pc/productDetail.jsp?navId=H0,C1,C1154,C1004,C1013,P2340 LT6700](400 mV reference), [http://www.analog.com/en/power-management/battery-management/adcmp350/products/product.html ADCMP350] (600 mV reference), [http://www.maxim-ic.com/quick_view2.cfm/qv_pk/4268/t/al MAX9025] (1.236 V reference), [http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2122/t/al MAX9040] (2.048 V reference), [http://focus.ti.com/docs/prod/folders/print/tlv3012.html TLV3012] (1.24 V reference) and [http://www.datasheetcatalog.org/datasheet/stmicroelectronics/9208.pdf TSM109] (2.5 V reference). | |||
===Continuous versus clocked=== | |||
A continuous comparator will output either a "1" or a "0" any time a high or low signal is applied to its input and will change quickly when the inputs are updated. However, many applications only require comparator outputs at certain instances, such as in A/D converters and memory. By only strobing a comparator at certain intervals, higher accuracy and lower power can be achieved with a clocked (or dynamic) comparator structure, also called a latched comparator. Often latched comparators employ strong positive feedback for a "regeneration phase" when a clock is high, and have a "reset phase" when the clock is low.<ref> | |||
{{cite book | |||
| title = Offset Reduction Techniques in High-Speed Analog-to-Digital Converters: Analysis, Design and Tradeoffs | |||
| author = Pedro M. Figueiredo, João C. Vital | |||
| publisher = Springer | |||
| year = 2009 | |||
| isbn = 978-1-4020-9715-7 | |||
| pages = 54–62 | |||
| url = http://books.google.com/books?id=El9Ki0spMEwC&pg=PA55&dq=%22output+voltages+of+the+latched+comparator%22+regeneration+reset+phase#v=onepage&q=%22output%20voltages%20of%20the%20latched%20comparator%22%20regeneration%20reset%20phase&f=false | |||
}}</ref> | |||
This is in contrast to a continuous comparator, which can only employ weak positive feedback since there is no reset period. | |||
== Applications == | |||
=== Null detectors === | |||
A null detector is one that functions to identify when a given value is zero. Comparators can be a type of amplifier distinctively for null comparison measurements. It is the equivalent to a very high gain amplifier with well-balanced inputs and controlled output limits. The circuit compares the two input voltages, determining the larger. The inputs are an unknown voltage and a reference voltage, usually referred to as v<sub>u</sub> and v<sub>r</sub>. A reference voltage is generally on the non-inverting input (+), while v<sub>u</sub> is usually on the inverting input (-). (A circuit diagram would display the inputs according to their sign with respect to the output when a particular input is greater than the other.) The output is either positive or negative, for example +/-12 V. In this case, the idea is to detect when there is no difference between in the input voltages. This gives the identity of the unknown voltage since the reference voltage is known. | |||
When using a comparator as a null detector, there are limits as to the accuracy of the zero value measurable. Zero output is given when the magnitude of the difference in the voltages multiplied by the gain of the amplifier is less than the voltage limits. For example, if the gain of the amplifier is 10<sup>6</sup>, and the voltage limits are +/-6 V, then no output will be given if the difference in the voltages is less than 6 μV. One could refer to this as a sort of uncertainty in the measurement.<ref>''Electronics and Instrumentation for Scientists''. Malmstadt, Enke, and Crouch, The Benjamin/Cummings Publishing Co., In., 1981, pp.108–110.</ref> | |||
=== Zero-crossing detectors === | |||
For this type of detector, a comparator detects each time an [[Alternating Current|ac]] pulse changes polarity. The output of the comparater changes state each time the pulse changes its polarity, that is, the output is HI (high) for a positive pulse and LO (low) for a negative pulse squares the input signal.<ref>''Electronics and Instrumentation for Scientists.'' Malmstadt, Enke, and Crouch, The Benjamin/Cummings Publishing Co., In., 1981, p.230.</ref> | |||
===Relaxation oscillator=== | |||
A comparator can be used to build a [[relaxation oscillator]]. It uses both positive and negative feedback. The positive feedback is a [[Schmitt trigger]] configuration. Alone, the trigger is a [[bistable multivibrator]]. However, the slow [[negative feedback]] added to the trigger by the RC circuit causes the circuit to oscillate automatically. That is, the addition of the RC circuit turns the hysteretic bistable [[multivibrator]] into an [[astable multivibrator]].<ref>Paul Horowitz and Winfield Hill: ''The Art of Electronics'', | |||
Cambridge University Press, Second edition, Cambridge 1989, pp.284–285.</ref> | |||
===Level shifter=== | |||
This circuit requires only a single comparator with an open-drain output as in the [http://www.national.com/mpf/LM/LM393.html LM393], [http://focus.ti.com/docs/prod/folders/print/tlv3011.html TLV3011] or [http://www.maxim-ic.com/quick_view2.cfm/qv_pk/4268/t/al MAX9028]. The circuit provides great flexibility in choosing the voltages to be translated by using a suitable pull up voltage. It also allows the translation of bipolar ±5 V logic to unipolar 3 V logic by using a comparator like the [http://www.maxim-ic.com/quick_view2.cfm/qv_pk/1279 MAX972].<ref name="test"/> | |||
===Analog-to-digital converters=== | |||
When a comparator performs the function of telling if an input voltage is above or below a given threshold, it is essentially performing a 1-bit [[Quantization (signal processing)|quantization]]. This function is used in nearly all analog to digital converters (such as [[Flash ADC|flash]], pipeline, [[Successive approximation ADC|successive approximation]], [[delta-sigma modulation]], folding, interpolating, [[Integrating ADC|dual-slope]] and others) in combination with other devices to achieve a multi-bit quantization.<ref>Phillip Allen and Douglas Holberg: ''CMOS Analog Circuit Design'', | |||
Oxford University Press, Second edition, Oxford 2002.</ref> | |||
===Window detectors=== | |||
Comparators can also be used as window detectors. In a [[window detector]], a comparator used to compare two voltages and determine whether a given input voltage is under voltage or over voltage. | |||
== See also == | |||
* [[Zero crossing threshold detector]] | |||
* [[Digital comparator]] | |||
* [[Current comparator]] | |||
* [[Constant fraction discriminator]] | |||
* [[Flash ADC]] | |||
* [[Sorting network]] | |||
{{FS1037C}} | |||
== References == | |||
{{reflist}} | |||
== External links == | |||
{{Wiktionary}} | |||
* [http://home.cogeco.ca/~rpaisley4/Comparators.html IC Comparator reference page at home.cogeco.ca] | |||
* [http://www.afrotechmods.com/videos/op_amp_comparator.htm Comparator tutorial video with example circuits] | |||
* [http://www.labbookpages.co.uk/electronics/resNetworks/comparator.html A Java based resistor value search tool for analysing an inverting comparator circuit with hysteresis] | |||
[[Category:Electronic circuits]] |
Latest revision as of 16:33, 26 September 2013
I'm Fernando (21) from Seltjarnarnes, Iceland.
I'm learning Norwegian literature at a local college and I'm just about to graduate.
I have a part time job in a the office.
my site; wellness [continue reading this..]
In electronics, a comparator is a device that compares two voltages or currents and outputs a digital signal indicating which is larger. It has two analog input terminals and and one binary digital output . The output is ideally
A comparator consists of a specialized high-gain differential amplifier. They are commonly used in devices that measure and digitize analog signals, such as analog-to-digital converters (ADCs), as well as relaxation oscillators.
Differential Voltage
The differential voltages must stay within the limits specified by the manufacturer. Early integrated comparators, like the LM111 family, and certain high-speed comparators like the LM119 family, require differential voltage ranges substantially lower than the power supply voltages (±15 V vs. 36 V).[1] Rail-to-rail comparators allow any differential voltages within the power supply range. When powered from a bipolar (dual rail) supply,
or, when powered from a unipolar TTL/CMOS power supply:
Specific rail-to-rail comparators with p-n-p input transistors, like the LM139 family, allow input potential to drop 0.3 volts below the negative supply rail, but do not allow it to rise above the positive rail.[2] Specific ultra-fast comparators, like the LMH7322, allow input signal to swing below the negative rail and above the positive rail, although by a narrow margin of only 0.2 V.[3] Differential input voltage (the voltage between two inputs) of a modern rail-to-rail comparator is usually limited only by the full swing of power supply.
Op-amp voltage comparator
An operational amplifier (op-amp) has a well balanced difference input and a very high gain. This parallels the characteristics of comparators and can be substituted in applications with low-performance requirements.[4]
In theory, a standard op-amp operating in open-loop configuration (without negative feedback) may be used as a low-performance comparator. When the non-inverting input (V+) is at a higher voltage than the inverting input (V-), the high gain of the op-amp causes the output to saturate at the highest positive voltage it can output. When the non-inverting input (V+) drops below the inverting input (V-), the output saturates at the most negative voltage it can output. The op-amp's output voltage is limited by the supply voltage. An op-amp operating in a linear mode with negative feedback, using a balanced, split-voltage power supply, (powered by ± VS) has its transfer function typically written as: . However, this equation may not be applicable to a comparator circuit which is non-linear and operates open-loop (no negative feedback)
In practice, using an operational amplifier as a comparator presents several disadvantages as compared to using a dedicated comparator:[5]
- Op-amps are designed to operate in the linear mode with negative feedback. Hence, an op-amp typically has a lengthy recovery time from saturation. Almost all op-amps have an internal compensation capacitor which imposes slew rate limitations for high frequency signals. Consequently an op-amp makes a sloppy comparator with propagation delays that can be as slow as tens of microseconds.
- Since op-amps do not have any internal hysteresis, an external hysteresis network is always necessary for slow moving input signals.
- The quiescent current specification of an op-amp is valid only when the feedback is active. Some op-amps show an increased quiescent current when the inputs are not equal.
- A comparator is designed to produce well limited output voltages that easily interface with digital logic. Compatibility with digital logic must be verified while using an op-amp as a comparator.
- Some multiple-section op-amps may exhibit extreme channel-channel interaction when used as comparators.
- Many op-amps have back to back diodes between their inputs. Op-amp inputs usually follow each other so this is fine. But comparator inputs are not usually the same. The diodes can cause unexpected current through inputs.
Working
A dedicated voltage comparator will generally be faster than a general-purpose operational amplifier pressed into service as a comparator. A dedicated voltage comparator may also contain additional features such as an accurate, internal voltage reference, an adjustable hysteresis and a clock gated input.
A dedicated voltage comparator chip such as LM339 is designed to interface with a digital logic interface (to a TTL or a CMOS). The output is a binary state often used to interface real world signals to digital circuitry (see analog to digital converter). If there is a fixed voltage source from, for example, a DC adjustable device in the signal path, a comparator is just the equivalent of a cascade of amplifiers. When the voltages are nearly equal, the output voltage will not fall into one of the logic levels, thus analog signals will enter the digital domain with unpredictable results. To make this range as small as possible, the amplifier cascade is high gain. The circuit consists of mainly Bipolar transistors. For very high frequencies, the input impedance of the stages is low. This reduces the saturation of the slow, large P-N junction bipolar transistors that would otherwise lead to long recovery times. Fast small Schottky diodes, like those found in binary logic designs, improve the performance significantly though the performance still lags that of circuits with amplifiers using analog signals. Slew rate has no meaning for these devices. For applications in flash ADCs the distributed signal across eight ports matches the voltage and current gain after each amplifier, and resistors then behave as level-shifters.
The LM339 accomplishes this with an open collector output. When the inverting input is at a higher voltage than the non inverting input, the output of the comparator connects to the negative power supply. When the non inverting input is higher than the inverting input, the output is 'floating' (has a very high impedance to ground). Gain of op amp as comparator is get from this equation V(out)=V(in)*A
Inputs | Output |
---|---|
− > + | Grounded |
+ > − | Floating |
With a pull-up resistor and a 0 to +5 V power supply, the output takes on the voltages 0 or +5 and can interface with TTL logic:
Key specifications
While it is easy to understand the basic task of a comparator, that is, comparing two voltages or currents, several parameters must be considered while selecting a suitable comparator:
Speed and power
While in general comparators are "fast," their circuits are not immune to the classic speed-power tradeoff. High speed comparators use transistors with larger aspect ratios and hence also consume more power.[6] Depending on the application, select either a comparator with high speed or one that saves power. For example, nano-powered comparators in space-saving chip-scale packages (UCSP), DFN or SC70 packages such as MAX9027, LTC1540, LPV7215, MAX9060 and MCP6541 are ideal for ultra-low-power, portable applications. Likewise if a comparator is needed to implement a relaxation oscillator circuit to create a high speed clock signal then comparators having few nano seconds of propagation delay may be suitable. ADCMP572 (CML output), LMH7220 (LVDS Output), MAX999 (CMOS output / TTL output), LT1719 (CMOS output / TTL output), MAX9010 (TTL output), and MAX9601 (PECL output) are examples of some good high speed comparators.
Hysteresis
A comparator normally changes its output state when the voltage between its inputs crosses through approximately zero volts. Small voltage fluctuations due to noise, always present on the inputs, can cause undesirable rapid changes between the two output states when the input voltage difference is near zero volts. To prevent this output oscillation, a small hysteresis of a few millivolts is integrated into many modern comparators.[7] For example, the LTC6702, MAX9021 and MAX9031 have internal hysteresis desensitizing them from input noise. In place of one switching point, hysteresis introduces two: one for rising voltages, and one for falling voltages. The difference between the higher-level trip value (VTRIP+) and the lower-level trip value (VTRIP-) equals the hysteresis voltage (VHYST).
If the comparator does not have internal hysteresis or if the input noise is greater than the internal hysteresis then an external hysteresis network can be built using positive feedback from the output to the non-inverting input of the comparator. The resulting Schmitt trigger circuit gives additional noise immunity and a cleaner output signal. Some comparators such as LMP7300, LTC1540, MAX931, MAX971 and ADCMP341 also provide the hysteresis control through a separate hysteresis pin. These comparators make it possible to add a programmable hysteresis without feedback or complicated equations. Using a dedicated hysteresis pin is also convenient if the source impedance is high since the inputs are isolated from the hysteresis network.[8] When hysteresis is added then a comparator cannot resolve signals within the hysteresis band.
Output type
Because comparators have only two output states, their outputs are near zero or near the supply voltage. Bipolar rail-to-rail comparators have a common-emitter output that produces a small voltage drop between the output and each rail. That drop is equal to the collector-to-emitter voltage of a saturated transistor. When output currents are light, output voltages of CMOS rail-to-rail comparators, which rely on a saturated MOSFET, range closer to the rails than their bipolar counterparts.[9]
On the basis of outputs, comparators can also be classified as open drain or push–pull. Comparators with an open-drain output stage use an external pull up resistor to a positive supply that defines the logic high level. Open drain comparators are more suitable for mixed-voltage system design. Since the output is high impedance for logic level high, open drain comparators can also be used to connect multiple comparators on to a single bus. Push pull output does not need a pull up resistor and can also source current unlike an open drain output.
Internal reference
The most frequent application for comparators is the comparison between a voltage and a stable reference. Most comparator manufacturers also offer comparators in which a reference voltage is integrated on to the chip. Combining the reference and comparator in one chip not only saves space, but also draws less supply current than a comparator with an external reference.[9] ICs with wide range of references are available such as MAX9062(200 mV reference), LT6700(400 mV reference), ADCMP350 (600 mV reference), MAX9025 (1.236 V reference), MAX9040 (2.048 V reference), TLV3012 (1.24 V reference) and TSM109 (2.5 V reference).
Continuous versus clocked
A continuous comparator will output either a "1" or a "0" any time a high or low signal is applied to its input and will change quickly when the inputs are updated. However, many applications only require comparator outputs at certain instances, such as in A/D converters and memory. By only strobing a comparator at certain intervals, higher accuracy and lower power can be achieved with a clocked (or dynamic) comparator structure, also called a latched comparator. Often latched comparators employ strong positive feedback for a "regeneration phase" when a clock is high, and have a "reset phase" when the clock is low.[10] This is in contrast to a continuous comparator, which can only employ weak positive feedback since there is no reset period.
Applications
Null detectors
A null detector is one that functions to identify when a given value is zero. Comparators can be a type of amplifier distinctively for null comparison measurements. It is the equivalent to a very high gain amplifier with well-balanced inputs and controlled output limits. The circuit compares the two input voltages, determining the larger. The inputs are an unknown voltage and a reference voltage, usually referred to as vu and vr. A reference voltage is generally on the non-inverting input (+), while vu is usually on the inverting input (-). (A circuit diagram would display the inputs according to their sign with respect to the output when a particular input is greater than the other.) The output is either positive or negative, for example +/-12 V. In this case, the idea is to detect when there is no difference between in the input voltages. This gives the identity of the unknown voltage since the reference voltage is known.
When using a comparator as a null detector, there are limits as to the accuracy of the zero value measurable. Zero output is given when the magnitude of the difference in the voltages multiplied by the gain of the amplifier is less than the voltage limits. For example, if the gain of the amplifier is 106, and the voltage limits are +/-6 V, then no output will be given if the difference in the voltages is less than 6 μV. One could refer to this as a sort of uncertainty in the measurement.[11]
Zero-crossing detectors
For this type of detector, a comparator detects each time an ac pulse changes polarity. The output of the comparater changes state each time the pulse changes its polarity, that is, the output is HI (high) for a positive pulse and LO (low) for a negative pulse squares the input signal.[12]
Relaxation oscillator
A comparator can be used to build a relaxation oscillator. It uses both positive and negative feedback. The positive feedback is a Schmitt trigger configuration. Alone, the trigger is a bistable multivibrator. However, the slow negative feedback added to the trigger by the RC circuit causes the circuit to oscillate automatically. That is, the addition of the RC circuit turns the hysteretic bistable multivibrator into an astable multivibrator.[13]
Level shifter
This circuit requires only a single comparator with an open-drain output as in the LM393, TLV3011 or MAX9028. The circuit provides great flexibility in choosing the voltages to be translated by using a suitable pull up voltage. It also allows the translation of bipolar ±5 V logic to unipolar 3 V logic by using a comparator like the MAX972.[9]
Analog-to-digital converters
When a comparator performs the function of telling if an input voltage is above or below a given threshold, it is essentially performing a 1-bit quantization. This function is used in nearly all analog to digital converters (such as flash, pipeline, successive approximation, delta-sigma modulation, folding, interpolating, dual-slope and others) in combination with other devices to achieve a multi-bit quantization.[14]
Window detectors
Comparators can also be used as window detectors. In a window detector, a comparator used to compare two voltages and determine whether a given input voltage is under voltage or over voltage.
See also
- Zero crossing threshold detector
- Digital comparator
- Current comparator
- Constant fraction discriminator
- Flash ADC
- Sorting network
References
43 year old Petroleum Engineer Harry from Deep River, usually spends time with hobbies and interests like renting movies, property developers in singapore new condominium and vehicle racing. Constantly enjoys going to destinations like Camino Real de Tierra Adentro.
External links
Property Brokers and Team Managers – Looking for good Actual Estate Agency to join or contemplating which is the Finest Property Agency to join in Singapore? Join Leon Low in OrangeTee Singapore! In OrangeTee, we've much more attractive commission structure than before, enrichment courses, 10 most vital components to hitch OrangeTee and 1 motive to join Leon Low and his Workforce. 1. Conducive working environment
Via PropNex International, we continually construct on our fame in the international property enviornment. Click here for more of our abroad initiatives. Instances have modified. We don't see those unlawful hawkers anymore. Instead, nicely dressed property brokers were seen reaching out to people visiting the market in the morning. Real estate can be a lonely enterprise and it is straightforward to really feel demoralised, especially when there are no enquiries despite your greatest effort in advertising your shopper's property. That is the place having the fitting assist from fellow associates is essential. Our firm offers administration services for condominiums and apartments. With a crew of qualified folks, we assist to make your estate a nicer place to stay in. HDB Flat for Hire 2 Rooms
Achievers are all the time the first to check new technologies & providers that can help them enhance their sales. When property guru first began, many brokers didn't consider in it until they began listening to other colleagues getting unbelievable outcomes. Most brokers needs to see proof first, before they dare to take the first step in attempting. These are often the late comers or late adopters. There is a purpose why top achievers are heading the wave or heading the best way. Just because they try new properties in singapore issues ahead of others. The rest just observe after!
Firstly, a Fraudulent Misrepresentation is one that is made knowingly by the Representor that it was false or if it was made without belief in its fact or made recklessly without concerning whether or not it is true or false. For instance estate agent A told the potential consumers that the tenure of a landed property they are considering is freehold when it is really one with a ninety nine-yr leasehold! A is responsible of constructing a fraudulent misrepresentation if he is aware of that the tenure is the truth is a ninety nine-yr leasehold instead of it being freehold or he didn't consider that the tenure of the house was freehold or he had made the assertion with out caring whether or not the tenure of the topic property is in fact freehold.
I such as you to be, am a brand new projects specialist. You've got the conception that new tasks personnel should be showflat certain. Should you're eager, let me train you the right way to master the entire show flats island vast as a substitute of getting to stay just at 1 place. Is that attainable you may ask, well, I've achieved it in 6 months, you can too. Which company is well-recognized and is actually dedicated for developing rookie within the industry in venture sales market with success? Can a rookie join the company's core group from day one? I wish to propose a third class, which I have been grooming my agents in the direction of, and that is as a Huttons agent, you will be able to market and have knowledge of ALL Huttons projects, and if essential, projects exterior of Huttons as properly.
GPS has assembled a high workforce of personnel who are additionally well-known figures in the native actual property scene to pioneer this up-and-coming organization. At GPS Alliance, WE LEAD THE WAY! Many people have asked me how I managed to earn S$114,000 from my sales job (my third job) at age 24. The reply is easy. After graduation from NUS with a Historical past diploma, my first job was in actual estate. Within the ultimate part of this series, I interview one of the top agents in ERA Horizon Group and share with you the secrets to his success! Learn it RIGHT HERE
Notice that the application must be submitted by the appointed Key Government Officer (KEO) such as the CEO, COO, or MD. Once the KEO has submitted the mandatory paperwork and assuming all documents are in order, an email notification shall be sent stating that the applying is permitted. No hardcopy of the license might be issued. A delicate-copy could be downloaded and printed by logging into the CEA website. It takes roughly four-6 weeks to course of an utility.
- IC Comparator reference page at home.cogeco.ca
- Comparator tutorial video with example circuits
- A Java based resistor value search tool for analysing an inverting comparator circuit with hysteresis
- ↑ LM111/LM211/LM311 datasheet. National Semiconductor. January 2001. Retrieved 2010-08-05.
- ↑ LM139/LM239/LM339/LM2901/LM3302 datasheet. National Semiconductor. March 2004. Retrieved 2010-08-05.
- ↑ LMH7322 datasheet. National Semiconductor. January 2010. Retrieved 2010-08-05.
- ↑ Malmstadt, Enke and Crouch, Electronics and Instrumentation for Scientists, The Benjamin/Cummings Publishing Company, Inc., 1981, ISBN 0-8053-6917-1, Chapter 5.
- ↑ Ron Mancini, "Designing with comparators," EDN, March 29, 2001.
- ↑ Rogenmoser, R.; Kaeslin, H, "The impact of transistor sizing on power efficiency in submicron CMOS circuits," Solid-State Circuits, IEEE Journal of Volume 32, Issue 7, Jul 1997 Page(s):1142–1145.
- ↑ Ron Mancini, "Adding Hysteresis to comparators," EDN, May 3, 2001.
- ↑ AN3616, Maxim Integrated Products, Adding Extra Hysteresis to Comparators.
- ↑ 9.0 9.1 9.2 AN886, Maxim Integrated Products, Selecting the Right Comparator.
- ↑
20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.
My blog: http://www.primaboinca.com/view_profile.php?userid=5889534 - ↑ Electronics and Instrumentation for Scientists. Malmstadt, Enke, and Crouch, The Benjamin/Cummings Publishing Co., In., 1981, pp.108–110.
- ↑ Electronics and Instrumentation for Scientists. Malmstadt, Enke, and Crouch, The Benjamin/Cummings Publishing Co., In., 1981, p.230.
- ↑ Paul Horowitz and Winfield Hill: The Art of Electronics, Cambridge University Press, Second edition, Cambridge 1989, pp.284–285.
- ↑ Phillip Allen and Douglas Holberg: CMOS Analog Circuit Design, Oxford University Press, Second edition, Oxford 2002.