AP331A SINGLE DIFFERENTIAL COMPARATOR General Description Features • • • • • • • • • • • Wide supply Voltage range: 2.0V to 36V Single or dual supplies: ±1.0V to ±18V Very low supply current drain (0.4mA) – independent of supply voltage Low input biasing current: 150nA Low input offset current: ±70nA Low input offset voltage: ±4mV Input common-mode voltage range includes ground Differential input voltage range equal to the power supply voltage Low output saturation voltage: 250mV at 4mA Output voltage compatible with TTL, DTL, ECL, MOS and CMOS logic systems SOT25 and SOT25R: Available in “Green” Molding Compound (No Br, Sb) Lead Free Finish/ RoHS Compliant (Note 1) The AP331A is a precision voltage comparators with an offset voltage specification as low as 8.0 mV max for comparator which were designed specifically to operate from a single power supply over a wide range of voltages. Operation from split power supplies is also possible and the low power supply current drain is independent of the magnitude of the power supply voltage. The comparator also have a unique characteristic in that the input common-mode voltage range includes ground, even though operated from a single power supply voltage. Application areas include limit comparators, simple analog to digital converters; pulse, square wave and time delay generators; wide range VCO; MOS clock timers; multivibrators and high voltage digital logic gates. The AP331A is designed to directly interface with TTL and CMOS. When operated from both plus and minus power supplies, the AP331A will directly interface with MOS logic where their low power drain is a distinct advantage over standard comparators. Applications • • • • • • High precision comparators Reduced VOS drift over temperature Eliminates need for dual supplies Allows sensing near ground Compatible with all forms of logic Power drain suitable for battery operation Ordering Information AP331A XX G - 7 Device AP331AWG-7 AP331AWRG-7 Notes: Package Lead Free Packing W : SOT25 WR : SOT25R G : Green 7 : Tape & Reel Package Code Packaging (Note 2) W WR SOT25 SOT25R 7” Tape and Reel Quantity Part Number Suffix 3000/Tape & Reel -7 3000/Tape & Reel -7 1. EU Directive 2002/95/EC (RoHS). All applicable RoHS exemptions applied. Please visit our website at http://www.diodes.com/products/lead_free.html. 2. Pad layout as shown on Diodes Inc. suggested pad layout document AP02001, which can be found on our website at http://www.diodes.com/datasheets/ap02001.pdf. AP331A Rev. 2 1 of 13 www.diodes.com FEBRUARY 2009 © Diodes Incorporated AP331A SINGLE DIFFERENTIAL COMPARATOR Pin Assignments (1) SOT25 (2) SOT25R ( Top View ) ( Top View ) IN- 1 GND 2 IN+ 3 5 Vcc IN+ 1 GND 2 IN- 3 4 Output 5 Vcc 4 Output Pin Descriptions Pin Name IN- Pin No. SOT25R SOT25 1 3 Description Input- GND 2 2 Ground IN+ 3 1 Input+ Output 4 4 Output Vcc 5 5 Power Supply Block Diagram V+ 3.5μA Q2 +INPUT 100μA 3.5μA 100μA Q3 Q1 Q4 OUTPUT Q5 -INPUT Q6 Q8 AP331A Rev. 2 Q7 2 of 13 www.diodes.com FEBRUARY 2009 © Diodes Incorporated AP331A SINGLE DIFFERENTIAL COMPARATOR Absolute Maximum Ratings Symbol VCC VIN VIN ICC Parameter Supply Voltage Differential Input Voltage (Note 10) Input Voltage Input Current (VIN-0.3V) (Note 5) Rating 40 40 -0.3 to +40 50 Unit V V V mA 740 mW SOT25 SOT25R PD Power Dissipation (Note 3) TJ TST Output Short-Circuit to Ground (Note 4) Operating Junction Temperature Range Storage Temperature Range Continuous +150 -65 to +150 o o C C Recommended Operating Conditions Symbol VCC VCC VIN VIN TA Parameter Supply Voltage (Single) Supply Voltage (Dual Supplies, V+ VS GND) Differential Input Voltage (Single) (Note 10) Differential Input Voltage (Dual Supplies) (Note 10) Operating Ambient Temperature Min +2 ±1 0 -18 0 Max +36 ±18 ±36 +18 70 Unit V V V V o C Electrical Characteristics (VCC = 5V, TA = 25oC, unless otherwise stated) Symbol Parameter Conditions (Note 11) VOFFSET Input Offset Voltage IIN(+) or IIN(-) with Output In IBIAS Input Bias Current Linear Range, VCM = 0V (Note 7) IOFFSET Input Offset Current IIN(+) - IIN(-) VCM = 0V Input Common Mode Voltage V+ = 30V (Note 8) Range + V = 5V ICC Supply Current RL = ∞ V+ = 36V RL > 15kΩ, V+ = 15V Voltage Gain VO = 1V to 11V VIN = TTL Logic Swing, VREF = 1.4V, VRL = 5V, Large Signal Response Time RL = 5.1kΩ VRL = 5V, RL = 5.1kΩ Response Time (Note 9) VIN(-) = 1V, VIN(+) = 0, IO(Sink) Output Sink Current VO < 1.5V VIN(-) = 1V, VIN(+) = 0, VSAT Saturation Voltage ISINK < 4mA VIN(-) = 0, VIN(+) = 1V, IO(Leak) Output Leakage Current VO = 5V AP331A Rev. 2 3 of 13 www.diodes.com Min - Typ. 4.0 Max 8.0 Unit mV - 150 400 nA - 70 150 nA + 0 - V -1.5 V - 0.4 1 1 2.5 mA 50 200 - V/mV - 300 - ns - 1.3 - μs 6.0 16 - mA - 250 400 mV - 0.1 - nA FEBRUARY 2009 © Diodes Incorporated AP331A SINGLE DIFFERENTIAL COMPARATOR Electrical Characteristics ( VCC = 5V ) ( Note 6 ) Symbol Parameter VOFFSET Input Offset Voltage IOFFSET Input Offset Current IBIAS Input Bias Current Input Common Mode Voltage Range VSAT IO(Leak) Saturation Voltage Output Leakage Current Differential Input Voltage θJA θJC Notes: Thermal Resistance Junction-to-Ambient Thermal Resistance Junction-to-Case Conditions (Note 11) IIN(+) -IIN(-), VCM = 0V IIN(+) or IIN(-) with Output In Linear Range, VCM = 0V (Note 7) V+ =30V (Note 8) VIN(-) = 1V, VIN(+) = 0, ISINK < 4mA VIN(-) = 0, VIN(+) = 1V, VO = 30V Keep All VIN’s > 0V (or V-, if Used), (Note 10) SOT25 (Note 12) SOT25R (Note 12) SOT25 (Note 12) SOT25R (Note 12) Min - Typ. - Max 9 200 Unit mV nA - - 500 nA 0 - V+ -2.0 V - - 700 mV - - 1.0 μA - - 36 V 173 o C/W 37 o C/W 3. The maximum power dissipation is a function of TJ(MAX) , θJA. The maximum allowable power dissipation at any ambient temperature is PD = (T J(MAX) -TA)/ θJA . All numbers apply for packages soldered directly onto a PC board. 4. Short circuits from the output to V+ can cause excessive heating and eventual destruction. When considering short circuits to ground, the maximum output current is approximately 20mA independent of the magnitude of V+. 5. This input current will only exist when the voltage at any of the input leads is driven negative. It is due to the collector-base junction of the input PNP transistors becoming forward biased and thereby acting as input diode clamps. In addition to this diode action, there is also lateral NPN parasitic transistor action on the IC chip. This transistor action can cause the output voltages of the comparators to go to the V+ voltage level (or to ground for a large overdrive) for the time duration that an input is driven negative. This is not destructive and normal output states will re-establish when the input voltage, which is negative, again returns to a value greater than -0.3V. 6. The AP331A temperature specifications are limited to 0°C < TOP < +70°C. 7. The direction of the input current is out of the IC due to the PNP input stage. This current is essentially constant, independent of the state of the output so no loading change exists on the reference or input lines. 8. The input common-mode voltage or either input signal voltage should not be allowed to go negative by more than 0.3V. The upper end of the common-mode voltage range is V+-1.5V at 25°C, but either or both inputs can go to 36V without damage, independent of the magnitude of V+. 9. The response time specified is for a 100mV input step with 5mV overdrive. For larger overdrive signals 300ns can be obtained, see typical performance characteristics section. 10. Positive excursions of input voltage may exceed the power supply level. As long as the other voltage remains within the common-mode range, the comparator will provide a proper output state. The low input voltage state must not be less than -0.3V (or 0.3V below the magnitude of the negative power supply, if used). + + 11. At output switch point, VO ~ 1.4V, RS=0Ω with V from 5V to 30V; and over the full input common-mode range (0V to V -1.5V), at 25°C. 12. Test condition for SOT25 and sot25R: Device mounted on FR-4 substrate PC board, 2oz copper, with minimum recommended pad layout. AP331A Rev. 2 4 of 13 www.diodes.com FEBRUARY 2009 © Diodes Incorporated AP331A SINGLE DIFFERENTIAL COMPARATOR Application Information The AP331A is high gain, wide bandwidth devices, like most comparators, can easily oscillate if the output lead is inadvertently allowed to capacitively couple to the inputs via stray capacitance. This shows up only during the output voltage transition intervals as the comparator change states. Power supply bypassing is not required to solve this problem. Standard PC board layout is helpful as it reduces stray input-output coupling. Reducing the input resistors to < 10kΩ reduces the feedback signal levels and finally, adding even a small amount (1.0 to 10 mV) of positive feedback (hysteresis) causes such a rapid transition that oscillations due to stray feedback are not possible. Simply socketing the IC and attaching resistors to the pins will cause input-output oscillations during the small transition intervals unless hysteresis is used. If the input signal is a pulse waveform, with relatively fast rise and fall times, hysteresis is not required. All input pins of any unused comparators should be tied to the negative supply. The bias network of the AP331A establishes a drain current independent of the magnitude of the power supply voltage over the range of from 2.0 VDC to 30 VDC. It is usually unnecessary to use a bypass capacitor across the power supply line. The differential input voltage may be larger than V+ without damaging the device (Note 10). Protection should be provided to prevent the input voltages from going negative more than -0.3 VDC (at 25°C). An input clamp diode can be used as shown in the applications section. The output of the AP331A is the uncommitted collector of a grounded-emitter NPN output transistor. Many collectors can be tied together to provide an output OR’ing function. An output pull-up resistor can be connected to any available power supply voltage within the permitted supply voltage range and there is no restriction on this voltage due to the magnitude of the voltage applied to the + V terminal of the AP331A package. The output can also be used as a simple SPST switch to ground (when a pull-up resistor is not used). + The amount of current the output device can sink is limited by the drive available (which is independent of V ) and the β of this device. When the maximum current limit is reached (approximately 16mA), the output transistor will come out of saturation and the output voltage will rise very rapidly. The output saturation voltage is limited by the approximately 60Ω rSAT of the output transistor. The low offset voltage of the output transistor (1.0 mV) allows the output to clamp essentially to ground level for small load currents. Typical Circuit ( VCC = 5.0VDC ) +5.0VDC V+ +VIN + 3.0K VO +VREF + 100K 1/4 MM54CXX AP331A Rev. 2 5 of 13 www.diodes.com FEBRUARY 2009 © Diodes Incorporated AP331A SINGLE DIFFERENTIAL COMPARATOR Typical Circuit (Continued) (VCC = 5.0VDC) V+ 200K 2.0K 100K V+ 0 - 0.1µF VO AP331A + 200K CRYSTAL f=100KHz Crystal Controlled Oscillator V+ V+ 100K 100K - 0.1µF 3.0K 5.1K 10 +VC FREQUENCY CONTROL VOLTAGE INPUT 500pF 0.01µF + 3.0K + AP331A OUTPUT1 AP331A - V+/2 20K 50K 20K OUTPUT2 - V+/2 AP331A + Two-Decade High Frequency VCO V+ 3K - +VREF AP331A +VIN 10K VO + 10M Non-Inverting Comparator with Hysteresis AP331A Rev. 2 6 of 13 www.diodes.com FEBRUARY 2009 © Diodes Incorporated AP331A SINGLE DIFFERENTIAL COMPARATOR Typical Circuit (Continued) (VCC = 5.0VDC) V+ V+ +0.075V - 100K AP331A A 100K V+ 0 "0" "1" AP331A 100K f A + B 100K C - 1K 1K B 3K 200K 3K 39K +0.375V C 1K 100K + 100K 1K V+ 0 "0" "1" Or Gate AND Gate V+ 10K V+ (12VDC) R4 3K 100K +VREF HI 2RS + 10K AP331A 100K AP331A V+ 0 "0" "1" f D1 A VOUT LAMP 12 ESB - + RS D2 +VIN B D3 + C D4 D ALL DIODES 1N914 +VREF LOW - Limit Comparator Large Fan-in AND Gate AP331A Rev. 2 2N2222 AP331A 2RS 7 of 13 www.diodes.com FEBRUARY 2009 © Diodes Incorporated AP331A SINGLE DIFFERENTIAL COMPARATOR Typical Circuit (Continued) (VCC = 5.0VDC) V+ + 3.0K VO AP331A - + AP331A - ORing the Outputs V + V+ + 100K 100K 5.1K 5.1K 5.1K - VIN 0 t0 100pF 1M 10K - 1N914 AP331A VO 1N914 + 1M AP331A VO + 20M 0.001µF 1ms t0 1M 10K Zero Crossing Detector (Single Power Supply) AP331A Rev. 2 V+ PW t1 0 1N914 One-Shot Multivibrator 8 of 13 www.diodes.com FEBRUARY 2009 © Diodes Incorporated AP331A SINGLE DIFFERENTIAL COMPARATOR Typical Circuit (Continued) (VCC = 5.0VDC) AP331A Rev. 2 9 of 13 www.diodes.com FEBRUARY 2009 © Diodes Incorporated AP331A SINGLE DIFFERENTIAL COMPARATOR Split-Supply Applications (V+ = +15VDC and V- = -15 VDC) V+ 51K 51K 10K 2K 3.9K - 2.4K 2.4K φA AP331A + AP331A + 8.2K AP331A 2K - φB + 5.1K AP331A - 50pF 6.8K V- MOS Clock Driver AP331A Rev. 2 10 of 13 www.diodes.com FEBRUARY 2009 © Diodes Incorporated AP331A SINGLE DIFFERENTIAL COMPARATOR Typical Characteristics Supply Current Input Current Response Time for Various Input Overdrives—Negative Transition Response Time for Various Input Overdrives—Positive Transition Output Saturation Voltage AP331A Rev. 2 11 of 13 www.diodes.com FEBRUARY 2009 © Diodes Incorporated AP331A SINGLE DIFFERENTIAL COMPARATOR Marking Information (1) SOT25 and SOT25R ( Top View ) 4 7 5 XX Y W X 1 2 Part Number AP331A AP331A Package Information 3 XX : Identification code Y : Year 0~9 W : Week : A~Z : 1~26 week; a~z : 27~52 week; z represents 52 and 53 week X : A~Z : Green Package SOT25 SOT25R Identification Code R9 R3 (All Dimensions in mm) (1) Package Type: SOT25 and SOT25R AP331A Rev. 2 12 of 13 www.diodes.com FEBRUARY 2009 © Diodes Incorporated AP331A SINGLE DIFFERENTIAL COMPARATOR IMPORTANT NOTICE Diodes Incorporated and its subsidiaries reserve the right to make modifications, enhancements, improvements, corrections or other changes without further notice to any product herein. Diodes Incorporated does not assume any liability arising out of the application or use of any product described herein; neither does it convey any license under its patent rights, nor the rights of others. The user of products in such applications shall assume all risks of such use and will agree to hold Diodes Incorporated and all the companies whose products are represented on our website, harmless against all damages. LIFE SUPPORT Diodes Incorporated products are not authorized for use as critical components in life support devices or systems without the expressed written approval of the President of Diodes Incorporated. AP331A Rev. 2 13 of 13 www.diodes.com FEBRUARY 2009 © Diodes Incorporated