Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\home\khalils\Downloads\files\data\raw_asc\ba2c0dca089b_BJT-for-simple-current-regulation.asc
* Generated by LTspice 26.0.1 for Windows.
* Adjusting the potentiometer, the current through R1 is (approximately)\nlinearly regulated.
* Sizing: \n \nAssume BJT works in saturation -> Vce = 0.3. On the load the voltage drop is 4.7V,\nAssume the load draws 100 mA.\n \nBase current for the polarization is Ic/hfe. Assuming a hfe of 100 the required base\ncurrent is 100ma/100 = 1mA\n \nVbe is fixed at 0.8 V (PN junction). I set R2 so as to have exactly 1 mA of base current\ni.e. R2 = 4.2/0.001 = 4.2k
* BJT for simple current regulation
V1 Vin 0 5
Q1 N001 N003 0 0 2N3904
R2 N003 N002 4.2k
R1 Vin N001 47
RPot Vin N002 {10k*x}
RPotenziometro N002 0 {10k*(1-x)}
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.step param x 1n 0.99 0.5
.tran 1s
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1704 680
WIRE -16 16 -16 0
WIRE 272 64 272 32
WIRE 80 80 80 48
WIRE 272 176 272 144
WIRE 80 224 80 160
WIRE 112 224 80 224
WIRE 208 224 192 224
WIRE 272 288 272 272
WIRE 80 304 80 224
SYMBOL npn 208 176 R0
SYMATTR InstName Q1
SYMATTR Value 2N3904
SYMBOL res 64 288 R0
SYMATTR InstName Potenziometro
SYMATTR Value {10k*(1-x)}
SYMBOL res 64 64 R0
SYMATTR InstName Pot
SYMATTR Value {10k*x}
SYMBOL voltage -16 0 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL res 208 208 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 4.2k
SYMBOL res 256 48 R0
SYMATTR InstName R1
SYMATTR Value 47
FLAG 80 384 0
FLAG 272 288 0
FLAG -16 0 Vin
FLAG 272 32 Vin
FLAG -16 96 0
FLAG 80 48 Vin
TEXT 360 128 Left 2 !.step param x 1n 0.99 0.5
TEXT 360 168 Left 2 !.tran 1s
TEXT -120 -144 Left 2 ;Adjusting the potentiometer, the current through R1 is (approximately)\nlinearly regulated.
TEXT 456 240 Left 2 ;Sizing: \n \nAssume BJT works in saturation -> Vce = 0.3. On the load the voltage drop is 4.7V,\nAssume the load draws 100 mA.\n \nBase current for the polarization is Ic/hfe. Assuming a hfe of 100 the required base\ncurrent is 100ma/100 = 1mA\n \nVbe is fixed at 0.8 V (PN junction). I set R2 so as to have exactly 1 mA of base current\ni.e. R2 = 4.2/0.001 = 4.2k
TEXT 368 -264 Left 4 ;BJT for simple current regulation
* Z:\home\khalils\Downloads\files\data\raw_asc\0e6b23bc5948_Draft1.asc
* Generated by LTspice 26.0.1 for Windows.
R1 N002 N003 100
R2 N003 NC_01 47
R4 NC_02 N009 47
Q1 N006 N004 N003 0 2N2905A
Q2 N004 N002 N001 0 BC557B
Q3 N005 N007 N009 0 2N2222
Q4 N007 N008 N010 0 BC847B
R3 N009 N008 100
.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 880 680
WIRE -93088 -3680 -93088 -3744
WIRE -92976 -3632 -93024 -3632
WIRE -92864 -3632 -92896 -3632
WIRE -92816 -3632 -92864 -3632
WIRE -92864 -3600 -92864 -3632
WIRE -93088 -3552 -93088 -3584
WIRE -92928 -3552 -93088 -3552
WIRE -93088 -3488 -93088 -3504
WIRE -92864 -3488 -92864 -3504
WIRE -93152 -3440 -93312 -3440
WIRE -93312 -3376 -93312 -3440
WIRE -93200 -3328 -93248 -3328
WIRE -93088 -3328 -93088 -3392
WIRE -93088 -3328 -93120 -3328
WIRE -93024 -3328 -93088 -3328
WIRE -93312 -3232 -93312 -3280
SYMBOL res -93104 -3344 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 100
SYMBOL npn -93248 -3376 M0
SYMATTR InstName Q4
SYMATTR Value BC847B
SYMBOL res -92928 -3344 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 47
SYMBOL pnp -92928 -3504 M180
SYMATTR InstName Q1
SYMATTR Value 2N2905A
SYMBOL npn -93152 -3488 R0
SYMATTR InstName Q3
SYMATTR Value 2N2222
SYMBOL res -92832 -3616 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R2
SYMATTR Value 47
SYMBOL pnp -93024 -3584 R180
SYMATTR InstName Q2
SYMATTR Value BC557B
SYMBOL res -92992 -3616 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R1
SYMATTR Value 100
FLAG -92736 -3808 0
FLAG -92816 -3200 Vopp
* Z:\home\khalils\Downloads\files\data\raw_asc\1b1fd3ff6691_4_Zadatak_Lab5.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\OP747.asy)
V2 0 N005 50
V1 N001 0 50
R2 N003 N002 10k
V3 N004 0 SINE(0 1 1k) AC 1
XU1 N004 N002 N001 N005 N003 OP747 ;pnba In+)In-)V+)V-)OUT
R1 0 N002 1k
.tran 3m
.lib ADI.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 0 -160 -112 -160
WIRE -112 -96 -112 -160
WIRE 0 -96 0 -160
WIRE 480 -96 192 -96
WIRE 480 -48 480 -96
WIRE 0 0 0 -16
WIRE 256 0 0 0
WIRE 352 0 336 0
WIRE 192 96 192 -96
WIRE 0 112 0 0
WIRE 160 112 0 112
WIRE 352 128 352 0
WIRE 352 128 224 128
WIRE 480 128 480 32
WIRE 624 128 480 128
WIRE 160 144 0 144
WIRE 624 144 624 128
WIRE 480 272 480 128
WIRE 0 288 0 144
WIRE 0 432 0 368
WIRE 192 432 192 160
WIRE 480 432 480 352
WIRE 480 432 192 432
SYMBOL res 352 -16 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10k
SYMBOL OpAmps\\OP747 192 64 R0
SYMATTR InstName U1
SYMBOL voltage 0 272 R0
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 0
WINDOW 3 24 44 Left 2
SYMATTR Value2 AC 1
SYMATTR InstName V3
SYMATTR Value SINE(0 1 1k)
SYMBOL res -16 -112 R0
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL voltage 480 256 R0
SYMATTR InstName V2
SYMATTR Value 50
SYMBOL voltage 480 -64 R0
SYMATTR InstName V1
SYMATTR Value 50
FLAG 0 432 0
FLAG -112 -96 0
FLAG 624 144 0
TEXT -132 456 Left 2 !.tran 3m
* Z:\home\khalils\Downloads\files\data\raw_asc\LT6558.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\LT6558.asy)
C1 N002 0 .1
C2 N004 0 .1
V2 IN 0 SINE(0 0.1 10Meg)
V1 N001 0 5
R1 N007 0 350
XU1 0 0 N002 0 N004 0 N006 0 N001 OUT N001 N005 N001 N003 N001 N007 LT6558 ;pnba _EN)GND)INR)AGND1)ING)GNDG)INB)GNDB)V+B)OUTB)V+G)OUTG)V+R)OUTR)V+)BCV
C3 N006 IN .1
.tran 1u
.lib LTC5.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 908 948
WIRE 336 272 -32 272
WIRE 464 272 336 272
WIRE -32 288 -32 272
WIRE 336 304 336 272
WIRE 464 336 464 272
WIRE 464 336 448 336
WIRE 112 352 48 352
WIRE 256 352 176 352
WIRE 496 368 448 368
WIRE -32 384 -32 368
WIRE 256 400 240 400
WIRE 464 432 464 336
WIRE 464 432 448 432
WIRE 48 448 48 352
WIRE 112 448 48 448
WIRE 256 448 176 448
WIRE 48 464 48 448
WIRE 496 464 448 464
WIRE 256 496 240 496
WIRE 464 528 464 432
WIRE 464 528 448 528
WIRE 80 544 -16 544
WIRE 256 544 144 544
WIRE -16 560 -16 544
WIRE 496 560 448 560
WIRE 256 592 240 592
WIRE -16 656 -16 640
WIRE 416 672 416 656
WIRE 288 688 288 656
WIRE 352 688 352 656
WIRE 416 768 416 752
SYMBOL voltage -32 272 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL voltage -16 544 R0
SYMATTR InstName V2
SYMATTR Value SINE(0 0.1 10Meg)
SYMBOL LT6558 352 464 R0
SYMATTR InstName U1
SYMBOL cap 176 432 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value .1
SYMBOL cap 176 336 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value .1
SYMBOL res 400 656 R0
SYMATTR InstName R1
SYMATTR Value 350
SYMBOL cap 144 528 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C3
SYMATTR Value .1
FLAG -32 384 0
FLAG 496 560 OUT
FLAG -16 656 0
FLAG -16 544 IN
FLAG 48 464 0
FLAG 352 688 0
FLAG 288 688 0
FLAG 416 768 0
FLAG 240 400 0
FLAG 240 496 0
FLAG 240 592 0
TEXT 520 728 Left 2 !.tran 1u
* Z:\tmp\asc_dec_bjh7r6w2\10164fcad1f3_UARTfaker-1_dec1.asc
* Generated by LTspice 26.0.1 for Windows.
D6 N001 N007 D
V7 N008 0 PULSE(12 -0.83 25ms 20ns 20ns 3.333333333ms 9999 1)
D3 N001 N004 D
V10 N011 0 PULSE(12 -0.83 10034ms 20ns 20ns 3.333333333ms 9999 1)
D9 N001 N010 D
R1 N001 V+ 10
D1 N001 N002 D
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1560 944
WIRE -304 144 -400 144
WIRE 688 144 -224 144
WIRE 448 208 -80 208
WIRE 688 208 688 144
WIRE 688 208 512 208
WIRE 752 208 688 208
WIRE 448 272 -80 272
WIRE 688 272 688 208
WIRE 688 272 512 272
WIRE 448 336 -80 336
WIRE 688 336 688 272
WIRE 688 336 512 336
WIRE 448 400 -80 400
WIRE 688 400 688 336
WIRE 688 400 512 400
WIRE 448 464 -80 464
WIRE 688 464 688 400
WIRE 688 464 512 464
WIRE 448 528 -80 528
WIRE 688 528 688 464
WIRE 688 528 512 528
WIRE 448 592 -80 592
WIRE 688 592 688 528
WIRE 688 592 512 592
WIRE 448 656 -80 656
WIRE 688 656 688 592
WIRE 688 656 512 656
WIRE 448 720 -80 720
WIRE 688 720 688 656
WIRE 688 720 512 720
WIRE 448 784 -80 784
WIRE 688 784 688 720
WIRE 688 784 512 784
SYMBOL diode 512 512 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D6
SYMBOL voltage -64 592 R90
WINDOW 0 12 126 VBottom 2
WINDOW 3 -33 -201 VTop 2
SYMATTR InstName V7
SYMATTR Value PULSE(12 -0.83 25ms 20ns 20ns 3.333333333ms 9999 1)
SYMBOL diode 512 320 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D3
SYMBOL voltage -64 784 R90
WINDOW 0 12 126 VBottom 2
WINDOW 3 -33 -201 VTop 2
SYMATTR InstName V10
SYMATTR Value PULSE(12 -0.83 10034ms 20ns 20ns 3.333333333ms 9999 1)
SYMBOL diode 512 704 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D9
SYMBOL res -208 128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10
SYMBOL diode 512 192 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D1
FLAG -160 208 0
FLAG -160 272 0
FLAG -160 400 0
FLAG -160 464 0
FLAG -160 528 0
FLAG -160 592 0
FLAG -160 656 0
FLAG -160 720 0
FLAG -160 784 0
FLAG -400 144 V+
FLAG -400 144 V+
* Z:\home\khalils\Downloads\files\data\raw_asc\18a82d6fc7f8_bipolar_buffer001.asc
* Generated by LTspice 26.0.1 for Windows.
R1 N001 N003 200
R3 N001 N002 1k
V4 NC_01 0 SINE(0) AC -1
Q3 VOUT N003 N002 0 2N4126
Q1 N003 N004 N005 0 2N3391A
V2 N006 0 -5
R2 N005 N006 200
R4 VOUT N006 3.65k
V1 N001 0 5
Q2 N001 VOUT N005 0 2N3391A
V3 N004 0 SINE(0 1 100k) AC 1
C1 N003 N006 30n
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.tran 0 50u 0 10n
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1252 728
WIRE 144 -128 -144 -128
WIRE 416 -128 144 -128
WIRE 976 -128 416 -128
WIRE 976 -96 976 -128
WIRE -144 -80 -144 -128
WIRE 144 -80 144 -128
WIRE 976 16 976 -16
WIRE -144 32 -144 0
WIRE 144 64 144 0
WIRE 800 64 144 64
WIRE 912 64 800 64
WIRE 976 160 976 112
WIRE 976 160 480 160
WIRE 976 192 976 160
WIRE 1200 192 976 192
WIRE 1232 192 1200 192
WIRE 144 208 144 64
WIRE 416 208 416 -128
WIRE 800 208 800 64
WIRE 80 256 -224 256
WIRE 480 256 480 160
WIRE -224 288 -224 256
WIRE 272 304 144 304
WIRE 416 304 272 304
WIRE 976 320 976 192
WIRE 272 368 272 304
WIRE -224 432 -224 368
WIRE 528 432 528 368
WIRE 272 480 272 448
WIRE 272 480 0 480
WIRE 800 480 800 272
WIRE 800 480 272 480
WIRE 976 480 976 400
WIRE 976 480 800 480
WIRE 0 576 0 480
WIRE 0 688 0 656
SYMBOL res 256 352 R0
SYMATTR InstName R2
SYMATTR Value 200
SYMBOL npn 480 208 M0
SYMATTR InstName Q2
SYMATTR Value 2N3391A
SYMBOL pnp 912 112 M180
SYMATTR InstName Q3
SYMATTR Value 2N4126
SYMBOL voltage -144 -96 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL npn 80 208 R0
SYMATTR InstName Q1
SYMATTR Value 2N3391A
SYMBOL voltage -224 272 R0
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 0
SYMATTR Value2 AC 1
SYMATTR InstName V3
SYMATTR Value SINE(0 1 100k)
SYMBOL res 960 304 R0
SYMATTR InstName R4
SYMATTR Value 3.65k
SYMBOL voltage 0 560 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value -5
SYMBOL voltage 528 272 R0
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 0
SYMATTR Value2 AC -1
SYMATTR InstName V4
SYMATTR Value SINE(0)
SYMBOL res 960 -112 R0
SYMATTR InstName R3
SYMATTR Value 1k
SYMBOL cap 784 208 R0
SYMATTR InstName C1
SYMATTR Value 30n
SYMBOL res 128 -96 R0
SYMATTR InstName R1
SYMATTR Value 200
FLAG -144 32 0
FLAG 0 688 0
FLAG 1200 192 VOUT
FLAG -224 432 0
FLAG 528 432 0
TEXT -258 712 Left 2 !.tran 0 50u 0 10n
* Z:\home\khalils\Downloads\files\data\raw_asc\ADP1762-1.2.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\ADP1762-1.2.asy)
C1 N004 0 1
R1 OUT 0 2
C3 N002 0 1
C2 N003 0 10n
R2 N001 IN 50K
C4 OUT 0 10
V1 IN 0 1.6
XU1 N002 IN IN OUT OUT N001 0 N003 N004 N005 ADP1762 Radj=8K ;pnba Vreg)Vin)EN)Vout)Sense)PG)GND)SS)RefCap)Vadj
.tran 1m startup
.lib ADP7102.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1016 680
WIRE -16 -32 -128 -32
WIRE 80 -32 -16 -32
WIRE 224 -32 80 -32
WIRE -128 -16 -128 -32
WIRE 224 -16 224 -32
WIRE 80 32 80 -32
WIRE 96 32 80 32
WIRE 384 32 352 32
WIRE 496 32 384 32
WIRE 592 32 496 32
WIRE 496 48 496 32
WIRE 592 48 592 32
WIRE -128 80 -128 64
WIRE -16 128 -16 -32
WIRE 0 128 -16 128
WIRE 96 128 80 128
WIRE 384 128 384 32
WIRE 384 128 352 128
WIRE 496 144 496 112
WIRE 592 144 592 128
WIRE 16 224 0 224
WIRE 96 224 80 224
WIRE 368 224 352 224
WIRE 464 224 432 224
WIRE 16 320 -16 320
WIRE 96 320 80 320
WIRE 368 320 352 320
WIRE 224 384 224 368
SYMBOL res 96 112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 50K
SYMBOL cap 480 48 R0
SYMATTR InstName C4
SYMATTR Value 10
SYMBOL voltage -128 -32 R0
SYMATTR InstName V1
SYMATTR Value 1.6
SYMBOL res 576 32 R0
SYMATTR InstName R1
SYMATTR Value 2
SYMBOL cap 368 240 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName C2
SYMATTR Value 10n
SYMBOL cap 80 304 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 1
SYMBOL ADP1762-1.2 224 176 R0
SYMATTR InstName U1
SYMBOL cap 80 208 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C3
SYMATTR Value 1
FLAG 224 384 0
FLAG -128 80 0
FLAG -16 320 0
FLAG 0 224 0
FLAG 464 224 0
FLAG 592 144 0
FLAG 496 144 0
FLAG -128 -32 IN
FLAG 592 32 OUT
TEXT 432 384 Left 2 !.tran 1m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\5a66b8f17ce0_Common_Emitter.asc
* Generated by LTspice 26.0.1 for Windows.
VBB N002 0 0
Q1 N001 N003 0 0 BC547B
VCC N004 0 0
R1 N003 N002 100K
R2 N001 N004 1K
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.dc VCC 0 10 0.1 VBB 0.5 1 0.1
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 608 192 480 192
WIRE 608 224 608 192
WIRE 480 240 480 192
WIRE 288 288 208 288
WIRE 416 288 368 288
WIRE 608 336 608 304
WIRE 208 352 208 288
WIRE 208 480 208 432
WIRE 480 480 480 336
WIRE 480 480 208 480
WIRE 608 480 608 416
WIRE 608 480 480 480
WIRE 480 496 480 480
SYMBOL npn 416 240 R0
SYMATTR InstName Q1
SYMATTR Value BC547B
SYMBOL voltage 208 336 R0
SYMATTR InstName VBB
SYMATTR Value 0
SYMBOL res 384 272 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 100K
SYMBOL voltage 608 320 R0
SYMATTR InstName VCC
SYMATTR Value 0
SYMBOL res 592 208 R0
SYMATTR InstName R2
SYMATTR Value 1K
FLAG 480 496 0
TEXT 112 504 Left 2 !.dc VCC 0 10 0.1 VBB 0.5 1 0.1
* Z:\tmp\asc_dec_bjh7r6w2\1324a7b6fcb0_6230-10_dec1.asc
* Generated by LTspice 26.0.1 for Windows.
R1 N002 N001 10K
R2 N001 0 1K
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 896 680
WIRE -112 48 -128 48
WIRE 0 48 -32 48
WIRE 96 48 0 48
WIRE 208 48 176 48
WIRE 64 112 64 96
WIRE 0 160 0 48
WIRE 32 160 0 160
WIRE 208 192 208 48
WIRE 208 192 176 192
WIRE 32 224 -144 224
WIRE -144 240 -144 224
SYMBOL res 192 32 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10K
SYMBOL res -16 32 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 1K
FLAG 64 96 +V
FLAG -128 48 0
* Z:\home\khalils\Downloads\files\data\raw_asc\2098824bf1b6_6013.asc
* Generated by LTspice 26.0.1 for Windows.
* Gain of 10 Single Ended to Differential Converter
* Library below included based on ModelFile attribute of instance XU1, XU2 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LT6013.asy)
V3 IN 0 SINE(0 1 1K)
V1 +V 0 15
V2 -V 0 -15
R1 OUT- N002 10K
R3 OUT+ N001 8.06K
XU1 0 N002 OUT- +V -V LT6013 ;pnba IN+)IN-)OUT)VCC)VEE
XU2 IN N001 OUT+ +V -V LT6013 ;pnba IN+)IN-)OUT)VCC)VEE
R2 N002 IN 2K
R4 N001 0 2K
.tran 3m
.lib LTC2.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 896 680
WIRE 192 -160 192 -176
WIRE -32 -144 -208 -144
WIRE 160 -144 -32 -144
WIRE -208 -128 -208 -144
WIRE 304 -128 224 -128
WIRE 352 -128 304 -128
WIRE 160 -112 128 -112
WIRE 192 -80 192 -96
WIRE -208 -32 -208 -48
WIRE 32 16 16 16
WIRE 128 16 128 -112
WIRE 128 16 112 16
WIRE 160 16 128 16
WIRE 304 16 304 -128
WIRE 304 16 240 16
WIRE -32 112 -32 -144
WIRE 32 112 -32 112
WIRE 128 112 112 112
WIRE 160 112 128 112
WIRE 304 112 240 112
WIRE -240 128 -240 112
WIRE -112 128 -112 112
WIRE -240 224 -240 208
WIRE -112 224 -112 208
WIRE 192 224 192 208
WIRE 128 240 128 112
WIRE 160 240 128 240
WIRE 304 256 304 112
WIRE 304 256 224 256
WIRE 352 256 304 256
WIRE 160 272 128 272
WIRE 192 304 192 288
SYMBOL voltage -112 112 R0
SYMATTR InstName V1
SYMATTR Value 15
SYMBOL opamps\\LT6013 192 -128 M180
WINDOW 0 25 22 Left 0
WINDOW 3 21 -21 Left 0
SYMATTR InstName U2
SYMBOL voltage -208 -144 R0
SYMATTR InstName V3
SYMATTR Value SINE(0 1 1K)
SYMBOL res 256 0 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R3
SYMATTR Value 8.06K
SYMBOL res 256 96 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R1
SYMATTR Value 10K
SYMBOL res 128 0 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R4
SYMATTR Value 2K
SYMBOL opamps\\LT6013 192 256 R0
SYMATTR InstName U1
SYMBOL voltage -240 112 R0
SYMATTR InstName V2
SYMATTR Value -15
SYMBOL res 128 96 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R2
SYMATTR Value 2K
FLAG -112 224 0
FLAG 192 208 +V
FLAG -112 112 +V
FLAG 192 304 -V
FLAG -240 224 0
FLAG -240 112 -V
FLAG -208 -32 0
FLAG 192 -80 +V
FLAG 192 -176 -V
FLAG 16 16 0
FLAG 128 272 0
FLAG 352 -128 OUT+
FLAG 352 256 OUT-
FLAG -208 -144 IN
TEXT 312 336 Left 0 !.tran 3m
TEXT 72 -208 Bottom 0 ;Gain of 10 Single Ended to Differential Converter
* Z:\home\khalils\Downloads\files\data\raw_asc\1ae16d8d725d_b2.asc
* Generated by LTspice 26.0.1 for Windows.
B1 0 N002 I=table(V(x),0,0,1,1)
R1 N002 0 1
I1 X 0 table(0,0,1,1)
G1 0 N001 X 0 table(0,0,1,1)
R2 N001 0 1
V1 X 0 pulse(-2 2 0 .5m .5m 0 1m)
.tran 3m
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1160 680
WIRE -144 304 -144 272
WIRE -144 192 -144 144
WIRE -144 144 -272 144
WIRE -272 144 -272 192
WIRE -272 272 -272 304
WIRE 384 144 384 176
WIRE 384 256 384 304
WIRE 816 240 816 208
WIRE 816 128 816 96
WIRE 816 96 992 96
WIRE 992 96 992 128
WIRE 752 192 768 192
WIRE 768 144 384 144
WIRE 992 208 992 240
WIRE 176 304 176 256
WIRE 176 176 176 144
WIRE 176 144 384 144
SYMBOL bi2 -144 192 R0
SYMATTR InstName B1
SYMATTR Value I=table(V(x),0,0,1,1)
SYMBOL g 816 112 R0
WINDOW 0 11 6 Left 0
WINDOW 3 8 102 Left 0
SYMATTR InstName G1
SYMATTR Value table(0,0,1,1)
SYMBOL res 976 112 R0
SYMATTR InstName R2
SYMATTR Value 1
SYMBOL current 176 176 R0
SYMATTR InstName I1
SYMATTR Value table(0,0,1,1)
SYMBOL res -288 176 R0
SYMATTR InstName R1
SYMATTR Value 1
SYMBOL voltage 384 160 R0
SYMATTR InstName V1
SYMATTR Value pulse(-2 2 0 .5m .5m 0 1m)
FLAG -272 304 0
FLAG -144 304 0
FLAG 384 304 0
FLAG 384 144 X
FLAG 992 240 0
FLAG 816 240 0
FLAG 752 192 0
FLAG 176 304 0
TEXT 120 456 Left 0 !.tran 3m
* Z:\home\khalils\Downloads\files\data\raw_asc\1147d6b9d215_6274.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\LT6274.asy)
V3 N001 0 SINE(0 10 3Meg)
V1 +V 0 15
R1 N003 N002 1K
XU1 0 N002 +V -V N003 LT6275 ;pnba In+)In-)V+)V-)OUT
R2 N002 N001 1K
V2 -V 0 -15
.tran 10u
.lib LTC7.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 144 -112 0 -112
WIRE 256 -112 224 -112
WIRE 288 -112 256 -112
WIRE 416 -112 368 -112
WIRE 0 -96 0 -112
WIRE -336 -80 -336 -96
WIRE -176 -80 -176 -96
WIRE 0 0 0 -16
WIRE 336 0 336 -16
WIRE -336 16 -336 0
WIRE -176 16 -176 0
WIRE 256 16 256 -112
WIRE 304 16 256 16
WIRE 416 32 416 -112
WIRE 416 32 368 32
WIRE 304 48 288 48
WIRE 336 80 336 64
SYMBOL voltage -336 -96 R0
SYMATTR InstName V1
SYMATTR Value 15
SYMBOL voltage -176 -96 R0
SYMATTR InstName V2
SYMATTR Value -15
SYMBOL opamps\\LT6274 336 32 R0
SYMATTR InstName U1
SYMBOL voltage 0 -112 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V3
SYMATTR Value SINE(0 10 3Meg)
SYMBOL res 240 -128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 1K
SYMBOL res 384 -128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 1K
FLAG -336 16 0
FLAG -176 16 0
FLAG -336 -96 +V
FLAG -176 -96 -V
FLAG 336 -16 +V
FLAG 336 80 -V
FLAG 0 0 0
FLAG 288 48 0
TEXT 432 136 Left 2 !.tran 10u
* Z:\home\khalils\Downloads\files\data\raw_asc\d50ecb5cb1a9_current_sense_interfaceSINGLElogic.asc
* Generated by LTspice 26.0.1 for Windows.
R2 Vout_5V N001 360k tol=1 pwr=0.6
R4 0 N002 360k tol=1 pwr=0.6
R3 N002 V2 10k tol=1 pwr=0.6
R1 N001 V1 10k tol=1 pwr=0.6
R5V V1 V2 0.01 tol=1 pwr=1
IM1 V1 0 {I_load}
XU1 N002 N001 V_batteries 0 Vout_5V opamp2 LM324 ;pnba In+)In-)V+)V-)OUT
V1 V_batteries 0 14.4
V_regulator V2 0 5
* .step param I_load 0 3 0.1
.lib TLV2372.LIB
.lib LM324.LIB
.op
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 384 -80 352 -80
WIRE 64 48 -32 48
WIRE 112 48 64 48
WIRE 176 48 112 48
WIRE 320 48 256 48
WIRE 400 48 320 48
WIRE -240 80 -240 48
WIRE -32 96 -32 48
WIRE 64 96 64 48
WIRE 384 112 384 -80
WIRE 320 128 320 48
WIRE 352 128 320 128
WIRE 480 144 480 48
WIRE 480 144 416 144
WIRE 624 144 480 144
WIRE 352 160 320 160
WIRE -32 208 -32 176
WIRE -400 224 -400 144
WIRE -240 224 -240 160
WIRE 64 240 64 176
WIRE 112 240 64 240
WIRE 176 240 112 240
WIRE 320 240 320 160
WIRE 320 240 256 240
WIRE 416 240 320 240
WIRE 544 240 496 240
WIRE 64 288 64 240
WIRE 384 368 384 176
WIRE 64 400 64 368
FLAG -32 208 0
FLAG 624 144 Vout_5V
FLAG 544 240 Vref
FLAG 112 240 V2
FLAG 112 48 V1
FLAG 352 -80 V_batteries
FLAG 384 368 0
FLAG -240 224 0
FLAG -400 144 Vref
FLAG -400 224 0
FLAG -240 48 V_batteries
FLAG 64 400 0
SYMBOL res 496 32 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 360k
SYMATTR SpiceLine tol=1 pwr=0.6
SYMBOL res 512 224 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 360k
SYMATTR SpiceLine tol=1 pwr=0.6
SYMBOL res 272 224 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 10k
SYMATTR SpiceLine tol=1 pwr=0.6
SYMBOL res 272 32 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10k
SYMATTR SpiceLine tol=1 pwr=0.6
SYMBOL res 48 80 R0
SYMATTR InstName R5V
SYMATTR Value 0.01
SYMATTR SpiceLine tol=1 pwr=1
SYMBOL current -32 96 M0
WINDOW 123 24 108 Left 2
WINDOW 39 0 0 Left 0
SYMATTR InstName IM1
SYMATTR Value {I_load}
SYMBOL OpAmps\\opamp2 384 80 R0
WINDOW 3 16 96 Invisible 2
SYMATTR InstName U1
SYMATTR Value2 LM324
SYMBOL voltage -240 64 R0
WINDOW 0 -14 6 Right 2
WINDOW 3 -85 96 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 14.4
SYMBOL voltage 64 272 R0
WINDOW 0 -14 6 Right 2
WINDOW 3 -60 78 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V_regulator
SYMATTR Value 5
TEXT -416 368 Left 2 ;.step param I_load 0 3 0.1
TEXT -416 304 Left 2 !.lib TLV2372.LIB
TEXT -416 336 Left 2 !.lib LM324.LIB
TEXT -416 400 Left 2 !.op