top of page
singlesupplyintegrator.JPG

Operational Amplifier IC Non-Inverting Amplifier

​

% Matlab Code

close all;clear all

​

f=logspace(1,4);w=2*pi*f;

s=j*w;

R1=10000;

Rf=100000;

C1=470*10^-9;X1=1./(s*C1);Z1=R1+X1;

Cf=470*10^-12;Xf=1./(s*Cf);Zf=Rf*Xf./(Rf+Xf);

H1=1+Zf./Z1;

p1=1/(R1*C1);p2=1/(Rf*Cf);

H2=1+s/(R1*Cf)./((s+p1).*(s+p2));

​

disp('Poles:')

disp(['p1 = ' num2str(p1) ' rad = ' num2str(p1/(2*pi)) ' Hz'])

disp(['p2 = ' num2str(p2) ' rad = ' num2str(p2/(2*pi)) ' Hz'])

​

figure

subplot(2,1,1);semilogx(f,20*log10(abs(H1)),f,20*log10(abs(H2)))

xlabel('Frequency(Hz');ylabel('Magnitude (dB)');grid on;legend('H1','H2');axis tight

subplot(2,1,2);semilogx(f,180/pi*angle(H1),f,180/pi*angle(H2))

xlabel('Frequency(Hz');ylabel('Phase (degrees)');grid on;legend('H1','H2');axis tight

bottom of page