The objective of theis project is to improve the vertical stability of the AUV, we propose using a Linear Quadratic Regulator(LQR) controller instead of the existing Proportional-Integral-Derivative(PID) controller. Our specific objectives to implement the LQR controller are:
- Identify the missing hydrodynamic parameters using the provided data.
- Linearize the simplified nonlinear AUV model.
- Select and implement a motion control system.
- Refine the LQR’s tuning for vertical commands.
Group Members:
Prerequisites:
-
Matlab R2021b + Control System Toolbox
-
Cloning the Project Repository :
git@github.com:abhimanyubhowmik/Control_Optimization_AUV.git
-
Reference Documents:
Doc/AUV Model.pdf Doc/Guide to pratical work.pdf Doc/Report.pdf
-
For detailed documentation of the code run on browser:
Doc/Code
-
For simulation run :
ECA_ControlCommand/Example_RunSimulation
.
All the parameters are provided except the damping parameters in the horizontal and vertical plane, as
Here,
-
$CY_{uv}$ : Force damping coefficient$F_Y$ by the product of$u\cdot v$ . -
$CY_{ur}$ : Force damping coefficient$F_Y$ by the product of$u\cdot r$ . -
$CN_{uv}$ : Damping coefficient of the moment$M_Z$ by the product of$u\cdot v$ . -
$CN_{ur}$ : Damping coefficient of the moment$M_Z$ by the product of$u\cdot r$ . -
$CZ_{uw}$ : Force damping coefficient$F_Z$ by the product of$u\cdot w$ . -
$CZ_{uq}$ : Force damping coefficient$F_Z$ by the product of$u\cdot q$ . -
$CM_{uw}$ : Damping coefficient of the moment$M_Y$ by the product of$u\cdot w$ . -
$CM_{uq}$ : Damping coefficient of the moment$M_Y$ by the product of$u\cdot q$ .
We have estimated (Detailed in Doc/Report.pdf
) the parameters and compared them with measured values given below
Comparison between the measured and the estimated (a)
We have linearized the system as:
For more details refer to Doc/Report.pdf
.
After running the simulation with all the parameters, the following results were plotted, describing the behaviour of the system modelled.
The graph illustrates the AUV's vertical trajectory during the ascent from a depth of 40 meters to 10 meters. As evident from the graph, it took approximately 50 seconds for the AUV to reach the 40-meter depth, exhibiting a slight overshoot. The AUV then stabilized within the desired depth range within approximately 100 seconds.
This shows the trajectory of the AUV as viewed from the ocean surface.
In the vertical section, the roll
The AUV's longitudinal speed remained relatively steady throughout the ascent, maintaining a constant propulsion speed of 2ms−1. This forward motion, combined with the controlled inclination angle θ, facilitated the AUV's ascent. The lift speed, while small in magnitude, provided a subtle but significant contribution to the AUV's vertical control. This control was effectively adjusted until the desired depth of 10m was achieved, which occurred around 380 seconds into the ascent. Notably, the lift speed remained stable without any oscillations, a result attributed to the low value of the parameter "w".
For further details refer to: Doc/Report.pdf
.