Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Experiment no.

:12
Aim:
To do computer programming on the kinematic analysis of slider crank mechanism
using Analytical method.
MATLAB Program:

clear;
clc;
disp('Sanjivani College of Engineering, Kopargaon');
disp('Department of Mechanical Engineering');
disp('Subject: Kinematics of Machines');
disp('Kinematic Analysis of Slider Crank Mechanism');
disp('--------------Student Details--------------------');
disp('Name of the Student : Sujit Santosh Sonawane');
disp('Class : SY');
disp('Roll No : 53 ');
disp('Batch : S3');
disp('--------------Input Section--------------------');
r=input("Enter Crank Radius in m : ");
n=input("Enter obliquity ratio : ");
w=input("Enter Angular Velocity of Crank in rad/sec : ");
theta = 0:5:360;
for i=1:1:length(theta)

displacement(i) = r*(1-cosd(theta(i))+((sind(theta(i))^2)/(2*n)));
velocity(i) = w*r*(sind(theta(i)) + sind(2*theta(i))/(2*n));
acceleration(i) = (w^2)*r*(cosd(theta(i))+(cosd(2*theta(i))/(2*n)));
end
subplot(311)
plot(theta,displacement)
ylabel('Piston Displacement (m)');
grid("on");
axis("tight");
subplot(312)
plot(theta,velocity);
ylabel('Piston Velocity (m/s)');
grid("on");
axis("tight");
subplot(313)
plot(theta,acceleration);
ylabel('Piston Accelertaion (m/s^2)');
xlabel('Crank Rotation (deg)');
grid("on");
axis("tight");

Question:
An IC engine mechanism crank is 20 cm long and connecting rod 80 cm long crank
rotates clockwise at 10 rad/sec at perpendicular instant it is incline to IDC at 40 degree using
analytical method determine the velocity of piston and angular acceleration of connecting rod
and acceleration of piston.
Given,
Radius of crank is(r) 20 cm
Connecting rod length (L) 80 cm
Obliquity ratio (n) is 4
Theta is 40 degrees
Output of Program:
Conclusion:
From this experiment we have done MATLAB programming for the slider crank
mechanism from this program we get the Velocity, Acceleration and Angular acceleration

You might also like