summaryrefslogtreecommitdiff
path: root/The_Theory_of_Machines_by_T_Bevan/11-Gear_Trains.ipynb
blob: 5ab343e78e1b0066070c761f06b6ec1bc288656e (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
{
"cells": [
 {
		   "cell_type": "markdown",
	   "metadata": {},
	   "source": [
       "# Chapter 11: Gear Trains"
	   ]
	},
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 11.10: Find_the_ratio.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"\n",
"clc\n",
"//given\n",
"s1=26\n",
"s2=24\n",
"s3=23\n",
"sr=31\n",
"i1=70\n",
"i2=72\n",
"i3=61\n",
"ir=71\n",
"t=1500//lb in \n",
"k1=-i3/s3//Ns3-Ni2/(Ni3-Ni2)=k\n",
"//S3 is fixed thus \n",
"k2=1-(1/k1)//k2=Ni3/Ni2\n",
"k3=-i2/s2//k3=Ns2-Ni3/(Ni2-Ni3)\n",
"k4=(1/k2-1)*k3+1//k4=Ns2/Ni3  ; reducing using k2 and k3\n",
"k5=-i1/s1//Ns1-Nf/(Ni1-Nf)\n",
"k6=(1-k5)/(1-k5/k4)//k6=Ns1/Nf\n",
"printf('\n Ns1/Nf = %.2f',k6)"
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 11.1: find_gear_train.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"\n",
"clc\n",
"//given\n",
"Ns=26//rpm of spindle\n",
"N1=4//rpm of lead screw\n",
"//the only wheel in the set of which 13 is a factor is that with 65 teeth\n",
"T1=65\n",
"T2=25//to satisfy the Ns/n1 ratio and to select from given set\n",
"T3=75//to satisfy the Ns/n1 ratio and to select from given set\n",
"T4=T1*T3*N1/(Ns*T2)\n",
"//solution b\n",
"Ns1=35\n",
"N1=4\n",
"Tb1=105//to satisfy the Ns/n1 ratio and to select from given set\n",
"Tb2=30//to satisfy the Ns/n1 ratio and to select from given set\n",
"Tb3=100//to satisfy the Ns/n1 ratio and to select from given set\n",
"Tb4=Tb1*Tb3*N1/(Ns1*Tb2)\n",
"printf('\na) The change wheel used will have %.f, %.f, %.f and %.f teeths\nb) The change wheel used will have %.f, %.f, %.f and %.f teeths',T1,T2,T3,T4,Tb1,Tb2,Tb3,Tb4)"
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 11.2: Overall_ratio.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"\n",
"clc\n",
"//given\n",
"v=15//ft/min\n",
"d=2//ft\n",
"N=450//rpm\n",
"N1=d*v/(2*%pi)//rpm of barrel\n",
"s=N/N1//total reduction speed required\n",
"//With a minimum number of teeth = 20\n",
"T=20\n",
"T1=T*(s)^(1/3)\n",
"R=(T1/T)^3\n",
"printf('\nIf the minimum number of teeth is fixed at 20, the might be as follow ( %.f / 20 )^3 = %.1f\nThis is sufficiently close to the required ratio\n',T1,R)"
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 11.3: Find_number_of_teeth.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"\n",
"clc\n",
"//given\n",
"d=7//in; central distance\n",
"k1=2*7*7//T1+t1/(2*7)=7\n",
"k2=2*7*5//T2+t2/(2*5)=7\n",
"G=9/1\n",
"t1=(-(k1+k2)+((k1+k2)^2+4*(G-1)*(k1*k2))^(1/2))/(2*(G-1))\n",
"a=ceil(t1)\n",
"b=floor(t1)\n",
"T1=k1-a\n",
"T2=k2-a\n",
"T3=k2-b\n",
"G1=T1*T2/(a*a)\n",
"G2=T1*T3/(a*b)\n",
"dp=a/d\n",
"//case b)\n",
"tb1=23//let t1 = 23\n",
"Tb1=k1-tb1\n",
"Gb1=Tb1/tb1\n",
"Gb2=G/Gb1\n",
"tb2=k2/(Gb2+1)\n",
"p=ceil(tb2)\n",
"Tb2=k2-p\n",
"l=Tb1-1\n",
"m=tb1+1\n",
"n=Tb2+1\n",
"o=p-1\n",
"Gb2=l*n/(m*o)\n",
"printf('\na) No of teeth = %.f, %.f, %.f, %.f\nG = %.2f\n\nb) No of teeth = %.f, %.f, %.f, %.f\nG = %.2f\n\n',T1,T2,a,b,G2,l,m,n,o,Gb2)"
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 11.5: Find_ratio.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"\n",
"clc\n",
"//given\n",
"Tb=27\n",
"Tc=30\n",
"Td=24\n",
"Te=21\n",
"k=Te*Tb/(Tc*Td)//k=Nd/Ne\n",
"//by applying componendo and dividendo, using Ne=0 and reducing we get\n",
"a=(1-k)//where a = Nd/Na\n",
"b=1/a\n",
"printf('\nThe ratio of the speed of driving shaft to the speed of driven shaft\n\nNa/Nd = %.2f',b)"
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 11.6: speed_of_driven_shaft.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"\n",
"clc\n",
"//given\n",
"Tb=75\n",
"Tc=18\n",
"Td=17\n",
"Te=71\n",
"N1=500//rpm\n",
"k=Tb*Td/(Tc*Te)//k=Ne/Nb\n",
"//case a)\n",
"//using componendo and dividendo , Nb=0 and reducing we get\n",
"a=1-k//a=Ne/Na\n",
"Na=N1\n",
"Ne=Na*a\n",
"//case b)\n",
"Na1=500//given\n",
"Nb1=100//given\n",
"Ne1=k*(Nb1-Na1)+Na1\n",
"printf('\ncase a) Ne= %.3f rpm\ncase b) Ne= %.1f rpm\n',Ne,Ne1)"
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 11.8: Diameter_of_bicycle_wheel.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"\n",
"clc\n",
"//given\n",
"Td=23\n",
"Ta=19\n",
"Tb=20\n",
"Tc=22\n",
"k=Td*Ta/(Tb*Tc)\n",
"//using componendo and dividendo, Nc=0 and reducing we get\n",
"a=1/k-1//a=Nd/Ne\n",
"b=1/a//- denotes opposite direction\n",
"d=5280*12/(%pi*5*b)\n",
"p=ceil(d)\n",
"printf('\nThe diameter must be = %.1f in\nThe numbers of teeths are therefore suitable for a cyclometer for bicycle with %.f inches wheels',d,p)\n",
""
   ]
   }
],
"metadata": {
		  "kernelspec": {
		   "display_name": "Scilab",
		   "language": "scilab",
		   "name": "scilab"
		  },
		  "language_info": {
		   "file_extension": ".sce",
		   "help_links": [
			{
			 "text": "MetaKernel Magics",
			 "url": "https://github.com/calysto/metakernel/blob/master/metakernel/magics/README.md"
			}
		   ],
		   "mimetype": "text/x-octave",
		   "name": "scilab",
		   "version": "0.7.1"
		  }
		 },
		 "nbformat": 4,
		 "nbformat_minor": 0
}