* Z:\home\khalils\Downloads\files\data\raw_asc\83b1bf10129a_Driver.asc
* Generated by LTspice 26.0.1 for Windows.
V1 N012 0 7.2
XM1 N006 N005 N002 irlru7843 ;pnba D)G)S
R2 N005 N012 10k
XQ1 N005 N003 0 MMBT3904 ;pnba C)B)E
R3 LET_COLOR N003 10k
XM2 N007 LET_COLOR N002 irlru7843 ;pnba D)G)S
R4 N010 N012 4
R1 N011 N012 4
D1 N008 N006 MYLED
D2 N010 N008 MYLED
D3 N011 N009 MYLED
D4 N009 N007 MYLED
XM3 N002 LET_POWER 0 irlru7843 ;pnba D)G)S
R5 N001 LET_POWER 1k
R6 N004 LET_COLOR 1k
R7 0 N001 10k
R8 0 N004 10k
V2 N001 0 5
V3 N004 0 PULSE(0 5 0 1u 1u 500m 1)
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.model MYLED D( IS=1.76825786969796e-6 RS=-0.911638761617984 N=11.7870570081362
***********************************************************
*
* MMBT3904
*
* Nexperia
*
* Switching NPN Transistor
* IC = 200 mA
* VCEO = 40 V
* hFE = 100 - 300 @ 1V/10mA
*
*
*
*
* Package pinning does not match Spice model pinning.
* Package: SOT 23
*
* Package Pin 1: Base
* Package Pin 2: Emitter
* Package Pin 3: Collector
*
*
* Extraction date (week/year): 25/2014
* Spicemodel includes temperature dependency
*
**********************************************************
*#
* Please note: Diode D1 is dedicated to improve modeling in reverse
* mode of operation and does not reflect a physical device.
*
.SUBCKT MMBT3904 1 2 3
Q1 1 2 3 MAIN
D1 2 1 DIODE
*
.MODEL MAIN NPN
+ IS = 2.612E-015
+ NF = 1.005
+ ISE = 2.958E-015
+ NE = 1.533
+ BF = 169
+ IKF = 0.08351
+ VAF = 53.92
+ NR = 0.9982
+ ISC = 3.177E-016
+ NC = 1.094
+ BR = 2.107
+ IKR = 0.5
+ VAR = 100
+ RB = 114
+ IRB = 0.001
+ RBM = 6.2
+ RE = 0.04181
+ RC = 0.9576
+ XTB = 1.522
+ EG = 1.11
+ XTI = 4.633
+ CJE = 1.032E-011
+ VJE = 0.6333
+ MJE = 0.2056
+ TF = 3.55E-010
+ XTF = 10
+ VTF = 2
+ ITF = 0.3
+ PTF = 0
+ CJC = 3.181E-012
+ VJC = 0.8831
+ MJC = 0.3242
+ XCJC = 1
+ TR = 1.45E-007
+ CJS = 0
+ VJS = 0.75
+ MJS = 0.333
+ FC = 0.78
.MODEL DIODE D
+ IS = 1.82E-013
+ N = 1.042
+ BV = 1000
+ IBV = 0.001
+ RS = 380.9
+ CJO = 0
+ VJ = 1
+ M = 0.5
+ FC = 0
+ TT = 0
+ EG = 1.11
+ XTI = 3
.ENDS
*
.SUBCKT irlru7843 1 2 3
* SPICE3 MODEL WITH THERMAL RC NETWORK
**************************************
* 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 Sep 27, 05
* 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
.MODEL MM NMOS LEVEL=1 IS=1e-32
+VTO=2.51568 LAMBDA=0.00721063 KP=392.934
+CGSO=4.05151e-05 CGDO=8.83302e-07
RS 8 3 0.00215846
D1 3 1 MD
.MODEL MD D IS=2.04492e-13 RS=0.00208433 N=0.860628 BV=30
+IBV=0.00025 EG=1.2 XTI=4 TT=1e-07
+CJO=1.75159e-09 VJ=1.32632 M=0.487224 FC=0.5
RDS 3 1 3e+07
RD 9 1 0.0001
RG 2 7 4.17882
D2 4 5 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=5.6195e-10 VJ=3.17372 M=0.3 FC=1e-08
D3 0 5 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.4 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 2.22721e-09
FI1 7 9 VFI1 -1
VFI1 11 6 0
RCAP 6 10 1
D4 0 6 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.4
.ENDS irlru7843
*SPICE 2-Layer Thermal Model Subcircuit
.SUBCKT irlru7843t 2 0
R_RTHERM1 2 1 0.508421
C_CTHERM1 2 0 0.000771
R_RTHERM2 1 0 0.542316
C_CTHERM2 1 0 0.020483
.ENDS irlru7843t
.tran 4
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 3228 2052
WIRE 1280 -464 1200 -464
WIRE 544 -368 416 -368
WIRE 416 -336 416 -368
WIRE 544 -272 544 -368
WIRE 864 -256 592 -256
WIRE 1088 -256 864 -256
WIRE 1200 -256 1200 -464
WIRE 1200 -256 1168 -256
WIRE 1232 -256 1200 -256
WIRE 1360 -256 1312 -256
WIRE 544 -160 544 -176
WIRE 544 -160 208 -160
WIRE 864 -160 544 -160
WIRE 656 -80 560 -80
WIRE 752 -80 736 -80
WIRE 992 -80 752 -80
WIRE 1088 -80 992 -80
WIRE 1200 -80 1168 -80
WIRE 1232 -80 1200 -80
WIRE 1360 -80 1360 -256
WIRE 1360 -80 1312 -80
WIRE 560 -64 560 -80
WIRE 1360 -48 1360 -80
WIRE 208 -16 208 -160
WIRE 864 -16 864 -160
WIRE 368 0 256 0
WIRE 512 0 368 0
WIRE 656 0 608 0
WIRE 752 0 752 -80
WIRE 816 0 752 0
WIRE 656 16 656 0
WIRE 32 80 -64 80
WIRE 1200 96 1200 -80
WIRE 1296 96 1200 96
WIRE 32 112 32 80
WIRE 368 112 368 0
WIRE 208 128 208 80
WIRE 864 128 864 80
WIRE -64 144 -64 80
WIRE 208 224 208 192
WIRE 864 224 864 192
WIRE 208 320 208 288
WIRE 864 320 864 288
WIRE -64 416 -64 224
WIRE 208 416 208 400
WIRE 208 416 -64 416
WIRE 368 416 368 192
WIRE 368 416 208 416
WIRE 864 416 864 400
WIRE 864 416 368 416
FLAG 656 16 0
FLAG 416 -336 0
FLAG 32 112 0
FLAG 992 -80 LET_COLOR
FLAG 864 -256 LET_POWER
FLAG 1360 -48 0
FLAG 1360 -464 0
FLAG 1376 96 0
SYMBOL voltage -64 240 R180
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 7.2
SYMBOL nmos 256 80 R180
SYMATTR InstName M1
SYMATTR Value irlru7843
SYMATTR Prefix X
SYMBOL res 352 96 R0
SYMATTR InstName R2
SYMATTR Value 10k
SYMBOL npn 512 -64 M90
SYMATTR InstName Q1
SYMATTR Value MMBT3904
SYMATTR Prefix X
SYMBOL res 752 -96 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 10k
SYMBOL nmos 816 80 M180
SYMATTR InstName M2
SYMATTR Value irlru7843
SYMATTR Prefix X
SYMBOL res 192 304 R0
SYMATTR InstName R4
SYMATTR Value 4
SYMBOL res 848 304 R0
SYMATTR InstName R1
SYMATTR Value 4
SYMBOL diode 224 192 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D1
SYMATTR Value MYLED
SYMBOL diode 224 288 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D2
SYMATTR Value MYLED
SYMBOL diode 880 288 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D3
SYMATTR Value MYLED
SYMBOL diode 880 192 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D4
SYMATTR Value MYLED
SYMBOL nmos 592 -176 R180
SYMATTR InstName M3
SYMATTR Value irlru7843
SYMATTR Prefix X
SYMBOL res 1184 -272 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 1k
SYMBOL res 1184 -96 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R6
SYMATTR Value 1k
SYMBOL res 1328 -272 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R7
SYMATTR Value 10k
SYMBOL res 1328 -96 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R8
SYMATTR Value 10k
SYMBOL voltage 1264 -464 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 -32 56 VBottom 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 5
SYMBOL voltage 1280 96 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 -32 56 VBottom 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value PULSE(0 5 0 1u 1u 500m 1)
TEXT 1872 -568 Left 2 !.model MYLED D( IS=1.76825786969796e-6 RS=-0.911638761617984 N=11.7870570081362
TEXT 2360 -400 Left 2 !***********************************************************\n*\n* MMBT3904\n*\n* Nexperia\n*\n* Switching NPN Transistor\n* IC   = 200 mA\n* VCEO = 40 V \n* hFE  = 100 - 300 @ 1V/10mA\n*\n*\n*\n*\n* Package pinning does not match Spice model pinning.\n* Package: SOT 23\n* \n* Package Pin 1: Base\n* Package Pin 2: Emitter\n* Package Pin 3: Collector\n*\n*\n* Extraction date (week/year): 25/2014\n* Spicemodel includes temperature dependency\n*\n**********************************************************\n*#\n* Please note: Diode D1 is dedicated to improve modeling in reverse\n* mode of operation and does not reflect a physical device.\n*\n.SUBCKT MMBT3904 1 2 3\nQ1 1 2 3 MAIN\nD1 2 1 DIODE\n*\n.MODEL MAIN NPN\n+ IS = 2.612E-015\n+ NF = 1.005\n+ ISE = 2.958E-015\n+ NE = 1.533\n+ BF = 169\n+ IKF = 0.08351\n+ VAF = 53.92\n+ NR = 0.9982\n+ ISC = 3.177E-016\n+ NC = 1.094\n+ BR = 2.107\n+ IKR = 0.5\n+ VAR = 100\n+ RB = 114\n+ IRB = 0.001\n+ RBM = 6.2\n+ RE = 0.04181\n+ RC = 0.9576\n+ XTB = 1.522\n+ EG = 1.11\n+ XTI = 4.633\n+ CJE = 1.032E-011\n+ VJE = 0.6333\n+ MJE = 0.2056\n+ TF = 3.55E-010\n+ XTF = 10\n+ VTF = 2\n+ ITF = 0.3\n+ PTF = 0\n+ CJC = 3.181E-012\n+ VJC = 0.8831\n+ MJC = 0.3242\n+ XCJC = 1\n+ TR = 1.45E-007\n+ CJS = 0\n+ VJS = 0.75\n+ MJS = 0.333\n+ FC = 0.78\n.MODEL DIODE D\n+ IS = 1.82E-013\n+ N = 1.042\n+ BV = 1000\n+ IBV = 0.001\n+ RS = 380.9\n+ CJO = 0\n+ VJ = 1\n+ M = 0.5\n+ FC = 0\n+ TT = 0\n+ EG = 1.11\n+ XTI = 3\n.ENDS\n*
TEXT 1848 -416 Left 2 !.SUBCKT irlru7843 1 2 3\n* SPICE3 MODEL WITH THERMAL RC NETWORK \n**************************************\n*      Model Generated by MODPEX     *\n*Copyright(c) Symmetry Design Systems*\n*         All Rights Reserved        *\n*    UNPUBLISHED LICENSED SOFTWARE   *\n*   Contains Proprietary Information *\n*      Which is The Property of      *\n*     SYMMETRY OR ITS LICENSORS      *\n*Commercial Use or Resale Restricted *\n*   by Symmetry License Agreement    *\n**************************************\n* Model generated on Sep 27, 05\n* MODEL FORMAT: SPICE3\n* Symmetry POWER MOS Model (Version 1.0)\n* External Node Designations\n* Node 1 -> Drain\n* Node 2 -> Gate\n* Node 3 -> Source\nM1 9 7 8 8 MM L=100u W=100u\n.MODEL MM NMOS LEVEL=1 IS=1e-32\n+VTO=2.51568 LAMBDA=0.00721063 KP=392.934\n+CGSO=4.05151e-05 CGDO=8.83302e-07\nRS 8 3 0.00215846\nD1 3 1 MD\n.MODEL MD D IS=2.04492e-13 RS=0.00208433 N=0.860628 BV=30\n+IBV=0.00025 EG=1.2 XTI=4 TT=1e-07\n+CJO=1.75159e-09 VJ=1.32632 M=0.487224 FC=0.5\nRDS 3 1 3e+07\nRD 9 1 0.0001\nRG 2 7 4.17882\nD2 4 5 MD1\n* Default values used in MD1:\n*   RS=0 EG=1.11 XTI=3.0 TT=0\n*   BV=infinite IBV=1mA\n.MODEL MD1 D IS=1e-32 N=50\n+CJO=5.6195e-10 VJ=3.17372 M=0.3 FC=1e-08\nD3 0 5 MD2\n* Default values used in MD2:\n*   EG=1.11 XTI=3.0 TT=0 CJO=0\n*   BV=infinite IBV=1mA\n.MODEL MD2 D IS=1e-10 N=0.4 RS=3e-06\nRL 5 10 1\nFI2 7 9 VFI2 -1\nVFI2 4 0 0\nEV16 10 0 9 7 1\nCAP 11 10 2.22721e-09\nFI1 7 9 VFI1 -1\nVFI1 11 6 0\nRCAP 6 10 1\nD4 0 6 MD3\n* Default values used in MD3:\n*   EG=1.11 XTI=3.0 TT=0 CJO=0\n*   RS=0 BV=infinite IBV=1mA\n.MODEL MD3 D IS=1e-10 N=0.4\n.ENDS irlru7843\n \n*SPICE 2-Layer Thermal Model Subcircuit\n.SUBCKT irlru7843t 2 0\n \nR_RTHERM1         2 1  0.508421\nC_CTHERM1         2 0  0.000771\nR_RTHERM2         1 0  0.542316\nC_CTHERM2         1 0  0.020483\n \n.ENDS irlru7843t
TEXT 1224 368 Left 2 !.tran 4