* Z:\home\khalils\Downloads\files\data\raw_asc\47608078ec9d_firstAmplification.asc
* Generated by LTspice 26.0.1 for Windows.
* Positive Supply Voltage
* Negative Supply Voltage
* EMG Signal Electrode Simulation
* EMG Reference Electrode Simulation
* Electrical Noise
* Electrical Noise
* Instrumentation Amplifier
* Initial Amplification
* Library below included based on ModelFile attribute of instance XU3 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LT1168.asy)
* Library below included based on ModelFile attribute of instance XU4 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\UniversalOpAmp2.asy)
A1 N005 N005 0 0 0 0 N006 0 MODULATOR mark=50k space=0
XU3 N003 EMG- EMG+ -VCC 0 EMG_RAW VCC N004 LT1168 ;pnba RG1)FB)In+)V-)REF)OUT)V+)RG2
V4 EMG+ N006 SINE(0 20m 60 0 0 0)
V2 N007 N008 PULSE(0 4m .15 .03 .02 0 .22)
V1 N008 0 PULSE(0 8m 0 .025 .025 0 .2)
R1 N003 N004 100k
V3 N005 N007 PULSE(0 2m .05 .01 .005 0 .11)
R4 N001 EMG_RAW 10k
V6 VCC 0 5
R3 EMG- 0 10Meg
V5 EMG- 0 SINE(0 20m 60 0 0 0)
XU4 0 N001 VCC -VCC N002 level2 Avol=1Meg GBW=10Meg Slew=10Meg Ilimit=25m Rail=0 Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
V7 -VCC 0 -5
R5 N002 N001 150k
R2 EMG+ 0 10Meg
.tran 1
.lib LTC.lib
.lib UniversalOpAmp2.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2212 680
WIRE 2000 -240 1840 -240
WIRE 2160 -240 2080 -240
WIRE -16 -192 -80 -192
WIRE 848 -160 800 -160
WIRE -80 -144 -80 -192
WIRE 576 -144 560 -144
WIRE 768 -144 576 -144
WIRE 848 -144 848 -160
WIRE 768 -128 768 -144
WIRE 784 -128 768 -128
WIRE 768 -112 656 -112
WIRE 1920 -112 1920 -144
WIRE 656 -96 656 -112
WIRE 768 -96 768 -112
WIRE 784 -96 768 -96
WIRE 1712 -96 1648 -96
WIRE 1840 -96 1840 -240
WIRE 1840 -96 1792 -96
WIRE 1888 -96 1840 -96
WIRE 944 -80 912 -80
WIRE 2160 -80 2160 -240
WIRE 2160 -80 1952 -80
WIRE 784 -64 768 -64
WIRE 944 -64 944 -80
WIRE 1024 -64 944 -64
WIRE 1888 -64 1840 -64
WIRE 768 -16 768 -64
WIRE 768 -16 656 -16
WIRE 816 -16 800 -16
WIRE -256 0 -288 0
WIRE 880 0 880 -16
WIRE 576 16 560 16
WIRE 784 16 784 -32
WIRE 784 16 576 16
WIRE -80 32 -80 -64
WIRE -80 32 -112 32
WIRE 800 32 800 -16
WIRE 1840 32 1840 -64
WIRE -288 64 -288 0
WIRE -256 64 -288 64
WIRE -848 128 -848 112
WIRE -288 128 -288 64
WIRE -80 128 -288 128
WIRE -80 160 -80 128
WIRE -80 304 -80 240
WIRE -848 352 -848 336
WIRE 576 416 544 416
WIRE -80 448 -80 384
WIRE 544 448 544 416
WIRE -80 560 -80 528
WIRE 544 560 544 528
IOPIN -16 -192 Out
IOPIN 576 416 Out
IOPIN 560 -144 In
IOPIN 560 16 In
IOPIN 1024 -64 Out
IOPIN 1648 -96 In
RECTANGLE Normal 336 640 -384 -272 2
RECTANGLE Normal 896 640 448 368 2
RECTANGLE Normal 1184 160 464 -240 2
RECTANGLE Normal 2208 112 1488 -288 2
SYMBOL res 640 -112 R0
SYMATTR InstName R1
SYMATTR Value 100k
SYMBOL res 560 -160 R0
WINDOW 3 -85 56 Left 2
SYMATTR Value 10Meg
SYMATTR InstName R2
SYMBOL voltage -80 144 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value PULSE(0 2m .05 .01 .005 0 .11)
SYMBOL voltage 544 432 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V5
SYMATTR Value SINE(0 20m 60 0 0 0)
SYMBOL SpecialFunctions\\modulate -256 0 R0
WINDOW 3 0 0 Invisible 0
SYMATTR Value mark=50k space=0
SYMATTR InstName A1
SYMBOL voltage -80 432 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value PULSE(0 8m 0 .025 .025 0 .2)
SYMBOL voltage -848 112 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V6
SYMATTR Value 5
SYMBOL voltage -80 288 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value PULSE(0 4m .15 .03 .02 0 .22)
SYMBOL res 2096 -256 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 150k
SYMBOL OpAmps\\LT1168 848 -80 R0
SYMATTR InstName U3
SYMBOL res 1808 -112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 10k
SYMBOL voltage -80 -160 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V4
SYMATTR Value SINE(0 20m 60 0 0 0)
SYMBOL voltage -848 336 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V7
SYMATTR Value -5
SYMBOL res 560 0 R0
WINDOW 3 -80 57 Left 2
SYMATTR Value 10Meg
SYMATTR InstName R3
SYMBOL OpAmps\\UniversalOpamp2 1920 -80 R0
SYMATTR InstName U4
FLAG -80 560 0
FLAG 544 560 0
FLAG -16 -192 EMG+
FLAG 576 416 EMG-
FLAG 560 -144 EMG+
FLAG 560 16 EMG-
FLAG -848 208 0
FLAG -848 432 0
FLAG -848 112 VCC
FLAG -848 336 -VCC
FLAG 800 32 -VCC
FLAG 800 -160 VCC
FLAG 880 0 0
FLAG 1024 -64 EMG_RAW
FLAG 576 -64 0
FLAG 576 96 0
FLAG 1648 -96 EMG_RAW
FLAG 1840 32 0
FLAG 1920 -144 VCC
FLAG 1920 -48 -VCC
TEXT -872 568 Left 2 !.tran 1
TEXT -800 168 Left 2 ;Positive Supply Voltage
TEXT -800 392 Left 2 ;Negative Supply Voltage
TEXT -32 624 Left 2 ;EMG Signal Electrode Simulation
TEXT 488 624 Left 2 ;EMG Reference Electrode Simulation
TEXT -40 -104 Left 2 ;Electrical Noise
TEXT 584 488 Left 2 ;Electrical Noise
TEXT 880 144 Left 2 ;Instrumentation Amplifier
TEXT 1904 96 Left 2 ;Initial Amplification