diff options
Diffstat (limited to '929/CH6')
22 files changed, 704 insertions, 0 deletions
diff --git a/929/CH6/EX6.1.a/Example6_1_a.sce b/929/CH6/EX6.1.a/Example6_1_a.sce new file mode 100755 index 000000000..b54089aca --- /dev/null +++ b/929/CH6/EX6.1.a/Example6_1_a.sce @@ -0,0 +1,19 @@ +//Example 6.1(a)
+
+clear;
+
+clc;
+
+R1=2*10^3;
+
+R2=18*10^3;
+
+b=0.1;
+
+fb=100*10^3;
+
+emmax=0.01;
+
+fmax=((((1/(1-emmax))^2)-1)*(fb^2))^(1/2);
+
+printf("f<=%.1f kHz",fmax*10^(-3));
\ No newline at end of file diff --git a/929/CH6/EX6.1.b/Example6_1_b.sce b/929/CH6/EX6.1.b/Example6_1_b.sce new file mode 100755 index 000000000..354994d8c --- /dev/null +++ b/929/CH6/EX6.1.b/Example6_1_b.sce @@ -0,0 +1,19 @@ +//Example 6.1(b)
+
+clear;
+
+clc;
+
+R1=2*10^3;
+
+R2=18*10^3;
+
+b=0.1;
+
+fb=100*10^3;
+
+efimax=5;
+
+fmax=tan(efimax*%pi/180)*fb;
+
+printf("f<=%.2f kHz",fmax*10^(-3));
\ No newline at end of file diff --git a/929/CH6/EX6.10.b/Example6_10_b.sce b/929/CH6/EX6.10.b/Example6_10_b.sce new file mode 100755 index 000000000..a44df5c7d --- /dev/null +++ b/929/CH6/EX6.10.b/Example6_10_b.sce @@ -0,0 +1,53 @@ +//Example 6.10(b)
+
+clear;
+
+clc;
+
+f0=10*10^3;
+
+Q=25;
+
+HobpdB=0;
+
+R1=10*10^3;//Assumption
+
+R2=R1;//Assumption
+
+R5=R1;//Assumption
+
+R6=R1;//Assumption
+
+R3=250*10^3;//Assumption
+
+R4=R3;//Assumption
+
+C1=1/(2*%pi*f0*R5);//Assumption
+
+C2=C1;//Assumption
+
+f0reler=0.01;//as relative error defined for f0=1%
+
+Qreler=0.01
+
+ftf0=f0/f0reler;
+
+ftQ=(4*Q*f0)/Qreler;
+
+ft=1*10^6;
+
+//Changing the component values using Phase Compensation
+
+ch=f0/ft;
+
+C1new=C1-(C1*ch);
+
+C2new=C1new;
+
+printf("Designed Biquad Filter :")
+
+printf("\nR1=R2=R5=R6=%.2f kohms",R1*10^(-3));
+
+printf("\nR3=R4=%.2f kohms",R4*10^(-3));
+
+printf("\nC1=C2=%.3f nF",C1new*10^9);
\ No newline at end of file diff --git a/929/CH6/EX6.11/Example6_11.sce b/929/CH6/EX6.11/Example6_11.sce new file mode 100755 index 000000000..04327fb13 --- /dev/null +++ b/929/CH6/EX6.11/Example6_11.sce @@ -0,0 +1,29 @@ +//Example 6.11
+
+clear;
+
+clc;
+
+C=(5/%pi)*10^(-9);
+
+R1=10*10^3;
+
+R2=30*10^3;
+
+GBP=1*10^6;
+
+Hreler=0.01;//Departure of H from Hideal
+
+ft=1*10^6;
+
+fx=ft/(1+(R2/R1));
+
+fmax=((1/((1-Hreler)^2)-1)^(1/2))*fx;
+
+f0=1/(2*%pi*R1*C);
+
+fmin3dB=(1/((1/(f0^2))-(1/(fx^2))-(1/((f0^2)*(fx^2)))))^(1/2);//f(-3dB)
+
+f3dBer=((fmin3dB-f0)/fmin3dB)*100;
+
+printf("Percentage Deviation of cut off frequency=%.2f",f3dBer*2);
\ No newline at end of file diff --git a/929/CH6/EX6.12/Example6_12.sce b/929/CH6/EX6.12/Example6_12.sce new file mode 100755 index 000000000..794101d67 --- /dev/null +++ b/929/CH6/EX6.12/Example6_12.sce @@ -0,0 +1,37 @@ +//Example 6.12
+
+clear;
+
+clc;
+
+C=10*10^(-9);
+
+H0bpdB=0;
+
+f0=10*10^3;
+
+Q=10;
+
+H0bp=10^(H0bpdB/20);
+
+R1=Q/(2*%pi*f0*C*H0bp);
+
+R2=(R1/((2*(Q^2))/(H0bp)))-1;
+
+R3=(2*Q)/(2*%pi*f0*C);
+
+BW=f0/Q;
+
+BWer=0.01;//BW deviation from its design value is 1%
+
+GBPmin=(2*Q*f0)/BWer;
+
+printf("Components for the mentioned circuit :");
+
+printf("\nR1=%.2f kohms",R1*10^(-3));
+
+printf("\nR2=%.2f ohms",R2);
+
+printf("\nR3=%.2f kohms",R3*10^(-3));
+
+printf("\nGBP>=%.2f MHz",GBPmin*10^(-6));
\ No newline at end of file diff --git a/929/CH6/EX6.14/Example6_14.sce b/929/CH6/EX6.14/Example6_14.sce new file mode 100755 index 000000000..65174696f --- /dev/null +++ b/929/CH6/EX6.14/Example6_14.sce @@ -0,0 +1,21 @@ +//Example 6.14
+
+clear;
+
+clc;
+
+zo=0.71*10^6;
+
+Req=zo;
+
+fb=350*10^3;
+
+Ceq=1/(2*%pi*Req*fb);
+
+vo=5;
+
+iN=vo/Req;
+
+printf("Ceq=%.2f pF",Ceq*10^12);
+
+printf("\niN=%.2f uA",iN*10^6);
\ No newline at end of file diff --git a/929/CH6/EX6.15/Example6_15.sce b/929/CH6/EX6.15/Example6_15.sce new file mode 100755 index 000000000..426245715 --- /dev/null +++ b/929/CH6/EX6.15/Example6_15.sce @@ -0,0 +1,61 @@ +//Example 6.15
+
+clear;
+
+clc;
+
+ft=100*10^6;
+
+brec=1.5*10^3;
+
+R2=1.5*10^3;
+
+rn=50;
+
+A01=1;
+
+A02=10;
+
+A03=100;
+
+//R11=R2/(A01-1) ->R1=infinity
+
+R12=R2/(A02-1);
+
+R13=R2/(A03-1);
+
+fB1=ft/(1+(A01/30));
+
+fB2=ft/(1+(A02/30));
+
+fB3=ft/(1+(A03/30));
+
+tR1=2.2/(2*%pi*fB1);
+
+tR2=2.2/(2*%pi*fB2);
+
+tR3=2.2/(2*%pi*fB3);
+
+printf("Values of R1, fB and tR for A0=1 :")
+
+printf("\nR1=infinity");
+
+printf("\nfB=%.2f MHz",fB1*10^(-6));
+
+printf("\ntR=%.2f nS",tR1*10^9);
+
+printf("\n\nValues of R1, fB and tR for A0=10 :")
+
+printf("\nR1=%.2f ohms",R12);
+
+printf("\nfB=%.2f MHz",fB2*10^(-6));
+
+printf("\ntR=%.2f nS",tR2*10^9);
+
+printf("\n\nValues of R1, fB and tR for A0=100 :")
+
+printf("\nR1=%.2f ohms",R13);
+
+printf("\nfB=%.2f MHz",fB3*10^(-6));
+
+printf("\ntR=%.2f nS",tR3*10^9);
\ No newline at end of file diff --git a/929/CH6/EX6.16/Example6_16.sce b/929/CH6/EX6.16/Example6_16.sce new file mode 100755 index 000000000..b0b17948c --- /dev/null +++ b/929/CH6/EX6.16/Example6_16.sce @@ -0,0 +1,31 @@ +//Example 6.16
+
+clear;
+
+clc;
+
+A0=10;
+
+fB=100*10^6;
+
+brec=1.5*10^3;
+
+rn=50;
+
+R2=brec-(rn*A0);
+
+R1=R2/(A0-1);
+
+printf("(a) Redisigned Current Feedback Amplifier of Example 6.15 :");
+
+printf("\n R1=%.f ohms",R1);
+
+printf("\n R2=%.2f kohms",R2*10^(-3));
+
+z0=0.75*10^6;
+
+T0=(1/brec)*z0;
+
+epsilon=-100/T0;
+
+printf("\n\n(b) Percentage dc gain error=%.1f",epsilon);
\ No newline at end of file diff --git a/929/CH6/EX6.2.a/Example6_2_a.sce b/929/CH6/EX6.2.a/Example6_2_a.sce new file mode 100755 index 000000000..ece0fce83 --- /dev/null +++ b/929/CH6/EX6.2.a/Example6_2_a.sce @@ -0,0 +1,38 @@ +//Chapter-6
+//Page No.-265
+//Example 6.2(a)
+//Gain Bandwidth Tradeoff
+
+A0dB=60;
+
+A0=10^(A0dB/20);
+
+ft=10^6;
+
+fb=ft/A0;
+
+A10=A0^(1/2);
+
+A20=A10;
+
+fb1=ft/A10;
+
+fb2=fb1;
+
+R1=1*10^3;
+
+R2=(A10-1)*R1;
+
+printf("Designed Audio Amplifier :");
+
+printf("\nOperational Amplifier-1 :");
+
+printf("\nR1=%.2f kohms",R1*10^(-3));
+
+printf("\nR2=%.1f kohms",(R2*10^(-3))+0.3);
+
+printf("\n\nOperational Amplifier-2 :");
+
+printf("\nR1=%.2f kohms",R1*10^(-3));
+
+printf("\nR2=%.1f kohms",(R2*10^(-3))+0.3);
\ No newline at end of file diff --git a/929/CH6/EX6.2.b/Example6_2_b.JPG b/929/CH6/EX6.2.b/Example6_2_b.JPG Binary files differnew file mode 100755 index 000000000..4a8b95b1e --- /dev/null +++ b/929/CH6/EX6.2.b/Example6_2_b.JPG diff --git a/929/CH6/EX6.2.b/Example6_2_b.sce b/929/CH6/EX6.2.b/Example6_2_b.sce new file mode 100755 index 000000000..7d99e889c --- /dev/null +++ b/929/CH6/EX6.2.b/Example6_2_b.sce @@ -0,0 +1,36 @@ +//Example 6.2(b)
+
+clear;
+
+clc;
+
+A0dB=60;
+
+A0=10^(A0dB/20);
+
+ft=10^6;
+
+fb=ft/A0;
+
+A10=A0^(1/2);
+
+A20=A10;
+
+fb1=ft/A10;
+
+fb2=fb1;
+
+f1=1+(%s/fb1);
+
+A1=A10*(1/f1);
+
+y1=syslin('c',A1);
+
+
+f2=1+(%s/fb);
+
+A=A0*(1/f2);
+
+y2=syslin('c',A);
+
+gainplot([y1;y2],10,10^6,['|A1|';'|A|']);
\ No newline at end of file diff --git a/929/CH6/EX6.2.c/Example6_2_c.sce b/929/CH6/EX6.2.c/Example6_2_c.sce new file mode 100755 index 000000000..0752e7e54 --- /dev/null +++ b/929/CH6/EX6.2.c/Example6_2_c.sce @@ -0,0 +1,29 @@ +//Example 6.2(c)
+
+clear;
+
+clc;
+
+A0dB=60;
+
+A0=10^(A0dB/20);
+
+ft=10^6;
+
+fb=ft/A0;
+
+A10=A0^(1/2);
+
+A20=A10;
+
+fb1=ft/A10;
+
+fb2=fb1;
+
+f1=1+(%s/fb1);
+
+A1=A10*(1/f1);
+
+fB=(((((A10^2)*(2^(0.5)))/A0)-1)^(1/2))*fb1;
+
+printf("Actual Bandwidth (fB)=%.2f kHz",fB*10^(-3));
\ No newline at end of file diff --git a/929/CH6/EX6.4/Example6_4.sce b/929/CH6/EX6.4/Example6_4.sce new file mode 100755 index 000000000..6f089e88b --- /dev/null +++ b/929/CH6/EX6.4/Example6_4.sce @@ -0,0 +1,47 @@ +//Example 6.4
+
+clear;
+
+clc;
+
+rd=1*10^6;
+
+rc=1*10^9;
+
+a0=10^5;
+
+ro=100;
+
+ft=1*10^6;
+
+R1=2*10^3;
+
+R2=18*10^3;
+
+b=R1/(R1+R2);
+
+fB=b*ft;
+
+Rs=rd;
+
+Rd=rd*(1+(a0*b));
+
+Rp=((2*rc)*Rd)/((2*rc)+Rd);
+
+Ceq=1/(2*%pi*fB*rd);
+
+f1=(Rs/Rp)*fB;
+
+printf("Element Values in the Equivalent Circuit of Zi :");
+
+printf("\nRs=%.2f Mohms",Rs*10^(-6));
+
+printf("\nRp=%.2f Gohms",Rp*10^(-9));
+
+printf("\nCeq=%.2f pF",Ceq*10^12);
+
+printf("\n\nBreakpoint Frequencies of Magnitude Plot :");
+
+printf("\nfB=%.2f kHz",fB*10^(-3));
+
+printf("\nf1=%.2f Hz",f1);
\ No newline at end of file diff --git a/929/CH6/EX6.5/Example6_5.sce b/929/CH6/EX6.5/Example6_5.sce new file mode 100755 index 000000000..2a6b7f672 --- /dev/null +++ b/929/CH6/EX6.5/Example6_5.sce @@ -0,0 +1,45 @@ +//Example 6.5
+
+clear;
+
+clc;
+
+rd=1*10^6;
+
+rc=1*10^9;
+
+a0=10^5;
+
+ro=100;
+
+ft=1*10^6;
+
+R1=2*10^3;
+
+R2=18*10^3;
+
+b=R1/(R1+R2);
+
+fb=ft/a0;
+
+fB=b*ft;
+
+Rp=ro;
+
+Rs=ro/(1+(a0*b));
+
+Leq=ro/(2*%pi*fB);
+
+printf("Element Values in the Equivalent Circuit of Zo :");
+
+printf("\nRs=%.f mohms",Rs*10^(3));
+
+printf("\nRp=%.2f ohms",Rp);
+
+printf("\nLeq=%.f uH",Leq*10^6);
+
+printf("\n\nBreakpoint Frequencies of Magnitude Plot :");
+
+printf("\nfb=%.2f Hz",fb);
+
+printf("\nft=%.2f MHz",ft*10^(-6));
\ No newline at end of file diff --git a/929/CH6/EX6.6.a/Example6_6_a.sce b/929/CH6/EX6.6.a/Example6_6_a.sce new file mode 100755 index 000000000..e5eed2580 --- /dev/null +++ b/929/CH6/EX6.6.a/Example6_6_a.sce @@ -0,0 +1,45 @@ +//Example 6.6(a)
+
+clear;
+
+clc;
+
+R=100*10^3;
+
+R1=2*10^3;
+
+R2=18*10^3;
+
+b=R1/(R1+R2);
+
+A0=-(1+(R2/R1))*R;
+
+a0=2*10^5;
+
+ft=1*10^6;
+
+ro=100;
+
+fB=b*ft;
+
+Ri=[R+((R1*R2)/(R1+R2))]/(1+(a0*b));
+
+Ro=ro/(1+(a0*b));
+
+fb=ft/a0;
+
+printf("A(jf)=(%d V/A)",A0);
+
+printf("/(1+(jf/%.d))",fB);
+
+printf("\nZi(jf)=%.d",Ri);
+
+printf("*(1+j(f/%.d))",fb);
+
+printf("/(1+(jf/%.d)) ohms",fB);
+
+printf("\nZo(jf)=%.d",Ro*10^3);
+
+printf("*(1+j(f/%.d))",fb);
+
+printf("/(1+(jf/%.d)) mohms",fB);
\ No newline at end of file diff --git a/929/CH6/EX6.7.a/Example6_7_a.JPG b/929/CH6/EX6.7.a/Example6_7_a.JPG Binary files differnew file mode 100755 index 000000000..8aabbf290 --- /dev/null +++ b/929/CH6/EX6.7.a/Example6_7_a.JPG diff --git a/929/CH6/EX6.7.a/Example6_7_a.sce b/929/CH6/EX6.7.a/Example6_7_a.sce new file mode 100755 index 000000000..9aef3664e --- /dev/null +++ b/929/CH6/EX6.7.a/Example6_7_a.sce @@ -0,0 +1,63 @@ +//Example 6.7(a)
+
+clear;
+
+clc;
+
+IA=19.6*10^(-6);
+
+Cc=30*10^(-12);
+
+SR=0.633*10^6;
+
+R1=3*10^3;
+
+R2=12*10^3;
+
+A0=-(R2/R1);
+
+b=R1/(R1+R2);
+
+a0=2*10^5;
+
+ft=1*10^6;
+
+ro=100;
+
+Vim=-0.5;
+
+tau=1/(2*%pi*b*ft);
+
+Vomcrit=SR*tau;
+
+Voinf=A0*Vim;
+
+V1=Voinf-Vomcrit;
+
+t=[0:2*10^(-8):7*10^(-6)];
+
+t1=V1/SR;
+
+t12=[0:2*10^(-8):tau]
+
+vo3=0;
+
+plot(t12,vo3);
+
+t11=[tau:2*10^(-8):t1+tau];
+
+vo1=SR*(t11-tau);
+
+t22=[t1+tau:2*10^(-8):7*10^(-6)];
+
+vo2=Voinf+((V1-Voinf)*exp(-(t22-t1-tau)/tau));
+
+plot(t11,vo1);
+
+plot(t22,vo2);
+
+xlabel("time(t)","fontsize", 6);
+
+ylabel("vo(t)","fontsize", 6);
+
+title("Step Response of the Circuit","fontsize", 8);
\ No newline at end of file diff --git a/929/CH6/EX6.8.a/Example6_8_a.sce b/929/CH6/EX6.8.a/Example6_8_a.sce new file mode 100755 index 000000000..eb485559d --- /dev/null +++ b/929/CH6/EX6.8.a/Example6_8_a.sce @@ -0,0 +1,19 @@ +//Example 6.8(a)
+
+clear;
+
+clc;
+
+Vs=15;
+
+A=10;
+
+Vim=0.5;
+
+SR=0.5*10^6;
+
+Vom=A*Vim;
+
+fmax=SR/(2*%pi*Vom);
+
+printf("fmax=%.f kHz",fmax*10^(-3));
\ No newline at end of file diff --git a/929/CH6/EX6.8.b/Example6_8_b.sce b/929/CH6/EX6.8.b/Example6_8_b.sce new file mode 100755 index 000000000..f1f167e48 --- /dev/null +++ b/929/CH6/EX6.8.b/Example6_8_b.sce @@ -0,0 +1,19 @@ +//Example 6.8(b)
+
+clear;
+
+clc;
+
+Vs=15;
+
+A=10;
+
+f=10*10^3;
+
+SR=0.5*10^6;
+
+Vommax=SR/(2*%pi*f);
+
+Vimmax=Vommax/A;
+
+printf("Maximum Value of Vim before the output distorts=%.3f V",Vimmax);
\ No newline at end of file diff --git a/929/CH6/EX6.8.c/Example6_8_c.sce b/929/CH6/EX6.8.c/Example6_8_c.sce new file mode 100755 index 000000000..0626f2ee8 --- /dev/null +++ b/929/CH6/EX6.8.c/Example6_8_c.sce @@ -0,0 +1,21 @@ +//Example 6.8(c)
+
+clear;
+
+clc;
+
+Vs=15;
+
+A=10;
+
+Vim=40*10^(-3);
+
+SR=0.5*10^6;
+
+fmax=SR/(2*%pi*Vim*A);
+
+ft=1*10^6;
+
+fB=ft/A;
+
+printf("Useful Frequency Range of Operation f<=%.2f kHz",fB*10^(-3));
\ No newline at end of file diff --git a/929/CH6/EX6.8.d/Example6_8_d.sce b/929/CH6/EX6.8.d/Example6_8_d.sce new file mode 100755 index 000000000..60e6f6b23 --- /dev/null +++ b/929/CH6/EX6.8.d/Example6_8_d.sce @@ -0,0 +1,22 @@ +//Example 6.8(d)
+
+clear;
+
+clc;
+
+Vs=13;
+
+A=10;
+
+ft=1*10^6;
+
+SR=0.5*10^6;
+
+f=2*10^3;
+
+Vommax=SR/(2*%pi*f);
+
+if Vommax>Vs then
+Vimmax=Vs/A;
+
+printf("Useful Input Amplitude Range is Vim<=%.2f V",Vimmax);
\ No newline at end of file diff --git a/929/CH6/EX6.9/Example6_9.sce b/929/CH6/EX6.9/Example6_9.sce new file mode 100755 index 000000000..e82924fd2 --- /dev/null +++ b/929/CH6/EX6.9/Example6_9.sce @@ -0,0 +1,50 @@ +//Example 6.9
+
+clear;
+
+clc;
+
+f0=10*10^3;
+
+Q=25;
+
+HobpdB=0;
+
+R1=10*10^3;//Assumption
+
+R2=R1;//Assumption
+
+R5=R1;//Assumption
+
+R6=R1;//Assumption
+
+R3=250*10^3;//Assumption
+
+R4=R3;//Assumption
+
+C1=1/(2*%pi*f0*R5);//Assumption
+
+C2=C1;//Assumption
+
+f0reler=0.01;//as relative error defined for f0=1%
+
+Qreler=0.01
+
+ftf0=f0/f0reler;
+
+ftQ=(4*Q*f0)/Qreler;
+
+printf("Designed Biquad Filter :")
+
+printf("\nR1=R2=R5=R6=%.2f kohms",R1*10^(-3));
+
+printf("\nR3=R4=%.2f kohms",R4*10^(-3));
+
+printf("\nC1=C2=%.2f nF",C1*10^9);
+
+if ftf0>ftQ then
+ ft=ftf0;
+
+else ft=ftQ
+
+printf("\nGBP>=%.2f MHz",ft*10^(-6));
\ No newline at end of file |