summaryrefslogtreecommitdiff
path: root/OpAmps_And_Linear_Integrated_Circuits_by_Gayakwad/Chapter8.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'OpAmps_And_Linear_Integrated_Circuits_by_Gayakwad/Chapter8.ipynb')
-rw-r--r--OpAmps_And_Linear_Integrated_Circuits_by_Gayakwad/Chapter8.ipynb399
1 files changed, 399 insertions, 0 deletions
diff --git a/OpAmps_And_Linear_Integrated_Circuits_by_Gayakwad/Chapter8.ipynb b/OpAmps_And_Linear_Integrated_Circuits_by_Gayakwad/Chapter8.ipynb
new file mode 100644
index 00000000..2cb88119
--- /dev/null
+++ b/OpAmps_And_Linear_Integrated_Circuits_by_Gayakwad/Chapter8.ipynb
@@ -0,0 +1,399 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "collapsed": true
+ },
+ "source": [
+ "# Chapter 8. Comparators and Converters"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "collapsed": true
+ },
+ "source": [
+ "## Example 8.1"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 26,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYkAAAEZCAYAAABiu9n+AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xl8FPX9x/FXDDfIVUFOjUVRsIpoOQTFKIiACFWKgBeI\ntrZWrFoVsFbwqFdtvVqPeiBVDgUUQUVBIXgTTgXkLsgp6o9DUDyA/f3xmTSbsBt2N7v7ndl9Px+P\neWRnM5n9bLKZz3xvEBEREREREREREREREREREREREREREREREREREZHAOx14C5gDDHQcSyQXAV+5\nDkJEJJu9CvRL4fnfASok+LOtgQlJOpdIUh3iOgCRNMjFShMFKTp/YyAH2Jvgz58FzEzSuUSSKsd1\nACJp0AYYDbQETgHaAY2AeVgCORcYDJwEnAwcC3wI1Ad+AGZ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SWJT4CXCV7vpurA1xQnahERERERERERERER\nERERERERERERERGRg6kF/N51ECIi4k95BHM0vYiIpMF4bDryhQRz2gYREUmhI1FJQgIuyLPAivhd\nUKfwFvkfJQkREYlKSUIkdXahWTYl4JQkRFLn/7B1EhajhmsRERERERERERERERERERERERERERER\nERERERERf/p/LsxYpbABTCwAAAAASUVORK5CYII=\n",
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x7f5548e4e5d0>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "\n",
+ "#Example 8.1\n",
+ "#In the circuit of figure 8-4(a), R1=100 ohm,R2=56 kilo Ohm, Vin=V pp sine wave\n",
+ "#and the opamp is type 741 with supply voltages 15 V, -15 V.\n",
+ "#Determine the threshold voltages Vul and Vut and draw the output waveform.\n",
+ "\n",
+ "from __future__ import division #to perform decimal division\n",
+ "%matplotlib inline\n",
+ "import math\n",
+ "import array\n",
+ "import numpy as np\n",
+ "#Variable declaration\n",
+ "R1=100\n",
+ "R2=56*10**3\n",
+ "vin=1 #Input voltage in volt\n",
+ "pos_Vsat=14 #Positive saturation voltage in volt\n",
+ "neg_Vsat=-14 #Negative saturation voltage in volt\n",
+ "Vut=(R1/(R1+R2))*(pos_Vsat) #Upper threshold voltage\n",
+ "\n",
+ "\n",
+ "#calculation\n",
+ "Vut=(R1/(R1+R2))*(pos_Vsat) #Upper threshold voltage\n",
+ "Vlt=(R1/(R1+R2))*(neg_Vsat) #Lower threshold voltage\n",
+ "\n",
+ "t=np.arange(0,2*math.pi,0.1)\n",
+ "vut=0.5*np.sin(t)\n",
+ "subplot(211)\n",
+ "plt.plot(t,vut)\n",
+ "plt.ylabel('Vin')\n",
+ "plt.xlabel('t')\n",
+ "plt.title(r'$Input voltage$')\n",
+ "\n",
+ "import matplotlib.pyplot as plt\n",
+ "t1=math.asin(0.025/0.5)\n",
+ "t2=math.pi-math.asin(-0.025/0.5)\n",
+ "t3=2*math.pi\n",
+ "x=[0,t1,t2,t3]\n",
+ "y=[-14,14,-14,14]\n",
+ "plt.subplot(212)\n",
+ "plt.step(x,y) #Plotting square wave\n",
+ "plt.title('Output Waveform')\n",
+ "plt.xlabel('t')\n",
+ "plt.ylabel('Vo')\n",
+ "\n",
+ "#result\n",
+ "plt.show()\n"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "collapsed": true
+ },
+ "source": [
+ "## Example 8.2"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 21,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "#Since zener diode is forward biased\n",
+ "Output voltage during positive half-cycle of the input is -0.7 V\n",
+ "Output voltage during negative half-cycle of the input is 5.1 V\n"
+ ]
+ },
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYkAAAEZCAYAAABiu9n+AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xl4VOXZx/FvCDsISAVZNX1xQ6uIiiAgRkEFRKhYBNxA\ntLZ114qAtYLWutXWrXWpClIFUUCpqAgoBFwJCIjIIlCQVdSyCIoLZN4/7pNmEmaSSXJmnjlnfp/r\nmiszk5OTO4Gc+zzb/YCIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIBN6pwHRgHjDIcSyxXAh8\n5ToIEZFM9m+gfxLP/zZQtYJf2xaY6NO5RHxVxXUAIimQjbUm8pJ0/uZAFrC3gl9/BjDLp3OJ+CrL\ndQAiKdAOGAscDZwItAeaAQuwBHIOMAQ4HjgBOBJ4H2gM/ADM9s7RDxgIVAOmAd2AM4FfYxf1aVHH\nDgQuAG70vscDWAIYAiz0jnkOWANMBW4GDilxrue8+I8ALgE+wLqmJgCveecdDqzwYj0ZuAw4BrgU\nmOv9vHdW8vcnIhJqw4C/e8+7Y3fur3ivs4D/eM/PAjoBL3qv6wCfYcmgJXb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JuDYBJ2N42y7AdNIPi\nSOx3XvjYSfD+fhOSjQ1Y5wDVsD/21i4DqoBTgbYEM0k0AY73ntcFVhK8339t72NV4EOgs8NYKuom\nYBzB3K1xLdDQdRAVNBYY4j2vCtR3GEtlVAG2YDd9cQ8IqpOxJLEO+AmYAPRxGVAFvANsdx1EBX2B\nJWaA3dgdVTN34VTId97H6thNRwDWWBfTAugJPE1wZiqWFMS462M3eKO913uxu/Eg6obNcNoQ74Ag\nJ4nmFP/BNnrvSerlYC2ieY7jKK8qWKLbinWdLXMbTrk9CAwFClwHUkER4C1sH/tfO46lPH4OfAWM\nwablP0VRqzRoBgDjSzsgyEki4joAAayraRJwPdaiCJICrMusBdAFyHUaTfn0Ar7E+pSDeDcO0Am7\nuegBXI3dnQdBVeAE4DHv47fAcKcRVUx14FxgYmkHBTlJbKJ4P1pLrDUhqVMNmAw8D0xxHEtl7ARe\nB05yHUg5dAR6Y/36LwBnAP9yGlH5bfE+fgW8gnUhB8FG7zHfez0JSxZB0wP4CPv9h1JVrC8tB8uI\nQRy4Bos/iAPXWdhF6UHXgVTQQdgMFYBaWKXhru7CqZTTCN7sptrAAd7zOsB7wFnuwim3ucAR3vNR\nwH3uQqmwCcAg10EkWw9sVs1qYITjWCriBWAz8AM2vnKZ23DKpTPWXbOYoql03Z1GVD7HYv3Ji7Fp\nmEPdhlMppxG82U0/x373i7Ep1EH7+22DtSQ+Bl4meLOb6gBfU5SoRURERERERERERERERERERERE\nRERERETKUh/4nesgREQkPeUQzNX0IiKSAhOwcuSLCGbZBhERSaJDUUtCAi7IVWBF0l1QS3iL/I+S\nhIiIxKUkIZI8u1CVTQk4JQmR5Pkvtk/CJ2jgWkRERERERERERERERERERERERERERERERERERCQ9\n/T8NRSbI+0GhoAAAAABJRU5ErkJggg==\n",
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x7f55408e2f50>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "#Example 8.2\n",
+ "#In the circuit of figure 8-7(a), Vin=500 mV peak 60-Hz sinewave, R=100 ohm.\n",
+ "#IN3826 zener with Vz=5.1 V and the supply voltages= 15 V, -15V.\n",
+ "#Determine the output voltage swing.Assume that the voltage drop across\n",
+ "#the forward biased zener=0.7V.\n",
+ "\n",
+ "%matplotlib inline\n",
+ "from __future__ import division #to perform decimal division\n",
+ "import numpy as np\n",
+ "import matplotlib.pyplot as plt\n",
+ "import math\n",
+ "import array\n",
+ "\n",
+ "#Variable declaration\n",
+ "vin=5*10**-3\n",
+ "R=100\n",
+ "Vd1=-0.7 # Output voltage during positive half-cycle of the input\n",
+ "Vd2=5.1 # Output voltage during negative half-cycle of the input\n",
+ "\n",
+ "#calculation\n",
+ "\n",
+ "\n",
+ "t=np.arange(0,2*math.pi,0.1)\n",
+ "vut=0.5*np.sin(t)\n",
+ "subplot(211)\n",
+ "plt.plot(t,vut)\n",
+ "plt.ylabel('Vin')\n",
+ "plt.xlabel('t')\n",
+ "plt.title(r'$Input voltage$')\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "t1=math.pi\n",
+ "t2=2*math.pi\n",
+ "x=[0,t1,t2]\n",
+ "y=[-0.7,-0.7,5.1]\n",
+ "subplot(2,1,2)\n",
+ "plt.step(x,y)\n",
+ "plt.title('Output Waveform')\n",
+ "plt.xlabel('t')\n",
+ "plt.ylabel('Vo')\n",
+ "\n",
+ "#result\n",
+ "print \"#Since zener diode is forward biased\"\n",
+ "print \"Output voltage during positive half-cycle of the input is\",Vd1,\"V\"\n",
+ "print \"Output voltage during negative half-cycle of the input is\",Vd2,\"V\" \n",
+ "plt.show()"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "collapsed": true
+ },
+ "source": [
+ "## Example 8.3"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 28,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXs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FblxRJ54HutFr8AGNidghnUjO2bqqdyu7D0PY3kULsd6\n50NY/PjKcxcD38UGVzfi4oefhfnwR7CwszcGZe6PDeSCPZxOwwaSPw/ciuV2vht7KIAloTjX8/8X\nQohCshgz2HllJvZWIIQQog5zgf/JWogWOBPr+QshhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIcYP\n/x/a2OqnzxDEugAAAABJRU5ErkJggg==\n",
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x7f5522d5d710>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Output freq Fo is 2000 Hz\n",
+ "Output freq Fo/2 is 1000 Hz\n"
+ ]
+ }
+ ],
+ "source": [
+ "\n",
+ "#Example 8.3\n",
+ "#The V..F converter of figure 8-12 is initially adjusted for a 10 kHz full scale\n",
+ "#output frequency.Determine the output frequencies Fo and Fo/2 if the output\n",
+ "#signal Vin=2 V.\n",
+ "%matplotlib inline\n",
+ "import matplotlib.pyplot as plt\n",
+ "from matplotlib.pyplot import subplot\n",
+ "from __future__ import division #to perform decimal division\n",
+ "import math\n",
+ "import array\n",
+ "\n",
+ "\n",
+ "\n",
+ "#Variable declaration\n",
+ "Vin=2 # Input voltage\n",
+ "Fo1=2*10**3 # Output freq Fo when Vin=2V\n",
+ "Fo2=1*10**3 # Output freq Fo/2 when Vin=2V\n",
+ "\n",
+ "#calculation\n",
+ "import array\n",
+ "v=array.array('i',(0 for i in range(0,50)))\n",
+ "\n",
+ "\n",
+ "count=1\n",
+ "for i in range(1,50): #for 5 cycles\n",
+ " if count<4:\n",
+ " v[i]=5\n",
+ " else:\n",
+ " v[i]=0\n",
+ " if count<10:\n",
+ " count=count+1\n",
+ " else:\n",
+ " count=1\n",
+ "\n",
+ "\n",
+ "plt.subplot(211)\n",
+ "plt.plot(v)\n",
+ "plt.title('Output Waveform')\n",
+ "plt.xlabel('t(microsec)')\n",
+ "plt.ylabel('Pulse freq output,Fo(V)')\n",
+ "\n",
+ "import matplotlib.pyplot as plt\n",
+ "for i in range(1,50): #for 5 cycles\n",
+ " if count<10:\n",
+ " v[i]=5\n",
+ " else:\n",
+ " v[i]=0\n",
+ " if count<20:\n",
+ " count=count+1\n",
+ " else:\n",
+ " count=1\n",
+ "\n",
+ "plt.subplot(2,1,2)\n",
+ "plt.plot(v)\n",
+ "plt.title('Output Waveform')\n",
+ "plt.xlabel('t(microsec)')\n",
+ "plt.ylabel('Pulse freq output,Fo(V)')\n",
+ "plt.show()\n",
+ "\n",
+ "#result\n",
+ "print \"Output freq Fo is \",Fo1,\"Hz\"\n",
+ "print \"Output freq Fo/2 is\",Fo2,\"Hz\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "collapsed": true
+ },
+ "source": [
+ "## Example 8.4"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Output voltage is 0.28 Volts\n"
+ ]
+ }
+ ],
+ "source": [
+ "\n",
+ "#Example 8.4\n",
+ "#The F/V converterof figure 8-14(a) is initially adjusted for Vo=2.8V at Fin max\n",
+ "#of 10 kHz. Determine the output voltage Vo if fin= 1 kHz.\n",
+ "\n",
+ "#Variable decclaration\n",
+ "Vo=2.8 #At Finmax of 10kHz\n",
+ "\n",
+ "#Calculation\n",
+ "Vo1=Vo/10 #Output voltage at Fin=1kHz\n",
+ "\n",
+ "#Result\n",
+ "print \"Output voltage is\",Vo1,\"Volts\"\n"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "collapsed": true
+ },
+ "source": [
+ "## Example 8.5"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 27,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYUAAAEZCAYAAAB4h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ddaC2tSSLoOQKqtIVYDvRVrMYRdCVYWawH0AfKdRlN7FwI7sNp7lL5Z\n98S+iAwFbsK+YYddNjZS87+9+wPAnX6dPKxJYQvWgVmqJdZakMyUA0wAXgDecByL3/YB/w84x3Ug\ntdQDW4tsA/Ay0B94zmlE/vjcu98JvI6VnsNus3eb7z1/le8P54+lqE5ua0X0OpoT2MXlIdeB+Ogk\nbPQHQH1gJjDAXTi+60s0Rh81AI7zHh8LfAAMcheOr2YCpYv8FAB/dBdK5oja5LaXga3AIay/ZLTb\ncHzTCyu1LMFKE4ux4cRh1gmr5S7Bhjve7jYc3/UlGqOPWmN/R0uw4dBRuE6U+hespbAUeA0fRx+J\niIiIiIgwpU4EAAAAg0lEQVSIiIiIiIiIiIiIiIiIiIiISMZpBPzSdRAiIpIZWhG9mekiIlJD47Gl\ntRej5QdERGLvdNRSkJAK6yqpIpksSktPS8woKYiIyHeUFET89xVHlmwWCRUlBRH/fYGt3b8cdTSL\niIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIhI3P0PCYhjjL2RazwAAAAASUVORK5CYII=\n",
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x7f5522c75350>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "#Example 8.5\n",
+ "#In the circuit of figure 8-25(a), Vin=200 mV peak to peak sine wave at 100 Hz.\n",
+ "#Briefly describe the operation of the circuit and draw the output waveform.\n",
+ "%matplotlib inline\n",
+ "import matplotlib.pyplot as plt\n",
+ "from __future__ import division #to perform decimal division\n",
+ "import numpy as np\n",
+ "import math\n",
+ "import array\n",
+ "\n",
+ "\n",
+ "#Variable declaration\n",
+ "Vin=100*10**-3 # Input voltage\n",
+ "\n",
+ "\n",
+ "#calculation\n",
+ "\n",
+ "t=np.arange(0,math.pi,0.1) #time scale\n",
+ "v=Vin*np.sin(t)\n",
+ "\n",
+ "import matplotlib.pyplot as plt\n",
+ "plt.xlim(0,2*math.pi)\n",
+ "plt.ylim(0,0.1)\n",
+ "plt.plot(t,v)\n",
+ "plt.ylabel('Vin')\n",
+ "plt.xlabel('t')\n",
+ "plt.title(r'$Input voltage$')\n",
+ "\n",
+ "\n",
+ "#result\n",
+ "plt.show()"
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.6"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}