introduction demonstration dp
DESCRIPTION
Introduction demonstration DP. Using models for MT218 Mechatronics in MT. H.T. Grimmelius Assistant professor (lecturer) Marine Engineering Delft University of Technology. Lecture content. A little background Description of hard- and software Some theory Goal this afternoon. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/1.jpg)
1
Introduction demonstration DPUsing models for MT218 Mechatronics in MT
H.T. GrimmeliusAssistant professor (lecturer) Marine EngineeringDelft University of Technology
![Page 2: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/2.jpg)
2
Lecture content
• A little background• Description of hard- and software• Some theory• Goal this afternoon
![Page 3: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/3.jpg)
3
Mechatronics
• Mechatronica is de naadloze combinatie van verschillende complementaire technologieën, die op een integrale wijze met elkaar samenwerken
(Federatie Hydrauliek en Pneumatiek)
• Mechatronics is the combination of MECHAnical systems with elecTRONics and informatICS
![Page 4: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/4.jpg)
![Page 5: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/5.jpg)
5
Mechatronics
• Main components:• The actual system or process• Actuators to move or exert a force• Sensors to measure actual state• Controls to maintain required state or change
state
• Additionally required: data acquisition system
![Page 6: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/6.jpg)
Mechatronics
•Measurements•Network theory•Digital signal-processing
•Filtering
•Digital real-time control
•Mechanics•Dynamics•Hydro
•Sensors•Actuators
project
![Page 7: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/7.jpg)
7
Available hard- & software
• System: model ship• Actuators: propulsors and servo’s• Sensors: position (x-y), heading and shaft
speeds• Controls: Simulink based system for “weather
vaning”• Data acquisition through PC
![Page 8: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/8.jpg)
8
Available hard- & software
• “COTS” equipment:• Model: standard kit• Actuators: all motors, speed controls and
servo’s• Communication: PC with standard I/O board
• Not “COTS”:• Sensors: developed for this application• Controls: Simulink based programme with
GUI
Commercial Of The Shelf
![Page 9: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/9.jpg)
9
• Wished:• Several possibilities for Weather vaning DP• Affordable and maintainable
• Implementation:• Two azimuthing thrusters (4 degrees of freedom)• Bow thruster (1 degree of freedom)• COTS• Controlled with PW signal
Actuators
t [ms]
U [V
]
10 2012
max min
~0
~5
t [ms]
U [V
]
10 2012
max min
~0
~5
![Page 10: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/10.jpg)
10
Location sensor
• Wished:• Affordable location sensor• Clear & simple working principle• Suitable to be used in towing tank
• Implementation:• Telescopic rod with angular (SITW: Stiff Inverted Taut Wire)
![Page 11: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/11.jpg)
11
Speed sensor
• Wished:• Shaft speed feedback of both thrusters• Clear & simple working principle• Accurate also at low rpm
• Implementation• Optical pick-up• Disc with 15 holes• Signal conversion (pulse DC)
![Page 12: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/12.jpg)
12
Communications
• Wished:• Continuous• Possibility for high resolution• Everything from within Matlab/Simulink• Good support
• Implementation:• Real time I/O card MF614 by HumoSoft• Digital: 8 in/8 out; analogue 8 in/4 out + 4 PWM
![Page 13: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/13.jpg)
13
Control system
• DP control• Only X-Y position controlled, heading is free• Two decoupled PID controllers with anti-wind
up
• Other controllers• Shaft speed controllers• Very suitable for application of Ziegler &
Nichols
![Page 14: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/14.jpg)
14
• Simulink models generated automatically• Three working environments
• On-line for actual sailing (closed loop)• On-line for testing harware (open loop)• Off-line simulation environment
Control system
• Graphical user interface within Matlab
![Page 15: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/15.jpg)
15
Control system: on-line
Controller Power configuration
Positiontransformation
Position error
Required
forced
Actuator
settings
Position data
Real-timeoutput
PWMsignals
Real-timeinput
Measured
voltages
![Page 16: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/16.jpg)
16
Control system: on-line testing
• On-line testing gives the possibility to directly control the actuators and read the sensor signals
Actuator
settings
Position data
Real-timeoutput
PWMsignals
Real-timeinput
Measured
voltages
![Page 17: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/17.jpg)
17
Control system: off-line
• For off-line simulation all hardware should be available in software modulesController Power
configurationPosition
transformation
Position error
Required
forced
Actuator
settings
Position data
Simulatedactuators
Simulatedship
Simulatedsensors
ForcesPosition
![Page 18: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/18.jpg)
18
Possible configurations
One thruster, full control Combined
Two thrusters, fixed relative angle
Combined
First thruster forward, second thruster lateral
First Second
One thruster forward, bow thruster
thruster
Bow thruste
r
![Page 19: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/19.jpg)
19
Education
• Two deliverables• Test: does it work• Report: why did it work
• Student reaction‘Thought we could do full DP, but problems
were already big enough now ...’
![Page 20: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/20.jpg)
20
Research projects
• thruster interaction: angles• thruster interaction: rpm• thruster – hull interaction
![Page 21: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/21.jpg)
21
Demonstration & publicity
![Page 22: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/22.jpg)
22
Manoeuvring & wind modelling
• Manoeuvring modelling• Wind modelling
![Page 23: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/23.jpg)
23
Equations of motion
pqIIrINrpIIqIMqrIIpIK
qupwwmZpwruvmY
rvqwumX
yyxxzz
xxzzyy
zzyyxx
)()()(
)()()(
Body with 6 degrees of freedom
![Page 24: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/24.jpg)
24
Reducing degrees of freedomAssumptions• no waves• no change in total mass during manoeuvre• no change in distribution of mass during manoeuvre• rotation around y-axis does not influence motion in
x-y plane
rIMruvmYrvumX
zz
)()( only forces and moments
in the x-y plane influence manoeuvring behaviour
![Page 25: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/25.jpg)
25
Hull forces
• Forces depend on:• Speed of the ship through the water• Rate at which this velocity changes• Shape of the hull• Characteristic of the water
• No confinements present (deep water, open sea)
• No waves( , , , , , )HULLF f u v r u v r
![Page 26: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/26.jpg)
26
Hull forces
• From Taylor expansion to the third power:
• Which leads for X to:
2 212!
3 2 2 313!
( , ) ( , ) [ ( , ) ( , )][( ) ( , ) 2 ( , ) ( ) ( , )][( ) ( , ) 3( ) ( , ) 3( ) ( , ) ( ) ( , )] ...
x y
xx xy yy
xxx xxy yyx yyy
f x x y y f x y x f x y y f x y
x f x y x y f x y y f x y
x f x y x y f x y y x f x y y f x y
02 2 21
2!3 3 3 2 21
3!2
[ ][ ... 2 2 ... 2 ][ ... 3 3 ..3 6 6 ... 6
hull u v r u v r
uu vv rr uv ur vr
uuu vvv rrr uuv uur
rrv uvr uvu uvr
X X X u X v X r X u X v X rX u X v X r X uv X ur X vrX u X v X r X u v X u rX r v X uvr X uvu X
]uvr
![Page 27: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/27.jpg)
27
Hull forces
• Simplification by Inoue( ) ( )hull x y vrX m u m X vr X u
22 ( ' ' ' ' ' ' ' ' ' ' ' ' ')hull y x v r v v v r r rY m v m ur LTU Y v Y r Y v v Y v r Y r r
2 22 ( ' ' ' ' ' ' ' ' ' ' ' ' ' ' ')hull zz v r vvr vrr r rN J r LTU N v N r N v v r N v r r N r r
212
212
2 212
2 2
'
'
'
XXLTUYYLTUNNLTU
U u v
![Page 28: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/28.jpg)
28
Hull forces
• Coefficients estimated based on L, B, T and cB
2
3 2
' 4' 1.42' 0.435 1.7 (1 )
' 0.472 (1 )'' 0.54
' 25.34 4.66 0.44 0.098
' 0.44 0.065
' 34197
r
bb
br b
rr b
r
b b brr
brr
br
Y k
C BY kL
TY CB
TY CB
N kN k k
B C B C B CNL L L
C TNBB CN
L
4 3 2
18941 3909 353.8 11.9b b bB C B C B CL L L
gyrrk
L
![Page 29: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/29.jpg)
29
Hull forces
• Other parameters to be estimated• Hydrodynamic mass in x and y direction• Hydrodynamic mass moment of inertia I• Straight line resistance
![Page 30: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/30.jpg)
30
Hull forces
• For low Fr and large β:• No longer valid
because of Munk’smoment
![Page 31: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/31.jpg)
31
Wind forces
• Calculated with wind speed only (ship speed very low)
2
2
2
( ) 2( ) 2( ) 2
wind X wind lat wind
wind Y wind front wind
wind N wind lat wind
X C A U
Y C A U
N C A L U
![Page 32: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/32.jpg)
32
Source of constants
• Brix:• Semi emperical
![Page 33: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/33.jpg)
33
AD converter
time
ampl
itude
time
ampl
itude
![Page 34: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/34.jpg)
34
AD converter: resolution
• Number of values = 2bits
• 8 bits: 256 levels• 10 bits: 1024 levels• 12 bits: 4096 levels
• Error1 Full Scale2b
![Page 35: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/35.jpg)
35
Aliasing
time
amplitude
![Page 36: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/36.jpg)
36
Anti-aliasing
• Sample at at least twice the highest frequency• Filter out high frequency components before
sampling
• Highest frequency: closed loop gain > 3 dB• Use bode plot!
• Rule of thumb: 2 to 4 samples during rise time of step response
![Page 37: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/37.jpg)
37
High frequency aliasing
![Page 38: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/38.jpg)
38
DA converter
-
+
U 1
Uo = ?
R2
R1
R1U 2
![Page 39: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/39.jpg)
39
DA converter
01 01 01 01 01 01 01 01
B7 B6 B5 B4 B3 B2 B1 B0
Ub
-+
Rt
Uu1K 2K 4K 8K 16K 32K 64K 128K
![Page 40: Introduction demonstration DP](https://reader036.vdocuments.us/reader036/viewer/2022062310/56815cbc550346895dcabd2b/html5/thumbnails/40.jpg)
40
Goal of today
• Checkout system• Set controller variables• Check results