summaryrefslogtreecommitdiff
path: root/Fundamentals_of_Electrical_Machines/CH_6.ipynb
blob: 84ed6f6b55a8965cf0534ccf2fdc757e206619bc (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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
{
 "metadata": {
  "name": ""
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "CHAPTER 6: CONTROL AND STARTING OF A DC MOTOR"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 6.1, Page number 212"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Variable declaration\n",
      "V_t = 220.0      #Supply voltage(V)\n",
      "I_a1 = 10.0      #Armature current(A)\n",
      "N_1 = 900.0      #Speed(rpm)\n",
      "R_a = 1.0        #Armature resistance(ohm)\n",
      "N_2 = 500.0      #Reduced speed(rpm)\n",
      "\n",
      "#Calculation\n",
      "E_b1 = V_t-I_a1*R_a           #Initial back emf(V)\n",
      "R = E_b1/I_a1*(1-(N_2/N_1))   #Value of additional resistance(ohm)\n",
      "\n",
      "#Result\n",
      "print('Value of additional resistance , R = %.1f ohm' %R)"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Value of additional resistance , R = 9.3 ohm\n"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 6.2, Page number 212-213"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Variable declaration\n",
      "V_t = 230.0    #Supply voltage(V)\n",
      "I_a1 = 15.0    #Armature current(A)\n",
      "N_1 = 650.0    #Speed(rpm)\n",
      "R_a = 0.4      #Armature resistance(ohm)\n",
      "R = 1.0        #Variable resistance in series with the armature(ohm)\n",
      "\n",
      "#Calculation \n",
      "E_b1 = V_t-I_a1*R_a          #Initial back emf(V)\n",
      "#At full load torque\n",
      "E_b2 = V_t-I_a1*(R+R_a)      #Final back emf(V)\n",
      "N_2 = N_1*(E_b2/E_b1)        #Speed at full load torque(rpm)\n",
      "\n",
      "#At half load torque\n",
      "I_a2hl = I_a1/2              #Armature current(A)\n",
      "E_b2hl = V_t-I_a2hl*(R+R_a)  #Back emf(V)\n",
      "N_2hl = N_1*(E_b2hl/E_b1)    #Speed at half load torque(rpm)\n",
      "\n",
      "#Result\n",
      "print('Speed at full load torque , N_2 = %.1f rpm' %N_2)\n",
      "print('Speed at half load torque , N_2 = %.1f rpm' %N_2hl)"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Speed at full load torque , N_2 = 606.5 rpm\n",
        "Speed at half load torque , N_2 = 636.9 rpm\n"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 6.3, Page number 215-216"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Variable declaration\n",
      "V_t = 230.0          #Supply voltage(V)\n",
      "R_af = 0.2           #Total resistance of armature & field(ohm)\n",
      "I_a1 = 10.0          #Armature current for certain load(A)\n",
      "N = 1000.0           #Motor speed for certain load(rpm)\n",
      "R_1 = 0              #Variable resistance for certain load(ohm)\n",
      "I_a2 = 8.0           #Armature current for other load(A)\n",
      "R_2 = 2.0            #Variable resistance for other load(ohm)\n",
      "phi_1 = 1.0          #Assuming flux in certain load(Wb)\n",
      "phi_2 = 0.8*phi_1    #Flux in other load(Wb)\n",
      "\n",
      "#Calculation\n",
      "#For certain load\n",
      "R_a1 = R_af+R_1                     #New armature resistance(ohm)\n",
      "E_b1 = V_t-I_a1*R_a1                #Back emf(V)\n",
      "#For other load\n",
      "R_a2 = R_af+R_2                     #New armature resistance(ohm)\n",
      "E_b2 = V_t-I_a2*R_a2                #Back emf(V)\n",
      "N_2 = (E_b2/E_b1)*(phi_1/phi_2)*N   #New speed(rpm) \n",
      "\n",
      "#Result\n",
      "print('New speed , N_2 = %.1f rpm' %N_2)"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "New speed , N_2 = 1164.5 rpm\n"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 6.4, Page number 216-218"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Variable declaration\n",
      "N = 1100.0           #Speed of dc series motor(rpm)\n",
      "P = 4.0              #Number of poles\n",
      "path = 4.0           #Number of parallel paths\n",
      "I_a1 = 15.0          #Supply current to dc series motor(A)\n",
      "V_t = 220.0          #Supply voltage(V)\n",
      "R_a = 0.9            #Series armature resistance(ohm)\n",
      "R_se = 0.6           #Series field resistance(ohm)\n",
      "I_a2 = 25            #Supply current to dc series motor(A)\n",
      "phi_1 = 1.0          #Assuming flux for 15 A case(Wb)\n",
      "phi_2 = 0.8*phi_1    #Flux in 25 A case(Wb)\n",
      "\n",
      "#Calculation\n",
      "#First case\n",
      "R_se1 = R_se                         #Total series field resistance(ohm)\n",
      "E_b1 = V_t-I_a1*(R_a+R_se1)          #Back emf(V)\n",
      "#Second case\n",
      "R_se2 = R_se1/path                   #Total series field resistance(ohm)\n",
      "E_b2 = V_t-I_a2*(R_a+R_se2)          #Back emf(V)\n",
      "N_2 = (E_b2/E_b1)*(phi_1/phi_2)*N    #New speed(rpm) \n",
      "\n",
      "#Result\n",
      "print('Speed for second case , N_2 = %.1f rpm = %.f rpm' %(N_2,N_2))"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Speed for second case , N_2 = 1348.9 rpm = 1349 rpm\n"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 6.5, Page number 233-234"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Variable declaration\n",
      "V_t = 230.0         #Shunt motor supply voltage(V)\n",
      "R_a = 0.4           #Armature resistance(ohm)\n",
      "I_a = 30.0          #Armature current(A)\n",
      "n = 3.0             #Number of steps\n",
      "\n",
      "#Calculation\n",
      "R_1 = V_t/I_a              #Maximum resistance(ohm)\n",
      "k = (R_1/R_a)**(1.0/3)     #Constant\n",
      "R_2 = R_1/k                #Resistance(ohm)\n",
      "R_3 = R_2/k                #Resistance(ohm)\n",
      "R_4 = R_3/k                #Resistance(ohm)\n",
      "R_1step = R_1-R_2          #Resistance of the first step(ohm)\n",
      "R_2step = R_2-R_3          #Resistance of the second step(ohm)\n",
      "R_3step = R_3-R_4          #Resistance of the third step(ohm)\n",
      "\n",
      "#Result\n",
      "print('Resistance of the first step , R_1step = %.1f ohm' %R_1step)\n",
      "print('Resistance of the second step , R_2step = %.1f ohm' %R_2step)\n",
      "print('Resistance of the third step , R_3step = %.2f ohm' %R_3step)"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Resistance of the first step , R_1step = 4.8 ohm\n",
        "Resistance of the second step , R_2step = 1.8 ohm\n",
        "Resistance of the third step , R_3step = 0.67 ohm\n"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 6.6, Page number 234-236"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Variable declaration\n",
      "V_t = 220.0      #Shunt motor supply voltage(V)\n",
      "P_0 = 3550.0     #Output power(W) \n",
      "n = 0.85         #Efficiency\n",
      "\n",
      "#Calculation\n",
      "P_in = P_0/n             #Input power(W)\n",
      "P_tloss = P_in-P_0       #Total loss(W)\n",
      "I_a = P_in/V_t           #Armature current(A)\n",
      "P_cu = P_tloss/2         #Copper loss(W)\n",
      "R_a = P_cu/I_a**2        #Armature resistance(ohm)\n",
      "I_1 = 2*I_a              #Maximum starting current(A)\n",
      "R_1 = V_t/I_1            #Maximum resistance(ohm)\n",
      "k = (R_1/R_a)**(1.0/4)   #Constant\n",
      "R_2 = R_1/k              #Resistance(ohm)\n",
      "R_3 = R_2/k              #Resistance(ohm)\n",
      "R_4 = R_3/k              #Resistance(ohm)\n",
      "R_5 = R_4/k              #Resistance(ohm)\n",
      "R_1step = R_1-R_2        #Resistance of the first step(ohm)\n",
      "R_2step = R_2-R_3        #Resistance of the second step(ohm)\n",
      "R_3step = R_3-R_4        #Resistance of the third step(ohm)\n",
      "R_4step = R_4-R_5        #Resistance of the fourth step(ohm)\n",
      "\n",
      "#Result\n",
      "print('Resistance of the first step , R_1step = %.1f ohm' %R_1step)\n",
      "print('Resistance of the second step , R_2step = %.2f ohm' %R_2step)\n",
      "print('Resistance of the third step , R_3step = %.2f ohm' %R_3step)\n",
      "print('Resistance of the fourth step , R_4step = %.2f ohm' %R_4step)"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Resistance of the first step , R_1step = 2.2 ohm\n",
        "Resistance of the second step , R_2step = 1.36 ohm\n",
        "Resistance of the third step , R_3step = 0.85 ohm\n",
        "Resistance of the fourth step , R_4step = 0.53 ohm\n"
       ]
      }
     ],
     "prompt_number": 1
    }
   ],
   "metadata": {}
  }
 ]
}