diff options
author | Jovina Dsouza | 2014-06-17 19:17:50 +0530 |
---|---|---|
committer | Jovina Dsouza | 2014-06-17 19:17:50 +0530 |
commit | c6f0d6aeb95beaf41e4b679e78bb42c4ffe45a40 (patch) | |
tree | 8a9939717a888c4b79115cb5e30a7100179148f8 /Basic_Electronics_and_Linear_Circuits/ch12.ipynb | |
parent | 3df19050b78c9fad037dd5f464f05ccf2b43c40e (diff) | |
download | Python-Textbook-Companions-c6f0d6aeb95beaf41e4b679e78bb42c4ffe45a40.tar.gz Python-Textbook-Companions-c6f0d6aeb95beaf41e4b679e78bb42c4ffe45a40.tar.bz2 Python-Textbook-Companions-c6f0d6aeb95beaf41e4b679e78bb42c4ffe45a40.zip |
adding book
Diffstat (limited to 'Basic_Electronics_and_Linear_Circuits/ch12.ipynb')
-rw-r--r-- | Basic_Electronics_and_Linear_Circuits/ch12.ipynb | 224 |
1 files changed, 224 insertions, 0 deletions
diff --git a/Basic_Electronics_and_Linear_Circuits/ch12.ipynb b/Basic_Electronics_and_Linear_Circuits/ch12.ipynb new file mode 100644 index 00000000..1052aa07 --- /dev/null +++ b/Basic_Electronics_and_Linear_Circuits/ch12.ipynb @@ -0,0 +1,224 @@ +{
+ "metadata": {
+ "name": "Ch 12"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 12:Feedback in amplifiers"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 3,
+ "metadata": {},
+ "source": [
+ "Example 12.1 Page no.395"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Example 12.1\n",
+ "# Calculate the Gain of a Negative Feedback Amplifier with\n",
+ "\n",
+ "#Given Circuit Data\n",
+ "A=100.0 #Internal Gain\n",
+ "B=0.1 #Feedback Factor\n",
+ "\n",
+ "#Calculation\n",
+ "Af=A/(1+A*B) # Gain of Feedback Amplifier \n",
+ "# Result\n",
+ "print \" The Value of the Gain of Feedback Amplifier is = \",round(Af,2)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " The Value of the Gain of Feedback Amplifier is, = 9.09\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 3,
+ "metadata": {},
+ "source": [
+ "Example 12.2 Page no. 395"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Example 12.2\n",
+ "#Program to Calculate the A(Internal Gain) and Beeta(Feedback Gain) of #a Negative Feedback Amplifier with given Specifications\n",
+ "\n",
+ "#Given Circuit Data\n",
+ "Af=100.0 #Voltage Gain\n",
+ "Vin=.05 #V , Input Signal without Feedaback Gain\n",
+ "Vi=0.6 #V , Input Signal with Feedaback Gain\n",
+ "\n",
+ "#Calculation\n",
+ "Vo=Af*Vi\n",
+ "A=Vo/Vin\n",
+ "B=((A/Af)-1)/A\n",
+ "#Result\n",
+ "print \"The Value of the Internal Gain A is, A = \",A\n",
+ "print \" The Value of the Feedback Gain B is, B = percent \",round(B*100,2)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Value of the Internal Gain A is, A = 1200.0\n",
+ " The Value of the Feedback Gain B is, B = percent 0.92\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 3,
+ "metadata": {},
+ "source": [
+ "Example 12.3 Page no. 401"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Example 12.3\n",
+ "# Calculate the change in overall Gain of the Feedback\n",
+ " #Amplifier with given Gain reduction\n",
+ "\n",
+ "#Given Circuit Data\n",
+ "A=1000 #60dB Voltage Gain\n",
+ "B=0.005 #Negative Feedback\n",
+ "dAbyA=-0.12 #dA/A = 12 %\n",
+ "\n",
+ "#Calculation\n",
+ "dAfbyAf=1/(1+A*B)*dAbyA #dAf/Af=1/(1+A*B)*dA/A\n",
+ "\n",
+ "# Result\n",
+ "print \" The change in overall Gain of the Feedback Amplifier is\",dAfbyAf\n",
+ "print \"Therefore the overall gain of feedback amplifier will be reduce by \",-dAfbyAf*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " The change in overall Gain of the Feedback Amplifier is -0.02\n",
+ "Therefore the overall gain of feedback amplifier will be reduce by 2.0 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 3,
+ "metadata": {},
+ "source": [
+ "Example 12.4 Page no. 401"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Example 12.4\n",
+ "# Calculate the Input Impedance of the Feedback Amplifier #with given Specifications\n",
+ "\n",
+ "#Given Circuit Data\n",
+ "Zi=1000.0 #Ohms\n",
+ "A=1000.0 #Voltage Gain\n",
+ "B=0.01 #Negative Feedback\n",
+ "\n",
+ "#Calculation\n",
+ "Zid=(1+A*B)*Zi\n",
+ "# Result\n",
+ "print \" The Value of the Input Impedance of the Feedback Amplifier is, Zid = \",Zid/10**3,\"K ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " The Value of the Input Impedance of the Feedback Amplifier is, Zid = 11.0 K ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 3,
+ "metadata": {},
+ "source": [
+ "Example 12.5 Page no. 401"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Example 12.5\n",
+ "# Calculate the value of Feedback Factor and Percentage\n",
+ " #change in overall Gain of the Internal Amplifier\n",
+ "\n",
+ "#Given Circuit Data\n",
+ "A=1000.0 #60dB, Voltage Gain\n",
+ "Zo=12000.0 #Ohms\n",
+ "Zod=600.0 #Ohms\n",
+ "dAbyA=0.1 #dA/A = 10 %\n",
+ "\n",
+ "#Calculation\n",
+ "B=((Zo/Zod)-1)/A #Zod=Zo/(1+A*B)\n",
+ "dAfbyAf=1/(1+A*B)*dAbyA #dAf/Af=1/(1+A*B)*dA/A\n",
+ "# Result\n",
+ "print \" The Feedback Factor of the Feedback Amplifier is, B = \",B*100,\"percent\"\n",
+ "print \" The change in overall Gain of the Feedback Amplifier is, dAf/Af = \",dAfbyAf*100,\"percent\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " The Feedback Factor of the Feedback Amplifier is, B = 1.9 percent\n",
+ " The change in overall Gain of the Feedback Amplifier is, dAf/Af = 0.5 percent\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file |