diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /199/CH3 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '199/CH3')
-rwxr-xr-x | 199/CH3/EX3.1/Example_3_1.sce | 23 | ||||
-rwxr-xr-x | 199/CH3/EX3.1/result_ex_3_1.txt | 5 | ||||
-rwxr-xr-x | 199/CH3/EX3.2/Example_3_2.sce | 23 | ||||
-rwxr-xr-x | 199/CH3/EX3.2/result_ex_3_2.txt | 5 | ||||
-rwxr-xr-x | 199/CH3/EX3.3/Example_3_3.sce | 25 | ||||
-rwxr-xr-x | 199/CH3/EX3.3/result_ex_3_3.txt | 5 | ||||
-rwxr-xr-x | 199/CH3/EX3.4/Example_3_4.sce | 20 | ||||
-rwxr-xr-x | 199/CH3/EX3.4/result_ex_3_4.txt | 1 | ||||
-rwxr-xr-x | 199/CH3/EX3.5.a/Example_3_5_a.sce | 14 | ||||
-rwxr-xr-x | 199/CH3/EX3.5.a/result_ex_3_5_a.txt | 3 | ||||
-rwxr-xr-x | 199/CH3/EX3.5.b/Example_3_5_b.sce | 12 | ||||
-rwxr-xr-x | 199/CH3/EX3.5.b/result_ex_3_5_b.txt | 1 | ||||
-rwxr-xr-x | 199/CH3/EX3.6.a/Example_3_6_a.sce | 19 | ||||
-rwxr-xr-x | 199/CH3/EX3.6.a/result_ex_3_6_a.txt | 3 | ||||
-rwxr-xr-x | 199/CH3/EX3.6.b/Example_3_6_b.sce | 12 | ||||
-rwxr-xr-x | 199/CH3/EX3.6.b/result_ex_3_6_b.txt | 1 |
16 files changed, 172 insertions, 0 deletions
diff --git a/199/CH3/EX3.1/Example_3_1.sce b/199/CH3/EX3.1/Example_3_1.sce new file mode 100755 index 000000000..f0a4009f0 --- /dev/null +++ b/199/CH3/EX3.1/Example_3_1.sce @@ -0,0 +1,23 @@ +// Chapter3
+// Page.No-75, Figure.No-3.2
+// Example_3_1
+// Parameters of voltage-series feedback amplifier
+// Given
+clear;clc;
+R1=1000;Rf=10000;
+A=200000; // Open-loop voltage gain
+Ri=2*10^6; // Input resistance without feedback
+Ro=75; // Output resistance without feedback
+fo=5; // Break frequency of an Op-amp
+Vsat=13; // Saturation voltage
+B=R1/(R1+Rf); // Gain of the feedback circuit
+Af=A/(1+A*B); // Closed-loop voltage gain
+printf("\n Closed-loop voltage gain is Af = %.2f \n",Af) // Result
+RiF=Ri*(1+A*B); // Input resistance with feedback
+printf("\n Input resistance with feedback is RiF = %.2f ohms \n",RiF) // Result
+RoF=Ro/(1+A*B); // Output resistance with feedback
+printf("\n Output resistance with feedback is RoF = %f ohms \n",RoF) // Result
+fF=fo*(1+A*B); // Bandwidth with feedback
+printf("\n Bandwidth with feedback is vo = %.1f Hz \n",fF) // Result
+VooT=Vsat/(1+A*B); // Total output offset voltage with feedback
+printf("\n Total output offset voltage with feedback is VooT = %f V \n",VooT) // Result
\ No newline at end of file diff --git a/199/CH3/EX3.1/result_ex_3_1.txt b/199/CH3/EX3.1/result_ex_3_1.txt new file mode 100755 index 000000000..4f02a33a5 --- /dev/null +++ b/199/CH3/EX3.1/result_ex_3_1.txt @@ -0,0 +1,5 @@ +* Closed-loop voltage gain is Af = 11.00
+* Input resistance with feedback is RiF = 36365636363.64 ohms
+* Output resistance with feedback is RoF = 0.004125 ohms
+* Bandwidth with feedback is vo = 90914.1 Hz
+* Total output offset voltage with feedback is VooT = 0.000715 V
diff --git a/199/CH3/EX3.2/Example_3_2.sce b/199/CH3/EX3.2/Example_3_2.sce new file mode 100755 index 000000000..62b1b8665 --- /dev/null +++ b/199/CH3/EX3.2/Example_3_2.sce @@ -0,0 +1,23 @@ +// Chapter3
+// Page.No-83, Figure.No-3.7
+// Example_3_2
+// Parameters of voltage-series feedback amplifier
+// Given
+clear;clc;
+R1=1000;Rf=10000;
+A=200000; // Open-loop voltage gain
+Ri=2*10^6; // Input resistance without feedback
+Ro=75; // Output resistance without feedback
+fo=5; // Break frequency of an Op-amp
+Vsat=13; // Saturation voltage
+B=1; // Gain of the feedback circuit and it is equal to 1 for voltage follower
+Af=A/(1+A*B); // Closed-loop voltage gain
+printf("\n Closed-loop voltage gain is Af = %.f \n",Af) // Result
+RiF=Ri*(1+A*B); // Input resistance with feedback
+printf("\n Input resistance with feedback is RiF = %.1f ohms \n",RiF) // Result
+RoF=Ro/(1+A*B); // Output resistance with feedback
+printf("\n Output resistance with feedback is RoF = %f ohms \n",RoF) // Result
+fF=fo*(1+A*B); // Bandwidth with feedback
+printf("\n Bandwidth with feedback is vo = %.1f Hz \n",fF) // Result
+VooT=Vsat/(1+A*B); // Total output offset voltage with feedback
+printf("\n Total output offset voltage with feedback is VooT = %f V \n",VooT) // Result
\ No newline at end of file diff --git a/199/CH3/EX3.2/result_ex_3_2.txt b/199/CH3/EX3.2/result_ex_3_2.txt new file mode 100755 index 000000000..f1e85346a --- /dev/null +++ b/199/CH3/EX3.2/result_ex_3_2.txt @@ -0,0 +1,5 @@ +* Closed-loop voltage gain is Af = 1
+* Input resistance with feedback is RiF = 400002000000.0 ohms
+* Output resistance with feedback is RoF = 0.000375 ohms
+* Bandwidth with feedback is vo = 1000005.0 Hz
+* Total output offset voltage with feedback is VooT = 0.000065 V
\ No newline at end of file diff --git a/199/CH3/EX3.3/Example_3_3.sce b/199/CH3/EX3.3/Example_3_3.sce new file mode 100755 index 000000000..0d25b25ea --- /dev/null +++ b/199/CH3/EX3.3/Example_3_3.sce @@ -0,0 +1,25 @@ +// Chapter3
+// Page.No-86, Figure.No-3.8
+// Example_3_3
+// Parameters of voltage-shunt feedback amplifier
+// Given
+clear;clc;
+R1=470;Rf=4.7*10^3;
+A=200000; // Open-loop voltage gain
+Ri=2*10^6;// Input resistance without feedback
+Ro=75; // Output resistance without feedback
+fo=5; // Break frequency of an Op-amp
+Vsat=13; // Saturation voltage
+K=Rf/(R1+Rf); // Voltage attenuation factor
+B=R1/(R1+Rf); // Gain of the feedback circuit
+Af=-(A*K)/(1+A*B); // Closed-loop voltage gain
+printf("\n Closed-loop voltage gain is Af = %.f \n",Af) // Result
+X=Rf/(1+A);
+RiF=R1+(X*Ri)/(X+Ri); // Input resistance with feedback
+printf("\n Input resistance with feedback is RiF = %.1f ohms \n",RiF) // Result
+RoF=Ro/(1+A*B); // Output resistance with feedback
+printf("\n Output resistance with feedback is RoF = %f ohms \n",RoF) // Result
+fF=fo*(1+A*B)/K; // Bandwidth with feedback
+printf("\n Bandwidth with feedback is vo = %.2f Hz \n",fF) // Result
+VooT=Vsat/(1+A*B); // Total output offset voltage with feedback
+printf("\n Total output offset voltage with feedback is VooT = %f V \n",VooT) // Result
\ No newline at end of file diff --git a/199/CH3/EX3.3/result_ex_3_3.txt b/199/CH3/EX3.3/result_ex_3_3.txt new file mode 100755 index 000000000..dc3dee2d3 --- /dev/null +++ b/199/CH3/EX3.3/result_ex_3_3.txt @@ -0,0 +1,5 @@ +* Closed-loop voltage gain is Af = -10
+* Input resistance with feedback is RiF = 470.0 ohms
+* Output resistance with feedback is RoF = 0.004125 ohms
+* Bandwidth with feedback is vo = 100005.50 Hz
+* Total output offset voltage with feedback is VooT = 0.000715 V
\ No newline at end of file diff --git a/199/CH3/EX3.4/Example_3_4.sce b/199/CH3/EX3.4/Example_3_4.sce new file mode 100755 index 000000000..811e8193f --- /dev/null +++ b/199/CH3/EX3.4/Example_3_4.sce @@ -0,0 +1,20 @@ +// Chapter3
+// Page.No-86, Figure.No-3.8
+// Example_3_4
+// Output voltage of voltage-shunt feedback amplifier
+// Given
+clear;clc;
+R1=470;Rf=4.7*10^3;
+A=200000; // Open-loop voltage gain
+vin=1; // Input voltage in volts
+K=Rf/(R1+Rf); // Voltage attenuation factor
+B=R1/(R1+Rf); // Gain of the feedback circuit
+Af=-(A*K)/(1+A*B); // Closed-loop voltage gain
+vo=Af*vin; // Output voltage
+printf("\n Output voltage is vo = %.f V \n",vo) // Result
+t=0:0.1:2*%pi;
+vo=-10*sin(t);
+plot(t,vo);
+title('Output Voltage');
+xlabel('t');
+ylabel('Vo');
diff --git a/199/CH3/EX3.4/result_ex_3_4.txt b/199/CH3/EX3.4/result_ex_3_4.txt new file mode 100755 index 000000000..f6f9f4be7 --- /dev/null +++ b/199/CH3/EX3.4/result_ex_3_4.txt @@ -0,0 +1 @@ +* Output voltage is vo = -10 V
\ No newline at end of file diff --git a/199/CH3/EX3.5.a/Example_3_5_a.sce b/199/CH3/EX3.5.a/Example_3_5_a.sce new file mode 100755 index 000000000..62549a96f --- /dev/null +++ b/199/CH3/EX3.5.a/Example_3_5_a.sce @@ -0,0 +1,14 @@ +// Chapter3
+// Page.No-96, Figure.No-3.14
+// Example_3_5_a
+// Gain Input resistance of the amplifier
+// Given
+clear;clc;
+R1=1000;R2=1000;
+Rf=10*10^3;R3=10*10^3;
+AD=-Rf/R1; // Voltage gain
+printf("\n Voltage gain is AD = %.f \n",AD) // Result
+RiFx=R1; // Input resistance of inverting amplifier
+printf("\n Input resistance of inverting amplifier is RiFx = %.f ohms \n",RiFx) // Result
+RiFy=R2+R3; // Input resistance of non-inverting amplifier
+printf("\n Input resistance of non-inverting amplifier is RiFy = %.f ohms \n",RiFy) // Result
\ No newline at end of file diff --git a/199/CH3/EX3.5.a/result_ex_3_5_a.txt b/199/CH3/EX3.5.a/result_ex_3_5_a.txt new file mode 100755 index 000000000..e9e88f290 --- /dev/null +++ b/199/CH3/EX3.5.a/result_ex_3_5_a.txt @@ -0,0 +1,3 @@ +* Voltage gain is AD = -10
+* Input resistance of inverting amplifier is RiFx = 1000 ohms
+* Input resistance of non-inverting amplifier is RiFy = 11000 ohms
\ No newline at end of file diff --git a/199/CH3/EX3.5.b/Example_3_5_b.sce b/199/CH3/EX3.5.b/Example_3_5_b.sce new file mode 100755 index 000000000..60e6d11d8 --- /dev/null +++ b/199/CH3/EX3.5.b/Example_3_5_b.sce @@ -0,0 +1,12 @@ +// Chapter3
+// Page.No-96, Figure.No-3.14
+// Example_3_5_b
+// Output voltage of an Op-amp
+// Given
+clear;clc;
+vx=2.7;vy=3; //Both input voltages are in volts
+Rf=10*10^3;R1=1000; // Both are in ohms
+AD=-Rf/R1; // Voltage gain
+vxy=vx-vy;
+vo=AD*vxy; // Output voltage
+printf("\n Output voltage is vo = %.f V \n",vo) // Result
\ No newline at end of file diff --git a/199/CH3/EX3.5.b/result_ex_3_5_b.txt b/199/CH3/EX3.5.b/result_ex_3_5_b.txt new file mode 100755 index 000000000..1b3f77457 --- /dev/null +++ b/199/CH3/EX3.5.b/result_ex_3_5_b.txt @@ -0,0 +1 @@ +* Output voltage is vo = 3 V
\ No newline at end of file diff --git a/199/CH3/EX3.6.a/Example_3_6_a.sce b/199/CH3/EX3.6.a/Example_3_6_a.sce new file mode 100755 index 000000000..c4d95334c --- /dev/null +++ b/199/CH3/EX3.6.a/Example_3_6_a.sce @@ -0,0 +1,19 @@ +// Chapter3
+// Page.No-99, Figure.No-3.16
+// Example_3_6_a
+// Voltage gain and input resistance of Op-amp
+// Given
+clear;clc;
+R1=680;R3=680; // Both are in ohms
+RF=6800;R2=6800; // Both are in ohms
+Ri=2*10^6; // Open-loop input resistance of the op-amp
+vx=-1.5;vy=-2; // Both are in volts
+A=200000; // Open-loop Gain
+AD=1+RF/R1; // Voltage gain
+printf("\n Voltage gain is AD = %.f \n",AD) // Result
+B=R2/(R2+R3);
+RiFy=Ri*(1+A*B); // Input resistance of first stage amplifier
+printf("\n Input resistance of first stage amplifier is RiFy = %.1f ohms \n",RiFy) // Result
+B=R1/(R1+RF);
+RiFx=Ri*(1+A*B); // Input resistance of second stage amplifier
+printf("\n Input resistance of second stage amplifier is RiFx = %.1f ohms \n",RiFx) // Result
\ No newline at end of file diff --git a/199/CH3/EX3.6.a/result_ex_3_6_a.txt b/199/CH3/EX3.6.a/result_ex_3_6_a.txt new file mode 100755 index 000000000..b787be578 --- /dev/null +++ b/199/CH3/EX3.6.a/result_ex_3_6_a.txt @@ -0,0 +1,3 @@ +* Voltage gain is AD = 11
+* Input resistance of first stage amplifier is RiFy = 363638363636.4 ohms
+* Input resistance of second stage amplifier is RiFx = 36365636363.6 ohms
\ No newline at end of file diff --git a/199/CH3/EX3.6.b/Example_3_6_b.sce b/199/CH3/EX3.6.b/Example_3_6_b.sce new file mode 100755 index 000000000..be543ddae --- /dev/null +++ b/199/CH3/EX3.6.b/Example_3_6_b.sce @@ -0,0 +1,12 @@ +// Chapter3
+// Page.No-99, Figure.No-3.16
+// Example_3_6_b
+// Output voltage of the Op-amp
+// Given
+clear;clc;
+R1=680;RF=6800 // Both are in ohms
+vx=-1.5;vy=-2; // Both input voltages are in volts
+AD=1+RF/R1; // Voltage gain
+vxy=vx-vy;
+vo=AD*vxy; // Output voltage
+printf("\n Output voltage is vo = %.1f V \n",vo) // Result
\ No newline at end of file diff --git a/199/CH3/EX3.6.b/result_ex_3_6_b.txt b/199/CH3/EX3.6.b/result_ex_3_6_b.txt new file mode 100755 index 000000000..30d3038a5 --- /dev/null +++ b/199/CH3/EX3.6.b/result_ex_3_6_b.txt @@ -0,0 +1 @@ +* Output voltage is vo = 5.5 V
\ No newline at end of file |