Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\home\khalils\Downloads\files\data\raw_asc\03c258fce360_AD8554.asc
* Generated by LTspice 26.0.1 for Windows.
XU1 IN N001 +V -V OUT AD8554 ;pnba In+)In-)V+)V-)OUT
V1 +V 0 5
Vin IN 0 SINE(0 1 10K)
R1 N001 0 10K
R2 OUT N001 10K
V2 -V 0 -5
Rload OUT 0 10K
.tran 1m
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\AD8554.asy)
.lib ADI.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1240 700
WIRE 336 -1120 320 -1120
WIRE 432 -1120 416 -1120
WIRE 448 -1120 432 -1120
WIRE 544 -1120 528 -1120
WIRE 80 -1024 80 -1040
WIRE 176 -1024 176 -1040
WIRE 432 -1008 432 -1120
WIRE 448 -1008 432 -1008
WIRE 544 -992 544 -1120
WIRE 544 -992 512 -992
WIRE 656 -992 544 -992
WIRE 448 -976 336 -976
WIRE 656 -976 656 -992
WIRE 336 -960 336 -976
WIRE 80 -928 80 -944
WIRE 176 -928 176 -944
WIRE 656 -880 656 -896
WIRE 336 -864 336 -880
FLAG 80 -1040 +V
FLAG 80 -928 0
FLAG 336 -864 0
FLAG 656 -992 OUT
FLAG 336 -976 IN
FLAG 480 -1024 +V
FLAG 176 -1040 -V
FLAG 480 -960 -V
FLAG 320 -1120 0
FLAG 656 -880 0
FLAG 176 -928 0
SYMBOL Opamps\\AD8554 480 -1056 R0
SYMATTR InstName U1
SYMBOL voltage 80 -1040 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL voltage 336 -976 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName Vin
SYMATTR Value SINE(0 1 10K)
SYMBOL res 432 -1136 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10K
SYMBOL res 544 -1136 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10K
SYMBOL voltage 176 -1040 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName V2
SYMATTR Value -5
SYMBOL res 640 -992 R0
SYMATTR InstName Rload
SYMATTR Value 10K
TEXT 592 -840 Left 2 !.tran 1m
* Z:\home\khalils\Downloads\files\data\raw_asc\08f90bcc6f6e_Draft1.asc
* Generated by LTspice 26.0.1 for Windows.
R1 N002 N003 10
R2 0 N003 5
XU1 N003 N001 N002 opamp Aol=100K GBW=10Meg ;pnba invin)noninvin)out
V1 N001 0 5
.tran 0 4ms 0
.lib opamp.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1148 688
WIRE 768 304 640 304
WIRE 896 320 832 320
WIRE 768 336 736 336
WIRE 640 384 640 304
WIRE 736 464 736 336
WIRE 768 464 736 464
WIRE 816 464 768 464
WIRE 896 464 896 320
WIRE 768 496 768 464
WIRE 640 608 640 464
WIRE 768 608 768 576
WIRE 768 608 640 608
WIRE 640 656 640 608
SYMBOL res 784 592 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R2
SYMATTR Value 5
SYMBOL voltage 640 368 R0
WINDOW 3 24 38 Left 2
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL Opamps/opamp 800 384 M180
SYMATTR InstName U1
SYMBOL res 912 448 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10
FLAG 640 656 0
TEXT 568 256 Left 2 !.tran 0 4ms 0\n.lib opamp.sub
* Z:\tmp\asc_dec_bjh7r6w2\081160c7176d_tpN1_dec2.asc
* Generated by LTspice 26.0.1 for Windows.
V4 0 vss 10
V5 N003 Vc SINE(0 1 1k) AC .5
XU1 Vin1 N001 vcc vss Vo1 LM324 ;pnba In+)In-)V+)V-)OUT
V7 Vc 0 SINE(0 1 1k) AC 5
R3 N002 Vo1 {R}
R5 Vo2 N002 {R}
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1084 820
WIRE 240 -80 48 -80
WIRE 464 -80 320 -80
WIRE 48 16 48 -80
WIRE 80 16 48 16
WIRE 240 16 160 16
WIRE 464 48 464 -80
WIRE 544 48 464 48
WIRE 688 48 624 48
WIRE -800 112 -800 32
WIRE -688 112 -688 32
WIRE 176 112 176 64
WIRE 48 128 48 16
WIRE 48 128 16 128
WIRE 144 128 48 128
WIRE 544 128 544 96
WIRE 240 144 240 16
WIRE 240 144 208 144
WIRE 272 144 240 144
WIRE 304 144 272 144
WIRE 464 144 464 48
WIRE 464 144 384 144
WIRE 512 144 464 144
WIRE 144 160 96 160
WIRE 688 160 688 48
WIRE 688 160 576 160
WIRE 752 160 688 160
WIRE 768 160 752 160
WIRE 512 176 464 176
WIRE 176 224 176 176
WIRE 544 240 544 192
WIRE -800 272 -800 192
WIRE -688 272 -688 192
WIRE -544 272 -544 192
WIRE -544 432 -544 368
WIRE -544 624 -544 512
WIRE -432 624 -544 624
WIRE -384 624 -432 624
WIRE -240 624 -240 512
WIRE -240 624 -384 624
WIRE -432 656 -432 624
WIRE -432 800 -432 736
SYMBOL voltage -800 208 R180
WINDOW 0 24 96 Left 2
WINDOW 3 24 16 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V4
SYMATTR Value 10
SYMBOL voltage -544 416 R0
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 0
SYMATTR Value2 AC .5
SYMATTR InstName V5
SYMATTR Value SINE(0 1 1k)
SYMBOL Opamps\\opamp2 176 80 R0
SYMATTR InstName U1
SYMATTR Value LM324
SYMBOL voltage -432 640 R0
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 0
SYMATTR Value2 AC 5
SYMATTR InstName V7
SYMATTR Value SINE(0 1 1k)
SYMBOL res 400 128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value {R}
SYMBOL res 640 32 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value {R}
FLAG -544 272 0
FLAG 96 160 Vin1
FLAG 272 144 Vo1
FLAG 752 160 Vo2
FLAG -688 272 0
FLAG -800 272 0
FLAG -688 32 vcc
FLAG -800 32 vss
FLAG 176 64 vcc
FLAG 176 224 vss
FLAG 544 240 vss
FLAG 544 96 vcc
FLAG 464 176 Vin2
FLAG -432 800 0
FLAG -384 624 Vc
* Z:\home\khalils\Downloads\files\data\raw_asc\2d12beae84be_exer1_10_Dcust01.asc
* Generated by LTspice 26.0.1 for Windows.
D1 vd1 0 Dcust01
R1 vd1 vps 20k
VPS vps 0 0
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.dc VPS 0 10 .01
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 192 80 96 80
WIRE 320 80 272 80
WIRE 96 144 96 80
WIRE 320 144 320 80
WIRE 96 256 96 224
WIRE 320 256 320 208
WIRE 320 256 96 256
WIRE 96 272 96 256
IOPIN 320 80 Out
IOPIN 96 80 Out
SYMBOL diode 304 144 R0
SYMATTR InstName D1
SYMATTR Value Dcust01
SYMBOL voltage 96 128 R0
WINDOW 3 24 96 Left 1
SYMATTR InstName VPS
SYMATTR Value 0
SYMBOL res 288 64 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 20k
FLAG 96 272 0
FLAG 320 80 vd1
FLAG 96 80 vps
TEXT -96 32 Left 2 !.dc VPS 0 10 .01
* Z:\home\khalils\Downloads\files\data\raw_asc\302433c4271e_Something-With-Transistors.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\LTC6090.asy)
Q2 Vcc- fb out 0 PNP
V7 Vcc- 0 -70V
Q1 Vcc+ fb out 0 NPN
XU1 NC_01 fb in NC_02 NC_03 fb NC_04 NC_05 LTC6090 ;pnba COM)IN-)IN+)V-)_TF)OUT)V+)_OD
C1 out 0 3e-10
V6 Vcc+ 0 70V
R1 out fb 1k
V5 in 0 SINE(0 6V 40k)
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.tran 0 1s
.lib LTC5.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1264 680
WIRE 576 64 576 32
WIRE 576 80 576 64
WIRE 512 128 416 128
WIRE 240 144 240 128
WIRE 240 176 240 144
WIRE 1056 208 1056 192
WIRE 1184 208 1184 192
WIRE 144 224 96 224
WIRE 224 224 144 224
WIRE 1056 224 1056 208
WIRE 1184 224 1184 208
WIRE 416 256 416 128
WIRE 416 256 384 256
WIRE 464 256 416 256
WIRE 576 256 576 176
WIRE 576 256 544 256
WIRE 688 256 576 256
WIRE 736 256 688 256
WIRE 752 256 736 256
WIRE 176 288 96 288
WIRE 224 288 176 288
WIRE 576 336 576 256
WIRE 688 336 688 256
WIRE 1056 336 1056 304
WIRE 1184 336 1184 304
WIRE 240 368 240 336
WIRE 96 384 96 288
WIRE 240 384 240 368
WIRE 416 384 416 256
WIRE 432 384 416 384
WIRE 512 384 432 384
WIRE 688 464 688 400
WIRE 576 480 576 432
WIRE 576 496 576 480
WIRE 96 512 96 464
SYMBOL pnp 512 432 M180
SYMATTR InstName Q2
SYMBOL res 560 240 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL voltage 1184 208 R0
SYMATTR InstName V7
SYMATTR Value -70V
SYMBOL Misc/signal 96 368 R0
SYMATTR InstName V5
SYMATTR Value SINE(0 6V 40k)
SYMBOL cap 672 336 R0
SYMATTR InstName C1
SYMATTR Value 3e-10
SYMBOL voltage 1056 208 R0
SYMATTR InstName V6
SYMATTR Value 70V
SYMBOL npn 512 80 R0
SYMATTR InstName Q1
SYMBOL Opamps/LTC6090 288 256 R0
SYMATTR InstName U1
FLAG 176 288 in
FLAG 96 512 0
FLAG 736 256 out
FLAG 432 384 fb
FLAG 1056 336 0
FLAG 1056 208 Vcc+
FLAG 1184 336 0
FLAG 1184 208 Vcc-
FLAG 576 64 Vcc+
FLAG 576 480 Vcc-
FLAG 240 144 Vcc+
FLAG 240 368 Vcc-
FLAG 688 464 0
FLAG 144 224 fb
TEXT 248 592 Left 2 !.tran 0 1s
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC1049.asc
* Generated by LTspice 26.0.1 for Windows.
* Low Power, Single Supply, Low Offset Instrumentation Amp
* Library below included based on ModelFile attribute of instance XU1, XU2 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LTC1049.asy)
XU2 IN+ N003 +V 0 OUT LTC1049 ;pnba In+)In-)V+)V-)OUT
XU1 IN- N001 +V 0 N002 LTC1049 ;pnba In+)In-)V+)V-)OUT
R4 OUT N003 198K
R3 N003 N002 2K
R1 N002 N001 2K
V3 IN- IN+ SINE(-25m 5m 100)
V2 IN+ 0 SINE(2.5 1 10)
V1 +V 0 5
R2 N001 0 198K
.tran .3
.lib LTC.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 896 680
WIRE 32 96 16 96
WIRE 128 96 112 96
WIRE 144 96 128 96
WIRE 256 96 224 96
WIRE 272 96 256 96
WIRE 368 96 352 96
WIRE 384 96 368 96
WIRE 496 96 464 96
WIRE -128 208 -128 192
WIRE 192 208 192 192
WIRE 416 208 416 192
WIRE 128 224 128 96
WIRE 160 224 128 224
WIRE 368 224 368 96
WIRE 384 224 368 224
WIRE 256 240 256 96
WIRE 256 240 224 240
WIRE 496 240 496 96
WIRE 496 240 448 240
WIRE 528 240 496 240
WIRE 96 256 0 256
WIRE 160 256 96 256
WIRE 384 256 368 256
WIRE 0 272 0 256
WIRE 192 288 192 272
WIRE 416 288 416 272
WIRE -128 304 -128 288
WIRE 0 368 0 352
WIRE 320 368 0 368
WIRE 368 368 368 256
WIRE 368 368 320 368
WIRE 0 384 0 368
WIRE 0 480 0 464
SYMBOL res 480 80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 198K
SYMBOL opamps\\LTC1049 416 176 R0
SYMATTR InstName U2
SYMBOL voltage 0 368 R0
WINDOW 3 26 92 Left 2
SYMATTR Value SINE(2.5 1 10)
SYMATTR InstName V2
SYMBOL res 128 80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 198K
SYMBOL voltage -128 192 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL voltage 0 256 R0
WINDOW 3 26 92 Left 2
SYMATTR Value SINE(-25m 5m 100)
SYMATTR InstName V3
SYMBOL res 368 80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 2K
SYMBOL res 240 80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 2K
SYMBOL opamps\\LTC1049 192 176 R0
SYMATTR InstName U1
FLAG -128 304 0
FLAG 192 192 +V
FLAG -128 192 +V
FLAG 16 96 0
FLAG 192 288 0
FLAG 416 192 +V
FLAG 416 288 0
FLAG 0 480 0
FLAG 528 240 OUT
FLAG 96 256 IN-
FLAG 320 368 IN+
TEXT 480 360 Left 2 !.tran .3
TEXT 272 40 Bottom 2 ;Low Power, Single Supply, Low Offset Instrumentation Amp
* Z:\home\khalils\Downloads\files\data\raw_asc\LT1214.asc
* Generated by LTspice 26.0.1 for Windows.
* Single Supply 3-Pole 1MHz Filter
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LT1214.asy)
C1 OUT N001 5p
C4 N002 0 390p
C3 OUT N003 200p
R3 N004 N003 680
R4 N003 N002 680
XU1 N004 N001 +V 0 OUT LT1213 ;pnba In+)In-)V+)V-)OUT
R2 N001 0 4.12K
R1 OUT N001 4.12K
R5 N002 IN 680
C2 N004 0 150p
V3 IN 0 3.75 AC 1
V1 +V 0 15
.ac oct 100 1K 10Meg
.lib LTC.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 896 680
WIRE 176 0 144 0
WIRE 304 0 240 0
WIRE -224 48 -224 32
WIRE 48 96 32 96
WIRE 144 96 144 0
WIRE 144 96 128 96
WIRE 176 96 144 96
WIRE 304 96 304 0
WIRE 304 96 256 96
WIRE -224 144 -224 128
WIRE 192 208 192 192
WIRE 144 224 144 96
WIRE 160 224 144 224
WIRE 304 240 304 96
WIRE 304 240 224 240
WIRE 320 240 304 240
WIRE -240 256 -384 256
WIRE -144 256 -160 256
WIRE -112 256 -144 256
WIRE -16 256 -32 256
WIRE 0 256 -16 256
WIRE 112 256 80 256
WIRE 160 256 112 256
WIRE -384 272 -384 256
WIRE -144 272 -144 256
WIRE 112 272 112 256
WIRE 192 288 192 272
WIRE 112 352 112 336
WIRE -384 368 -384 352
WIRE -144 368 -144 336
WIRE -16 384 -16 256
WIRE 192 384 -16 384
WIRE 304 384 304 240
WIRE 304 384 256 384
SYMBOL res 96 240 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 680
SYMBOL res 144 80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 4.12K
SYMBOL cap -160 272 R0
SYMATTR InstName C4
SYMATTR Value 390p
SYMBOL res -144 240 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 680
SYMBOL voltage -384 256 R0
WINDOW 123 24 132 Left 2
WINDOW 39 0 0 Left 2
SYMATTR Value2 AC 1
SYMATTR InstName V3
SYMATTR Value 3.75
SYMBOL res 272 80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 4.12K
SYMBOL cap 240 -16 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 5p
SYMBOL res -16 240 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 680
SYMBOL opamps\\LT1214 192 176 R0
SYMATTR InstName U1
SYMBOL voltage -224 32 R0
SYMATTR InstName V1
SYMATTR Value 15
SYMBOL cap 256 368 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C3
SYMATTR Value 200p
SYMBOL cap 96 272 R0
SYMATTR InstName C2
SYMATTR Value 150p
FLAG -224 144 0
FLAG 192 192 +V
FLAG -224 32 +V
FLAG -384 368 0
FLAG 192 288 0
FLAG 32 96 0
FLAG 112 352 0
FLAG -144 368 0
FLAG 320 240 OUT
FLAG -384 256 IN
TEXT 16 -48 Bottom 2 ;Single Supply 3-Pole 1MHz Filter
TEXT -128 424 Left 2 !.ac oct 100 1K 10Meg
* Z:\home\khalils\Downloads\files\data\raw_asc\30717fd9e383_motor_drive_01.asc
* Generated by LTspice 26.0.1 for Windows.
V2 v_cmd 0 PULSE(0 24 0 0 0 20u 40u 10000)
R2 N001 v_cmd 1k
R3 N002 v_cmd 1k
L1 v_out N003 {L_motor}
C2 N002 0 1n
V1 vcc 0 24
D2 N002 v_cmd 1N4148
M1 v_out N002 0 0 IRFHS8242
D1 v_cmd N001 1N4148
C1 N001 0 1n
M2 v_out N001 vcc vcc FDR840P
R1 N003 0 {R_motor}
.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
.tran 20m
.PARAM K_t = 900u
.PARAM K_EMF = 900u
.PARAM L_motor = 50u
.PARAM R_motor = 24/5.9
.PARAM R_loss = 300n
.PARAM L_inertia = 15n
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1444 852
WIRE -416 -16 -416 -48
WIRE 64 32 -32 32
WIRE 160 32 128 32
WIRE -416 96 -416 64
WIRE 560 112 560 80
WIRE -32 128 -32 32
WIRE 64 128 -32 128
WIRE 160 128 160 32
WIRE 160 128 144 128
WIRE 192 128 160 128
WIRE 512 128 192 128
WIRE 192 160 192 128
WIRE 192 272 192 224
WIRE 560 336 560 208
WIRE 752 336 752 304
WIRE 752 336 560 336
WIRE -384 384 -384 352
WIRE -32 384 -32 128
WIRE -32 384 -384 384
WIRE 752 400 752 336
WIRE -384 448 -384 384
WIRE -32 464 -32 384
WIRE 64 464 -32 464
WIRE 160 464 128 464
WIRE 560 480 560 336
WIRE 752 544 752 480
WIRE -384 560 -384 528
WIRE -32 560 -32 464
WIRE 64 560 -32 560
WIRE 160 560 160 464
WIRE 160 560 144 560
WIRE 192 560 160 560
WIRE 512 560 192 560
WIRE 192 576 192 560
WIRE 560 608 560 576
WIRE 192 688 192 640
WIRE 752 688 752 624
SYMBOL voltage -416 -32 R0
SYMATTR InstName V1
SYMATTR Value 24
SYMBOL ind 736 384 R0
SYMATTR InstName L1
SYMATTR Value {L_motor}
SYMBOL pmos 512 208 M180
SYMATTR InstName M2
SYMATTR Value FDR840P
SYMBOL cap 176 160 R0
SYMATTR InstName C1
SYMATTR Value 1n
SYMBOL diode 64 48 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D1
SYMATTR Value 1N4148
SYMBOL diode 128 448 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D2
SYMATTR Value 1N4148
SYMBOL res 736 528 R0
SYMATTR InstName R1
SYMATTR Value {R_motor}
SYMBOL cap 176 576 R0
SYMATTR InstName C2
SYMATTR Value 1n
SYMBOL voltage -384 432 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V2
SYMATTR Value PULSE(0 24 0 0 0 20u 40u 10000)
SYMBOL nmos 512 480 R0
SYMATTR InstName M1
SYMATTR Value IRFHS8242
SYMBOL res 160 544 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 1k
SYMBOL res 160 112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 1k
FLAG -416 -48 vcc
FLAG -416 96 0
FLAG -384 560 0
FLAG 560 608 0
FLAG 560 80 vcc
FLAG 192 272 0
FLAG 192 688 0
FLAG 752 688 0
FLAG -384 352 v_cmd
FLAG 752 304 v_out
TEXT 336 -56 Left 2 !.tran 20m
TEXT 1152 -96 Left 2 !.PARAM K_t = 900u\n.PARAM K_EMF = 900u\n.PARAM L_motor = 50u\n.PARAM R_motor = 24/5.9\n.PARAM R_loss = 300n\n.PARAM L_inertia = 15n
* Z:\home\khalils\Downloads\files\data\raw_asc\0b10691921b3_Assignment_2b__ii_.asc
* Generated by LTspice 26.0.1 for Windows.
* Negative Clamper Circuit (with Bias)
V1 N001 0 SINE(0 5 1000)
V2 0 N003 2
D1 N002 N003 1N4148
C1 N002 N001 0.000001
R1 N002 0 1000
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 5ms
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 880 680
WIRE 176 80 64 80
WIRE 320 80 240 80
WIRE 416 80 320 80
WIRE 320 96 320 80
WIRE 64 160 64 80
WIRE 416 160 416 80
WIRE 320 192 320 160
WIRE 64 288 64 240
WIRE 176 288 64 288
WIRE 320 288 320 272
WIRE 320 288 176 288
WIRE 416 288 416 240
WIRE 416 288 320 288
WIRE 176 320 176 288
SYMBOL diode 304 96 R0
SYMATTR InstName D1
SYMATTR Value 1N4148
SYMBOL Misc\\battery 320 288 R180
WINDOW 0 24 104 Left 2
WINDOW 3 24 16 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 2
SYMBOL voltage 64 144 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value SINE(0 5 1000)
SYMBOL cap 240 64 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 0.000001
SYMBOL res 400 144 R0
SYMATTR InstName R1
SYMATTR Value 1000
FLAG 176 320 0
TEXT 8 328 Left 2 !.tran 5ms
TEXT 24 16 Left 2 ;Negative Clamper Circuit (with Bias)
* Z:\home\khalils\Downloads\files\data\raw_asc\1174e09515c5_inv2x.asc
* Generated by LTspice 26.0.1 for Windows.
M1 N001 InvIn InvOut N001 PMOS l=2.4u w=23.04u
M2 InvOut InvIn 0 0 NMOS l=2.4u w=7.68u
V1 N001 0 2.5
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 96 -32 64 -32
WIRE 64 0 64 -32
WIRE 176 64 176 -32
WIRE 224 64 176 64
WIRE 224 112 224 64
WIRE 224 112 176 112
WIRE 128 144 96 144
WIRE 96 192 96 144
WIRE 96 192 64 192
WIRE 176 192 176 160
WIRE 208 192 176 192
WIRE 176 224 176 192
WIRE 224 272 176 272
WIRE 96 304 96 192
WIRE 128 304 96 304
WIRE 224 320 224 272
WIRE 224 320 176 320
WIRE 176 352 176 320
IOPIN 64 192 In
IOPIN 208 192 Out
SYMBOL voltage 192 -32 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 2.5
SYMBOL pmos4 128 64 R0
SYMATTR InstName M1
SYMATTR Value2 l=2.4u w=23.04u
SYMBOL nmos4 128 224 R0
SYMATTR InstName M2
SYMATTR Value2 l=2.4u w=7.68u
FLAG 176 352 0
FLAG 64 0 0
FLAG 64 192 InvIn
FLAG 208 192 InvOut
* Z:\home\khalils\Downloads\files\data\raw_asc\LT6402-20.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\LT6402-20.asy)
V2 N003 0 2.2
XU1 N001 N003 N001 0 _OUT NC_01 NC_02 OUT 0 N001 0 0 N002 N002 N004 N004 LT6402-20 ;pnba VccC)VOCM)VccA)VeeA)+OUT)+OUTFILT)-OUTFILT)-OUT)VeeB)VccB)_EN)VeeC)-INB)-INA)+INB)+INA
V1 N001 0 5
V3 N002 N004 SINE(0 .1 10Meg)
.tran 1u
.lib LTC5.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1564 1892
WIRE 128 368 -256 368
WIRE 208 368 128 368
WIRE 288 368 208 368
WIRE -256 384 -256 368
WIRE 128 400 128 368
WIRE 208 400 208 368
WIRE 288 400 288 368
WIRE 368 400 368 352
WIRE -256 480 -256 464
WIRE 32 480 -176 480
WIRE 64 480 32 480
WIRE 448 496 416 496
WIRE 32 512 32 480
WIRE 64 512 32 512
WIRE -176 528 -176 480
WIRE 480 576 416 576
WIRE 592 576 560 576
WIRE 64 640 32 640
WIRE 448 656 416 656
WIRE -176 672 -176 608
WIRE 32 672 32 640
WIRE 32 672 -176 672
WIRE 64 672 32 672
WIRE 160 784 160 752
WIRE 240 784 240 752
WIRE 320 784 320 752
SYMBOL voltage -256 368 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL LT6402-20 240 576 R0
SYMATTR InstName U1
SYMBOL voltage 464 576 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 -32 56 VBottom 2
SYMATTR InstName V2
SYMATTR Value 2.2
SYMBOL voltage -176 512 R0
SYMATTR InstName V3
SYMATTR Value SINE(0 .1 10Meg)
FLAG -256 480 0
FLAG 592 576 0
FLAG 448 656 OUT
FLAG 448 496 _OUT
FLAG 368 352 0
FLAG 160 784 0
FLAG 240 784 0
FLAG 320 784 0
TEXT 552 704 Left 2 !.tran 1u
* Z:\home\khalils\Downloads\files\data\raw_asc\3de0290713c4_andgate.asc
* Generated by LTspice 26.0.1 for Windows.
M1 N007 N004 N012 N010 NMOS
M2 N012 N008 0 N013 NMOS
M4 N001 N008 N007 N005 PMOS
V1 N008 0 PULSE(0 5 0 0.01m 0.01m 1m 2m)
V2 N004 0 PULSE(5 0 5 0.01m 0.01m 1m 2m)
M3 N001 N004 N007 N003 PMOS
V3 N001 0 5
M5 N002 N007 N009 N006 PMOS
M6 N009 N007 0 N011 NMOS
V4 N002 0 5
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.tran 10m
* output
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 256 -208 176 -208
WIRE 176 -176 176 -208
WIRE 256 -176 256 -208
WIRE 832 -128 736 -128
WIRE 832 -80 832 -128
WIRE 176 -64 176 -96
WIRE 176 -64 96 -64
WIRE 288 -64 176 -64
WIRE 96 -48 96 -64
WIRE 288 -16 288 -64
WIRE 736 -16 736 -48
WIRE 96 0 96 -32
WIRE 32 32 -64 32
WIRE 48 32 32 32
WIRE 288 32 288 0
WIRE 736 32 736 0
WIRE 688 64 624 64
WIRE 16 80 -176 80
WIRE 240 80 240 64
WIRE 240 80 16 80
WIRE 96 112 96 48
WIRE 224 112 96 112
WIRE 288 112 288 80
WIRE 288 112 224 112
WIRE 224 128 224 112
WIRE 624 128 624 64
WIRE 624 128 224 128
WIRE 736 128 736 80
WIRE 784 128 736 128
WIRE 224 144 224 128
WIRE -176 160 -176 80
WIRE -64 160 -64 32
WIRE 736 160 736 128
WIRE 224 192 224 160
WIRE 736 208 736 176
WIRE 32 224 32 32
WIRE 176 224 32 224
WIRE 624 240 624 128
WIRE 688 240 624 240
WIRE -176 256 -176 240
WIRE -128 256 -176 256
WIRE -64 256 -64 240
WIRE -64 256 -128 256
WIRE 224 256 224 240
WIRE -128 272 -128 256
WIRE 224 304 224 272
WIRE 16 336 16 80
WIRE 176 336 16 336
WIRE 736 336 736 256
WIRE 224 384 224 352
FLAG -128 272 0
FLAG 224 384 0
FLAG 256 -176 0
FLAG 736 336 0
FLAG 832 -80 0
SYMBOL nmos4 176 144 R0
SYMATTR InstName M1
SYMBOL nmos4 176 256 R0
SYMATTR InstName M2
SYMBOL pmos4 240 -16 R0
SYMATTR InstName M4
SYMBOL voltage -176 144 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value PULSE(0 5 0 0.01m 0.01m 1m 2m)
SYMBOL voltage -64 144 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value PULSE(5 0 5 0.01m 0.01m 1m 2m)
SYMBOL pmos4 48 -48 R0
SYMATTR InstName M3
SYMBOL voltage 176 -80 R180
WINDOW 0 24 96 Left 2
WINDOW 3 24 16 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value 5
SYMBOL pmos4 688 -16 R0
SYMATTR InstName M5
SYMBOL nmos4 688 160 R0
SYMATTR InstName M6
SYMBOL voltage 736 -32 R180
WINDOW 0 24 96 Left 2
WINDOW 3 24 16 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V4
SYMATTR Value 5
TEXT -208 408 Left 2 !.tran 10m
TEXT 784 128 Left 2 ;output