Høgskolen i Buskerud: Emne EMAR2101 Reguleringssystemer 1Prosjektoppgave: Simuleringsprosjekt: Dynamisk posisjonering av skip ("DP")(Dette dokumentet inneholder noe engelsk tekst og noe norsk tekst. Det bør ikke skape noen problemer.) Praktiske opplysningerI emnet inngår et obligatorisk individuelt prosjekt der du skal utvikle og bruke en simulator av et reguleringssystem i Simulink. Hver student skal skrive en kortfattet rapport og demonstrere simulatoren overfor lærer FH. Se undervisningsplanen for detaljer. Prosjektet vurderes med bestått eller ikke bestått. Det er nødvendig å bestå prosjektet for å få adgang til eksamen. Prosjektoppgaven skal utføres individuelt, men dere oppfordres allikevel til å samarbeide. Dvs. at dere kan diskutere løsninger og lære av hverandre, men sluttproduktet skal være ditt eget. Du skal altså selv lage simulatoren, selv utføre "eksperimentene", og selv skrive rapporten. Technical information about DPDynamic positioning means position control of ships using thrusters and propellers as actuators to keep the ship at a reference position relative to the seafloor or relative to another ship or platform. DP is a crucial technology in sea operations. Kongsberg Maritime (KM) is one of the world's leading producers of DP systems. KM has approved using the information presented in this document for teaching purposes. The following links available from KM's home page give information about DP (you should browse the information): Figure 1 shows the main components of a DP system. In this project we will apply ordinary feedback PID control + feedforward control in the controller part of Figure 1, which is the SDP frame in the figure. (In real implementation the controller consists of a state-estimator in the form of a Kalman-filter algorithm which is based on a mathematical model of ship. The controller uses state estimates of ship position, ship speed, and water current speed to produce the control signals to the thrusters. As a part of the more comprehensive controller there is actually a PID controller.)
Figure 1. (Source: Kongsberg Maritime) Figure 2 shows a ship with definitions of the vessel-fixed coordinates surge, sway and yaw.
Figur 2. (Source: Kongsberg Maritime) Figure 3 shows the relation between the earth-fixed coordinate system and the ship-fixed coordinate system. (However, this information will not be used in this project.)
Figure 3 Mathematical modelNonlinear modelBelow is a simplified mathematical model of a ship based on force balance (Newton's 2. Law) and torque balance. The model is based on force balances along the surge axis and the sway axis, and torque balance about the yaw axis (rotation). (The nomenclature is according to Kongsberg Maritme.)
M is mass. I is inertia. D is damping coefficient. u, v, and r are ship velocities (speed variables). uc and vc are water current velocities. X and Y are forces. N is torque. The first vector at the right side of the equality sign are hydrodynamic forces or torque. The model does not contain any of the ship positions as variables. But the relation between position and velocitie is of course that the time-derivative of position is velocities. In particular, the relation between surge position and speed is dx/dt = u and similar for sway and yaw positions and velocities. Although not needed in the tasks in this project, the coordinate transformations from ship-fixed velocities to earth-fixed velocities are presented here:
For simplicity, this project considers only surge movement, assuming there is no movement in the other directions. The following information applies for a given ship (in the traditional "DP" terminology the unit "ton" represents a force of 1kN, but in this project tons represents 1000 kg, as normal):
Figure 4: Wind speeds Local linear modelThe process (ship) model presented above is non-linear due to the nonlinear terms desribing the hydrodynamic force. In one of the tasks given below, you will tune a PID controller using Skogestad's method which assumes a linear process model in the form of a transfer function. (However, you should still use the nonlinear model in the simulator.) Therefore the model must be linearized about some operating point to find a transfer function. As the operating point we select the "zero operating point" given as follows: Zero water current, zero wind speed, zero thruster force, zero ship position, and zero speed. The ship has less hydrodynamic damping in this operating point compared to other operating points due to the quadratic term of the hydrodynamic damping force in the model. It can be shown that the mathemical model about this operating point is simply dx/dt = u Mxdu/dt = XThrust From this linear model we can get the follwing ship transfer function from thruster force to ship position: x(s)/XThrust(s) = H(s) = K/s2 which is a double integrator. (You should calculate the gain K from the above two differential equations.) TasksYou should define parameters and run the simulator using a Matlab script, cf. the Simulink course. We define the initial operating point of the system as where all variables have zero values. You can set the simulation time-step equal to 1 second. Tip: Use the engineering units consistently, for example Newton (N) as force unit. 1. Implementing a ship simulator in SimulinkImplement a simulator of the ship in Simulink containing the model of the movements along the surge axis (i.e. the first of the three differential equations in the simplified model given above), including the wind model. Remember to implement the limitations of the thurster force. Check that the simulator shows a correct response, for example by comparing simulated velocity and manually calculated velocity under static conditions (you can define these conditions yourself). Why is important to do such a check? 2. PID positional control
3. Applying your DP system
4. Feedforward control In the subsequent tasks the PID settings from Task 3a or 3b can be used - whichever you prefer.
Oppdatert 12.10 2008 av Finn Haugen. E-post: finn.haugen@hibu.no |