diff options
Diffstat (limited to '1733/CH8')
-rwxr-xr-x | 1733/CH8/EX8.1/8_1.sce | 11 | ||||
-rwxr-xr-x | 1733/CH8/EX8.10/8_10.sce | 10 | ||||
-rwxr-xr-x | 1733/CH8/EX8.11/8_11.sce | 16 | ||||
-rwxr-xr-x | 1733/CH8/EX8.12/8_12.sce | 16 | ||||
-rwxr-xr-x | 1733/CH8/EX8.13/8_13.sce | 22 | ||||
-rwxr-xr-x | 1733/CH8/EX8.14/8_14.sce | 11 | ||||
-rwxr-xr-x | 1733/CH8/EX8.17/8_17.sce | 8 | ||||
-rwxr-xr-x | 1733/CH8/EX8.18/8_18.sce | 6 | ||||
-rwxr-xr-x | 1733/CH8/EX8.2/8_2.sce | 22 | ||||
-rwxr-xr-x | 1733/CH8/EX8.21/8_21.sce | 15 | ||||
-rwxr-xr-x | 1733/CH8/EX8.22/8_22.sce | 15 | ||||
-rwxr-xr-x | 1733/CH8/EX8.3/8_3.sce | 11 | ||||
-rwxr-xr-x | 1733/CH8/EX8.4/8_4.sce | 11 | ||||
-rwxr-xr-x | 1733/CH8/EX8.5/8_5.sce | 10 | ||||
-rwxr-xr-x | 1733/CH8/EX8.6/8_6.sce | 8 | ||||
-rwxr-xr-x | 1733/CH8/EX8.7/8_7.sce | 24 | ||||
-rwxr-xr-x | 1733/CH8/EX8.8/8_8.sce | 6 | ||||
-rwxr-xr-x | 1733/CH8/EX8.9/8_9.sce | 7 |
18 files changed, 229 insertions, 0 deletions
diff --git a/1733/CH8/EX8.1/8_1.sce b/1733/CH8/EX8.1/8_1.sce new file mode 100755 index 000000000..21301c163 --- /dev/null +++ b/1733/CH8/EX8.1/8_1.sce @@ -0,0 +1,11 @@ +//8.1
+clc;
+Vcc=12;
+Re=3.8*10^3;
+Rc=4.1*10^3;
+Ie=(Vcc-0.7)/Re*10^3;
+printf("Ie=%3f mA",Ie)
+Ic=0.5*Ie;
+printf("\nIc=%3f mA",Ic)
+Vo=Vcc-Ic*Rc*10^-3;
+printf("\nVo=%1f V",Vo)
\ No newline at end of file diff --git a/1733/CH8/EX8.10/8_10.sce b/1733/CH8/EX8.10/8_10.sce new file mode 100755 index 000000000..db4f9a4ae --- /dev/null +++ b/1733/CH8/EX8.10/8_10.sce @@ -0,0 +1,10 @@ +//8.10
+clc;
+f=10*10^3;
+Vp=10;
+Initial_slope_of_sine_wa=2*%pi*f*Vp*10^-6;
+printf("Initial slope of sine wave= %.3f V/us", Initial_slope_of_sine_wa)
+disp('Since slew rate of the amplifier is 0.5V/us, so slew rate distortion will occur')
+Sr=0.5*10^6;
+Vp=Sr/(2*%pi*f);
+printf("Amplitude of the input signal=%.2f V",Vp)
diff --git a/1733/CH8/EX8.11/8_11.sce b/1733/CH8/EX8.11/8_11.sce new file mode 100755 index 000000000..0172dd042 --- /dev/null +++ b/1733/CH8/EX8.11/8_11.sce @@ -0,0 +1,16 @@ +//8.11
+clc;
+Rf=100*10^3;
+R1=1000;
+Gain=-Rf/R1;
+printf("Closed loop gain=%.0f", Gain)
+Av=100000;
+Zo=75;
+f_unity=10^6;
+beta=R1/(R1+Rf);
+Z_closed=Zo/(1+Av*beta);
+printf("\nClosed loop output impedance=%.6f ohm", Z_closed)
+closed_loop_upper_cut_f=f_unity*beta;
+printf("\nClosed loop upper cutoff frequency=%.0f Hz", closed_loop_upper_cut_f)
+closed_loop_input_impe=1000;
+printf("\nClosed loop input impedance=%.0f ohm", closed_loop_input_impe)
\ No newline at end of file diff --git a/1733/CH8/EX8.12/8_12.sce b/1733/CH8/EX8.12/8_12.sce new file mode 100755 index 000000000..ac5d7a45b --- /dev/null +++ b/1733/CH8/EX8.12/8_12.sce @@ -0,0 +1,16 @@ +//8.12
+clc;
+R2=100*10^3;
+R1=100;
+Zin=2*10^6;
+Zo=75;
+Gain=(R1+R2)/R1;
+printf("Closed loop voltage gain=%.0f", Gain)
+Av=100000;
+
+beta=R1/(R1+R2);
+Z_closed=Zin*(1+Av*beta)*10^-6;
+printf("\nClosed loop input impedance=%.1f mega-ohm", Z_closed)
+
+closed_loop_output_impe=Zo/(1+Av*beta);
+printf("\nClosed loop output impedance=%.3f ohm", closed_loop_output_impe)
\ No newline at end of file diff --git a/1733/CH8/EX8.13/8_13.sce b/1733/CH8/EX8.13/8_13.sce new file mode 100755 index 000000000..9697a2c38 --- /dev/null +++ b/1733/CH8/EX8.13/8_13.sce @@ -0,0 +1,22 @@ +//8.13
+clc;
+R1=1000;
+R2=100000;
+Avf=(R1+R2)/R1;
+printf("Closed loop gain=%.0f", Avf)
+beta=R1/(R1+R2);
+f_unity=1000000;
+f2=f_unity*beta;
+printf("\nUpper cut off frequency=%.0f Hz", f2)
+disp('Critical frequencies')
+C1=10^-6;
+R3=150*10^3;
+fc=1/(2*%pi*R3*C1);
+printf("\nCritical frequency when R is 150 Kohm=%.3f Hz", fc)
+R3=15*10^3;
+fc=1/(2*%pi*R3*C1);
+printf("\nCritical frequency when R is 15 Kohm=%.2f Hz", fc)
+R3=1*10^3;
+fc=1/(2*%pi*R3*C1);
+printf("\nCritical frequency when R is 1 Kohm=%.2f Hz", fc)
+disp('The lower cutt off frequency is the highest of the above three critical frequencies i.e.159.15 Hz')
\ No newline at end of file diff --git a/1733/CH8/EX8.14/8_14.sce b/1733/CH8/EX8.14/8_14.sce new file mode 100755 index 000000000..e762e3710 --- /dev/null +++ b/1733/CH8/EX8.14/8_14.sce @@ -0,0 +1,11 @@ +//8.14
+clc;
+Rf=50*10^3;
+R1=10*10^3;
+R2=R1;
+R3=R1;
+V1=0.5;
+V2=1.5;
+V3=0.2;
+Vo=-Rf*((V1/R1)+(V3/R3)+(V2/R2));
+printf("Output voltage=%.0f V",Vo)
diff --git a/1733/CH8/EX8.17/8_17.sce b/1733/CH8/EX8.17/8_17.sce new file mode 100755 index 000000000..f5b16eeb6 --- /dev/null +++ b/1733/CH8/EX8.17/8_17.sce @@ -0,0 +1,8 @@ +//8.17
+clc;
+R1=50*10^3;
+R=10*10^3;
+Vs1=4.5;
+Vs2=5;
+Vo=R1/R*(Vs2-Vs1);
+printf("Output voltage=%.1f V", Vo)
\ No newline at end of file diff --git a/1733/CH8/EX8.18/8_18.sce b/1733/CH8/EX8.18/8_18.sce new file mode 100755 index 000000000..a8068a4b1 --- /dev/null +++ b/1733/CH8/EX8.18/8_18.sce @@ -0,0 +1,6 @@ +//8.18
+clc;
+Vcom=0.5*(2+2);
+Acom=5*10^-3/Vcom;
+CMRR=20*log10(50/Acom);
+printf("CMRR=%.2f dB",CMRR)
\ No newline at end of file diff --git a/1733/CH8/EX8.2/8_2.sce b/1733/CH8/EX8.2/8_2.sce new file mode 100755 index 000000000..62c340397 --- /dev/null +++ b/1733/CH8/EX8.2/8_2.sce @@ -0,0 +1,22 @@ +//8.2
+clc;
+Vcc=12;
+Re=1*10^6;
+Rc=1*10^6;
+Ie=(Vcc-0.7)/Re*10^3;
+re=25*2/Ie;
+printf("re=%.0f ohm",re)
+Vgd=Rc/(2*re);
+printf("\nVoltage gain for the differential input=%.1f ",Vgd)
+Vi=2.1*10^-3;
+Vo_Ac=Vgd*Vi;
+printf("\nAC output voltage=%.4f V",Vo_Ac)
+Beta=75;
+Zi=2*Beta*re;
+printf("\nInput impedance=%.0f ohm",Zi)
+Rc=1*10^6;
+RE=10^6;
+CMG=Rc/(re+2*RE);
+printf("\nCommon mode gain=%.3f ",CMG)
+CMRR=Vgd/CMG;
+printf("\nCommon mode rejection ratio=%.2f ",CMRR)
diff --git a/1733/CH8/EX8.21/8_21.sce b/1733/CH8/EX8.21/8_21.sce new file mode 100755 index 000000000..6156a53be --- /dev/null +++ b/1733/CH8/EX8.21/8_21.sce @@ -0,0 +1,15 @@ +//8.21
+clc;
+R2=5.6*10^3;
+R1=1*10^3;
+Avf=1+R2/R1;
+printf("Mid band Gain=%.2f", Avf)
+Vin=1.6;
+Vo=Avf*Vin;
+printf("\nOutput voltage=%.3f mV", Vo)
+R=1000;
+C=0.001*10^-6;
+fc=1/(2*%pi*R*C);
+printf("\nCutt off frequency=%.2f Hz", fc)
+Gain=0.707*Avf;
+printf("\nGain=%.3f", Gain)
diff --git a/1733/CH8/EX8.22/8_22.sce b/1733/CH8/EX8.22/8_22.sce new file mode 100755 index 000000000..959896209 --- /dev/null +++ b/1733/CH8/EX8.22/8_22.sce @@ -0,0 +1,15 @@ +//8.22
+clc;
+R2=5.6*10^3;
+R1=10*10^3;
+Avf=1+R2/R1;
+printf("Mid band Gain=%.2f", Avf)
+Vin=1.1;
+Vo=Avf*Vin;
+printf("\nOutput voltage=%.3f mV", Vo)
+R=10000;
+C=0.001*10^-6;
+fc=1/(2*%pi*R*C);
+printf("\nCutt off frequency=%.2f Hz", fc)
+Vo=0.707*Avf;
+printf("\nOutput voltage=%.3f mV", Vo)
diff --git a/1733/CH8/EX8.3/8_3.sce b/1733/CH8/EX8.3/8_3.sce new file mode 100755 index 000000000..f1fd855b3 --- /dev/null +++ b/1733/CH8/EX8.3/8_3.sce @@ -0,0 +1,11 @@ +//8.3
+clc;
+open_loop_gain=100000;
+FF=0.01;
+Closed_loop_gain=open_loop_gain/(1+open_loop_gain*FF);
+printf("Closed loop gain=%.1f",Closed_loop_gain)
+Vi=2*10^-3;
+output=Vi*Closed_loop_gain;
+printf("\nOutput=%.4f V",output)
+Error_voltage=output/open_loop_gain*10^6;
+printf("\nError voltage=%.3f uV",Error_voltage)
\ No newline at end of file diff --git a/1733/CH8/EX8.4/8_4.sce b/1733/CH8/EX8.4/8_4.sce new file mode 100755 index 000000000..807a5baae --- /dev/null +++ b/1733/CH8/EX8.4/8_4.sce @@ -0,0 +1,11 @@ +//8.4
+clc;
+open_loop_gain=15000;
+FF=0.01;
+Closed_loop_gain=open_loop_gain/(1+open_loop_gain*FF);
+printf("Closed loop gain=%.3f",Closed_loop_gain)
+Vi=2*10^-3;
+output=Vi*Closed_loop_gain;
+printf("\nOutput=%.4f V",output)
+Error_voltage=output/open_loop_gain*10^6;
+printf("\nError voltage=%.3f uV",Error_voltage)
\ No newline at end of file diff --git a/1733/CH8/EX8.5/8_5.sce b/1733/CH8/EX8.5/8_5.sce new file mode 100755 index 000000000..10b09974a --- /dev/null +++ b/1733/CH8/EX8.5/8_5.sce @@ -0,0 +1,10 @@ +//8.5
+clc;
+Av=100000;
+beta=0.01;
+Zi=2*10^6;
+Closed_loop_input_imped=Zi*(1+Av*beta)*10^-6;
+printf("Closed loop input impedance=%.0f Mega-ohm",Closed_loop_input_imped)
+Zo=75;
+Closed_loop_output_imped=Zo/(1+Av*beta);
+printf("\nClosed loop output impedance=%.4f ohm",Closed_loop_output_imped)
\ No newline at end of file diff --git a/1733/CH8/EX8.6/8_6.sce b/1733/CH8/EX8.6/8_6.sce new file mode 100755 index 000000000..9e43585c1 --- /dev/null +++ b/1733/CH8/EX8.6/8_6.sce @@ -0,0 +1,8 @@ +//8.6
+clc;
+Av=100000;
+beta=0.001;
+Closed_loop_gain=Av/(1+Av*beta);
+printf("\nClosed loop gain=%.1f ",Closed_loop_gain)
+Desensitivity=(1+Av*beta);
+printf("\nDesensitivity=%.0f",Desensitivity)
\ No newline at end of file diff --git a/1733/CH8/EX8.7/8_7.sce b/1733/CH8/EX8.7/8_7.sce new file mode 100755 index 000000000..eaea5c70d --- /dev/null +++ b/1733/CH8/EX8.7/8_7.sce @@ -0,0 +1,24 @@ +//8.7
+clc;
+f_unity=10^6;
+Av=100000;
+open_loop_upper_cutoff_f=f_unity/Av;
+printf("open loop upper cutoff frequency=%.0f Hz", open_loop_upper_cutoff_f)
+disp('when beta=0.001')
+beta=0.001;
+Closed_loop_gain=Av/(1+Av*beta);
+printf("\nClosed loop gain=%.1f ",Closed_loop_gain)
+upper_cutoff_frequency=f_unity/Closed_loop_gain;
+printf("\nUpper cutoff frequency=%.0f Hz", upper_cutoff_frequency)
+disp('when beta=0.01')
+beta=0.01;
+Closed_loop_gain=Av/(1+Av*beta);
+printf("\nClosed loop gain=%.1f ",Closed_loop_gain)
+upper_cutoff_frequency=f_unity/Closed_loop_gain;
+printf("\nUpper cutoff frequency=%.0f Hz", upper_cutoff_frequency)
+disp('when beta=0.1')
+beta=0.1;
+Closed_loop_gain=Av/(1+Av*beta);
+printf("\nClosed loop gain=%.3f ",Closed_loop_gain)
+upper_cutoff_frequency=f_unity/Closed_loop_gain;
+printf("\nUpper cutoff frequency=%.0f Hz", upper_cutoff_frequency)
diff --git a/1733/CH8/EX8.8/8_8.sce b/1733/CH8/EX8.8/8_8.sce new file mode 100755 index 000000000..c666abc0a --- /dev/null +++ b/1733/CH8/EX8.8/8_8.sce @@ -0,0 +1,6 @@ +//8.8
+clc;
+Imax=10*10^-6;
+C=4000*10^-12;
+Slew_rate=Imax/C;
+printf("Slew rate=%.0f V/s", Slew_rate)
\ No newline at end of file diff --git a/1733/CH8/EX8.9/8_9.sce b/1733/CH8/EX8.9/8_9.sce new file mode 100755 index 000000000..e91b0c665 --- /dev/null +++ b/1733/CH8/EX8.9/8_9.sce @@ -0,0 +1,7 @@ +//8.9
+clc;
+f=10*10^3;
+Vp=6
+Initial_slope_of_sine_wa=2*%pi*f*Vp*10^-6;
+printf("Initial slope of sine wave= %.5f V/us", Initial_slope_of_sine_wa)
+disp('Since slew rate of the amplifier is 0.4V/us, there is no slew rate distortion')
|