420 likes | 561 Views
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.
E N D
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
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
Mechanica Electronica Informatica MECHATRONICA
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
Mechanica Elektronica Informatica Mechatronics • Sensors • Actuators • Measurements • Network theory • Digital signal-processing • Filtering • Mechanics • Dynamics • Hydro project • Digital real-time control
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
Commercial Of The Shelf 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
Actuators • 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
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)
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)
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
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
Control system • 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 • Graphical user interface within Matlab
Position data Position error Required forced Actuator settings Real-time input Real-time output Measured voltages PWM signals Control system: on-line Position transformation Controller Power configuration
Position data Actuator settings Real-time input Real-time output Measured voltages PWM signals Control system: on-line testing • On-line testing gives the possibility to directly control the actuators and read the sensor signals
Position data Position error Required forced Actuator settings Position transformation Controller Power configuration Simulated sensors Simulated ship Simulated actuators Position Forces Control system: off-line • For off-line simulation all hardware should be available in software modules
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 ...’
Research projects • thruster interaction: angles • thruster interaction: rpm • thruster – hull interaction
Manoeuvring & wind modelling • Manoeuvring modelling • Wind modelling
Equations of motion Body with 6 degrees of freedom
only forces and moments in the x-y plane influence manoeuvring behaviour Reducing degrees of freedom Assumptions • 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
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
Hull forces • From Taylor expansion to the third power: • Which leads for X to:
Hull forces • Simplification by Inoue
Hull forces • Coefficients estimated based on L, B, T and cB
Hull forces • Other parameters to be estimated • Hydrodynamic mass in x and y direction • Hydrodynamic mass moment of inertia I • Straight line resistance
Hull forces • For low Fr and large β: • No longer valid because of Munk’s moment
Wind forces • Calculated with wind speed only (ship speed very low)
Source of constants • Brix: • Semi emperical
AD converter: resolution • Number of values = 2bits • 8 bits: 256 levels • 10 bits: 1024 levels • 12 bits: 4096 levels • Error
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
R2 R1 U 1 - R1 + U 2 Uo = ? DA converter
DA converter Ub B7 B6 B5 B4 B3 B2 B1 B0 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 Rt 1K 2K 4K 8K 16K 32K 64K 128K Uu - +
Goal of today • Checkout system • Set controller variables • Check results