Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\home\khalils\Downloads\files\data\raw_asc\39d0249bd129_fig-01-03-21.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\ADA4177-2.asy)
Q1 N001 0 N002 0 2N2222
E1 VOUT 0 N002 0 -1
XU1 0 N001 VCC VEE N002 ADA4177 ;pnba In+)In-)V+)V-)OUT
V1 VIN 0 0
R1 N001 VIN 10k
VS1 VCC 0 15
VS2 0 VEE 15
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.dc dec V1 10n 100 100
.lib ADA4177.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 160 -32 128 -32
WIRE 304 -32 256 -32
WIRE 208 48 208 32
WIRE 208 96 208 80
WIRE 480 96 432 96
WIRE 208 144 208 96
WIRE -32 160 -48 160
WIRE 16 160 -32 160
WIRE 128 160 128 -32
WIRE 128 160 96 160
WIRE 176 160 128 160
WIRE 432 160 432 96
WIRE 304 176 304 -32
WIRE 304 176 240 176
WIRE 384 176 304 176
WIRE 176 192 128 192
WIRE -48 208 -48 160
WIRE 128 224 128 192
WIRE 384 224 368 224
WIRE 208 240 208 208
WIRE 208 256 208 240
WIRE 368 256 368 224
WIRE 432 256 432 240
WIRE 432 256 368 256
WIRE 432 272 432 256
WIRE 272 288 272 272
WIRE 336 288 336 272
WIRE -48 336 -48 288
WIRE 272 336 272 288
WIRE 336 336 336 288
WIRE 272 432 272 416
WIRE 336 432 336 416
IOPIN 480 96 Out
SYMBOL Misc\\battery 336 320 R0
WINDOW 0 9 8 Left 2
WINDOW 3 15 97 Left 2
SYMATTR InstName VS1
SYMATTR Value 15
SYMBOL voltage -48 192 R0
SYMATTR InstName V1
SYMATTR Value 0
SYMBOL Opamps\\ADA4177-2 208 176 R0
SYMATTR InstName U1
SYMBOL Misc\\battery 272 432 R180
WINDOW 0 24 104 Left 2
WINDOW 3 24 16 Left 2
SYMATTR InstName VS2
SYMATTR Value 15
SYMBOL e 432 144 R0
SYMATTR InstName E1
SYMATTR Value -1
SYMBOL res 112 144 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL npn 160 32 R270
WINDOW 0 79 -30 VRight 2
WINDOW 3 79 74 VRight 2
SYMATTR InstName Q1
SYMATTR Value 2N2222
FLAG -48 336 0
FLAG -32 160 VIN
FLAG 272 432 0
FLAG 336 432 0
FLAG 272 288 VEE
FLAG 336 288 VCC
FLAG 208 96 VCC
FLAG 208 240 VEE
FLAG 480 96 VOUT
FLAG 208 48 0
FLAG 128 224 0
FLAG 432 272 0
TEXT -72 400 Left 2 !.dc dec V1 10n 100 100
* Z:\home\khalils\Downloads\files\data\raw_asc\LT1815.asc
* Generated by LTspice 26.0.1 for Windows.
* Two Op Amp Instrumentation Amplifier
* Library below included based on ModelFile attribute of instance XU1, XU2 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LT1815.asy)
V1 +V 0 5
R1 N003 N001 1K
R5 N002 N003 1K
V4 IN+ 0 SINE(0 1 1K)
R4 N002 N001 220
XU1 IN- N001 N003 +V -V LT1815 ;pnba IN+)IN-)OUT)VCC)VEE
V2 -V 0 -5
R2 N001 0 10K
R3 OUT N002 10K
V3 IN- IN+ SINE(0 10m 10K)
XU2 IN+ N002 OUT +V -V LT1815 ;pnba IN+)IN-)OUT)VCC)VEE
.tran 3m
.lib LTC2.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 896 680
WIRE 272 48 128 48
WIRE 416 48 352 48
WIRE 448 48 416 48
WIRE 544 48 528 48
WIRE 32 96 16 96
WIRE 128 96 128 48
WIRE 128 96 112 96
WIRE 144 96 128 96
WIRE 256 96 224 96
WIRE -192 160 -192 144
WIRE -64 160 -64 144
WIRE 192 208 192 192
WIRE 128 224 128 96
WIRE 160 224 128 224
WIRE 480 224 480 208
WIRE 256 240 256 96
WIRE 256 240 224 240
WIRE 320 240 256 240
WIRE 416 240 416 48
WIRE 416 240 400 240
WIRE 448 240 416 240
WIRE -192 256 -192 240
WIRE -64 256 -64 240
WIRE 160 256 128 256
WIRE 544 256 544 48
WIRE 544 256 512 256
WIRE 576 256 544 256
WIRE 448 272 416 272
WIRE 96 288 16 288
WIRE 128 288 128 256
WIRE 128 288 96 288
WIRE 192 288 192 272
WIRE 16 304 16 288
WIRE 480 304 480 288
WIRE 16 400 16 384
WIRE 320 400 16 400
WIRE 416 400 416 272
WIRE 416 400 320 400
WIRE 16 416 16 400
WIRE 16 512 16 496
SYMBOL res 128 80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10K
SYMBOL res 544 32 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 10K
SYMBOL opamps\\LT1815 480 256 R0
SYMATTR InstName U2
SYMBOL res 368 32 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 220
SYMBOL voltage 16 400 R0
WINDOW 3 24 94 Left 2
SYMATTR Value SINE(0 1 1K)
SYMATTR InstName V4
SYMBOL voltage -64 144 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL voltage -192 144 R0
SYMATTR InstName V2
SYMATTR Value -5
SYMBOL opamps\\LT1815 192 240 R0
SYMATTR InstName U1
SYMBOL res 240 80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 1K
SYMBOL res 416 224 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 1K
SYMBOL voltage 16 288 R0
WINDOW 3 24 94 Left 2
SYMATTR Value SINE(0 10m 10K)
SYMATTR InstName V3
FLAG -64 256 0
FLAG 192 192 +V
FLAG -64 144 +V
FLAG 192 288 -V
FLAG -192 256 0
FLAG -192 144 -V
FLAG 16 96 0
FLAG 480 208 +V
FLAG 480 304 -V
FLAG 16 512 0
FLAG 576 256 OUT
FLAG 96 288 IN-
FLAG 320 400 IN+
TEXT 488 384 Left 2 !.tran 3m
TEXT 280 -16 Bottom 2 ;Two Op Amp Instrumentation Amplifier
* Z:\home\khalils\Downloads\files\data\raw_asc\095fb84c3a44_Draft1.asc
* Generated by LTspice 26.0.1 for Windows.
V1 N001 0 PULSE(0 5 0 10n 10n 15u 33u 0)
C1 N002 0 5n
R1 N001 N002 10k
R2 N002 N003 10k
C2 N003 0 5n
R3 N003 N004 10k
C3 N004 0 5n
.tran 0 5ms 0
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 80 48 0 48
WIRE 208 48 160 48
WIRE 304 48 288 48
WIRE 384 48 304 48
WIRE 480 48 464 48
WIRE 560 48 480 48
WIRE 160 96 160 48
WIRE 304 96 304 48
WIRE 480 96 480 48
WIRE 0 160 0 128
WIRE 160 160 0 160
WIRE 304 160 160 160
WIRE 480 160 304 160
WIRE 0 176 0 160
WIRE 0 176 -32 176
WIRE -32 208 -32 176
FLAG -32 208 0
SYMBOL voltage 0 32 R0
WINDOW 0 -73 51 Left 2
WINDOW 3 4 116 Invisible 2
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value PULSE(0 5 0 10n 10n 15u 33u 0)
SYMBOL cap 144 96 R0
WINDOW 0 47 31 Left 2
SYMATTR InstName C1
SYMATTR Value 5n
SYMBOL res 64 64 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL res 192 64 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R2
SYMATTR Value 10k
SYMBOL cap 288 96 R0
SYMATTR InstName C2
SYMATTR Value 5n
SYMBOL res 368 64 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R3
SYMATTR Value 10k
SYMBOL cap 464 96 R0
SYMATTR InstName C3
SYMATTR Value 5n
TEXT -52 232 Left 2 !.tran 0 5ms 0
* Z:\tmp\asc_dec_bjh7r6w2\05c4b7ccd392_triang_dec1.asc
* Generated by LTspice 26.0.1 for Windows.
R2 N002 N003 1K
C1 N001 0 150n
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1188 760
WIRE -64 336 -64 272
WIRE 112 336 112 288
WIRE 288 336 288 192
WIRE 288 336 112 336
WIRE 48 432 48 288
WIRE 416 432 416 192
WIRE 416 432 48 432
WIRE 480 432 416 432
WIRE 48 512 48 432
WIRE 288 512 288 336
WIRE 48 640 48 576
WIRE 80 640 80 288
WIRE 80 640 48 640
WIRE 288 640 288 576
WIRE 80 688 80 640
WIRE 560 688 80 688
SYMBOL res2 64 512 M0
WINDOW 0 48 16 Left 2
WINDOW 3 48 48 Left 2
SYMATTR InstName R2
SYMATTR Value 1K
SYMBOL cap 304 512 M0
WINDOW 0 48 16 Left 2
WINDOW 3 48 48 Left 2
SYMATTR InstName C1
SYMATTR Value 150n
FLAG -64 336 0
FLAG 288 640 0
* Z:\home\khalils\Downloads\files\data\raw_asc\15f11426ca63_circuit4b.asc
* Generated by LTspice 26.0.1 for Windows.
V1 N001 0 AC 5
L1 N003 N002 10m
C1 N003 0 47n
R1 N002 N001 2k
.ac dec 1000 1 10Meg
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 880 680
WIRE 64 112 -16 112
WIRE 240 112 144 112
WIRE 416 112 320 112
WIRE -16 160 -16 112
WIRE 416 176 416 112
WIRE -16 304 -16 240
WIRE 0 304 -16 304
WIRE 416 304 416 240
WIRE 416 304 0 304
SYMBOL ind 336 96 R90
WINDOW 0 5 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName L1
SYMATTR Value 10m
SYMBOL res 160 96 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 2k
SYMBOL cap 400 176 R0
SYMATTR InstName C1
SYMATTR Value 47n
SYMBOL voltage -16 144 R0
WINDOW 123 24 114 Left 2
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value ""
SYMATTR Value2 AC 5
FLAG 0 304 0
TEXT -112 56 Left 2 !.ac dec 1000 1 10Meg
* Z:\home\khalils\Downloads\files\data\raw_asc\LT1719.asc
* Generated by LTspice 26.0.1 for Windows.
* 2.7 to 6V Crystal Oscillator with TTL/CMOS Output
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\Comparators\LT1719.asy)
C1 P001 N002 1.6p Rser=45 Lser=15.6m Cpar=6p
R1 N002 0 620
XU1 +V N002 N001 0 0 0 OUT +V LT1719 ;pnba V+)In+)In-)V-)GND)SHDN)OUT)VS+
R5 N001 0 1.8K
C2 N001 0 .1
R4 OUT P001 220
V1 +V 0 3.3
R3 OUT N001 2K
R2 +V N002 2K
.tran 250u startup
.lib LTC.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1236 800
WIRE 144 64 128 64
WIRE 240 64 208 64
WIRE 144 160 128 160
WIRE 240 160 240 64
WIRE 240 160 224 160
WIRE 320 160 240 160
WIRE 432 160 400 160
WIRE 304 240 304 224
WIRE 320 240 304 240
WIRE 48 256 48 240
WIRE 304 256 304 240
WIRE 320 256 320 240
WIRE 240 272 240 160
WIRE 272 272 240 272
WIRE 432 288 432 160
WIRE 432 288 336 288
WIRE 448 288 432 288
WIRE 272 304 240 304
WIRE 160 320 160 304
WIRE 288 336 288 320
WIRE 304 336 304 320
WIRE 304 336 288 336
WIRE 320 336 320 320
WIRE 320 336 304 336
WIRE 48 352 48 336
WIRE 304 352 304 336
WIRE 160 416 160 400
WIRE 240 416 240 304
WIRE 240 416 160 416
WIRE 256 416 240 416
WIRE 432 416 432 288
WIRE 432 416 400 416
WIRE 160 432 160 416
WIRE 160 528 160 512
SYMBOL res 416 400 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 220
SYMBOL res 144 416 R0
SYMATTR InstName R1
SYMATTR Value 620
SYMBOL voltage 48 240 R0
SYMATTR InstName V1
SYMATTR Value 3.3
SYMBOL cap 208 48 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value .1
SYMBOL Comparators\\LT1719 304 224 R0
SYMATTR InstName U1
SYMBOL res 144 304 R0
SYMATTR InstName R2
SYMATTR Value 2K
SYMBOL misc\\xtal 320 400 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 1.6p
SYMATTR SpiceLine Rser=45 Lser=15.6m Cpar=6p
SYMBOL res 240 144 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 1.8K
SYMBOL res 416 144 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 2K
FLAG 48 352 0
FLAG 48 240 +V
FLAG 304 224 +V
FLAG 160 304 +V
FLAG 160 528 0
FLAG 128 64 0
FLAG 304 352 0
FLAG 128 160 0
FLAG 448 288 OUT
TEXT 336 488 Left 2 !.tran 250u startup
TEXT 392 16 Bottom 2 ;2.7 to 6V Crystal Oscillator with TTL/CMOS Output
* Z:\home\khalils\Downloads\files\data\raw_asc\LT8622S.asc
* Generated by LTspice 26.0.1 for Windows.
* 2MHz
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LT8622S.asy)
XU1 SW N004 0 CLKout IN NC_01 IN IN N004 N004 SET N003 OUT PGFB N001 PG LT8622S ;pnba SW)Sync/Mode)GND)CLKout)PVin)BST)SVin)EN/UVLO)INTVcc)PHMode)SET)Vc)OUTS)PGFB)RT)PG
R5 SET 0 33.2k
R6 OUT PG 100k
R4 N002 N003 500
R3 OUT PGFB 280k
C2 OUT 0 120 Rser=5m
C3 N002 0 2n
R2 PGFB 0 49.9k
R1 N001 0 47k
C1 SET 0 1
V1 IN 0 12
L1 SW OUT 1 Rser=6m
Rload OUT 0 1.6
.tran 1.5m startup
.lib LT8622S.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1080 680
WIRE 96 -128 -64 -128
WIRE 272 -128 96 -128
WIRE -64 -112 -64 -128
WIRE 272 -112 272 -128
WIRE 96 -64 96 -128
WIRE 128 -64 96 -64
WIRE -64 -16 -64 -32
WIRE 96 32 96 -64
WIRE 128 32 96 32
WIRE 448 32 416 32
WIRE 512 32 448 32
WIRE 688 32 592 32
WIRE -32 128 -64 128
WIRE 128 128 48 128
WIRE 448 128 416 128
WIRE 512 128 448 128
WIRE 688 128 688 32
WIRE 688 128 592 128
WIRE 768 128 688 128
WIRE 880 128 768 128
WIRE 976 128 880 128
WIRE 976 144 976 128
WIRE 880 160 880 128
WIRE 768 176 768 128
WIRE -80 224 -96 224
WIRE 16 224 -16 224
WIRE 128 224 96 224
WIRE 688 224 688 128
WIRE 688 224 416 224
WIRE 880 240 880 224
WIRE 976 240 976 224
WIRE 128 320 96 320
WIRE 464 320 416 320
WIRE 768 320 768 256
WIRE 768 320 464 320
WIRE 768 336 768 320
WIRE 96 416 96 320
WIRE 128 416 96 416
WIRE 448 416 416 416
WIRE 592 416 448 416
WIRE 672 416 592 416
WIRE 672 432 672 416
WIRE 768 432 768 416
WIRE 592 448 592 416
WIRE 96 512 96 416
WIRE 128 512 96 512
WIRE 448 512 416 512
WIRE 592 528 592 512
WIRE 672 528 672 512
WIRE 272 592 272 576
SYMBOL cap 864 160 R0
SYMATTR InstName C2
SYMATTR Value 120
SYMATTR SpiceLine Rser=5m
SYMBOL res 752 160 R0
SYMATTR InstName R3
SYMATTR Value 280k
SYMBOL res 64 112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 47k
SYMBOL res 960 128 R0
SYMATTR InstName Rload
SYMATTR Value 1.6
SYMBOL res 608 16 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R6
SYMATTR Value 100k
SYMBOL cap 576 448 R0
SYMATTR InstName C1
SYMATTR Value 1
SYMBOL ind 496 144 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 1
SYMATTR SpiceLine Rser=6m
SYMBOL res 752 320 R0
SYMATTR InstName R2
SYMATTR Value 49.9k
SYMBOL LT8622S 272 192 R0
SYMATTR InstName U1
SYMBOL voltage -64 -128 R0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL res 0 240 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R4
SYMATTR Value 500
SYMBOL cap -16 208 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C3
SYMATTR Value 2n
SYMBOL res 656 416 R0
SYMATTR InstName R5
SYMATTR Value 33.2k
FLAG -64 -16 0
FLAG -64 128 0
FLAG 272 592 0
FLAG 768 432 0
FLAG 976 240 0
FLAG -96 224 0
FLAG 976 128 OUT
FLAG -64 -128 IN
FLAG 672 528 0
FLAG 592 528 0
FLAG 880 240 0
FLAG 448 512 CLKout
FLAG 448 32 PG
FLAG 448 128 SW
FLAG 464 320 PGFB
FLAG 448 416 SET
TEXT 728 552 Left 2 !.tran 1.5m startup
TEXT 48 104 Left 2 ;2MHz
* Z:\tmp\asc_dec_bjh7r6w2\0fbd79ecbf00_Crystal_osc_with_inv_dec1.asc
* Generated by LTspice 26.0.1 for Windows.
Ls N003 N001 {Ls}
Rs XTAL1 N002 40
Rout N001 N004 1k
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1332 692
WIRE 736 0 800 0
WIRE 400 -352 368 -352
WIRE 800 0 800 -352
WIRE 480 -352 496 -352
WIRE 560 -352 592 -352
WIRE 496 -448 368 -448
WIRE 368 -448 368 -352
WIRE 368 -352 240 -352
WIRE 560 -448 704 -448
WIRE 704 -448 704 -352
WIRE 704 -352 672 -352
WIRE 240 -352 144 -352
WIRE 240 -128 240 -352
WIRE 800 -352 704 -352
WIRE 448 0 656 0
SYMBOL ind 576 -336 R270
WINDOW 0 32 56 VTop 0
WINDOW 3 5 56 VBottom 0
SYMATTR InstName Ls
SYMATTR Value {Ls}
SYMBOL res 384 -336 R270
WINDOW 0 32 56 VTop 0
WINDOW 3 0 56 VBottom 0
SYMATTR InstName Rs
SYMATTR Value 40
SYMBOL D:\\wire\\lib\\sym\\res 752 -16 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName Rout
SYMATTR Value 1k
FLAG 240 -352 XTAL1
* Z:\home\khalils\Downloads\files\data\raw_asc\ADuM4221-2C.asc
* Generated by LTspice 26.0.1 for Windows.
C4 Gate_A 0 2.2n
C5 Gate_B 0 2.2n
R2 Gate_A N001 5.11
R3 Gate_B N006 5.11
V1 VIA 0 PULSE(0 5 0 2n 2n 5u 10u)
V4 N005 0 0
V3 N003 0 5
V6 N004 0 15
V5 N002 0 15
V2 VIB 0 PULSE(5 0 0 2n 2n 5u 10u)
XU2 VIA VIB N003 0 N005 0 N006 N004 0 N001 N002 ADuM4221-2C ;pnba VIA)VIB)VDD1)GND1)DISABLE)GNDB)VOB)VDDB)GNDA)VOA)VDDA
.tran 50u
* GND1 is modeled as common GND
* Library below included based on ModelFile attribute of instance XU2 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\ADuM4221-2C.asy)
.lib ADuM4221-2C.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 3080 680
WIRE -1808 -448 -2288 -448
WIRE -1728 -448 -1808 -448
WIRE -1120 -448 -1424 -448
WIRE -992 -448 -1040 -448
WIRE -864 -448 -992 -448
WIRE -816 -448 -864 -448
WIRE -2288 -416 -2288 -448
WIRE -992 -416 -992 -448
WIRE -1808 -384 -2192 -384
WIRE -1728 -384 -1808 -384
WIRE -1232 -384 -1424 -384
WIRE -1232 -368 -1232 -384
WIRE -2192 -352 -2192 -384
WIRE -992 -336 -992 -352
WIRE -1728 -320 -2064 -320
WIRE -1392 -320 -1424 -320
WIRE -1728 -240 -1760 -240
WIRE -1232 -240 -1424 -240
WIRE -2064 -224 -2064 -320
WIRE -1232 -224 -1232 -240
WIRE -1728 -176 -1984 -176
WIRE -1392 -176 -1424 -176
WIRE -1984 -128 -1984 -176
WIRE -1120 -112 -1424 -112
WIRE -992 -112 -1040 -112
WIRE -864 -112 -992 -112
WIRE -816 -112 -864 -112
WIRE -992 -80 -992 -112
WIRE -2288 16 -2288 -336
WIRE -2192 16 -2192 -272
WIRE -2064 16 -2064 -144
WIRE -1984 16 -1984 -48
WIRE -992 16 -992 -16
FLAG -1984 16 0
FLAG -1392 -176 0
FLAG -1232 -144 0
FLAG -864 -112 Gate_B
FLAG -864 -448 Gate_A
FLAG -992 16 0
FLAG -2288 16 0
FLAG -2064 16 0
FLAG -992 -336 0
FLAG -1808 -448 VIA
FLAG -1392 -320 0
FLAG -1760 -240 0
FLAG -1232 -288 0
FLAG -2192 16 0
FLAG -1808 -384 VIB
SYMBOL cap -1008 -416 R0
SYMATTR InstName C4
SYMATTR Value 2.2n
SYMBOL cap -1008 -80 R0
SYMATTR InstName C5
SYMATTR Value 2.2n
SYMBOL res -1024 -464 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 5.11
SYMBOL res -1024 -128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 5.11
SYMBOL voltage -2288 -432 R0
WINDOW 0 26 98 Left 2
WINDOW 3 33 16 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value PULSE(0 5 0 2n 2n 5u 10u)
SYMBOL voltage -1984 -144 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V4
SYMATTR Value 0
SYMBOL voltage -2064 -240 R0
SYMATTR InstName V3
SYMATTR Value 5
SYMBOL voltage -1232 -240 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 0 42 34 Left 2
WINDOW 3 45 64 Left 2
SYMATTR InstName V6
SYMATTR Value 15
SYMBOL voltage -1232 -384 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 0 43 29 Left 2
WINDOW 3 46 61 Left 2
SYMATTR InstName V5
SYMATTR Value 15
SYMBOL voltage -2192 -368 R0
WINDOW 0 26 98 Left 2
WINDOW 3 33 16 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value PULSE(5 0 0 2n 2n 5u 10u)
SYMBOL ADuM4221-2C -1568 -352 R0
SYMATTR InstName U2
TEXT -1728 -8 Left 2 !.tran 50u
TEXT -1728 -32 Left 1 ;GND1 is modeled as common GND
* Z:\home\khalils\Downloads\files\data\raw_asc\0c4244242f03_Draft102.asc
* Generated by LTspice 26.0.1 for Windows.
* Can just use a cmos op-amp running at 5V\nAnd a cmos comparator.\nGain has already been added.\nSo noise, and thermal wander of Vos. doesn't matter\nAnd the Vos is within the loop
* No. this isn't right. it is not at an input zero cross.
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\OP07.asy)
;dc V1 0 10 0.01
D3 P002 N002 1N4148
D2 N001 P002 1N4148
R2 N002 N001 10k
V2 VCC 0 5
V1 0 VEE 5
D1 P001 N001 1N4148
VIN N003 0 SINE(0 10 50)
D4 N002 P001 1N4148
R3 NC_01 N002 10k
XU1 0 N001 VCC VEE VOUT LT1001 ;pnba In+)In-)V+)V-)OUT
R1 N001 N003 10k
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 0.1
.lib LTC.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1316 680
WIRE 96 -160 -16 -160
WIRE 368 -80 368 -160
WIRE 496 -80 496 -160
WIRE 368 -32 368 -80
WIRE 368 -32 224 -32
WIRE 368 0 368 -32
WIRE 400 0 368 0
WIRE 496 0 496 -80
WIRE 496 0 480 0
WIRE 288 80 -48 80
WIRE 368 80 368 0
WIRE 384 80 368 80
WIRE 560 96 448 96
WIRE 384 112 368 112
WIRE -48 128 -48 80
SYMBOL diode 496 -96 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 -5 -113 VTop 2
SYMATTR InstName D4
SYMATTR Value 1N4148
SYMBOL voltage -16 -256 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 3 55 55 Left 2
SYMATTR Value 5
SYMATTR InstName V2
SYMBOL diode 432 -96 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 -35 -122 VTop 2
SYMATTR InstName D1
SYMATTR Value 1N4148
SYMBOL voltage -48 112 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 3 24 44 Left 2
SYMATTR Value SINE(0 10 50)
SYMATTR InstName VIN
SYMBOL res 384 64 R90
WINDOW 0 -23 59 VBottom 2
WINDOW 3 -25 66 VTop 2
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL voltage -16 -176 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 3 55 55 Left 2
SYMATTR Value 5
SYMATTR InstName V1
SYMBOL diode 432 -144 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 13 187 VBottom 2
SYMATTR InstName D3
SYMATTR Value 1N4148
SYMBOL res 496 -16 R90
WINDOW 0 -12 -47 VBottom 2
WINDOW 3 -2 -48 VTop 2
SYMATTR InstName R2
SYMATTR Value 10k
SYMBOL OpAmps\\OP07 416 32 R0
WINDOW 0 40 50 Left 2
SYMATTR InstName U1
SYMBOL res 592 -16 R90
WINDOW 0 -12 -47 VBottom 2
WINDOW 3 -2 -48 VTop 2
SYMATTR InstName R3
SYMATTR Value 10k
SYMBOL diode 368 -144 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 34 179 VBottom 2
SYMATTR InstName D2
SYMATTR Value 1N4148
FLAG -48 208 0
FLAG 96 -160 0
FLAG 560 96 VOUT
FLAG 368 112 0
FLAG -16 -240 VCC
FLAG 416 64 VCC
FLAG -16 -80 VEE
FLAG 416 128 VEE
FLAG 144 -32 VEE
TEXT -120 232 Left 2 !;dc V1 0 10 0.01
TEXT -136 368 Left 2 !.tran 0.1
TEXT 704 -160 Left 2 ;Can just use a cmos op-amp running at 5V\nAnd a cmos comparator.\nGain has already been added.\nSo  noise, and thermal wander of Vos. doesn't matter\nAnd the Vos is within the loop
TEXT 720 48 Left 2 ;No. this isn't right. it is not at an input  zero cross.
* Z:\home\khalils\Downloads\files\data\raw_asc\ADR4550.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU2 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\ADA4000-1.asy)
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\References\ADR4550.asy)
XU2 N002 N001 +V -V OUT_-5V ADA4000 ;pnba In+)In-)V+)V-)OUT
V2 +V 0 15
V1 IN 0 10
R3 N002 0 10k
R1 OUT_+5V N001 10k
XU1 IN 0 OUT_+5V ADR4550 ;pnba IN)GND)OUT
R2 OUT_-5V N001 10k
C1 OUT_+5V 0 1
V3 -V 0 -15
.tran 0 1m 0.5m startup
.lib ADI.lib
.lib ADR4550.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1444 680
WIRE 160 32 32 32
WIRE 480 32 416 32
WIRE 544 32 480 32
WIRE 592 32 544 32
WIRE 32 48 32 32
WIRE 480 48 480 32
WIRE 592 48 592 32
WIRE 480 144 480 112
WIRE 32 160 32 128
WIRE 288 160 288 128
WIRE 592 160 592 128
WIRE 656 160 592 160
WIRE 768 160 736 160
WIRE 672 208 656 208
WIRE 656 240 656 208
WIRE 592 256 592 160
WIRE 624 256 592 256
WIRE 272 272 256 272
WIRE 384 272 368 272
WIRE 768 272 768 160
WIRE 768 272 688 272
WIRE 832 272 768 272
WIRE 880 272 832 272
WIRE 624 288 592 288
WIRE 256 304 256 272
WIRE 368 304 368 272
WIRE 592 336 592 288
WIRE 656 352 656 304
WIRE 672 352 656 352
WIRE 256 400 256 384
WIRE 368 400 368 384
WIRE 592 432 592 416
SYMBOL res 576 32 R0
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL res 576 320 R0
SYMATTR InstName R3
SYMATTR Value 10k
SYMBOL voltage 256 288 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V2
SYMATTR Value 15
SYMBOL ADR4550 288 32 R0
SYMATTR InstName U1
SYMBOL OpAmps\\ADA4000-1 656 208 R0
WINDOW 0 32 42 Left 2
WINDOW 3 31 101 Left 2
SYMATTR InstName U2
SYMBOL voltage 368 288 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName V3
SYMATTR Value -15
SYMBOL res 752 144 R90
WINDOW 0 5 17 VBottom 2
WINDOW 3 34 17 VTop 2
SYMATTR InstName R2
SYMATTR Value 10k
SYMBOL cap 464 48 R0
WINDOW 39 24 84 Left 2
SYMATTR InstName C1
SYMATTR Value 1
SYMBOL voltage 32 32 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 3 26 86 Left 2
SYMATTR Value 10
SYMATTR InstName V1
FLAG 32 160 0
FLAG 288 160 0
FLAG 32 32 IN
FLAG 544 32 OUT_+5V
FLAG 592 432 0
FLAG 832 272 OUT_-5V
FLAG 272 272 +V
FLAG 384 272 -V
FLAG 368 400 0
FLAG 256 400 0
FLAG 672 208 +V
FLAG 672 352 -V
FLAG 480 144 0
TEXT 288 464 Left 2 !.tran 0 1m 0.5m startup