AUV Depth and Yaw Control: PID vs Fuzzy, Sliding Mode and NMPC

Short answer: In a 2026 simulation benchmark on a nonlinear six-degree-of-freedom AUV model, super-twisting sliding mode control (ST-SMC) had the lowest depth and yaw tracking error of four controllers in all three scenarios: nominal, ocean-current disturbance and plus or minus 50% time-varying model error, with every controller's gains held fixed. [1] PID was the cheapest to compute at 0.0011 ms per call but degraded most under disturbance and uncertainty, while fuzzy logic and nonlinear MPC took about 11 ms per call and missed a 1 ms deadline in every profiled sample. [1] No hardware tests were run, so treat the ranking as a simulation benchmark, not a deployment result. [1]
What the study compared
Aly M. Eissa, Samer A. Mohamed, Mohammed Ibrahim Awad, Hossam E. Abd El Munim and Diaa Emad published "Robust depth-yaw control of autonomous underwater vehicles under disturbances and parametric uncertainties" in Scientific Reports on 10 November 2026 (volume 16, article 37566, open access). [1]
The paper compares four controllers for depth and yaw regulation in one MATLAB/Simulink framework: [1]
PID control
fuzzy logic control (FLC)
super-twisting sliding mode control (ST-SMC)
nonlinear model predictive control (NMPC)
The plant is a nonlinear 6-DOF model of the LIVA AUV. It includes first-order thruster dynamics with saturation, a uniform ocean current that acts through the vehicle's relative velocity, and a disturbance term made of a constant bias, impulsive loads and zero-mean band-limited white noise. [1]
The mission runs for 100 s. Depth goes from the surface to -5 m, holds for about 35 s, then rises to -3 m. At the same time, yaw steps from 0 to +1 rad, holds for about 35 s, then reverses to -1 rad. [1]
How the comparison was kept fair
Same plant and limits. All four controllers were tuned on the same nominal model, reference trajectories, initial conditions, actuator limits and simulation length, and all control signals passed through the same first-order low-pass filter. [1]
Tuning. PID started from Ziegler-Nichols-inspired gains refined by iterative simulation. FLC was tuned through membership functions, rule base and output scaling, ST-SMC for convergence, disturbance rejection and chattering, and NMPC through its prediction horizon and weighting matrices. [1]
Fixed gains. Gains were set on the nominal case and then held fixed for the disturbance and uncertainty scenarios. No controller was retuned. [1]
Model error. In the uncertainty scenario, the damping matrix and the restoring force vector were each scaled by 1 + 0.5 sin(0.94 t), a plus or minus 50% variation at 0.94 rad/s. [1]
The simulation models and controller code are published on Zenodo. [2]
Results: tracking error
Root mean square tracking error (RMSE) from the paper's Table 5: [1]
| Controller | Depth, nominal (x10^-2 m) | Depth, disturbance | Depth, uncertainty | Yaw, nominal (x10^-2 rad) | Yaw, disturbance | Yaw, uncertainty |
|---|---|---|---|---|---|---|
| PID | 0.3006 | 2.8148 | 0.7433 | 0.4046 | 0.7465 | 1.5154 |
| FLC | 0.2785 | 2.0357 | 0.2638 | 0.4506 | 0.5808 | 0.6376 |
| ST-SMC | 0.0920 | 0.9903 | 0.1819 | 0.0250 | 0.3276 | 0.0270 |
| NMPC | 0.6633 | 1.1494 | 0.2576 | 0.3953 | 0.4361 | 0.4033 |
ST-SMC was lowest in every column. NMPC ranked second under disturbance and uncertainty, but its nominal depth error was higher than both PID and FLC. [1] Under disturbance, ST-SMC's depth and yaw RMSE were 64.8% and 56.1% lower than PID's. The authors note that these differences come mainly from transient phases after reference changes and disturbance onsets, while ST-SMC and NMPC showed similar steady-state error bands. [1]
PID gave acceptable tracking in the nominal case but showed the largest oscillations and slowest recovery under disturbance, and the largest degradation under model error, especially during the yaw transition. [1]
Results: computation
Execution time was profiled at the 1 ms sampling period used throughout the simulations: [1]
PID averaged 0.0011 ms per call.
ST-SMC averaged 0.0142 ms and met the 1 ms deadline in 99.903% of 100,001 profiled samples.
FLC averaged 11.37 ms and NMPC 11.0057 ms, and both exceeded the 1 ms deadline in every profiled sample, so they need slower update rates or more capable hardware.
These timings were measured in a software-in-the-loop environment, not on an embedded processor. [1]
Limits the authors state
All results come from deterministic MATLAB/Simulink simulation. No hardware-in-the-loop, experimental or Monte Carlo testing was done. [1]
The simulation assumes near-perfect state estimation. Sensor bias and drift, communication delays, thruster nonlinearities, spatially varying currents and unmodeled hydrodynamics were not modeled. [1]
The authors warn that high-gain controllers such as ST-SMC are sensitive to measurement delay, which can worsen chattering or cause instability if not filtered. [1]
They describe the reported performance as a simulation-based upper bound. [1]
What to check before reusing the result
The authors' own selection guidance is: PID for low-resource platforms in well controlled settings with an accurate model and small disturbances; FLC when smooth actuator commands matter more than tight tracking; ST-SMC for open-sea missions with strong currents and parameter variation; NMPC when precision is the priority and the vehicle has the computing power to run it at a relaxed update rate. [1]
Before you carry that ranking to your own vehicle:
Check the PID baseline. In the study, PID gains were tuned once on the nominal model and never adjusted. A PID retuned for the disturbed case, or scheduled across operating points, is a different baseline. See PID gain scheduling and multi-loop verification.
Add your sensors. Re-run the comparison with your sensor noise, bias and latency, since the paper assumes near-perfect state estimation and flags delay sensitivity for ST-SMC. [1]
Budget the computation. At about 11 ms per call in the study, NMPC and FLC need a slower loop or faster hardware. For how MPC settings are chosen, see can a language model help tune MPC.
Watch the actuators. Compare control effort, not only RMSE. The paper reports that ST-SMC applied larger corrective effort at disturbance onsets. [1]
For the checks that sit around the gains in other robot loops, see PID tuning for robot motion control.
Key takeaways
A 2026 Scientific Reports benchmark compared PID, FLC, ST-SMC and NMPC for AUV depth and yaw on one nonlinear 6-DOF model with fixed gains. [1]
ST-SMC had the lowest depth and yaw RMSE in nominal, disturbance and plus or minus 50% uncertainty scenarios. [1]
PID was the cheapest to compute but degraded most under disturbance and model error. [1]
FLC and NMPC took about 11 ms per call and missed a 1 ms deadline in every profiled sample. [1]
All results are simulation only; the authors call for hardware-in-the-loop and vehicle trials. [1]
Frequently asked questions
Which controller tracked AUV depth and yaw best in the 2026 benchmark?
Super-twisting sliding mode control had the lowest depth and yaw RMSE in all three scenarios: nominal, ocean-current disturbance and plus or minus 50% time-varying model error. Under disturbance, its depth RMSE was 0.9903 x10^-2 m against 2.8148 x10^-2 m for PID. [1]
Is PID good enough for AUV depth and yaw control?
In the benchmark, PID gave acceptable tracking in the nominal case and was the cheapest to compute, but it degraded most under disturbance and model error with gains held fixed. The authors recommend it for low-resource platforms in well controlled settings with an accurate model and small disturbances. [1]
Can nonlinear MPC run in real time on an AUV?
In this study NMPC averaged about 11 ms per call and missed the 1 ms deadline in every profiled sample, so it needs a slower update rate or more capable onboard hardware. The authors say embedded deployment should be checked with hardware-in-the-loop testing first. [1]
Were the results tested on a real underwater vehicle?
No. All results come from deterministic MATLAB/Simulink simulation with near-perfect state estimation. The authors call for hardware-in-the-loop and experimental validation on a physical AUV. [1]
Sources
Eissa, A. M., Mohamed, S. A., Awad, M. I., Abd El Munim, H. E., and Emad, D. "Robust depth-yaw control of autonomous underwater vehicles under disturbances and parametric uncertainties." Scientific Reports 16, 37566, published online 10 Nov 2026. https://doi.org/10.1038/s41598-026-74257-1
Eissa, A. M., Mohamed, S. A., Awad, M. I., Abd El Munim, H. E., and Emad, D. "Simulation Code and Models for Robust Depth-Yaw Control of Autonomous Underwater Vehicles Under Nominal, Disturbances and Parametric Uncertainties." Zenodo, software. https://doi.org/10.5281/zenodo.20844533
If you have a model or IO data for one of your own loops, LabCD's guided workflow lets you tune and test a controller on your first model for free, with a qualified engineer approving every controller.
Want to try this on your own plant model?
Try LabCD free with your first model