





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






A = revolute R B = spherical S C = universal U D = revolute R
Position solution - given, find
x 0 y bS z a bC x d cC y cS z 0 B B B C C C
(^22)
B C
2
B C
2
B C
x x y y z z e
(^2 )
d cC bScS abC e
2 2 2 2 2 2 2 2 2 2 2
d 2 cdCcCbS 2 bcSScS a 2 abCbCe
2 cdC 2 bcSSe a b c d 2 abC
2 2 2 2 2
f 2 cd g 2 bcS he a b c d 2 abC
2 2 2 2 2
fC gSh
2 2
2
2
1 u
2 u
1 u
1 u
1 u
2 u
u tan
2 2
2 2
2
h f fu 2 gu h hu
1 u
2 u
g
1 u
1 u
f (^)
h f u 2 gu h f 0
2
tan
h f
g f g h
u
2 2 2
a = OA = ground (20.43 cm)
b = AB = input crank (4.00 cm)
in y-z plane
c = CD = follower (10.00 cm)
in x-y plane
d = OD = ground (19.97 cm)
e = BC = coupler (30.42 cm)
= crank angle in y-z plane
= follower angle in x-y plane
z
y
x
a
b
c
d
e
Velocity solution -
given ,find
d /dt 2 cdC 2 bcSSe a b c d 2 abC
2 2 2 2 2
2 cd S 2 bcCS 2 bcSC 2 abS
cdS bcS C abS bcC S
A cdSbcSC BabSbcCS
Acceleration solution -
given ,find
d/dt cdS bcS C abS bcC S
abS bcC S ab C bc S S bc C C
cdS bcS C cd C bc C C bc S S
abS bcC S abC bcS S 2 bc C C
cdS bcS C bcS S cdC
2
2
C abCbcSS DbcSScdC EbcCC
2 2
B C D 2 E /A
2 2
Jerk solution -
given ,find
d /dtA B C D 2 E
2 2
2 2
A cdS bcS C A cd C bc C C bc S S E D
B abS bcC S B ab C bc S S bc C C C E
C abC bcS S C ab S bc C S bc S C B F
D bcS S cdC D bc C S bc S C cd S G A
E bcC C E bc S C bc C S F G
F bcS C F bc C C bc SS E H
G bcC S G bc S S bc C C H E
H bcSS
A bc C S 2 E 2 E 2 bc S C bc C S
A E D B C E 2 C B bc S C 2 D
2
2
A bc C S 2 E 2 E 2 bc S C C S
A E D B C E 2 C B bc SC 2 D
3 2
3 2
A B 3 C 3 DA 3 E 3 bc SCCS
3 3
3 3
B 3 C 3 D A 3 E 3 F G /A
3 3
0 50 100 150 200 250 300 350
RSUR - crank speed 60 rpm CCW
Theta [deg]
Phi [deg]
0 50 100 150 200 250 300 350 400
0
1
2
3
RSUR - crank speed 60 rpm CCW
Theta [deg]
Phi velocity [rad/s]
Geometric
Finite difference
0 50 100 150 200 250 300 350 400
0
5
10
15
20
RSUR - crank speed 60 rpm CCW
Theta [deg]
Phi acceleration [rad/s/s]
Geometric
Finite difference
0 50 100 150 200 250 300 350 400
0
50
100
150
RSUR - crank speed 60 rpm CCW
Theta [deg]
Phi jerk [rad/s/s/s]
Geometric
Finite difference
% rsur_geometric.m - geometric solution for RSUR mechanism
% HJSIII, 12.01.
clear
% constants
d2r = pi / 180;
% mechanism dimensions - units = [cm]
a = 20.43;
b = 4.00;
c = 10.00;
d = 19.97;
e = 30.42;
% constant 60 rpm CCW = 1 rev/sec = 2 pi rad/sec
w2 = 60 * 2*pi /60; % rad/sec
th_start = 0;
% time for one revolution
tend = 1 / (w2/2/pi);
% 180 steps
dt = tend / 90;
% allocate space to save results
keep = [];
% time loop
for t = 0 : dt : tend;
% constant speed rotation
th = th_start + w2*t;
thd = w2;
thdd = 0;
thddd = 0;
thdddd = 0;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% geometric solution
% position
f = 2cd;
g = 2bc*sin(th);
h = ee - aa - bb - cc - dd + 2abcos(th);
u1 = (-g - sqrt( ff + gg - h*h )) / (h+f);
u2 = (-g + sqrt( ff + gg - h*h )) / (h+f);
phi = 2*atan(u1);
phi2 = 2*atan(u2); % alternate assembly configuration
% general terms
A = cdsin(phi) +bcsin(th)*cos(phi);
B = absin(th) -bccos(th)*sin(phi);
C = abcos(th) +bcsin(th)*sin(phi);
D = -cdcos(phi) +bcsin(th)*sin(phi);
E = bccos(th)*cos(phi);
F = bcsin(th)*cos(phi);
G = bccos(th)*sin(phi);
H = bcsin(th)*sin(phi);
% velocity
phid = B * thd /A;
% acceleration
phidd = ( Bthdd +Cthdthd +Dphidphid -2Ethdphid ) /A;
% jerk
phiddd = ( B(thddd-thdthdthd) +3Cthdthdd +3Dphid*phidd ...
+Aphidphidphid -3E(thddphid+thd*phidd) ...
+3thdphid(Fthd+G*phid) ) /A;
% snap
phidddd = ( B(thdddd-6thdthdthdd) +C(4thdddthd+3thddthdd-thdthdthdthd) ...
+D(4phidddphid +3phiddphidd -phidphidphidphid) +6Aphidphidphidd ...
-2E(2thdddphid +3thddphidd -2thdthdthdphid ...
+thdphidphidphid +2thd*phiddd) ...
+6F(2thdthddphid +thdthd*phidd) ...
+6G(thddphidphid +2thdphidphidd) -6Hthdthdphidphid ) /A;
% save results
keep = [ keep ; th thd thdd thddd thdddd phi phid phidd phiddd phidddd ];
end
% values for plotting
th = keep(:,1);
th_deg = th /d2r;
thd = keep(:,2);
thdd = keep(:,3);
thddd = keep(:,4);
thdddd = keep(:,5);
phi = keep(:,6);
phi_deg = phi /d2r;
phid = keep(:,7);
phidd = keep(:,8);
phiddd = keep(:,9);
phidddd = keep(:,10);
% simple finite difference approximations
phid_fd = diff( [ NaN ; phi ] ) /dt;
phidd_fd = diff( [ NaN ; phid ] ) /dt;
phiddd_fd = diff( [ NaN ; phidd ] ) /dt;
phidddd_fd = diff( [ NaN ; phiddd ] ) /dt;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% plot position solution
figure( 1 )
clf
plot( th_deg,phi_deg,'r' )
title( 'RSUR - crank speed 60 rpm CCW' )
xlabel( 'Theta [deg]' )
ylabel( 'Phi [deg]' )
axis( [ 0 360 -120 -60 ] )
% plot velocity solution
figure( 2 )
clf
plot( th_deg,phid,'r', th_deg,phid_fd,'g' )
title( 'RSUR - crank speed 60 rpm CCW' )
xlabel( 'Theta [deg]' )
ylabel( 'Phi velocity [rad/s]' )
% axis( [ 0 360 -3 3 ] )
legend( 'Geometric', 'Finite difference' )
% plot acceleration solution
figure( 3 )
clf
plot( th_deg,phidd,'r', th_deg,phidd_fd,'g' )
title( 'RSUR - crank speed 60 rpm CCW' )
xlabel( 'Theta [deg]' )
ylabel( 'Phi acceleration [rad/s/s]' )
% axis( [ 0 360 -20 20 ] )
legend( 'Geometric', 'Finite difference' )
% plot jerk solution
figure( 4 )
clf
plot( th_deg,phiddd,'r', th_deg,phiddd_fd,'g' )
title( 'RSUR - crank speed 60 rpm CCW' )
xlabel( 'Theta [deg]' )
ylabel( 'Phi jerk [rad/s/s/s]' )
% axis( [ 0 360 -150 150 ] )
legend( 'Geometric', 'Finite difference' )
% plot snap solution
figure( 5 )
clf
plot( th_deg,phidddd,'r', th_deg,phidddd_fd,'g' )
title( 'RSUR - crank speed 60 rpm CCW' )
xlabel( 'Theta [deg]' )
ylabel( 'Phi snap [rad/s/s/s/s]' )
% axis( [ 0 360 -150 150 ] )
legend( 'Geometric', 'Finite difference' )