You are on page 1of 5

MATLAB SIMULATION

OF A CONNECTING ROD

-SHASHWAT TRIVEDI
00614803612
6M1

clc
d=input('enter the value of bore diameter in mm')
l=input('enter the value of length of connecting rod in mm ')
pmax=input('enter the value of maximum gas pressure in Mpa')
ls=input('enter the length of stroke in mm')
m=input('enter the value of mass of reciprocating partsin kg')
n=input('enter the value of engine speedin rpm')
sigmac=input('enter the value of sigmac in N/mm2')

% cross section of connecting rod


pc=pi*d*d*pmax/4
%assumption 1: the factor of safety against buckling load is 5
pcr=pc*5
den=(pcr*23763)^2 + (4*pcr*l*l*sigmac*261393);
x= (pcr*23763 + nthroot(den,2) )/(2*sigmac*261393);
t=nthroot(x,2)
% dimensions of cross section
b=4*t
h=5*t
webthickness=t
flangethickness=t
disp('the width b is kept constant throughout the length of the connecting
rod')
disp(' at middle section= ')
h
disp(' at small end= ')
h1=0.85*h
disp(' at big end= ')
h2=1.2*h
% small and big end bearings
% assumption2: l/d ratio for piston pin bearing is 1.8
% assumption3: l/d ratio for crank pin bearing is 1.1
% assumption4: allowable bearing pressure for piston pin bearing is 14Mpa
% assumption5: allowable bearing pressure for crank pin bearing is 8.5Mpa
disp('piston pin bearing')
dp2=pc/(1.8*14);
dp=nthroot(dp2,2)
lp=1.8*dp
disp('crank pin bearing')
dc2=pc/(1.1*8.5);
dc=nthroot(dc2,2)
lc=1.1*dc
% % nominal diameter for bolts for the cap
% assumption6:the permissible stress for bolt material is 100N/mm2
r=(ls/2)
n1=l/r
omega=2*pi*n/60
pimax=m*(omega^2)*r*(1+(1/n1))
dcc2=4*pimax/(2*pi*100);
dcc=nthroot(dcc2,2)
d1=dcc/0.8
% thickness of cap
% assumption7:the permissible tensile stress for cap material is 100N/mm2
bc=75

lc=75
lf=dc+6+d1+3
mb=pimax*lf/6
tc2=mb/(6.25*200);
tc=nthroot(tc2,2)
disp('whipping stress')
% assumption8 : mass density of the connecting rod is 7800kg/m3
ml=11*t*t*7800/(1000*1000)
mbmax=ml*(omega^2)*r*(.001*l)*(.001*l)/(9*1.732)
y=5*t/2
ixx=419*(t^4)/12
sigmab=mbmax*y/ixx

OUTPUT
enter the value of bore diameter in mm 125
d =125
enter the value of length of connecting rod in mm 300
l = 300
enter the value of maximum gas pressure in Mpa 3.5
pmax = 3.5000
enter the length of stroke in mm 125
ls = 125
enter the value of mass of reciprocating partsin kg 1.6
m=

1.6000

enter the value of engine speedin rpm 2200


n = 2200
enter the value of sigmac in N/mm2 330
sigmac = 330
pc = 4.2951e+04
pcr = 2.1476e+05
t = 7.9205

b = 31.6818
h =39.6023
webthickness =7.9205
flangethickness = 7.9205
the width b is kept constant throughout the length of the connecting rod
at middle section=
h = 39.6023
at small end
h1 = 33.6619
at big end
h2 = 47.5227

piston pin bearing


dp = 41.2847
lp = 74.3124

crank pin bearing


dc = 67.7771
lc = 74.5548
r =62.5000
n1 =4.8000
omega = 230.3835
pimax = 6.4134e+06
dcc = 202.0620

d1 = 252.5776
bc =
lc =

75
75

lf = 329.3547

mb =3.5205e+08
tc = 530.6962

whipping stress
ml =

5.3825

mbmax = 1.0309e+05
y = 19.8011
ixx = 1.3741e+05
sigmab = 14.8552

>>

You might also like