Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\home\khalils\Downloads\files\data\raw_asc\483529c7d341_Draft5.asc
* Generated by LTspice 26.0.1 for Windows.
S1 0 START_SW N003 0 START
V1 VBAT 0 48
R2 N002 START_SW 20k
D1 VBAT N001 RB088BM100
M1 OUT N002 N001 N001 Si7489DP
V2 N003 0 PULSE(0 5 0 0.01m 0.01m 10m 20m)
S2 0 0 0 0 KILL
R1 N001 N002 100k
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.model START SW(Ron=1 Roff=1Meg)
.tran 40m
.model KILL SW()
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 952 692
WIRE 48 32 0 32
WIRE 304 32 48 32
WIRE 464 32 368 32
WIRE 544 32 464 32
WIRE 816 32 640 32
WIRE 848 32 816 32
WIRE 464 96 464 32
WIRE 0 112 0 32
WIRE 464 192 464 176
WIRE 560 192 560 80
WIRE 560 192 464 192
WIRE 464 208 464 192
WIRE 288 320 112 320
WIRE 464 320 464 288
WIRE 464 320 288 320
WIRE 112 352 112 320
WIRE 64 368 -128 368
WIRE -128 416 -128 368
SYMBOL voltage -128 400 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value PULSE(0 5 0 0.01m 0.01m 10m 20m)
SYMBOL pmos 640 80 M270
SYMATTR InstName M1
SYMATTR Value Si7489DP
SYMBOL res 448 80 R0
SYMATTR InstName R1
SYMATTR Value 100k
SYMBOL sw 112 448 M180
SYMATTR InstName S1
SYMATTR Value START
SYMBOL res 448 192 R0
SYMATTR InstName R2
SYMATTR Value 20k
SYMBOL schottky 304 48 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D1
SYMATTR Value RB088BM100
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL sw 112 688 M180
SYMATTR InstName S2
SYMATTR Value KILL
SYMBOL voltage 0 96 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 48
FLAG 0 192 0
FLAG -128 496 0
FLAG 64 416 0
FLAG 112 432 0
FLAG 64 656 0
FLAG 112 672 0
FLAG 48 32 VBAT
FLAG 816 32 OUT
FLAG 288 320 START_SW
FLAG 64 608 0
FLAG 112 592 0
TEXT 360 440 Left 2 !.model START SW(Ron=1 Roff=1Meg)
TEXT -162 616 Left 2 !.tran 40m
TEXT 368 536 Left 2 !.model KILL SW()
* Z:\home\khalils\Downloads\files\data\raw_asc\ADP2166-1.5.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\ADP2166-1.5.asy)
C2 N003 N004 .1
R1 N005 0 100K
C6 N007 0 1p
Rload OUT 0 .3
R3 OUT N001 100K
C5 N006 0 680p
XU1 N002 N005 N002 OUT 0 0 N004 IN IN IN N001 N008 N007 N003 N002 ADP2166-x.x Rtop=600K Rbot=400K ;pnba SYNC)Rt)TRK)FB)Gnd)Pgnd)SW)Pvin)Avin)EN)Pgood)SS)Comp)Bst)Vreg
C3 OUT 0 84 Rser=2m
C4 N002 0 1
L1 N004 OUT 1.5 Rser=6m
C1 N008 0 2n
R2 N007 N006 36K
V1 IN 0 5
.tran 1m startup
.lib ADP2166-x.x.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1076 680
WIRE 48 -96 -144 -96
WIRE 176 -96 48 -96
WIRE 272 -96 176 -96
WIRE -144 -80 -144 -96
WIRE 176 -80 176 -96
WIRE 272 -80 272 -96
WIRE 48 -16 48 -96
WIRE 64 -16 48 -16
WIRE 448 -16 384 -16
WIRE 608 -16 528 -16
WIRE -144 16 -144 0
WIRE -32 64 -48 64
WIRE 48 64 32 64
WIRE 64 64 48 64
WIRE 432 64 384 64
WIRE 48 144 48 64
WIRE 64 144 48 144
WIRE 432 144 432 128
WIRE 432 144 384 144
WIRE 480 144 432 144
WIRE 608 144 608 -16
WIRE 608 144 560 144
WIRE 720 144 608 144
WIRE 832 144 720 144
WIRE 720 160 720 144
WIRE 832 160 832 144
WIRE 48 224 48 144
WIRE 64 224 48 224
WIRE 720 256 720 224
WIRE 832 256 832 240
WIRE -32 304 -48 304
WIRE 64 304 48 304
WIRE 608 304 608 144
WIRE 608 304 384 304
WIRE -160 384 -224 384
WIRE -32 384 -80 384
WIRE 64 384 -32 384
WIRE 400 384 384 384
WIRE 480 384 464 384
WIRE -224 400 -224 384
WIRE -32 400 -32 384
WIRE 176 464 176 448
WIRE 272 464 272 448
WIRE -224 480 -224 464
WIRE -32 480 -32 464
SYMBOL cap 400 368 M90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 2n
SYMBOL res -64 368 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 36K
SYMBOL res 816 144 R0
SYMATTR InstName Rload
SYMATTR Value .3
SYMBOL cap 416 64 R0
SYMATTR InstName C2
SYMATTR Value .1
SYMBOL cap 32 48 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C4
SYMATTR Value 1
SYMBOL ADP2166-1.5 224 176 R0
SYMATTR InstName U1
SYMBOL cap -48 400 R0
SYMATTR InstName C6
SYMATTR Value 1p
SYMBOL cap -240 400 R0
SYMATTR InstName C5
SYMATTR Value 680p
SYMBOL voltage -144 -96 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL res 64 288 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 100K
SYMBOL cap 704 160 R0
WINDOW 40 24 74 Left 2
SYMATTR Value 84
SYMATTR InstName C3
SYMATTR SpiceLine Rser=2m
SYMBOL ind 464 160 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 1.5
SYMATTR SpiceLine Rser=6m
SYMBOL res 544 -32 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 100K
FLAG 480 384 0
FLAG 272 464 0
FLAG -48 304 0
FLAG -224 480 0
FLAG -144 16 0
FLAG 720 256 0
FLAG 832 256 0
FLAG 832 144 OUT
FLAG -144 -96 IN
FLAG -48 64 0
FLAG -32 480 0
FLAG 176 464 0
TEXT 696 424 Left 2 !.tran 1m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\e2f59fd36525_VirtualGround.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LT1001A.asy)
;tf V(n002) V3
;ac dec 1001 10 10meg
V1 N001 0 15
R1 N003 N001 9k
XU1 N003 N002 N001 0 N002 LT1001 ;pnba In+)In-)V+)V-)OUT
R2 0 N003 9k
.tran 0 10m 0 1u
.lib LTC.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 320 -16 160 -16
WIRE 768 -16 640 -16
WIRE 160 32 160 -16
WIRE 400 32 256 32
WIRE 768 32 768 -16
WIRE 320 64 320 -16
WIRE 640 64 640 -16
WIRE 640 64 320 64
WIRE 320 80 320 64
WIRE 256 96 256 32
WIRE 288 96 256 96
WIRE 400 112 400 32
WIRE 400 112 352 112
WIRE 160 128 160 112
WIRE 288 128 160 128
WIRE 768 128 768 112
WIRE 160 144 160 128
WIRE 320 160 320 144
SYMBOL voltage 768 16 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 15
SYMBOL res 176 128 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R1
SYMATTR Value 9k
SYMBOL res 176 240 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R2
SYMATTR Value 9k
SYMBOL Opamps\\LT1001A 320 48 R0
SYMATTR InstName U1
FLAG 768 128 0
FLAG 160 224 0
FLAG 320 160 0
TEXT -96 -136 Left 2 !.tran 0 10m 0 1u
TEXT -96 -96 Left 2 !;tf V(n002) V3
TEXT -96 -176 Left 2 !;ac dec 1001 10 10meg
* Z:\home\khalils\Downloads\files\data\raw_asc\ADP1740-1.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\ADP1740-1.asy)
V1 IN 0 1.8
R1 IN N001 100k
C2 N002 0 10n
C1 OUT 0 4.7 Rser=3m
Rload OUT 0 0.5
XU1 IN OUT IN N002 OUT N001 MP_01 0 ADP1740-1 ;pnba Vin)Sense)EN)SS)Vout)PG))GND
.tran 10m startup
.lib ADP1740-1.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1048 680
WIRE -112 32 -128 32
WIRE -16 32 -112 32
WIRE 80 32 -16 32
WIRE 96 32 80 32
WIRE 368 32 352 32
WIRE 416 32 368 32
WIRE 496 32 416 32
WIRE 528 32 496 32
WIRE -128 48 -128 32
WIRE -16 48 -16 32
WIRE 416 48 416 32
WIRE 528 48 528 32
WIRE 80 96 80 32
WIRE 96 96 80 96
WIRE -128 144 -128 128
WIRE 416 144 416 112
WIRE 528 144 528 128
WIRE -16 176 -16 128
WIRE 96 176 -16 176
WIRE 16 240 0 240
WIRE 96 240 80 240
WIRE 368 240 368 32
WIRE 368 240 352 240
WIRE 224 304 224 288
SYMBOL cap 400 48 R0
SYMATTR InstName C1
SYMATTR Value 4.7
SYMATTR SpiceLine Rser=3m
SYMBOL cap 80 224 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value 10n
SYMBOL voltage -128 32 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 1.8
SYMBOL ADP1740-1 224 128 R0
SYMATTR InstName U1
SYMBOL res -32 32 R0
SYMATTR InstName R1
SYMATTR Value 100k
SYMBOL res 512 32 R0
SYMATTR InstName Rload
SYMATTR Value 0.5
FLAG 224 304 0
FLAG -128 144 0
FLAG 0 240 0
FLAG -112 32 IN
FLAG 528 144 0
FLAG 416 144 0
FLAG 496 32 OUT
TEXT 128 352 Left 2 !.tran 10m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC3400-1.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LTC3400-1.asy)
R2 N002 0 604K
C1 OUT 0 4.7
R1 OUT N002 1.02Meg
L1 IN N001 4.7 Rser=0.1
V1 IN 0 1.4
Rload OUT 0 50
XU1 N001 0 N002 IN OUT IN LTC3400-1 ;pnba SW)GND)FB)_SHDN)Vout)Vin
.tran 250u startup
.lib LTC3400-1.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2628 1624
WIRE 1696 1120 1600 1120
WIRE 1872 1120 1696 1120
WIRE 1920 1120 1872 1120
WIRE 2064 1120 2000 1120
WIRE 1600 1152 1600 1120
WIRE 1872 1184 1872 1120
WIRE 2064 1248 2064 1120
WIRE 2064 1248 2016 1248
WIRE 1600 1264 1600 1232
WIRE 1696 1328 1696 1120
WIRE 1728 1328 1696 1328
WIRE 2080 1328 2016 1328
WIRE 2224 1328 2080 1328
WIRE 2336 1328 2224 1328
WIRE 2336 1344 2336 1328
WIRE 2224 1360 2224 1328
WIRE 2080 1408 2016 1408
WIRE 2080 1424 2080 1408
WIRE 2224 1440 2224 1424
WIRE 2336 1440 2336 1424
WIRE 1872 1488 1872 1472
WIRE 2080 1520 2080 1504
SYMBOL PowerProducts\\LTC3400-1 1872 1328 R0
SYMATTR InstName U1
SYMBOL cap 2208 1360 R0
SYMATTR InstName C1
SYMATTR Value 4.7
SYMBOL VOLTAGE 1600 1136 R0
SYMATTR InstName V1
SYMATTR Value 1.4
SYMBOL res 2320 1328 R0
SYMATTR InstName Rload
SYMATTR Value 50
SYMBOL res 2064 1408 R0
SYMATTR InstName R2
SYMATTR Value 604K
SYMBOL RES 2064 1312 R0
SYMATTR InstName R1
SYMATTR Value 1.02Meg
SYMBOL ind 1904 1136 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 4.7
SYMATTR SpiceLine Rser=0.1
FLAG 1872 1488 0
FLAG 2080 1520 0
FLAG 1600 1264 0
FLAG 2224 1440 0
FLAG 2336 1440 0
FLAG 2336 1328 OUT
FLAG 1600 1120 IN
TEXT 2200 1520 Left 2 !.tran 250u startup
* Z:\home\khalils\Downloads\files\data\raw_asc\0c88257055b9_1997-3.asc
* Generated by LTspice 26.0.1 for Windows.
* Gain = 1 Difference Amplifier
* V(Out) = 1mV/mA in RL
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LT1997-3.asy)
R2 N003 N002 1
V1 V+ 0 15
XU1 N003 MP_01 NC_02 MP_03 NC_04 0 0 V- Out NC_05 V+ NC_06 MP_07 NC_08 MP_09 N001 LT1997-3 ;pnba +INA))+INB))+INC)REF1)REF2)V-)OUT)_SHDN)V+)-INC))-INB))-INA
VS N002 0 0
RL N001 0 10
R1 N002 N001 1
V2 V- 0 -15
.dc VS 0 26.5 10m
.lib LT1997-3.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1116 932
WIRE 48 48 -16 48
WIRE -272 80 -432 80
WIRE 48 80 48 48
WIRE 400 80 400 48
WIRE -432 112 -432 80
WIRE -272 160 -272 80
WIRE -208 160 -272 160
WIRE -16 160 -16 48
WIRE -16 160 -144 160
WIRE -432 208 -432 192
WIRE 624 208 496 208
WIRE -208 240 -144 160
WIRE -208 240 -272 240
WIRE -144 240 -208 160
WIRE -128 240 -144 240
WIRE -16 240 -48 240
WIRE -272 256 -272 240
WIRE 544 256 496 256
WIRE 544 288 544 256
WIRE 544 288 496 288
WIRE -528 304 -528 288
WIRE -400 304 -400 288
WIRE 544 304 544 288
WIRE -272 352 -272 336
WIRE -16 368 -16 240
WIRE 48 368 48 336
WIRE 48 368 -16 368
WIRE 400 384 400 336
WIRE -528 400 -528 384
WIRE -400 400 -400 384
SYMBOL voltage -432 96 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName VS
SYMATTR Value 0
SYMBOL LT1997-3 272 208 R0
SYMATTR InstName U1
SYMBOL voltage -400 288 R0
SYMATTR InstName V2
SYMATTR Value -15
SYMBOL res -288 240 R0
SYMATTR InstName RL
SYMATTR Value 10
SYMBOL res -32 224 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 1
SYMBOL voltage -528 288 R0
SYMATTR InstName V1
SYMATTR Value 15
SYMBOL res -288 144 R0
SYMATTR InstName R1
SYMATTR Value 1
FLAG -528 400 0
FLAG -400 400 0
FLAG -528 288 V+
FLAG -400 288 V-
FLAG 400 48 V+
FLAG 400 384 V-
FLAG 544 304 0
FLAG -272 352 0
FLAG 624 208 Out
FLAG -432 208 0
TEXT 584 400 Left 2 !.dc VS 0 26.5 10m
TEXT -96 -16 Left 2 ;Gain = 1 Difference Amplifier
TEXT 544 144 Left 2 ;V(Out) = 1mV/mA in RL
* Z:\home\khalils\Downloads\files\data\raw_asc\MAX38902B.asc
* Generated by LTspice 26.0.1 for Windows.
V1 IN 0 3
XU2 IN OUT IN N002 NC_01 N001 0 MAX38902B ;pnba IN)OUT)EN)FB)POK)BYP)GND
C2 OUT N001 10n
C3 OUT 0 4.7
R1 OUT 0 5
R2 OUT N002 950K
R3 N002 0 300K
.tran 0.8 startup
* Library below included based on ModelFile attribute of instance XU2 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\MAX38902B.asy)
.lib MAX38902B.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1988 1664
WIRE 80 1104 -32 1104
WIRE 96 1104 80 1104
WIRE 352 1104 320 1104
WIRE 432 1104 352 1104
WIRE 544 1104 432 1104
WIRE 592 1104 544 1104
WIRE 640 1104 592 1104
WIRE -32 1120 -32 1104
WIRE 352 1120 352 1104
WIRE 544 1120 544 1104
WIRE 640 1120 640 1104
WIRE 432 1152 432 1104
WIRE 80 1200 80 1104
WIRE 96 1200 80 1200
WIRE 352 1200 352 1184
WIRE 352 1200 320 1200
WIRE -32 1216 -32 1200
WIRE 544 1216 544 1184
WIRE 640 1216 640 1200
WIRE 432 1280 432 1232
WIRE 432 1280 320 1280
WIRE 432 1312 432 1280
WIRE 208 1344 208 1328
WIRE 432 1424 432 1392
FLAG 208 1344 0
FLAG -32 1216 0
FLAG -32 1104 IN
FLAG 544 1216 0
FLAG 640 1216 0
FLAG 592 1104 OUT
FLAG 432 1424 0
SYMBOL voltage -32 1104 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 3
SYMBOL MAX38902B 208 1184 R0
SYMATTR InstName U2
SYMBOL cap 336 1120 R0
SYMATTR InstName C2
SYMATTR Value 10n
SYMBOL cap 528 1120 R0
SYMATTR InstName C3
SYMATTR Value 4.7
SYMBOL res 624 1104 R0
SYMATTR InstName R1
SYMATTR Value 5
SYMBOL res 416 1136 R0
SYMATTR InstName R2
SYMATTR Value 950K
SYMBOL res 416 1296 R0
SYMATTR InstName R3
SYMATTR Value 300K
TEXT 120 1416 Left 2 !.tran 0.8 startup
* Z:\home\khalils\Downloads\files\data\raw_asc\1fdc55414e1e_EDM_Powersupply_V4_freq.asc
* Generated by LTspice 26.0.1 for Windows.
* High-side switching
* Dumped some components here: easy for copying
* V4a: Gate driver included
+ CJO=26.5p M=0.333 N=1.45 TT=4.32u )
+IS=1.18724e-05 RS=0.0227191 N=1.22913 EG=0.645632
+XTI=0.5 BV=45 IBV=0.0001 CJO=1e-11
+VJ=0.7 M=0.5 FC=0.5 TT=0
+KF=0 AF=1
V1 N004 0 PULSE(0 5 0 20000n 20000n 2u 20u)
V4 N002 0 10
R4 N002 N003 10
L1 N003 N001 6.4 IC=0A
XM1 N001 N004 0 IPW65R070C6_L0 ;pnba D)G)S
.include C:\Users\joey2\Documents\3e jaar\BAP\Github\EDM_Powersupply\Library\IPW65R037C6_mosfet\SimulationModel_CoolMOS_C6_MOSFET_650V_Spice.lib
.tran 0 30u 0 1u
.model BZX84C6V2L D(Is=1.5n Rs=.5 Cjo=185p nbv=3 bv=6.2 Ibv=1m Vpk=6.2 mfg=OnSemi type=Zener)
.model MyIdealDiode D(Ron=0 Roff=1Meg Vfwd=0.7)
.MODEL 1N4007 D ( IS=76.9p RS=42.0m BV=1.00k IBV=5.00u
.MODEL Dmbr745 d
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1876 680
WIRE 752 -112 656 -112
WIRE 928 -112 816 -112
WIRE 656 -32 656 -112
WIRE 656 -32 624 -32
WIRE 800 -32 736 -32
WIRE 928 -32 928 -112
WIRE 928 -32 880 -32
WIRE 976 -32 928 -32
WIRE 624 48 624 -32
WIRE 624 64 624 48
WIRE 976 64 976 -32
WIRE 544 80 480 80
WIRE 544 128 544 80
WIRE 576 128 544 128
WIRE 480 144 480 80
WIRE 480 240 480 224
WIRE 624 240 624 144
WIRE 624 240 480 240
WIRE 624 256 624 240
WIRE 976 256 976 144
WIRE 976 256 624 256
WIRE 480 272 480 240
WIRE 976 272 976 256
RECTANGLE Normal 560 -256 368 -320 2
SYMBOL ind 752 -48 R90
WINDOW 0 5 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName L1
SYMATTR Value 6.4u
SYMATTR SpiceLine IC=0A
SYMBOL nmos 576 48 R0
SYMATTR InstName M1
SYMATTR Value IPW65R070C6_L0
SYMATTR Prefix X
SYMBOL res 896 -48 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 10
SYMBOL voltage 976 48 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V4
SYMATTR Value 10
SYMBOL voltage 480 128 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 3 -51 153 VLeft 2
SYMATTR Value PULSE(0 5 0 20000n 20000n 2u 20u)
SYMATTR InstName V1
FLAG 480 272 0
FLAG 976 272 0
TEXT -720 520 Left 2 !.include C:\\Users\\joey2\\Documents\\3e jaar\\BAP\\Github\\EDM_Powersupply\\Library\\IPW65R037C6_mosfet\\SimulationModel_CoolMOS_C6_MOSFET_650V_Spice.lib
TEXT -720 480 Left 2 !.tran 0 30u 0 1u
TEXT 752 -224 Left 2 ;High-side switching
TEXT 1200 -72 Left 2 ;Dumped some components here: easy for copying
TEXT 1032 -160 Left 2 !.model BZX84C6V2L D(Is=1.5n Rs=.5 Cjo=185p nbv=3 bv=6.2 Ibv=1m Vpk=6.2 mfg=OnSemi type=Zener)
TEXT 1040 -128 Left 2 !.model MyIdealDiode D(Ron=0 Roff=1Meg Vfwd=0.7)
TEXT 400 -288 Left 2 ;V4a: Gate driver included
TEXT 1040 -104 Left 2 !.MODEL 1N4007 D  ( IS=76.9p RS=42.0m BV=1.00k IBV=5.00u\n+ CJO=26.5p  M=0.333 N=1.45 TT=4.32u )
TEXT 1040 -48 Left 2 !.MODEL Dmbr745 d\n+IS=1.18724e-05 RS=0.0227191 N=1.22913 EG=0.645632\n+XTI=0.5 BV=45 IBV=0.0001 CJO=1e-11\n+VJ=0.7 M=0.5 FC=0.5 TT=0\n+KF=0 AF=1
* Z:\home\khalils\Downloads\files\data\raw_asc\LTM8074.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LTM8074.asy)
R4 OUT N002 100K
R3 N005 0 18.2K
R5 IN N001 1Meg
V1 IN 0 12
XU1 MP_01 OUT MP_02 N005 NC_03 N003 N004 N002 IN N001 0 LTM8074 ;pnba )Vout))Rt)Sync)FB)TR/SS)PG)Vin)EN/UV)GND
C10 OUT 0 4.7 Rser=3m
C11 OUT 0 47 Rser=8m
R6 OUT 0 2.75
R1 0 N003 76.8K
C7 N004 0 .002
.tran 1m startup
.lib LTM8074.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1652 1516
WIRE -48 672 -144 672
WIRE 64 672 -48 672
WIRE 416 672 352 672
WIRE 528 672 416 672
WIRE 624 672 528 672
WIRE 736 672 624 672
WIRE -144 688 -144 672
WIRE 416 688 416 672
WIRE 528 688 528 672
WIRE 624 688 624 672
WIRE 736 688 736 672
WIRE -48 768 -48 672
WIRE -32 768 -48 768
WIRE 64 768 48 768
WIRE -144 784 -144 768
WIRE 528 784 528 752
WIRE 624 784 624 752
WIRE 736 784 736 768
WIRE 416 800 416 768
WIRE 416 800 352 800
WIRE 384 928 352 928
WIRE 496 928 464 928
WIRE -32 960 -48 960
WIRE 64 960 32 960
WIRE -32 1056 -48 1056
WIRE 64 1056 48 1056
WIRE 384 1056 352 1056
SYMBOL res -48 784 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R5
SYMATTR Value 1Meg
SYMBOL res 64 1040 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 18.2K
SYMBOL res 400 672 R0
SYMATTR InstName R4
SYMATTR Value 100K
SYMBOL voltage -144 672 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL res 480 912 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 76.8K
SYMBOL cap 32 944 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C7
SYMATTR Value .002
SYMBOL cap 608 688 R0
SYMATTR InstName C11
SYMATTR Value 47
SYMATTR SpiceLine Rser=8m
SYMBOL cap 512 688 R0
SYMATTR InstName C10
SYMATTR Value 4.7
SYMATTR SpiceLine Rser=3m
SYMBOL LTM8074 208 864 R0
SYMATTR InstName U1
SYMBOL res 720 672 R0
SYMATTR InstName R6
SYMATTR Value 2.75
FLAG 736 672 OUT
FLAG -144 672 IN
FLAG 496 928 0
FLAG -48 1056 0
FLAG -48 960 0
FLAG -144 784 0
FLAG 528 784 0
FLAG 624 784 0
FLAG 736 784 0
FLAG 384 1056 0
TEXT 376 1152 Left 2 !.tran 1m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\3987d10f8787_2SC5706_Input_Characteristic_Curve.asc
* Generated by LTspice 26.0.1 for Windows.
* https://www.youtube.com/watch?v=7WWJ2kfJ3oc
Vb N002 0 0
Vcc N001 0 12
Q1 Vc N002 Ve 0 2SC5706
Rc N001 Vc 0.001
Re Ve 0 0.001
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.dc Vb 0.1 1 .001
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1232 680
WIRE 448 16 256 16
WIRE 256 32 256 16
WIRE 256 128 256 112
WIRE 320 128 256 128
WIRE 256 144 256 128
WIRE 448 144 448 16
WIRE 192 192 32 192
WIRE 32 240 32 192
WIRE 448 240 448 224
WIRE 256 256 256 240
WIRE 320 256 256 256
WIRE 256 272 256 256
WIRE 32 336 32 320
WIRE 256 384 256 352
SYMBOL npn 192 144 R0
SYMATTR InstName Q1
SYMATTR Value 2SC5706
SYMBOL res 240 256 R0
SYMATTR InstName Re
SYMATTR Value 0.001
SYMBOL voltage 32 224 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName Vb
SYMATTR Value 0
SYMBOL res 240 16 R0
SYMATTR InstName Rc
SYMATTR Value 0.001
SYMBOL voltage 448 128 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName Vcc
SYMATTR Value 12
FLAG 256 384 0
FLAG 448 240 0
FLAG 32 336 0
FLAG 320 128 Vc
FLAG 320 256 Ve
TEXT 384 312 Left 2 !.dc Vb 0.1 1 .001
TEXT 584 16 Left 2 ;https://www.youtube.com/watch?v=7WWJ2kfJ3oc
* Z:\tmp\asc_dec_bjh7r6w2\016042400723_p1_main_dec1.asc
* Generated by LTspice 26.0.1 for Windows.
I1 N015 N016 2m
Q6 N011 N005 X 0 PNP
Q5 N004 N008 N005 0 NPN
I3 N001 X 0.2m
Q1 N009 N012 N015 0 NPN
Q2 N010 N013 N015 0 NPN
R4 N013 0 10k
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1748 680
WIRE 1008 -240 688 -240
WIRE 1184 -240 1008 -240
WIRE 1312 -240 1184 -240
WIRE 1008 -208 1008 -240
WIRE 1184 -208 1184 -240
WIRE 432 -192 432 -240
WIRE 1120 -160 1088 -160
WIRE 1184 -96 1184 -112
WIRE 1248 -96 1184 -96
WIRE 432 -80 432 -112
WIRE 544 -80 432 -80
WIRE 624 -80 544 -80
WIRE 816 -80 720 -80
WIRE 1008 -80 1008 -128
WIRE 1088 -80 1088 -160
WIRE 1088 -80 1008 -80
WIRE 176 -64 176 -240
WIRE 432 -64 432 -80
WIRE 1184 -48 1184 -96
WIRE 1008 -32 1008 -80
WIRE 304 -16 240 -16
WIRE 368 -16 304 -16
WIRE 1088 0 1088 -80
WIRE 1120 0 1088 0
WIRE 544 16 544 -80
WIRE 560 16 544 16
WIRE 672 16 672 -16
WIRE 672 16 640 16
WIRE 704 16 672 16
WIRE 816 16 816 -80
WIRE 816 16 784 16
WIRE 912 16 816 16
WIRE 944 16 912 16
WIRE 912 48 912 16
WIRE 176 112 176 32
WIRE 176 112 160 112
WIRE 432 112 432 32
WIRE 448 112 432 112
WIRE 1008 128 1008 64
WIRE 1008 128 912 128
WIRE 0 160 -32 160
WIRE 96 160 80 160
WIRE 592 160 512 160
WIRE 672 160 592 160
WIRE 1248 160 752 160
WIRE 304 176 304 96
WIRE 160 240 160 208
WIRE 320 240 160 240
WIRE 448 240 448 208
WIRE 448 240 320 240
WIRE 320 288 320 240
WIRE 592 288 592 240
WIRE 320 448 320 368
WIRE 320 448 64 448
WIRE 688 448 320 448
WIRE 1008 448 1008 128
SYMBOL current 320 288 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName I1
SYMATTR Value 2m
SYMBOL pnp 944 64 M180
SYMATTR InstName Q6
SYMBOL npn 624 -16 R270
SYMATTR InstName Q5
SYMBOL current 1008 -208 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName I3
SYMATTR Value 0.2m
SYMBOL npn 96 112 R0
SYMATTR InstName Q1
SYMBOL npn 512 112 M0
SYMATTR InstName Q2
SYMBOL res 576 144 R0
SYMATTR InstName R4
SYMATTR Value 10k
FLAG 592 288 0
FLAG -32 160 Vin
FLAG 304 176 0
FLAG 1088 -160 X