modelling and simulation of marine craft dynamics...desirable to derive equations of motion about co...
TRANSCRIPT
Modelling and Simulation of Marine Craft
DYNAMICSEdin OmerdicSenior Research FellowMobile & Marine Robotics Research CentreUniversity of Limerick
Mobile & Marine Robotics Research Centre
University of Limerick
Outline
DynamicsRigid-Body Equations of Motion
Equations of Motion about CG
Equations of Motion about CO
6 DoF Equations of Motion (ROV)Restoring Forces and Moments
Ocean Current Forces and Moments
Wave Forces and Moments
Propulsion SystemPropeller Thrust and Torque Modelling
Full thruster model
Simulation DiagramsNonlinear 6DoF ROV model (Euler Angles)
Nonlinear 6DoF ROV model (Quaternions)
Mobile & Marine Robotics Research Centre
University of Limerick
GNC Signal Flow
GNC Signal Flow
Weather routing
program
Trajectory
Generator
Motion Control
System
Control
Allocation
Fusion Marine Craft INS (GNSS + AHRS)
OA Sensors
(Radar, Cameras, etc.)
Observer
Weather
data
Waypoints
Guidance
System
Control
System
Obstacle
Avoidance
Module
Estimated
positions and
velocities Navigation
System
Waves, wind
and ocean
currents
Mobile & Marine Robotics Research Centre
University of Limerick
π
π CO CG
Τ¦ππ/π
Τ¦ππ
Τ¦ππ/π
DynamicsRigid-Body Equations of Motion
ππ°3Γ3 π3Γ3π3Γ3 π°π
αΆπ Ξ€π ππ
αΆπ Ξ€π ππ
+ππΊ π Ξ€π π
π π3Γ3
π3Γ3 βπΊ π°ππ Ξ€π ππ
π Ξ€π ππ
π Ξ€π ππ
=πππ
πππ
Equations of Motion about CG
Desirable to derive Equations of Motion about CO (to take advantage of geometric properties of craft)
Coordinate Transformation:
π Ξ€π ππ
π Ξ€π ππ
= π― πππ
π Ξ€π ππ
π Ξ€π ππ
π― πππ =
π°3Γ3 πΊπ» πππ
π3Γ3 π°3Γ3
π΄π π΅πΆπΊ
πͺπ π΅πΆπΊ
Mobile & Marine Robotics Research Centre
University of Limerick
DynamicsRigid-Body Equations of Motion
π΄π π΅πΆπΊπ― ππ
παΆπ Ξ€π ππ
αΆπ Ξ€π ππ + πͺπ π΅
πΆπΊπ― πππ
π Ξ€π ππ
π Ξ€π ππ =
πππ
πππ
Equations of Motion about CO
π―π» πππ π΄π π΅
πΆπΊπ― πππ
αΆπ Ξ€π ππ
αΆπ Ξ€π ππ +π―π» ππ
π πͺπ π΅πΆπΊπ― ππ
ππ Ξ€π ππ
π Ξ€π ππ = π―π» ππ
ππππ
πππ =
πππ
πππ
π΄π π΅πΆπ πͺπ π΅
πΆπ
π΄π π΅πΆπ =
ππ°3Γ3 βππΊ πππ
ππΊ πππ π°π
= π΄π π΅πΆππ > 0
Rigid-Body System Inertia Matrix Inertia Matrix (Parallel-Axes Theorem)
π°π = π°π βππΊπ πππ
π°π =
πΌπ₯ βπΌπ₯π¦ βπΌπ₯π§βπΌπ¦π₯ πΌπ₯ βπΌπ¦π§βπΌπ§π₯ βπΌπ§π¦ πΌπ₯
= π°ππ > 0Unique representation!
ππ π΅πΆπππ π΅
πΆπαΆππ π΅πΆπ
Mobile & Marine Robotics Research Centre
University of Limerick
DynamicsRigid-Body Equations of Motion
πͺπ π΅πΆπ π =
π3Γ3 βππΊ π Ξ€π ππ βππΊ πΊ π Ξ€π π
π πππ
βππΊ π Ξ€π ππ βππΊ πΊ π Ξ€π π
π πππ ππΊ πΊ π Ξ€π π
π πππ β πΊ π°ππ Ξ€π π
π = βπͺπ π΅πΆππ> 0
Rigid-Body Coriolis and Centripetal MatrixMultiple representations!
πͺπ π΅πΆπ π =
π3Γ3 βππΊ π Ξ€π ππ βππΊ π Ξ€π π
π πΊ πππ
βππΊ π Ξ€π ππ +ππΊ ππ
π πΊ π Ξ€π ππ βπΊ π°ππ Ξ€π π
π = βπͺπ π΅πΆππ> 0
πͺπ π΅πΆπ π =
ππΊ π Ξ€π ππ βππΊ π Ξ€π π
π πΊ πππ
ππΊ πππ πΊ π Ξ€π π
π βπΊ π°ππ Ξ€π ππ
Generalized vector of External forces and moments
ππ π΅πΆπ =
πππ
πππ
π―π» πππ π΄π π΅
πΆπΊπ― πππ
αΆπ Ξ€π ππ
αΆπ Ξ€π ππ +π―π» ππ
π πͺπ π΅πΆπΊπ― ππ
ππ Ξ€π ππ
π Ξ€π ππ = π―π» ππ
ππππ
πππ =
πππ
πππ
π΄π π΅πΆπ πͺπ π΅
πΆπππ π΅πΆπππ π΅
πΆπαΆππ π΅πΆπ
Mobile & Marine Robotics Research Centre
University of Limerick
DynamicsRigid-Body Equations of Motion
6 DoF Rigid-Body Simulation ModelAttitude representation: Euler Angles
r
q
p
w
v
u
b
nb
b
nb
/
/
w
vv
nb
n
nb
ΞΈ
pΞ·
/
Y
P
R
z
y
x
n
n
n
nb
n
nb
ΞΈ
pΞ· /
Gain Integrator
0
00 /
nb
n
nb
ΞΈ
pΞ·
0
00
/
/
b
nb
b
nb
w
vv
αΆπ Ξ€π ππ
αΆπ½ππ=
πΉππ π½ππ π3Γ3π3Γ3 π»π π½ππ
π Ξ€π ππ
π Ξ€π ππ
αΆπΌ = π±π£ πΌ π
b
nb
b
nb
/
/
w
vv
π΄π π΅ αΆπ + πͺπ π΅π = ππ π΅
αΆπ = π΄π π΅β1 ππ π΅ β πͺπ π΅π
Gain
πͺπ π΅KINEMATICS
DYNAMICS
+
β
ππ π΅π΄π π΅
β1
GainIntegrator
Mobile & Marine Robotics Research Centre
University of Limerick
DynamicsRigid-Body Equations of Motion
6 DoF Rigid-Body Simulation ModelAttitude representation: Quaternions
r
q
p
w
v
u
b
nb
b
nb
/
/
w
vv
Gain Integrator
0
00
/
/
b
nb
b
nb
w
vv
b
nb
b
nb
/
/
w
vv
π΄π π΅ αΆπ + πͺπ π΅π = ππ π΅
αΆπ = π΄π π΅β1 ππ π΅ β πͺπ π΅π
Gain
πͺπ π΅KINEMATICS
DYNAMICS
+
β
ππ π΅π΄π π΅
β1
GainIntegrator
q
pΞ·
n
nb /
3
2
1
0
/
q
q
q
q
z
y
x
n
n
n
n
nb
q
pΞ·
αΆπ Ξ€π ππ
αΆπ=
πΉππ π π3Γ3π4Γ3 π»π π
π Ξ€π ππ
π Ξ€π ππ
αΆπΌ = π±π πΌ π
0
00 /
q
pΞ·
n
nb
Mobile & Marine Robotics Research Centre
University of Limerick
Dynamics6 DoF Equations of Motion (ROV)
6 DoF Equations of Motion including Ocean Currents (ROV)
π΄π π΅ αΆπ + πͺπ π΅ π π + π πΌ +π΄π΄ αΆππ + πͺπ΄ ππ ππ + π« ππ ππ = ππ€ππ£π + ππππππ’ππ πππ
rigid-body and hydrostatic terms hydrodynamic terms
Restoring Forces and Moments π = ππ π΅ = πππ»
π πΌ = βπππ + ππ
π
πππ Γ ππ
π + πππ Γ ππ
π πππ =
00π
πππ = β
00π΅
πππ
πππ
πΆπ΅
Buoyancy force
Weight force
πΆπΊ
π§π
Euler Angles Quaternions
πππ = πΉπ
π π½ππβ1ππ
π
πππ = πΉπ
π π½ππβ1ππ
π
πππ = πΉπ
π π β1πππ
πππ = πΉπ
π π β1πππ
Mobile & Marine Robotics Research Centre
University of Limerick
Dynamics6 DoF Equations of Motion (ROV)
6 DoF Equations of Motion including Ocean Currents (ROV)
π΄π π΅ αΆπ + πͺπ π΅ π π + π πΌ +π΄π΄ αΆππ + πͺπ΄ ππ ππ + π« ππ ππ = ππ€ππ£π + ππππππ’ππ πππ
rigid-body and hydrostatic terms hydrodynamic terms
Ocean Current Velocity Vector(Irrotational Fluid)
n
cnb
n
b
n
cnb
b
n
b
c
b
c vΞΈRvΞΈRv0
vv
13
c
1,
Relative Velocity Vector
ππ = π β ππ =π Ξ€π ππ
π Ξ€π ππ β
πππ
π3Γ1=
π Ξ€π ππ β ππ
π
π Ξ€π ππ
Assumption: αΆππ β π
π΄π π΅ +π΄π΄ αΆπ + πͺπ π΅ ππ + πͺπ΄ ππ ππ +π« ππ ππ + π πΌ = ππ€ππ£π + ππππππ’ππ πππ
π΄ πͺ ππ
Mobile & Marine Robotics Research Centre
University of Limerick
Dynamics6 DoF Equations of Motion (ROV)
6 DoF Equations of Motion including Ocean Currents (ROV)
Hydrodynamic System Inertia (Added-Mass) Matrix
Hydrodynamic Coriolis-Centripetal (Added-Mass) Matrix
π΄π π΅ +π΄π΄ αΆπ + πͺπ π΅ ππ + πͺπ΄ ππ ππ +π« ππ ππ + π πΌ = ππ€ππ£π + ππππππ’ππ πππ
π΄ πͺ ππ
π΄π΄ = π΄π΄π β₯ π
r
q
p
w
v
u
N
M
K
Z
Y
X
00000
00000
00000
00000
00000
00000
AM
π΄π΄ =π΄11 π΄12
π΄21 π΄22πͺπ΄ ππ =
π3Γ3 βπΊ π΄11π1π +π΄12π2πβπΊ π΄11π1π +π΄12π2π βπΊ π΄21π1π +π΄22π2π
πͺπ΄ ππ = βπͺπ΄π ππ
Hydrodynamic Damping Matrix
rrrr
rqqq
rppp
rwww
rvvv
ruuu
rNN
qMM
pKK
wZZ
vYY
uXX
00000
00000
00000
00000
00000
00000
rvD
Mobile & Marine Robotics Research Centre
University of Limerick
Dynamics6 DoF Equations of Motion (ROV)
Wave Spectra
6 DoF Equations of Motion including Ocean Currents (ROV)
π΄π π΅ +π΄π΄ αΆπ + πͺπ π΅ ππ + πͺπ΄ ππ ππ +π« ππ ππ + π πΌ = ππ€ππ£π + ππππππ’ππ πππ
π΄ πͺ ππ
Mobile & Marine Robotics Research Centre
University of Limerick
Dynamics6 DoF Equations of Motion (ROV)
Modelling of Ocean Waves
Reference:T. Perez. Ship Motion Control Course Keeping and Roll Stabilisation using Rudders and Fins. Springer, 2005.
Mobile & Marine Robotics Research Centre
University of Limerick
Dynamics6 DoF Equations of Motion (ROV)
Modelling of Ocean Waves
Mobile & Marine Robotics Research Centre
University of Limerick
Dynamics6 DoF Equations of Motion (ROV)
Waves in short-crested seas
Wave spectrum (mean direction 45Β°)
Elevation of the surface (200 components)
Potential (z = 0m) Pressure (z = 0m)
Waves in long-crested seas
Wave spectrum (direction 45Β°)
Elevation of the surface (20 components)
Potential (z = 0m) Pressure (z = 0m)
Reference:O. Smogeli. Marine Systems Simulator (MSS), Norwegian University of Science and Technology, Trondheim, 2006.
N
E
Mobile & Marine Robotics Research Centre
University of Limerick
KinematicsTransformations BODY-NEDQuaternions
Wave
Spectrum
1st order
Force RAO
Sea
State
π π
π»π , ππ§
Wave
Amplitude
2nd order
Force RAO
1st order Wave
Induced Force
π΄π
2nd order Wave
Drift Force
ππ€ππ£π1
ππ€ππ£π2
Force RAO: Wave Amplitude β Wave-Induced Force
Mobile & Marine Robotics Research Centre
University of Limerick
DynamicsPropulsion System
Propulsion System
6 DoF Equations of Motion including Ocean Currents (ROV)
π΄π π΅ +π΄π΄ αΆπ + πͺπ π΅ ππ + πͺπ΄ ππ ππ +π« ππ ππ + π πΌ = ππ€ππ£π + ππππππ’ππ πππ
π΄ πͺ ππ
Mobile & Marine Robotics Research Centre
University of Limerick
Thruster Modelling
Propeller Thrust:
Propeller Torque:
Propeller Efficiency:
Advance Ratio:
β
Bilinear Thruster Model:Linear approximation:
β
Affine Thruster Model:
Reference:Fossen, T.I. and Sagatun, S.I. Adaptive Control of Nonlinear Underwater Robotic Systems. Proceedings of the IEEE International Conference on Robotics and Automation, Sacramento, CA, 1991, pp. 1687-1694.
DynamicsPropulsion System
Mobile & Marine Robotics Research Centre
University of Limerick
Bilinear Thruster Model
DynamicsPropulsion System
Mobile & Marine Robotics Research Centre
University of Limerick
Affine Thruster Model
DynamicsPropulsion System
Mobile & Marine Robotics Research Centre
University of Limerick
Affine Thruster Model
DynamicsPropulsion System
Mobile & Marine Robotics Research Centre
University of Limerick
Affine Thruster Model
DynamicsPropulsion System
Mobile & Marine Robotics Research Centre
University of Limerick
DynamicsPropulsion System
Full Thruster Model
Mobile & Marine Robotics Research Centre
University of Limerick
DynamicsSimulation Diagrams
Nonlinear 6DoF ROV model (Euler Angles)
αΆπ = π΄π π΅ +π΄π΄β1 ππ€ππ£π + ππππππ’ππ πππ β πͺπ π΅ ππ + πͺπ΄ ππ ππ β π« ππ ππ β π πΌ
v Ξ· Ξ·
Gain Integrator
0Ξ· 0v
v
Gain
KINEMATICSDYNAMICS
+πππππ
GainIntegrator
n
cnb
n
b
n
cnb
b
n
b
c
b
c vΞΈRvΞΈRv0
vv
13
c
1
v
+
β
π΄π π΅ +π΄π΄β1
ππ€ππ£π
Gaincr vvv
πͺπ π΅ + πͺπ΄
β
π«
ββ
π
b
nb
b
nb
/
/
w
vv
nb
n
nb
ΞΈ
pΞ· /
+
Mobile & Marine Robotics Research Centre
University of Limerick
DynamicsSimulation Diagrams
Nonlinear 6DoF ROV model (Quaternions)
αΆπ = π΄π π΅ +π΄π΄β1 ππ€ππ£π + ππππππ’ππ πππ β πͺπ π΅ ππ + πͺπ΄ ππ ππ β π« ππ ππ β π πΌ
v Ξ· Ξ·
Gain Integrator
0Ξ· 0v
v
Gain
KINEMATICSDYNAMICS
+πππππ
GainIntegrator
n
c
n
b
n
c
b
n
b
c
b
c vqRvqRv0
vv
13
c
1
v
+
β
π΄π π΅ +π΄π΄β1
ππ€ππ£π
Gaincr vvv
πͺπ π΅ + πͺπ΄
β
π«
ββ
π
b
nb
b
nb
/
/
w
vv
q
pΞ·
n
nb /
+