link to page 10 link to page 10 ADCMP370/ADCMP371Data Sheet The hysteresis is the difference between these voltage levels and CC V R1 is given by ∆V = IN R2 + RPULLUP V × R1× R2 V CC ∆ = VCC = 5V IN (R1× ) R3 + (R2 × ) R1 + (R2 × ) R3 VRPULLUPCC = 5VADCMP370IN–OUTVREF = 2.5VIN+RLOADADCMP371VINR1 = 1M Ω R1IN+OUTIN–V 031 INR2 04745- RLOAD Figure 21. Noninverting ADCMP370 Comparator Configuration with Hysteresis The inverting ADCMP370 configuration is shown in Figure 22. R3 = 1M Ω The upper and lower switching thresholds are R2 = 1M Ω VCCR2 V = OUT HIGH:V V OUT LOW: IN_HI (R1||(R3 + R ))+ PULLUP R2 VCCVCC V × R2( + + CC R1 (R3 P R ULLUP)) V = R1R3R1 IN_HI (R1×(R3 + + × + × + P R ULLUP)) (R2 ) R1 (R2 (R3 P R ULLUP)) VIN_HIVIN_LO V ( + CC R2 || (R3 RPULLUP )) R2R2R3 V = IN_LO R1+ (R2 || (R3 + RPULLUP )) × × + CC V R2 (R3 RPULLUP) = V V OUT IN_LO (R1× (R3 + R + × + × + PULLUP )) (R2 ) R1 (R2 (R3 RPULLUP)) assuming RLOAD >> R1, R2, R3, RPULLUP. The hysteresis is the difference between these voltage levels and is given by VINVIN_LO VIN_HI V × R1× R2 = 1.67V CC = 3.33V V ∆ = 04745-019 IN (R1× (R3 + R + × + × + PULLUP )) (R2 ) R1 (R2 (R3 P R ULLUP)) Figure 20. Inverting ADCMP371 Comparator Configuration with Hysteresis VCC = 5V For the ADCMP370 configuration, a pull-up resistor is required for the open-drain output, which affects the hysteresis calcula- R1RADCMP370PULLUP tion. The noninverting ADCMP370 configuration is shown in IN+OUT Figure 21. The upper switching threshold is RIN–LOAD V (R1+ R2) VIN V = REF IN_HI R2 The lower input threshold level is given by 032 R3 V (R1+ R2 + R )− R2 PULLUP CC V R1 V = REF 04745- IN_LO R2 + R Figure 22. Inverting ADCMP370 Comparator Configuration with Hysteresis PULLUP The hysteresis is the difference between these voltage levels Rev. D | Page 10 of 12 Document Outline Features Applications General Description Functional Block Diagram Table of Contents Revision History Specifications Absolute Maximum Ratings ESD Caution Pin Configurations and Function Description Typical Performance Characteristics Applications Basic Comparator Adding Hysteresis Outline Dimensions Ordering Guide