Professional Documents
Culture Documents
Progres PPT Pres14455
Progres PPT Pres14455
Introduction
Problem statement
Objective
Literature survey
Methodology
Conclusion
Introduction
Gyroscope is a device used for measuring or maintaining
orientation() and angular velocity().
terrain may be skidding, there may be obstacles, and over weight of battery .
General objective
To design and develop combination of MPU6050 Gyro sensor and mechanical gyroscope-
based balance for humanoid robot waist.
Specific objective.
To optimize design parameter of gyroscopic disc (radius and thickness of disc) and 3D MODEL by
using ANSYS.
To design LQR(linear quadratic regulator ) controller and use Arduino Uno board for control system
to cope with increasing demands of a dynamic and competitive market, companies have to
make better performance of humanoid robots with static and dynamic stability.
In order to maintain balance stability for patients with neurological disorders and ageing, is
worn via a backpack and it is manually operated.
Use three gyroscopes disc with 2.5 kg each and a 100 mm radius.
produced the device that weigh 10kg and produced 90Nm output torque.
by using the material that have high density and high strength for the flywheel and
Gimbals τ
τ1 τ
If
Flywheel
-ωg
ωf
The base was built with plywood because it is inexpensive and good at absorbing shocks.
Mild steel was also used to construct the gimbals frame and flywheel.
The bicycle they created can balance itself at a 20-degree tilt, and the flywheel will be
balanced at a speed of 2250 rpm
Parts of upper Symbol Link length of Parts of lower Symbol Link length of Mass of link in
limbs upper limbs limbs lower limbs (m) kg in each
(m)
Torso L3 0.326 Feet sole right L0 and L7 0.19 0.35
and lift
Neck L7 0.179 Shank right L1 and L5 0.4 0.5
and lift
Upper arm L8 and L10 0.313 Thigh right L2 and L4 0.4 0.5
left and right and left
Total 3+4+2+6+3+6+2+4=30
w/o=0.3*503 Mpa=150.9Mpa
w/o=0.18*572Mpa=102.96Mpa
Mt d 16 𝑀 𝑡 π
[ 𝜏 𝑚𝑎𝑥 ] = J ∗ 2 = J3= ∗ d4 chose 102.96Mpa, Shaft with keyway
𝜋𝑑 32
Mt d 16 𝑀 𝑡
[ 𝜏 𝑚𝑎𝑥 ] = π 4
∗
2
=
𝜋 𝑑
3 .
∗d
32 𝓁 =20 ∗ 𝑑=20 ∗ ( 0.0187534 𝑚 )=𝟎 . 𝟑𝟕𝟓𝟎𝟔𝟖 𝒎
d=
√
16 M t
3
𝜏 𝑚𝑎𝑥 π
𝐝 =𝟎.𝟎𝟏𝟖𝟕𝟓𝟑𝟒 𝐦
Wednesday, April 10, 2024
𝑚=𝜌𝑣=𝜌 𝐴𝓁
BY Endalk.A
𝑚=𝟎.𝟐𝟗𝟏𝟏𝟏𝟔𝟏𝟐 𝒌𝒈
18
Literature review
Design of gyroscopic disc
T=100Nm from TORO
.
,
,
1 1
𝐼= ∗ 𝑀 𝑑𝑖𝑠𝑐 ∗ ( 𝑅 𝑑𝑖𝑠𝑐 +𝑟 𝑑𝑖𝑠𝑐 ) , 𝐼= 𝜌𝜋 𝑡 ¿
2 2
2 2 0.8*=
1
𝐼 = 𝜌𝜋 𝑡 ( 𝑅 𝑑𝑖𝑠𝑐 +𝑟 𝑑𝑖𝑠𝑐 ) , 𝑟 𝑑𝑖𝑠𝑐 =9.4 𝑚𝑚=0.0094 𝑚
4 4
2
1
𝐼= 𝜌𝜋 𝑡 ( 𝑅 𝑑𝑖𝑠𝑐 +(0.0094𝑚) )=𝟎.𝟎𝟗𝟖𝟒𝟕𝟗𝑘𝑔.𝑚
4 4 2
2
Wednesday, April 10, 2024 BY Endalk.A 19
Literature review
cont.…
Minimize
Subject to;
{ }[ ]{ } [ ]{ } { }
𝑥2 cos ϕ cos 900 sin ϕ 𝑥1 cos ϕ 0 sin ϕ 𝑥1 𝑥1
𝑦 2 = cos 900 cos 00 cos 90 0 𝑦1 = 0 1 0 𝑦1 =𝑅 2 × 𝑦1
𝑧2 − sin ϕ cos 90
0
cos ϕ 𝑧1 −sin ϕ 0 cos ϕ 𝑧1 𝑧1
{ }{ }[ ]{ } [ ]{ } { }
𝑥3 𝑥𝑏 cos 0 0 cos 900 cos 90 0 𝑥2 1 0 0 𝑥2 𝑥2
0
𝑦 3 = 𝑦 𝑏 = cos 90 cos 𝜃 − sin 𝜃 𝑦2 = 0 cos 𝜃 − sin 𝜃 𝑦2 = 𝑅 3 𝑦 2
𝑧3 𝑧𝑏 cos 90
0
sin θ cos 𝜃 𝑧2 0 sin 𝜃 cos 𝜃 𝑧2 𝑧2
{ }[ ][ ][ ]{ } {}
𝑥𝑏 1 0 0 cos ϕ 0 sin ϕ cos ψ − sin ψ 0 𝑥𝑙 𝑥𝑙
𝑦𝑏 = 0 cos 𝜃 − sin 𝜃 0 1 0 sin ψ cos ψ 0 𝑦 𝑙 = 𝑅 3 × 𝑅 2× 𝑅 1 𝑦 𝑙
𝑧𝑏 0 sin 𝜃 cos 𝜃 − sin ϕ 0 cos ϕ 0 0 1 𝑧𝑙 𝑧𝑙
[ ]
𝑐𝑜𝑠 𝜙 𝑐𝑜𝑠𝜓 −𝑐𝑜𝑠 𝜙 𝑠𝑖𝑛𝜓 𝑠𝑖𝑛 𝜙
𝑇 𝑙𝑏 = 𝑠𝑖𝑛 𝜃 𝑠𝑖𝑛 𝜙 𝑐𝑜𝑠 𝜓 +𝑐𝑜𝑠 𝜃 𝑠𝑖𝑛𝜓 𝑠𝑖𝑛𝜃 𝑠𝑖𝑛 𝜙 𝑠𝑖𝑛𝜓 +𝑐𝑜𝑠 𝜃 𝑐𝑜𝑠𝜓 − 𝑠𝑖𝑛 𝜃 𝑐𝑜𝑠 𝜙
− 𝑐𝑜𝑠 𝜃 𝑐𝑜𝑠 𝜓 𝑠𝑖𝑛𝜙 +𝑠𝑖𝑛𝜃 𝑠𝑖𝑛𝜓 𝑐𝑜𝑠 𝜃 𝑠𝑖𝑛𝜓 𝑠𝑖𝑛 𝜙+𝑠𝑖𝑛 𝜃 𝑐𝑜𝑠𝜓 𝑐𝑜𝑠 𝜃 𝑐𝑜𝑠 𝜙
Wednesday, April 10, 2024 BY Endalk.A 26
Literature review
Mathematical Model
{ }{ } {}
𝑥𝑙 𝑥𝑏
{ }
𝑥𝑏 𝑥𝑙
body axis 𝑦 𝑏 = 𝑅 3 × 𝑅 2× 𝑅 1 𝑦 𝑙
𝑦 𝑙 =𝑅 1 × 𝑅 2 × 𝑅 3 𝑦 𝑏
inertial axis 𝑧𝑏 𝑧𝑙 𝑧𝑙 𝑧𝑏
Euler angles (ψ, , θ)
[ ]
cos 𝜙 cos 𝜓 − sin 𝜓 cos 𝜃+ cos 𝜓 sin 𝜙 sin 𝜃 sin 𝜃 sin 𝜓 + cos 𝜓 sin 𝜙 cos 𝜃
¿ sin 𝜓 cos 𝜙 cos 𝜓 cos 𝜃 +sin 𝜃 sin 𝜓 sin 𝜙 −sin 𝜃 cos 𝜓 +cos 𝜃 sin 𝜓 sin 𝜙
−sin 𝜙 cos 𝜙 sin 𝜃 cos 𝜃 cos 𝜙
R
{ }[ ][ ][ ]{ }
𝜔𝑥𝑏 1 0 0 cos ϕ 0 −sin ϕ cos ψ sin ψ 0 𝜃˙
𝜔 𝑦𝑏 = 0 cos 𝜃 sin 𝜃 0 1 0 − sin ψ cos ψ 0 ϕ̇
𝜔 𝑧𝑏 0 − sin 𝜃 cos 𝜃 sin ϕ 0 cos ϕ 0 0 1 ψ̇
{ }[ ]{ }
𝜔𝑥𝑏 𝑐𝑜𝑠 𝜙 𝑐𝑜𝑠𝜓 𝑐𝑜𝑠 𝜙 𝑠𝑖𝑛𝜓 − 𝑠𝑖𝑛 𝜙 𝜃˙
𝜔 𝑦𝑏 = 𝑠𝑖𝑛𝜃 𝑠𝑖𝑛 𝜙 𝑐𝑜𝑠 𝜓 −𝑐𝑜𝑠 𝜃 𝑠𝑖𝑛𝜓 𝑠𝑖𝑛 𝜃 𝑠𝑖𝑛𝜙 𝑠𝑖𝑛𝜓 +𝑐𝑜𝑠 𝜃 𝑐𝑜𝑠 𝜓 𝑠𝑖𝑛𝜃 𝑐𝑜𝑠 𝜙 ϕ̇
𝜔 𝑧𝑏 𝑐𝑜𝑠 𝜃 𝑐𝑜𝑠 𝜓 𝑠𝑖𝑛 𝜙 +𝑠𝑖𝑛 𝜃 𝑠𝑖𝑛𝜓 𝑐𝑜𝑠 𝜃 𝑠𝑖𝑛𝜓 𝑠𝑖𝑛 𝜙 − 𝑠𝑖𝑛 𝜃 𝑐𝑜𝑠𝜓 𝑐𝑜𝑠 𝜃 𝑐𝑜𝑠 𝜙 ψ̇
{ }[ ][ ][ ]{ }
body axis ψ̇ 𝑥 1 0 0 cos ϕ 0 −sin ϕ cos ψ sin ψ 0 0
ψ̇ 𝑦 = 0 cos 𝜃 sin 𝜃 0 1 0 −sin ψ cos ψ 0 0
inertial axis 0 −sin 𝜃 cos 𝜃 sin ϕ 0 cos ϕ 0 0 1 ψ̇
ψ̇ 𝑧
Euler angles (ψ, , θ)
{ }[ ]
ψ̇ 𝑥 − ψ̇ 𝑠𝑖𝑛 𝜙
ψ̇ 𝑦 = ψ̇ 𝑠𝑖𝑛 𝜃 𝑐𝑜𝑠 𝜙
ψ̇ 𝑧 ψ̇ 𝑐𝑜𝑠 𝜃 𝑐𝑜𝑠 𝜙
=
{ }[ ]{ } { }
θ̇ 𝑥 1 0 0 ˙
𝜃 ˙
𝜃
θ̇ 𝑦 = 0 cos 𝜃 sin 𝜃 0 = 0
θ̇ 𝑧 0 − sin 𝜃 cos 𝜃 0 0
{ }[][ ][ ][ ]
𝜔𝑥𝑏 ˙
𝜃 0 − ψ̇ 𝑠𝑖𝑛 𝜙 𝜃˙ − ψ̇ 𝑠𝑖𝑛 𝜙
𝜔 𝑦𝑏 = 0 + ϕ̇ cos 𝜃 + ψ̇ 𝑠𝑖𝑛 𝜃 𝑐𝑜𝑠 𝜙 = ϕ̇ cos 𝜃 + ψ̇ 𝑠𝑖𝑛 𝜃 𝑐𝑜𝑠 𝜙
𝜔 𝑧𝑏 0 − ϕ̇ sin 𝜃 ψ̇ 𝑐𝑜𝑠 𝜃 𝑐𝑜𝑠 𝜙 − ϕ̇ sin 𝜃 + ψ̇ 𝑐𝑜𝑠 𝜃 𝑐𝑜𝑠 𝜙
{ }[ ][ ][ ]{ }
body axis ψ̇ 𝑥 1 0 0 cos ϕ 0 −sin ϕ cos ψ sin ψ 0 0
inertial axis ψ̇ 𝑦 = 0 cos 𝜃 sin 𝜃 0 1 0 −sin ψ cos ψ 0 0
ψ̇ 𝑧 0 −sin 𝜃 cos 𝜃 sin ϕ 0 cos ϕ 0 0 1 ψ̇
Euler angles (ψ, , θ)
{ }[ ]
ψ̇ 𝑥 − ψ̇ 𝑠𝑖𝑛 𝜙
ψ̇ 𝑦 = ψ̇ 𝑠𝑖𝑛 𝜃 𝑐𝑜𝑠 𝜙
ψ̇ 𝑧 ψ̇ 𝑐𝑜𝑠 𝜃 𝑐𝑜𝑠 𝜙
=
{ }[ ]{ } { }
θ̇ 𝑥 1 0 0 ˙
𝜃 𝜃˙
θ̇ 𝑦 = 0 cos 𝜃 sin 𝜃 0 = 0
θ̇ 𝑧 0 − sin 𝜃 cos 𝜃 0 0
{ }[][ ][ ][ ]
𝜔𝑥𝑏 ˙
𝜃 0 − ψ̇ 𝑠𝑖𝑛 𝜙 𝜃˙ − ψ̇ 𝑠𝑖𝑛 𝜙
𝜔 𝑦𝑏 = 0 + ϕ̇ cos 𝜃 + ψ̇ 𝑠𝑖𝑛 𝜃 𝑐𝑜𝑠 𝜙 = ϕ̇ cos 𝜃 + ψ̇ 𝑠𝑖𝑛 𝜃 𝑐𝑜𝑠 𝜙
𝜔 𝑧𝑏 0 − ϕ̇ sin 𝜃 ψ̇ 𝑐𝑜𝑠 𝜃 𝑐𝑜𝑠 𝜙 − ϕ̇ sin 𝜃 + ψ̇ 𝑐𝑜𝑠 𝜃 𝑐𝑜𝑠 𝜙
{ }[ {}[ ][ ]]{ { }}
body axis
inertial axis 𝜔𝑥𝑏 𝜃˙ − ψ̇ 𝑠𝑖𝑛 𝜙 1 0 −sin 𝜙 𝜃˙
Euler angles (ψ, , θ) 𝜔 𝑦𝑏 = ϕ̇ cos 𝜃+ψ̇ 𝑠𝑖𝑛 𝜃 𝑐𝑜𝑠𝜙 = 0 cos 𝜃 cos 𝜙sin 𝜃 𝜙˙
𝜔 𝑧𝑏 − ϕ̇sin˙ 𝜃+ ψ̇1𝑐𝑜𝑠sin
𝜃 cos (𝜃
( θ ) tan ( ϕ0) −sin
𝜃 𝑐𝑜𝑠𝜙 cos(𝜃ϕcos
θ ) tan ) 𝜔 𝜙 ψ̇
𝑥𝑏
𝜙˙ = 0 cos ( ϕ ) − sin ( ϕ ) 𝜔 𝑦𝑏
ψ̇ 0 sin ( θ ) sec ( ϕ ) cos ( θ ) sec ( ϕ ) 𝜔 𝑧𝑏
Control input
{ }[ ]{ } [ ]
T applied torque ˙
0 1 0 0 0 0
𝑋1 − 𝐵𝑥 −𝐼 𝑋1 1
Speed of disc along spinning disc 0 0 0
{ }
˙2
𝑋 𝐼1 𝐼1 𝑋2 𝐼1 𝑢1
= +
Output ˙ 3
𝑋 0 0 1 𝑋3 0 0 𝑢2
0
, ˙ 4
𝑋 0
𝐼
0
− 𝐵𝑦 𝑋4 0
1
𝐼2 𝐼2 𝐼2
]{ }
𝑋1
{ } [
𝑌1
𝑌2
= 1
0
0
0
0
1
0
0
𝑋2
𝑋3
𝑋4
B = [0 0;
117 0;
0 57.25;
0 0];
% Check controllability
[ ]
Ct = ctrb(A, B); 0 1 0 0
rankCt = rank(Ct); 0 − 1.8532 0 − 11.528
𝐴=
n = size(A, 1); % Number of states 0 0 0 1
0 0.4893 0 − 1.074
if rankCt == n
[ ]
disp('The system is controllable.'); 0 0
else 117 0
disp('The system is not controllable.'); 𝐵=
0 0
End 0 57.25
rankCt = 4
n=4 D=0
The system is controllable
Wednesday, April 10, 2024 BY Endalk.A 32
Literature review
Cont.…
% OBSEVABLITY OF THE SYSTEM Observability:
A = [0 1 0 0;
0 -1.8532 0 -11.528;
0 0 0.4893 0;
0 0 1 -1.074];
[ ]
C = [1 0 0 0; 0 1 0 0
0 0 1 0]; 0 − 1.8532 0 − 11.528
𝐴=
% Check observability
0 0 0 1
Ot = obsv(A, C); 0 0.4893 0 − 1.074
[ ]
rankOt = rank(Ot);
det(Ot); 0 0
n = size(A, 1); % Number of states 117 0
𝐵=
if rankOt == n 0 0
disp('The system is observable.'); 0 57.25
else
disp('The system is not observable.');
end D=0
rankOt = 4
n= 4
Result
'The system is observable
eigenvalues = eig(A);
software
Software
Arduino ide
PROTEUS
ANSYS 2023 R2
MATHLAB 2023b
Cont.…
For step response