Amplifier Gain Worksheet
Introduction
In this application, we will plot the gain of the following amplifier circuit, for both the ideal and non-ideal response.
restart: withDynamicSystems: withplots:
Parameters
R__1≔1000:
C__1≔10−7:
R__In≔1000:
C__3≔4.7⋅10−8:
R__2≔1000:
C__2≔4.70⋅10−7:
R__f≔10102:
Amplifier bandwidth factors:
GBP≔106:
LPF≔300:
Support Function
ll≔Z1,Z2→Z1⋅Z2Z1+Z2:
Transfer functions
Z__1≔R__1+1s⋅C__1:
Z__2≔R__2+1s⋅C__2:
Z__In≔llR__In,Z__1:
factorZ__In
500⁢s+10000s+5000
Z__fb≔llR__f,llZ__2,1s⋅C__3:
Ideal amplifier gain:
G__EAideal≔factorZ__fbZ__In
G__EAideal≔42553.19148⁢s+2127.659574⁢s+5000.s+1.934235977×10−96⁢s+23404.25531⁢s+10000.
Non-ideal op-amp effects: Finite open loop gain
β≔11+G__EAideal:
Finite open loop gain
A__vo≔GBPLPF⋅11+s2⋅π⋅LPF⋅1+s2⋅π⋅GBP
A__vo≔100003⁢1+s600⁢π⁢1+s2000000⁢π
simplify( , 'size' )
4000000000000⁢π2600⁢π+s⁢2000000⁢π+s
Non-ideal error amplifier gain:
G__EA≔simplifyG__EAideal⋅11+1A__vo⋅β
G__EA≔1.787162409×1025+1.679932664×1018⁢s2+1.197398814×1022⁢s5.36148722210544×1021+s5+6.36102770911571×106⁢s4+3.99681963841567×1013⁢s3+1.32302446297123×1018⁢s2+9.24883894862041×1021⁢s
Analysis
sys1≔TransferFunctionG__EA:
sys2≔TransferFunctionG__EAideal:
p1≔PhasePlotsys1,range=10 ..100000 ,hertz=true,legend=Non-ideal:
p2≔PhasePlotsys2,range=10 ..100000 ,hertz=true,legend=Ideal ,color=black:
displayp1,p2
Download Help Document