******************************************************************************* * Copyright (C) Maxim Integrated Products, Inc., All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR * OTHER DEALINGS IN THE SOFTWARE. * * Except as contained in this notice, the name of Maxim Integrated * Products, Inc. shall not be used except as stated in the Maxim Integrated * Products, Inc. Branding Policy. * * The mere transfer of this software does not imply any licenses * of trade secrets, proprietary technology, copyrights, patents, * trademarks, maskwork rights, or any other form of intellectual * property whatsoever. Maxim Integrated Products, Inc. retains all * ownership rights. ******************************************************************************* * The MAX40000 is tiny, single comparators with built-in voltage references. * The device offers a supply voltage range from 1.7V to 5.5V and * consume only 0.9μA of supply current ******************************************************************************* .SUBCKT MAX40000 VDD GND IP IM OUT RF * | | | | | | * | | | | | Internal Voltage Reference Output * | | | | | * | | | | Push-Pull Output * | | | | * | | | Inverting Input of Comparator * | | | * | | Noninverting Input of Comparator * | | * | Ground * | * VDD Supply Voltage * * Date of model creation: * 2016/5 * * Revision History: * Version 1 * * Recommendations: * Use SIMETRIX (or SPICE 2G6; other simulators may require translation) * For a quick, effective design, use a combination of: data sheet * specs, bench testing, and simulations with this macromodel * Use the following analysis parameter in PSPICE: * ITL4=20 * For Transient Simulations in PSPICE use .ic(V(OUT))= 0 * * * Supported: * Model works over the temperature range -40 deg celsius to 125 deg celsius * Internal Reference Voltage, Hysteresis, Shutdown * * Not Supported: * * * Known Discrepancies in Model vs. Datasheet: * Propagation Delay value is greater than that of datasheet value obtained from the graph. * Rise-Time,Fall-Time value is less than that of electrical characteristic value * XCOMP VDD GND IP IM OUT RF COMP .ENDS MAX40000 ******************************************************************************* .SUBCKT COMP 5a 2 3 4a 1 REF Eref ref1 0 value={1.236+27k*I(Vre)+100u*V(5a)} Vre ref1 REF 0 R5b 5b 5c 10 C5b 5c 2 45u X_2 2 5c hq SHDN E5s 5 2 value={V(hq)*5.5} V5a 5a 5b 0 G5a 5a 2 value={-I(V5a)+0.9u} Ehp hp 2 value={if(V(4a)