为了正常的体验网站,请在浏览器设置里面开启Javascript功能!

利用迟滞特性解决比较器不稳定问题

2011-02-25 3页 pdf 92KB 96阅读

用户头像

is_938432

暂无简介

举报
利用迟滞特性解决比较器不稳定问题 Analog Dialogue 34-7 (2000) 1 Curing Comparator Instability with Hysteresis By Reza Moghimi ABOUT COMPARATORS Comparator ICs are designed to compare the voltages that appear at their inputs and to output a voltage representing the sign of the net difference betwe...
利用迟滞特性解决比较器不稳定问题
Analog Dialogue 34-7 (2000) 1 Curing Comparator Instability with Hysteresis By Reza Moghimi ABOUT COMPARATORS Comparator ICs are designed to compare the voltages that appear at their inputs and to output a voltage representing the sign of the net difference between them. In a comparator circuit, if the differential input voltage is higher than the input offset voltage (VOS), plus the required overdrive, the output swings to a voltage representing logic 1. In effect, a comparator can be thought of as a one-bit analog-to-digital converter. Besides being key components of A/D converters, comparators are also widely used in level detection, on-off controls, clock-recovery circuits, window detectors, and Schmitt triggers. Operational amplifiers (op amps) can be—and frequently are— used as comparators, either open-loop or in a high-gain mode, but a better way is to use the special integrated circuits that are optimized for this purpose. The output stage of a comparator is wired to be more flexible than that of an op amp. Op amps use push-pull outputs that ordinarily swing as close to the power supply rails as feasible, while some comparators may have an open collector output with grounded emitter. This permits the pull-up voltage source for the output stage to vary over a wide range, allowing comparators to interface to a variety of logic families or load circuits. A reduced value for the pull-up resistor, providing increased current, will yield improved switching speed and noise immunity, but at the expense of increased power dissipation. Comparators often have a latch that permits strobing the input at the right time and a shutdown function that conserves power when the comparator is not needed. Built to compare two levels as quickly as possible by running essentially “open-loop,” comparators usually lack internal Miller compensation capacitors or integration circuitry and therefore have very wide bandwidth. Because of this, comparators are usually configured with no negative feedback (or with very small amounts if a controlled high gain is desired). This absence of negative feedback means that, unlike that of op amp circuits, the input impedance is not multiplied by the loop gain. As a result, the input current varies as the comparator switches. Therefore the driving impedance, along with parasitic feedbacks, can play a key role in affecting circuit stability. While negative feedback tends to keep amplifiers within their linear region, positive feedback forces them into saturation. What’s the Role of Hysteresis? Even without actual feedback circuitry, capacitive strays from the output to an input (usually the noninverting input), or coupling of output currents into ground (to which the noninverting input is often connected) may cause the comparator circuit to become unstable. Guarding high-impedance nodes and paying careful attention to layout and grounding can help to minimize these coupling effects. Latching is also helpful. But it is not always possible to prevent instability by these measures. An often-effective solution is to use positive feedback to introduce a small amount of hysteresis. This has the effect of separating the up-going and down-going switching points so that once a transition has started, the input must undergo a significant reversal before the reverse transition can occur. When processing slowly varying signals with even small amounts of superimposed noise, comparators tend to produce multiple output transitions, or bounces, as the input crosses and recrosses the threshold region (Figure 1). Noisy signals can occur in any application, and especially in industrial environments. As the signal crosses the threshold region, the noise is amplified by the open loop gain, causing the output to briefly bounce back and forth. This is unacceptable in most applications, but it can generally be cured by introducing hysteresis. Ch1 Ch210.0V 5.00mV M 400ms A Ch2 45.3mV Figure 1. Noise causes multiple transitions. Where to Use Hysteresis Besides comparator noise reduction, system hysteresis is used in on-off control to avoid overly frequent cycling of pumps, furnaces and motors. In the simplest applications a controller turns an actuator on and off as a system parameter falls below or rises above a reference set point. With hysteresis, the actuator remains on until the parameter rises somewhat above the set point, switches, and then remains off until the parameter falls to a value below the set point. The levels at which switching occurs are called the high and low threshold voltages, Vth and Vtl. An example of set-point hysteresis is the home thermostat, which uses some form of comparator to turn the furnace on or off. Allowing hysteresis for a few degrees of temperature change reduces unnecessary cycling adequately for home environments. Figure 2 shows a typical circuit for a comparator IC used in temperature control. AD8561 V+ R2 (1.5k�) 4 5 6 7 12 3 R3 (9.2k�) 6 3 R1 (1.3k�) REF-02 R5 2.2k� SEE NOTE 1 HEATING ELEMENT 2N2222 V+ (12V) NOTES: 1. REF-02 SHOULD BE THERMALLY CONNECTED TO SUBSTANCE BEING HEATED. 2. NUMBERS IN PARENTHESES ARE FOR A SETPOINT TEMPERATURE OF 60 �C. 3. R1 = R2||R3||R4 R4 SET HYSTERESIS Figure 2. Temperature-control circuit with REF02 reference/ sensor and AD8561 comparator. Hysteresis is introduced as needed via positive-feedback resistor, R4. 2 Analog Dialogue 34-7 (2000) Designing Comparator Circuits with Hysteresis Hysteresis is applied by feeding back to the positive input a small fraction of the output voltage (which is at an upper or a lower limit). This voltage adds a polarity-sensitive offset to the input, increasing the threshold range. With a chosen comparator, the designer must determine whether to use it in an inverting or noninverting configuration, i.e., whether a positive overdrive will switch the output to a negative or positive limit. Some comparators have positive and negative outputs, imparting a great deal of flexibility to their use in a system. Hysteresis can be applied by connecting the positive input terminal to the tap of a two-resistor voltage divider between the positive output and the reference source; the amount of output voltage fed back depends on the resistance ratio. This frees the inverting input for direct connection of the input signal, as in Figure 2. If the signal is applied to the noninverting input, its source impedance should be low enough to have an insignificant effect on either the input scaling or the hysteresis ratio. To get the maximum performance out of a device, the hysteresis should be large enough to overcome the VOS (over the entire operating temperature) plus the required overdrive, as determined from the manufacturer’s data sheet. Increasing the overdrive reduces the propagation delay of the part. The level of overdrive required increases with ambient temperature. Figures 3 and 4 show the use of hysteresis with dual supplies. In Figure 3, the signal is applied to the inverting input. The output vs. input plot shows the vicinity of the switching point. R2 is usually much higher in resistance than R1. If R2 were infinite, there would be no hysteresis, and the device would switch at VREF. The hysteresis is determined by the output levels and the resistance ratio R1/ (R1 + R2), and the switching-point voltage is offset slightly from VREF by the attenuation ratio R2/(R1 + R2). In Figure 4, the signal is applied to the noninverting input via R1. Because the input signal is slightly attenuated, the hysteresis will be slightly larger than in the inverting case. VOUT VIN VTVTL VOH VOL VIN VREF R1 10 9 4 2 18 VCC VEE V+ V– R2 VPULL-UP RPULL-UP INVERTING HYSTERESIS: VTL = (R2*VREF + R1*VOL)/(R1 + R2) VTH = (R2*VREF + R1*VOH)/(R1 + R2) HYST = VTH – VTL HYST = R1*(VOH – VOL)(R1 + R2) VTH Figure 3. Comparator using inverting input, dual supplies. VOUT VIN VTHVTL VOH VOL VREF R1 10 9 4 2 18 VCC VEE V+ V– R2 VPULL-UP RPULL-UP NONINVERTING HYSTERESIS: VTH = ((R1 + R2)*VREF – (R1*VOL))/R2 VTL = ((R1 + R2)*VREF – (R1*VOH))/R2 HYST = VTH – VTL HYST = R1*(VOH – VOL)/R2 VIN VT Figure 4. Comparator using noninverting input, dual supplies. If the reference voltage is midway between the comparator’s high and low output voltages (as is the case with a symmetrical power supply and ground reference), the introduction of the hysteresis will move the high and low thresholds equal distances from the reference. If the reference is nearer to one output than the other, the thresholds will be asymmetrically placed around the reference voltage. In single-supply comparator operations, the need arises to offset the reference, so that the circuit operates entirely within the first quadrant. Figure 5 shows how this can be achieved. The resistor divider (R2 and R1) creates a positive reference voltage that is compared with the input. The equations for designing the dc thresholds are shown in the figure. VOUT VINVTL VOH VOL VIN R1 10 9 4 2 18 VCC V+ V– R2 VPULL-UP RPULL-UP R3 SINGLE-SUPPLY INVERTING HYSTERESIS: VTL = (R1||R3)*VCC/((R1||R3) + R2) + (R1||R2) *VOL/((R1||R2) + R3) VTH = (R1||R3)*VCC/((R1||R3) + R2) + (R1||R2) *VOH/((R1||R2) + R3) HYST = VTH – VTL HYST = (R1||R2)*(VOH – VOL)/(R1||R2 + R3) VTH (a) VOUT VIN VTHVTL VOH VOL VIN R3 10 9 4 2 18 VCC V+ V– R2 VPULL-UP RPULL-UP R4 SINGLE-SUPPLY NONINVERTING HYSTERESIS: VREF = VCC*R1/(R1 + R2) VTH = ((R3 + R4)*VREF – (R3*VOL))/R4 VTL = ((R3 + R4)*VREF – (R3*VOH))/R4 HYST = VTH – VTL HYST = R3*(VOH – VOL)/R4 VREF R1 (b) Figure 5. Comparators in single-supply operation. Placing a capacitor across the feedback resistor in the above configurations will introduce a pole into the feedback network. This has the “triggering” effect of increasing the amount of hysteresis at high frequencies. This can be very useful when the input is a relatively slowly varying signal in the presence of high- frequency noise. At frequencies greater than f(p) = 1/(2πCfRf), the hysteresis approaches VTH = VCC and VTL = 0 V. At frequencies less than f(p), the threshold voltages remain as shown in the equations. For comparators having complementary (Q and Q) outputs, positive feedback, and therefore hysteresis, can be implemented Analog Dialogue 34-7 (2000) 3 in two ways. This is shown in Figure 6. The advantage of Figure 6b is that a positive input-output relationship can be obtained without loading the signal source. VIN R1 2 3 OUT 7 R2 VREF 8 OUT V+ V– a. Unloaded reference. VIN R1 2 3 OUT 7 R2 VREF 8OUT V+ V– b. Unloaded input. Figure 6. Complementary-output comparators. Figure 7 shows a circuit for comparing a bipolar signal against ground, using a single-supply part. VIN R3 2 3 OUT 7 R4 8OUT R1 R2 V+ V– VOUT VIN VTHVTL VOH VOL Figure 7. Single-supply comparator with bipolar input. Variables Affecting Hysteresis The offset voltage, input bias currents, and finite gain in the linear region of the comparator all limit the accuracy of the switching thresholds, VTH and VTL. The input bias current is normally not a problem, since most applications use small source resistors to take advantage of the high speed of the comparators. Although it reduces power dissipation, high source resistance increase the propagation delay of the comparator. In order to keep the required overdrive low, the offset should be as small as possible. Open-loop amplifiers could be used in place of comparators when extremely low offsets are required in the design. The trip-point accuracies (with hysteresis) are also affected by the device-to-device variation of VOH and VOL. One possible remedy is to use a programmable reference, but this process can become costly and time consuming. A better way, though still somewhat cumbersome, is to use precision clamp circuitry to keep the output at a fixed value when it goes high (Figure 8). VIN VREF R1 10k� 10 9 4 2 18 VCC VEE V+ V– VCC R6 100� U2A CMP04 1N4148 D1 ++ VOUT 3 2 1 VCC V+ V– U7 OP777 VCLAMP SLEEP OUT GND VS VCC 2 6 4 3 R2 10k� 1N4148D7 �(V) = (VCLAMP – VREF)R1/(R1 + R2) VREF = VCLAMP Figure 8. Precision clamp circuit. Conclusion Designers can use hysteresis to rid comparator circuits of instabilities due to noise. Hysteresis is reliable and can be applied predictably using small amounts of positive feedback. b
/
本文档为【利用迟滞特性解决比较器不稳定问题】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。 本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。 网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。

历史搜索

    清空历史搜索