summaryrefslogtreecommitdiff
path: root/Solid_State_Pulse_Circuits/Chapter_8.ipynb
blob: e354b8eeae8ac942ca9855fb3795d99826791424 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
{
 "metadata": {
  "name": "",
  "signature": "sha256:d81e43eab651aa6fd30f500bbb1e0bd8705caa6c96a13be542013eec088004c3"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter 8 - IC Timer Circuits"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example E1 - Pg 239"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Caption:Design a 555 monostable circuit\n",
      "t=1.#Pulse width(in ms)\n",
      "Vcc=15.#Supply voltage(in volts)\n",
      "Ith=0.25#Threshold current(in micro Ampere)\n",
      "Ic=100.*Ith\n",
      "R=Vcc*1000./(3.*Ic)\n",
      "C=t*10.**6./(1.*R)\n",
      "print '%s %.f %s %.f' %('Components required for designing 555 monostable circuit are \\nR(in kilo ohm)=',R,'\\nC(in pF)=',C)"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Components required for designing 555 monostable circuit are \n",
        "R(in kilo ohm)= 200 \n",
        "C(in pF)= 5000\n"
       ]
      }
     ],
     "prompt_number": 2
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example E2 - Pg 243"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#/Caption:Design a 555 astable multivibrator\n",
      "p=2.#Pulse repetition frequency(in Khz)\n",
      "d=0.66#Duty cycle\n",
      "Ic=1.#Minimum collector voltage selected(in mA)\n",
      "Vcc=18.#Supply voltage(in volts)\n",
      "t=1000./p\n",
      "t1=d*t\n",
      "t2=t-t1\n",
      "R=Vcc/(3*Ic)\n",
      "C=t1*0.001/(0.693*R)\n",
      "Rb=t2*0.001/(0.693*C)\n",
      "Ra=R-Rb\n",
      "print '%s %.1f %s %.2f %s %.2f' %('Components required to design the circuit are resistors \\nRa(in kilo ohm)=',3.3,'\\nRb(in kilo ohm)=',Rb,'\\nCapacitance(in micro farad)=',C)"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Components required to design the circuit are resistors \n",
        "Ra(in kilo ohm)= 3.3 \n",
        "Rb(in kilo ohm)= 3.09 \n",
        "Capacitance(in micro farad)= 0.08\n"
       ]
      }
     ],
     "prompt_number": 3
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example E3 - Pg 244"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Caption:Determine actual PRF and duty cycle\n",
      "C=0.082#Capacitance(in micro farad)\n",
      "Ra=3.3#Resistance(in kilo ohm)\n",
      "Rb=2.7#Resistance(in kilo ohm)\n",
      "t1=0.693*C*(Ra+Rb)*1000.\n",
      "t2=0.693*C*Rb*1000.\n",
      "T=t1+t2\n",
      "P=1000./T\n",
      "d=t1*100./T\n",
      "print '%s %.f %s %.2f' %('Duty cycle(in %)=',d,'\\nPRF(in Khz)=',P)"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Duty cycle(in %)= 69 \n",
        "PRF(in Khz)= 2.02\n"
       ]
      }
     ],
     "prompt_number": 4
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example E4 - Pg 254"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Caption:Design a square wave generator using 7555 CMOS\n",
      "V=5.#Supply voltage(in volts)\n",
      "f1=1.#Frequency(in khz)\n",
      "f2=3.#Frequency(in khz)\n",
      "C=0.01#Capacitance(in micro farad)\n",
      "Ra=47.#Choosed resistor(in kilo ohm)\n",
      "t1=1./(0.979*f1)\n",
      "t2=1./(2.*f2)\n",
      "R=t1/(0.693*C)\n",
      "Rb=R-Ra\n",
      "print '%s %.f %s %.f %s %.2f' %('Components required to design the circuit are \\nRa(in kilo ohm)=',Ra,'\\nRb(in kilo ohm)=',Rb,'\\nCapacitance(in micro farad)=',C)"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Components required to design the circuit are \n",
        "Ra(in kilo ohm)= 47 \n",
        "Rb(in kilo ohm)= 100 \n",
        "Capacitance(in micro farad)= 0.01\n"
       ]
      }
     ],
     "prompt_number": 5
    }
   ],
   "metadata": {}
  }
 ]
}