******************************************************************************* * 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 MAX16833 is a peak current-mode high-brightness LED (HB LED) driver for boost, buck-boost, * SEPIC, flyback topologies. The controller uses constant frequency peak current mode control to regulate the * duty cycle of the PWM controller. A dimming driver designed to drive an external p-channel in series with * the LED string provides wide-range dimming control from 100Hz to 600Hz. This feature provides extremely * fast PWM current switching to the LEDs with no transient overvoltage or undervoltage conditions. In addition to * PWM dimming, the MAX16833 provides analog dimming using a DC input at ICTRL. The MAX16833 sense the LED current * at the high side of the LED string. ******************************************************************************************************************* .SUBCKT MAX16833 LFRAMP RT SGND ICTRL COMP FLTB PWMDIM OVP DIMOUT ISENSE- ISENSE+ CS PGND NDRV VCC IN * | | | | | | | | | | | | | | | | * | | | | | | | | | | | | | | | Positive Power-Supply Input * | | | | | | | | | | | | | | | * | | | | | | | | | | | | | | 7V Low-Dropout Voltage Regulator Output * | | | | | | | | | | | | | | * | | | | | | | | | | | | | External n-Channel MOSFET Gate-Driver Output * | | | | | | | | | | | | | * | | | | | | | | | | | | Power Ground * | | | | | | | | | | | | * | | | | | | | | | | | Switching Regulator Current-Sense Input * | | | | | | | | | | | * | | | | | | | | | | Positive LED Current-Sense Input * | | | | | | | | | | * | | | | | | | | | Negative LED Current-Sense Input * | | | | | | | | | * | | | | | | | | Active-Low External Dimming p-Channel MOSFET Gate Driver * | | | | | | | | * | | | | | | | LED String Overvoltage-Protection Input * | | | | | | | * | | | | | | PWM Dimming Input * | | | | | | * | | | | | Active-Low, Open-Drain Fault Indicator Output * | | | | | * | | | | Compensation Network Connection * | | | | * | | | Analog Dimming-Control Input * | | | * | | Signal Ground * | | * | PWM Switching Frequency Programming Input * | * Low-Frequency Ramp Output * * * Date of model creation: * 01/2011 * * Revision History: * Revision 2.0 * Revision 2.1(19/02/2020) : .IC V(OS2)= .5504129500 is added in the model file * * 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 Following Analysis Parameters in PSPICE: * .OPTIONS ADVCONV * .OPTIONS ITL4=40 * In PSPICE comment the line no. 405 having content .IC V(OS2)= .5504129500 * * Supported: * Typical performance for temperature range (-40 to 125) degrees Celsius * IN UVLO threshold,Oscillator with frequency setting by resistor RT pin to GND, * Fault indication,NDRV driver,OVP threshold,90% DUTY CYCLE LIMIT,SLOP COMPENSATION, * BUCK BOOST FAULT,HICCUP MODE,..etc * * Not Supported: * External frequency synchronization,1024 clock cycles startup delay * Model parameters doesn't vary with temperature * * Known Discrepancies in Model vs. Datasheet: * * * ************************************************** *UVLO1 (4.55V-ON,4.3V-OFF, 0.25V Hysterisis) VUV VUV2 GND 4.55V GUV GND UVINT POLY(2) IN VUV2 UVINT GND 0 1M 0.25M XDUV1 GND UVINT DA1 CUV UVINT GND 10P XDUV2 UVINT V1 DA1 VUV1 V1 GND 1V ************* *PWMDIM INPUT V3P V3PV GND 3.4V E3V VPL GND POLY(2) V3PV GND UVINT GND 0 0 0 0 1 RPL VPL PWMDIM 3MEG XPWMIN PWMI GND PWMDIM CMP1230MV RLP1 PWMI GND 1MEG ************* *AND GATE EFLTB FLTI1 GND FLTI GND 1 EPWM PWMI1 GND PWMI GND 1 RPA1 V1 PW1 10K XDAP1 PW1 FLTI1 DA1 XDAP2 PW1 PWMI1 DA1 ************* *OVP INPUT XOVP OVPI GND OVP CMP1230MV VL1 V1L GND 1V EOVP1 FLTA GND V1L OVPI 1 RLO1 OVPI GND 1MEG ************* * 7V VCC LDO EVIN1 VIN1 GND IN GND 1 HVIN2 VIN1 VIN2 VLDCS 2.05 RVIN VIN2 VCC1 10K XDVCC1 VCC1 VCC2 DA1 VCC1A VCC2 GND 7V EVCC1 VCC3 GND POLY(2) VCC1 GND UVINT GND 0 0 0 0 1 RVCC1 VCC3 VCC4 1.95 IVCC VCC4 VCC5 100M XDCC2 VCC5 VCC4 DA1 *RVCCA VCC5 VCC4 1MEG VLDCS VCC5 VCC6 0V XDCC3 VCC6 VCC DA1 ************* *Supply Current RVIN1 IN GND 800K GVIN1 IN GND UVINT GND 2.5M FSUP1 IN GND VLDCS 1 DIN1 GND IN DB ************* *OSCILLATOR ERT RT1 GND UVINT GND 1 XDRT1 RT2 RT1 DA1 IRT1 RT1 RT2 0.14MA XDRT2 RT2 RT3 DA1 VRT1 RT3 RT 0V COS2 RT4 GND 64.7P FOSC GND RT4 VRT1 1 XDOSC3 GND RT4 DA1 ROSC1 RT4 GND 10MEG **** VOS1 OS1 GND 2.1V GOS1 GND OS2 POLY(2) RT4 OS1 OS2 GND 0 1M 2.0M COS1 OS2 GND 1P XDOS1 GND OS2 DA1 XDOS2 OS2 V1 DA1 MOS1 RT4 OS3 GND GND MN1 L=0.5U W=49.1U EOS1 OS3 GND OS2 GND 2 ************* *90% DUTY CYCLE LIMIT ERT4 RT4C GND RT4 GND 1 VDTYL DTY GND 1.9V GDTYL GND DTYL POLY(2) RT4C DTY DTYL GND 0 100M 1M CDTYL DTYL GND 1P XDTYL1 GND DTYL DA1 XDTYL2 DTYL V1 DA1 EDTL DTL GND V1 DTYL 1 ************* *LFRAMP ELFR LFRAMPC GND LFRAMP GND 1 RLFR LFRAMP GND 1MEG GLFR1 GND LFRAMP POLY(2) UVINT GND V1 OSLFR 0 0 0 0 100U GLFR2 LFRAMP GND POLY(2) OSLFR GND UVINT GND 0 0 0 0 100U VLFR LFR GND 2V GLFR3 GND OSLFR POLY(2) LFRAMPC LFR OSLFR GND 0 1M 1M CLFR OSLFR GND 1P XLFR1 GND OSLFR DA1 XLFR2 OSLFR V1 DA1 ************* *CURRENT SENSE RCS1 CS CS1 5K MOS2T CS1 BL2 GND GND MN1 L=0.5U W=50U *60NS BLANKING V051 V05 GND 0.5V CBL1 ND1 ND2 86.7P RBL1 ND2 GND 1K XDBL1 GND ND2 DA1 GBL1 GND BL1 POLY(2) ND2 V05 BL1 GND 0 1 1M CBL2 BL1 GND 1P XDBL2 GND BL1 DA1 XDBL3 BL1 V1 DA1 EBL1 BL2 GND BL1 GND 2 ************* *SLOP COMP HSLP SE GND VRT1 0.738 GSLP1 GND SLP1 POLY(2) PR3 GND SE GND 0 0 0 0 1 XDSLP GND SLP1 DA1 CSLP SLP1 GND 1000p MOS2 SLP1 SLP3 GND GND MN1 L=0.5U W=1M GSLP2 GND CS SLP1 GND 500U ESLP2 SLP3 GND V1 FF4 2 XDSLP2 GND CS DA1 RCSS CS GND 75K XCA CS VCC DA1 ************* * EFF1 FF3 GND FF1 GND 1 RFF1 FF3 FF4 10K MFF1 FF4 OS3 GND GND MN1 L=0.5U W=1M *********** *SIGNAL FOR PWM COMP ECSFD CS3 GND POLY(2) CS1 GND V2P GND 0 1 1 V2P V2P GND 2V *PWM COMP GPW1 GND PW5 POLY(2) CS3 COMP PW5 GND 0 100M 1M RPW3 PW5 GND 1MEG CPW1 PW5 GND 1P XDP1 PW5 V1 DA1 XDP2 GND PW5 DA1 *CURRENT LIMIT COMP VCM CM3 GND 0.42V GC1 GND CM5 POLY(2) CS1 CM3 CM5 GND 0 100M 1M RC3 CM5 GND 1MEG CCM1 CM5 GND 1P XDC1 CM5 V1 DA1 XDC2 GND CM5 DA1 ************* *CS AMP GISEN GND ISENSEEN ISENSE+ GND 1M ISNSEI ISENSEEN GND 2M XTY GND ISENSEEN DA1 CISEN ISENSEEN GND 1P XUI ISENSEEN V1 DA1 EISEN ISENEN GND POLY(2) UVINT GND ISENSEEN GND 0 0 0 0 1 GLA GND EAN POLY(2) ISENSE+ ISENSE- ISENEN GND 0 0 0 0 6.15M RLA EAN GND 1K XDLA1 GND EAN DA1 *ERROR AMP RICTRL ICTRL GND 10MEG EICTRL REFII GND ICTRL GND 1 RREFD REFII REFI 1K XICT REFI ADK DA1 CERFT REFI GND 1P VAD ADK GND 1.23V V5VO V5VOL GND 5V *700uA maximum sourcing and sinking of error amp EER EAX GND REFI EAN 3300U REAX EAX EA 1 XE EA V7U DA1 V7M V7U GND 700U VM7M V7 GND -700U XET V7 EA DA1 E50 V5V GND POLY(2) UVINT GND V5VOL GND 0 0 0 0 1 EREF2 V37 GND VCC GND 1 GEA1 GND EAOUT EA GND 0.54 XDEA1 GND EAOUT DA1 XDEA2 EAOUT V5V DA1 REA1 EAOUT GND 1.7MEG CEA1 EAOUT GND 10P ************* *SWITCH MS1 EAOUT PWM1 N1 N1 MN1 L=0.5U W=50U MS2 COMP PWM1 N1 N1 MN1 L=0.5U W=50U CN1 N1 GND 0.1P ES1 PWM1 N1 PW1 GND 2 ************* *OR GATE GOR OR1 GND POLY(2) PW5 GND CM5 GND 1M -2M -2M XDOR1 GND OR1 DA1 XDOR2 OR1 V1 DA1 CDOR OR1 GND 1P ************* *FLIP-FLOP VF1 FF2 GND 0.5V GF1 GND FF1 FF1 FF2 1M CF1 FF1 GND 2P XDF1 GND FF1 DA1 XDF2 FF1 V1 DA1 RFF FF1 GND 10MEG ** GFSET GND FF1 OS2 GND 2M GFRST FF1 GND OR1 GND 4M GEN FF1 GND V1 UVINT 5M *AND GATE GAN1 GND NDR1 POLY(5) V1 FF1 V1 PW1 V1 FLTA OS2 GND V1 DTL 1M -2M -2M -2M -2M -2M XDA1 GND NDR1 DA1 XDA2 NDR1 V1 DA1 CAN1 NDR1 GND 0.2P *PROP DELAY 70nS EPR PR1 GND NDR1 GND 2 RPR1 PR1 PR2 1K T1 PR2 GND PR3 GND Z0=1K TD=40N RPR2 PR3 GND 1K CPR3 PR3 GND 0.5P END1 ND1 GND PR3 GND 1 ************* *MOSFET DRIVER EDRV1 DR1 GND POLY(2) V1 PR3 VCC GND 0 0 0 0 1 XDDR1 DR1 DR2 DA1 RDR1 DR1 DR2 40 CDR1 DR2 GND 10P XDDR2 DR3 DR1 DA1 RDR2 DR3 DR1 40 CDR2 DR3 GND 10P MDR1 NDRV DR2 VCC VCC MP1 L=0.5U W=1.3M MDR2 NDRV DR3 GND GND MN1 L=0.5U W=580U ************* *DIM DRIVER EDIMDR1 IVCC GND ISENSE+ GND 1 EDIMDR2 IGND GND ISENSE+ VCC 1 EDMV1 DM1 IGND POLY(2) PW1 GND IVCC IGND 0 0 0 0 1 XDDM1 DM1 DM2 DA1 RDM1 DM1 DM2 40 CDM1 DM2 IGND 10P XDDM2 DM3 DM1 DA1 RDM2 DM3 DM1 40 CDM2 DM3 IGND 10P MDM1 DIMOUT DM2 IVCC IVCC MP1 L=0.5U W=47U MDM2 DIMOUT DM3 IGND IGND MN1 L=0.5U W=23U ************* *FAULT INDICATION GFLT1 GND FLT3 POLY(3) V1 FLTA V1 FLTI FLTBB GND 1M -2M -2M -2M XDFL1 GND FLT3 DA1 XDFL2 FLT3 V1 DA1 CFL1 FLT3 GND 1P EFLT1 FLT4 GND V1 FLT3 3 MFLT1 FLTB FLT4 GND GND MN1 L=0.5U W=50U ************* *FAULT_B *SENSE >6.15X0.3V AT ISENSE+ - ISENSE- GFCMP1 GND FC1 POLY(2) EAN GND FC1 GND -1845U 1M CFC1 FC1 GND 1P XDFC1 GND FC1 DA1 XDFC2 FC1 V1 DA1 EFC1 FC2 GND FC1 GND 2 R5US FC2 FC3 1K XD5US FC3 FC2 DA1 C5US FC3 GND 1.43N *** GFCMP2 GND FC4 POLY(2) FC3 V1 FC4 GND 0 1M 10U CFC2 FC4 GND 1P XDFC3 GND FC4 DA1 XDFC4 FC4 V1 DA1 ************* *HICCUP MODE EHU3 HU3 GND FC4 GND 2 CHU1 HU3 HU5 1N RHU1 HU5 GND 1K XDHU2 GND HU5 DA1 EHU4 HU6 GND HU5 GND 1 XDHU1 HU6 HU7 DA1 CHU2 HU7 GND 10N FHU1 HU7 GND VRT1 89.6M *** GHU1 GND HU8 POLY(2) HU7 V1 HU8 GND 0 1M 10U CHU33 HU8 GND 1P XDHU3 GND HU8 DA1 XDHU4 HU8 V1 DA1 EHU5 FLTI GND V1 HU8 1 ************* *BUCK BOOST FAULT EBB ISIN GND IVCC VIN1 1 VFBB VFBB GND 1.55V GBB GND FBB POLY(2) ISIN VFBB FBB GND 0 100M 1M XDFB1 GND FBB DA1 XDFB2 FBB V1 DA1 CFBB FBB GND 1P HHUB1 VY GND VRT1 8.96M EHU VX GND POLY(2) VY GND PWMI1 GND 0 0 0 0 1 GHUBX V1 HU9X POLY(2) VX GND V1 FBB 0 0 0 0 1 XHUB1 HU9X V1 DA1 RHU1X HU9X HU9 1 CHU1X HU9 GND 10N RHU9 HU9 GND 1MEG RHU2X HU9 HU10X 1 XHUB2 GND HU10X DA1 GHUBY HU10X GND POLY(2) VX GND FBB GND 0 0 0 0 1 V1P VC GND 1V GBBT GND FLTBB POLY(2) HU9 VC FLTBB GND 0 50M 50M XDFBT1 GND FLTBB DA1 XDFBT2 FLTBB V1 DA1 CFBBT FLTBB GND 1P ********** VG1 GND SGND 0V *VG2 GND PGND 0V ************************************************** .MODEL MP1 PMOS(VTO=-1.0 KP=50E-6) .MODEL MN1 NMOS(VTO=1.0 KP=100E-6) .MODEL DB D(IS=100E-14 CJO=1P) ************************************************** .IC V(OS2)= .5504129500 .ENDS MAX16833 ************************************************** .SUBCKT DA1 1 2 D1 1 3 DB ED1 3 4 3 1 0.999 R2 4 2 10M RP 1 2 1G CDA 1 2 1P .MODEL DB D(IS=100E-14 CJO=1F) .ENDS DA1 ************************************************** .SUBCKT CMP1230MV CM1 GND IN RIN IN GND 95MEG VCM VCM2 GND 1.23V GCM GND CM1 POLY(2) IN VCM2 CM1 GND 0 1M 0.07M XDCM1 GND CM1 DA1 CCM CM1 GND 5P RCM1 CM1 GND 1MEG XDCM2 CM1 V1 DA1 VCM1 V1 GND 1V .ENDS CMP1230MV ************************************************** ************************************************** * EXTERNAL MOSFET AND DIODE MODELS ************************************************* *.model LFXH-C1A_VFBIN_B D(IS=1.553E-29 N=1.642E+00 RS=8.712E-02 XTI=-7.000E+00 EG=3.499E+00 TRS1=-1.504E-06 TRS2=1.718E-09 TNOM=25 mfg=Lumileds Type=LED) .SUBCKT LED_MODEL P1 N RSERIES P1 P RS DLED P N LFXH-C1A_VFBIN_B .model LFXH-C1A_VFBIN_B D(IS=1.553E-29 N=1.642E+00 RS=8.712E-02 XTI=-7.000E+00 EG=3.499E+00 TRS1=-1.504E-06 TRS2=1.718E-09 TNOM=25 mfg=Lumileds Type=LED) .ENDS LED_MODEL .SUBCKT MUR160_LOCAL P N D1 P N mur160 .model mur160 D(IS=7.4f RS=50m CJO=17p M=0.50 vj=0.75 ISR=940p BV=600 ibv=100u tt=120n) .ENDS MUR160_LOCAL .SUBCKT IRF530_LOCAL D G S .model mosfet NMOS( LEVEL=17 VTO=3.705 RS=0.05585 KP=4.543 RD=0.0492 TC1RD=0.031 RG=7.5 IS=1e-36 LIMIT(VDS)=(*, 100) CGDMAX=1.70E-09 CGDMIN=3.00E-11 XG2CGD=0.5 XG1CGD=0.1 CBD=2.61E-10 VTCGD=0.9) .model diode D( IS=1.62e-12 RS=0.0147 TT=1.929e-07) M1 D G S S mosfet D1 S D Diode Cgs G S 6.17E-10 .ENDS IRF530_LOCAL .SUBCKT IRF305_LOCAL 1 2 3 ************************************** * Model Generated by MODPEX * *Copyright(c) Symmetry Design Systems* * All Rights Reserved * * UNPUBLISHED LICENSED SOFTWARE * * Contains Proprietary Information * * Which is The Property of * * SYMMETRY OR ITS LICENSORS * *Commercial Use or Resale Restricted * * by Symmetry License Agreement * ************************************** * Model generated on Apr 23, 96 * Model format: SPICE3 * Symmetry POWER MOS Model (Version 1.0) * External Node Designations * Node 1 -> Drain * Node 2 -> Gate * Node 3 -> Source M1 9 7 8 8 MM L=100u W=100u * Default values used in MM: * The voltage-dependent capacitances are * not included. Other default values are: * RS=0 RD=0 LD=0 CBD=0 CBS=0 CGBO=0 .MODEL MM PMOS LEVEL=1 IS=1e-32 VTO=-3.45761 LAMBDA=0 KP=10.066 CGSO=1.03141e-05 CGDO=1e-11 RS 8 3 0.0262305 D1 1 3 MD .MODEL MD D IS=8.90854e-09 RS=0.00921723 N=1.5 BV=55 IBV=0.00025 EG=1.2 XTI=3.13635 TT=1e-07 CJO=1.30546e-09 VJ=0.663932 M=0.419045 FC=0.5 RDS 3 1 2.2e+06 RD 9 1 0.0001 RG 2 7 11.0979 D2 5 4 MD1 * Default values used in MD1: * RS=0 EG=1.11 XTI=3.0 TT=0 * BV=infinite IBV=1mA .MODEL MD1 D IS=1e-32 N=50 CJO=1.63729e-09 VJ=0.791199 M=0.552278 FC=1e-08 D3 5 0 MD2 * Default values used in MD2: * EG=1.11 XTI=3.0 TT=0 CJO=0 * BV=infinite IBV=1mA .MODEL MD2 D IS=1e-10 N=0.400245 RS=3e-06 RL 5 10 1 FI2 7 9 VFI2 -1 VFI2 4 0 0 EV16 10 0 9 7 1 CAP 11 10 1.89722e-09 FI1 7 9 VFI1 -1 VFI1 11 6 0 RCAP 6 10 1 D4 6 0 MD3 * Default values used in MD3: * EG=1.11 XTI=3.0 TT=0 CJO=0 * RS=0 BV=infinite IBV=1mA .MODEL MD3 D IS=1e-10 N=0.400245 .ENDS IRF305_LOCAL *************************************************************