blob: 40b63327cafa48a4ea6fab67d772d56394e97c84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
//Ex 3.7
clc;clear;close;
format('v',6);
fo=3;//kHz
Ap=4;//Band pass gain
alfa=1.414;//for butterworth filter
C1=0.01;//micro F(Assumed)
C2=alfa^2*C1/4;//micro F
R=1/(2*%pi*fo*10^3*sqrt(C1*10^-6*C2*10^-6))/1000;//kohm
Rf=2*R;//kohm(Assumed)
disp("Design values are :");
disp(C1,"Capacitance C1(micro F)");
disp(C2,"Capacitance C2(micro F)");
disp(R,"Resistance R(kohm)");
disp(Rf,"For offset minimization, Resistance Rf(kohm)");
///For additional pass band gain
Ri=10;//kohm(Assumed)
Rf=(Ap-1)*Ri;//kohm
disp("For additional band pass gain:");
disp(Ri,"Resistance Ri(kohm)");
disp(Rf,"Resistance Rf(kohm)");
//Answer in the book is not accurate.
|