* Z:\home\khalils\Downloads\files\data\raw_asc\338a837cd8ff_A_OTA_TEST.asc
* Generated by LTspice 26.0.1 for Windows.
* .dc V1 -0.1 0.1 0.001
* The OTA(Transconductance Amplifier)\n \nThe DC transfer function is a tangent hyperbolicus(tanh). \nThis is the transfer function of a bipolar transistor differential amplifier, too.\n \nIout max. output current is +/-Iout\nG gain\nref offset voltage\nRout internal output resistor to GND'\nCout capacitor in parallel to Rout\nVhigh max. positive output voltage\nVlow max. negative output voltage\nen voltage noise density\nenk voltage noise knee frequency\nin current noise density\nink current noise knee frequency\n \nI = Iout * tanh(Vin*G*100) output current\n \nVn=(En + In*Rg)*G*Rout noise voltage density\n \nCout is in parallel with Rout.\n \nGND' is the reference node of the A device. It is node 0 if nothing is connected to it.
* A parameter set from Mike's 2pole-opamp.\nYou can modify the parameters if you click the right mouse button over the symbol.\n A1 2 1 0 0 0 0 N003 0 OTA G={.1*Avol/Rout} ref={Vos}\n+ Iout={.1*slew*Cout} Cout={Cout} en={en} enk={enk}\n+ in={in} ink={ink} Vhigh=1e308 Vlow=-1e308 Rout={Rout}
* .noise V(out) V1 dec 100 1 100k
* This schematic uses the symbol ota2.asy.\nThe similar symbol ota.asy has exchanged +/- inputs.
A2 0 0 0 0 0 0 0 0 OTA Rout={1} Cout={1u} en={10e-9} enk={1000} in={1e-15} ink={1000}
R2 N001 in 1k
V1 N001 0 PULSE(-1 1 0 1n 1n 10u 20u) AC 1
R1 out 0 1k
.tran 0 50u 0 5n
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1256 680
WIRE -112 176 -112 128
WIRE -112 128 -48 128
WIRE -112 256 -112 320
WIRE 80 160 80 320
WIRE 80 320 -112 320
WIRE 320 144 320 224
WIRE 320 304 320 320
WIRE 320 320 80 320
WIRE -112 336 -112 320
WIRE 32 128 80 128
WIRE 144 128 80 128
WIRE 272 144 320 144
WIRE 144 160 80 160
SYMBOL Digital\\ota2 176 144 R0
SYMATTR InstName A2
SYMATTR Value2 Rout={1} Cout={1u} en={10e-9} enk={1000} in={1e-15} ink={1000}
SYMBOL res -64 144 R270
WINDOW 0 32 56 VTop 0
WINDOW 3 0 56 VBottom 0
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL voltage -112 160 R0
WINDOW 123 24 132 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value2 AC 1
SYMATTR InstName V1
SYMATTR Value PULSE(-1 1 0 1n 1n 10u 20u)
SYMBOL res 304 208 R0
SYMATTR InstName R1
SYMATTR Value 1k
FLAG -112 336 0
FLAG 320 144 out
FLAG 80 128 in
TEXT -122 -54 Left 0 ;.dc V1 -0.1 0.1 0.001
TEXT -112 -1072 Left 0 ;The OTA(Transconductance Amplifier)\n \nThe DC transfer function is a tangent hyperbolicus(tanh). \nThis is the transfer function of a bipolar transistor differential amplifier, too.\n \nIout       max. output current is +/-Iout\nG           gain\nref         offset voltage\nRout      internal output resistor to GND'\nCout      capacitor in parallel to Rout\nVhigh    max. positive output voltage\nVlow      max. negative output voltage\nen          voltage noise density\nenk        voltage noise knee frequency\nin           current noise density\nink         current noise knee frequency\n  \nI = Iout * tanh(Vin*G*100)       output current\n \nVn=(En + In*Rg)*G*Rout        noise voltage density\n \nCout is in parallel with Rout.\n \nGND' is the reference node of the A device. It is node 0 if nothing is connected to it.
TEXT -120 -256 Left 0 ;A parameter set from Mike's 2pole-opamp.\nYou can modify the parameters if you click the right mouse button over the symbol.\n A1 2 1 0 0 0 0 N003 0 OTA G={.1*Avol/Rout} ref={Vos}\n+ Iout={.1*slew*Cout} Cout={Cout} en={en} enk={enk}\n+ in={in} ink={ink} Vhigh=1e308 Vlow=-1e308 Rout={Rout}
TEXT -122 -16 Left 0 ;.noise V(out) V1 dec 100 1 100k
TEXT -122 32 Left 0 !.tran 0 50u 0 5n
TEXT -112 -352 Left 0 ;This schematic uses the symbol ota2.asy.\nThe similar symbol ota.asy has exchanged +/- inputs.