Professional Documents
Culture Documents
Project P2
Project P2
Project P2
Section 51
Submitted to
Total 10
O2
C1
O1
O3
B1
A1
E D
Figure 1
2. Joint coordinates.
Joint notation Joint coordinates (mm)
A1 2.934,6.977
B1 2.827,37.637
O1 65.871,66.288
O2 44.720,93.590
O3 94.336,45.758
C1 47.168,71.567
D 6.059,0.960
E 0.059,0.937
F 5.650,104.959
G -0.381,112.936
Distance notation Distance (mm)
L1 (O1→ O2) 34.536
L2 (B1→O2) 69.898
L3 (A1→B1) 30.660
L4 (A1→O1) 86.480
L5 (C1→O2) 22.158
L6 (O3→ O2) 68.918
L7 (O3→C1) [Actuator] Min= 53.767 , Max= 84.767
3. Sketch includes all mechanism vectors (joints and door corner points).
Figure 2
B. Loop equations
1. Write the vector loop equation(s).
R5
R1
R2 R6
R7
R4
R3
Figure 3
Loop 1:
𝑅5 − 𝑅6 + 𝑅7 = 0
𝐿5 𝑒 𝑗𝜃5 − 𝐿6 𝑒 𝑗𝜃6 + 𝐿7 𝑒 𝑗𝜃7 = 0
Loop 2:
𝑅3 + 𝑅2 − 𝑅1 − 𝑅4 = 0
𝐿3 𝑒 𝑗𝜃3 + 𝐿2 𝑒 𝑗𝜃2 − 𝐿1 𝑒 𝑗𝜃1 − 𝐿4 𝑒 𝑗𝜃4 = 0
2. Specify the known and unknown variables.
• Loop 1:
- Known variables:
L5 (C1→O2) 22.158 mm
L6 (O3→ O2) 68.918 mm
L7 (O3→C1) [Actuator] Min= 53.767 mm , Max= 84.767 mm
𝜃6 136.05°
- Unknowns variables are: 𝜃5 and 𝜃7
• Loop 2:
- Known variables:
Figure 4
δ is constant: 𝛿 = 44.45°
Since 𝜃2 = 90 − 𝛼 and 𝛼 = 𝛿 − 𝜃5 + 90
Therefore,
𝜃2 = 𝜃5 − 𝛿 = 𝜃5 − 44.45
Substituting known variables in the vector loop equations:
- Loop 1:
𝐿5 𝑒 𝑗𝜃5 − 𝐿6 𝑒 𝑗𝜃6 + 𝐿7 𝑒 𝑗𝜃7 = 0
Let
𝐿5 𝑒 𝑗𝜃5 + 𝐿7 𝑒 𝑗𝜃7 = 𝐿5 𝑆 + 𝐿7 𝑇
And because L5, L7, L6 and 𝜃6 are known
𝐿6 𝑒 𝑗𝜃6 = 𝑍
Therefore
𝐿7 𝑇 = 𝑍 − 𝐿5 𝑆 …(1)
Equation 1 conjugate is
𝐿7 𝑇̅ = 𝑍̅ − 𝐿5 𝑆̅ …(2)
Multiplying equation 1 and 2 by each other
𝐿7 2 = 𝑍𝑍̅ − 𝑍𝐿5 𝑆̅ − 𝑍̅𝐿5 𝑆 + 𝐿5 2
Multiplying the equation by S
𝑍̅𝐿5 𝑆 2 + (𝐿7 2 − 𝐿5 2 − 𝑍𝑍̅)𝑆 + 𝑍𝐿5 = 0
The roots of S are
2
(−𝐿7 2 + 𝐿5 2 + 𝑍𝑍̅) ± √(𝐿7 2 − 𝐿5 2 − 𝑍𝑍̅) − 4𝐿5 2
𝑆=
2𝑍̅𝐿5
The root will have a real and imaginary number, so
𝑖𝑚𝑎𝑔𝑖𝑛𝑎𝑟𝑦
𝜃5 = tan−1 ( )
𝑟𝑒𝑎𝑙
Not to forget
𝑍 − 𝐿5 𝑆
𝑇=
𝐿7
Therefore
𝑖𝑚𝑎𝑔𝑖𝑛𝑎𝑟𝑦
𝜃7 = tan−1 ( )
𝑟𝑒𝑎𝑙
- Loop 2:
𝐿3 𝑒 𝑗𝜃3 + 𝐿2 𝑒 𝑗(𝜃5−44.45) − 𝐿1 𝑒 𝑗𝜃1 − 𝐿4 𝑒 𝑗𝜃4 = 0
Let
𝐿3 𝑒 𝑗𝜃3 − 𝐿4 𝑒 𝑗𝜃4 = 𝐿3 𝐴 − 𝐿4 𝐵
And because L1, L2, L3, L4 and 𝜃1 and 𝜃2 = 𝜃5 − 44.45 are known
𝐿2 𝑒 𝑗(𝜃5−44.45) − 𝐿1 𝑒 𝑗𝜃1 = 𝐶
Therefore
𝐿3 𝐴 = 𝐶 + 𝐿4 𝐵 …(3)
Equation 3 conjugate is
𝐿3 𝐴̅ = 𝐶̅ + 𝐿4 𝐵̅ …(4)
Multiplying equation 3 and 4 by each other
𝐿3 2 = 𝐶𝐶̅ + 𝐶𝐿4 𝐵̅ + 𝐶̅ 𝐿4 𝐵 + 𝐿4 2
Multiplying the equation by B
𝐶̅ 𝐿4 𝐵 2 + (𝐿4 2 + 𝐶𝐶̅ − 𝐿3 2 )𝐵 + 𝐶𝐿4 = 0
The roots of B are
2
(𝐿3 2 − 𝐿4 2 − 𝐶𝐶̅ ) ± √(𝐿4 2 + 𝐶𝐶̅ − 𝐿3 2 ) − 4𝐿4 2
𝐵=
2𝐶̅ 𝐿4
The root will have a real and imaginary number, so
𝑖𝑚𝑎𝑔𝑖𝑛𝑎𝑟𝑦
𝜃4 = tan−1 ( )
𝑟𝑒𝑎𝑙
Not to forget
𝐶 + 𝐿4 𝐵
𝐴=
𝐿3
𝑖𝑚𝑎𝑔𝑖𝑛𝑎𝑟𝑦
𝜃3 = tan−1 ( )
𝑟𝑒𝑎𝑙
The other angles through time can be seen by the MATLAB code solution.
C. Results
1. Door trace and corner paths.
D. Appendix
%=========================================================================
% MECH 417 Course project. Section 51, Fall 2021
% bus luggage door linkage part 2
% by Fatima Alnuaimi-201803103
% Date 4/11/2021
%=========================================================================
for j=1:length(t)
L7(j)=L7_0+V7*t(j);
L_A1_E= 6.69;
Th_A1_E = 64;
L_A1_F = 98;
Th_A1_F = 88.41;
L_A1_G = 106.01;
Th_A1_G = 88.21;
%bus body
Body_x=[ 0 150 150 6 0 0 170 170 0 ];
Body_y=[ 0 0 100 100 112 200 200 -8 -8];
Body=polyshape(Body_x, Body_y);
plot(Body);
hold on
% Corner paths
plot(R_D)
plot(R_E)
plot(R_F)
plot(R_G)
hold off
% Door trace
patch([real(R_D_new); real(R_E_new); real(R_F_new);
real(R_G_new)],[imag(R_D_new); imag(R_E_new); imag(R_F_new);
imag(R_G_new)],"w");
axis ([-40 185 -15 240]);