Snapshot of the front panel of the simulator:
Mathematical modelThe mathematical model constituting the basis of the simulator is described on the tab named Math model on the simulator.
PID tuning with Skogestadís SIMC rules assuming the PID controller is on parallel form, i.e. PID = P + I + D:
Kc = 2/(Kii*Tc^2)
Ti = 4*Tc
Td = Tc
where Tc [s] is the closed loop time constant specified by the user, Kii = 1/m is the double integrator gain, and m [kg] is mass of the ship. For the controller tuning, it is assumed that the ship model is a double integrator:
m*x'' = Fpwhere x [m] is the ship position, and Fp [N] is the control variable (the propeller force). This is the ship model at the critical operating point, where damping environmental forces by wind and water are neglected.
The simulator includes feedforward from disturbances, i.e. the environmental forces by wind and water. Details about the feedforward controller are described on the tab named Feedforward controller on the simulator.