Design and Implementation of a Modular UUV Simulation Platform
Abstract
:1. Introduction
- (1).
- An efficient self-feedback development framework is proposed, and the role of the simulation platform in it is introduced.
- (2).
- The simulation platform, including high-precision simulation scenarios, multi-source sensors, control plugins, and UUV models, is made in a modular manner.
- (3).
- In this work, the robustness of the programming interfaces and the reliability of the simulation platform have been verified by constructing simulation tasks and underwater experiments.
2. Framework Design and Platform Implementation
2.1. Self-Feedback Development Framework for UUV
- Development Process: The outer arrows in Figure 1 form a closed-loop development line where the researchers can design schemes according to task requirements, including UUV models (structure, controller, etc.) and autonomous algorithms (path planning, formation control, etc.), which are imported into the simulation platform for verification and optimization through relevant programming interfaces (Matlab, Python, VScode, Solidworks, Tsinghua University, Beijing). After obtaining satisfactory simulation results, the verified algorithms will be transferred to the control unit of the hardware platform to conduct experiments. In fact, simulation is not a substitution for experiments. If the experimental results are still unsatisfactory, debugging and even redesigning should be carried out by stepwise upward feedback.
- Software Architecture: According to the concept of modular design, the software packages of the simulation platform can be divided into two groups based on Gazebo and ROS, which both support secondary development. In Gazebo, UUV models, sensor plugins, and world plugins are stored to support simulation. In ROS, users can control and communicate with entities in Gazebo through control plugins and feature packages. It is worth mentioning that ROS is connected to Gazebo through ROS Bridges; thus, the related programming interfaces can subscribe messages and publish commands through corresponding topics.
2.2. Construction of Virtual Ocean Environment
2.3. Design of 3D Model, Sensor Plugin, and Control Plugin for UUV
3. Co–Simulation Template Based on Matlab and ROS
4. UUV Formation Control Simulation Case and Underwater Experimental Verification
4.1. Formation Control Scheme Based on Potential Field Model and Virtual Structure
- A.
- Gravitational potential field
- B.
- Repulsion potential field
- C.
- Communication-constrained potential field
4.2. Simulation Settings and Results
4.3. Underwater Experimental Verification
5. Discussion
6. Conclusions and Future Work
Author Contributions
Funding
Conflicts of Interest
References
- Mohsan, S.A.H.; Mazinani, A.; Othman, N.Q.H.; Amjad, H. Towards the internet of underwater things: A comprehensive survey. Earth Sci. Inform. 2022, 15, 735–764. [Google Scholar] [CrossRef]
- Sahoo, A.; Dwivedy, S.K.; Robi, P.S. Advancements in the field of autonomous underwater vehicle. Ocean Eng. 2019, 181, 145–160. [Google Scholar] [CrossRef]
- Du, J.; Song, J.; Ren, Y.; Wang, J. Convergence of broadband and broadcast/multicast in maritime information networks. Tsinghua Sci. Technol. 2021, 26, 592–607. [Google Scholar] [CrossRef]
- Guan, S.; Wang, J.; Jiang, C.; Duan, R.; Ren, Y.; Quek, T.Q.S. MagicNet: The maritime giant cellular network. IEEE Commun. Mag. 2021, 59, 117–123. [Google Scholar] [CrossRef]
- Fang, Z.; Wang, J.; Ren, Y.; Han, Z.; Poor, H.V.; Hanzo, L. Age of information in energy harvesting aided massive multiple access networks. IEEE J. Sel. Areas Commun. 2022, 40, 1441–1456. [Google Scholar] [CrossRef]
- Fang, Z.; Wang, J.; Jiang, C.; Zhang, Q.; Ren, Y. AoI-inspired collaborative information collection for AUV-assisted internet of underwater things. IEEE Internet Things J. 2021, 8, 14559–14571. [Google Scholar] [CrossRef]
- Fang, Z.; Wang, J.; Du, J.; Hou, X.; Ren, Y.; Han, Z. Stochastic optimization-aided energy-efficient information collection in internet of underwater things networks. IEEE Internet Things J. 2022, 9, 1775–1789. [Google Scholar] [CrossRef]
- Yan, Z.; Xu, D.; Chen, T.; Zhang, W.; Liu, Y. Leader-follower formation control of UUVs with model uncertainties, current disturbances, and unstable communication. Sensors 2018, 18, 662. [Google Scholar] [CrossRef] [Green Version]
- Hadi, B.; Khosravi, A.; Sarhadi, P. A review of the path planning and formation control for multiple autonomous underwater vehicles. J. Intell. Robot. Syst. 2021, 101, 67. [Google Scholar] [CrossRef]
- Cheng, C.; Sha, Q.; He, B.; Li, G. Path planning and obstacle avoidance for AUV: A review. Ocean Eng. 2021, 235, 109355. [Google Scholar] [CrossRef]
- Cao, X.; Chen, L.; Guo, L.; Han, W. AUV global security path planning based on a potential field bio-inspired neural network in underwater environment. Intell. Autom. Soft Comput. 2021, 27, 391–407. [Google Scholar] [CrossRef]
- Sun, Y.; Ran, X.; Zhang, G.; Xu, H.; Wang, X. AUV 3D path planning based on the improved hierarchical deep Q network. J. Mar. Sci. Eng. 2020, 8, 145. [Google Scholar] [CrossRef] [Green Version]
- Lin, C.; Han, G.; Zhang, T.; Shah, S.B.H.; Peng, Y. Smart underwater pollution detection based on graph-based multi-agent reinforcement learning towards AUV-based network ITS. IEEE Trans. Intell. Transp. Syst. 2022, in press. [CrossRef]
- Yuan, J.; Wang, H.; Zhang, H.; Lin, C.; Yu, D.; Li, C. AUV obstacle avoidance planning based on deep reinforcement learning. J. Mar. Sci. Eng. 2021, 9, 1166. [Google Scholar] [CrossRef]
- He, Z.; Dong, L.; Sun, C.; Wang, J. Asynchronous multithreading reinforcement-learning-based path planning and tracking for unmanned underwater vehicle. IEEE Trans. Syst. Man Cybern. Syst. 2022, 52, 2757–2769. [Google Scholar] [CrossRef]
- Yan, Z.; Xu, D.; Chen, T.; Zhou, J. Formation control of unmanned underwater vehicles using local sensing means in absence of follower position information. Int. J. Adv. Robot. Syst. 2021, 18, 1–13. [Google Scholar] [CrossRef]
- Park, B.S. Adaptive formation control of underactuated autonomous underwater vehicles. Ocean Eng. 2015, 96, 1–7. [Google Scholar] [CrossRef]
- Yuan, C.; Licht, S.; He, H. Formation learning control of multiple autonomous underwater vehicles with heterogeneous nonlinear uncertain dynamics. IEEE Trans. Cybern. 2018, 48, 2920–2934. [Google Scholar] [CrossRef] [PubMed]
- Pang, S.K.; Li, Y.H.; Yi, H. Joint formation control with obstacle avoidance of towfish and multiple autonomous underwater vehicles based on graph theory and the null-space-based method. Sensors 2019, 19, 2591. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Huang, H.; Tang, Q.; Zhang, G.; Zhang, T.; Wan, L.; Pang, Y. Multibody system-based adaptive formation scheme for multiple under-actuated AUVs. Sensors 2020, 20, 1943. [Google Scholar] [CrossRef]
- Fernandez-Chaves, D.; Ruiz-Sarmiento, J.R.; Jaenal, A.; Petkov, N.; Gonzalez-Jimenez, J. Robot@VirtualHome, an ecosystem of virtual environments and tools for realistic indoor robotic simulation. Expert Syst. Appl. 2022, 208, 117970. [Google Scholar] [CrossRef]
- Ojeda, P.; Monroy, J.; Gonzalez-Jimenez, J. A simulation framework for the integration of artificial olfaction into multi-sensor mobile robots. Sensors 2021, 21, 2041. [Google Scholar] [CrossRef]
- Rivera, Z.B.; De Simone, M.C.; Guida, D. Unmanned ground vehicle modelling in gazebo/ROS-based environments. Machines 2019, 7, 42. [Google Scholar] [CrossRef] [Green Version]
- Dai, X.; Ke, C.; Quan, Q.; Cai, K.Y. RFlySim: Automatic test platform for UAV autopilot systems with FPGA-based hardware-in-the-loop simulations. Aerosp. Sci. Technol. 2021, 114, 106727. [Google Scholar] [CrossRef]
- Xiao, K.; Tan, S.; Wang, G.; An, X.; Wang, X.; Wang, X. XTDrone: A Customizable Multi-Rotor UAVs Simulation Platform. In Proceedings of the 2020 4th International Conference on Robotics and Automation Sciences (ICRAS), Wuhan, China, 12–14 June 2020; pp. 55–61. [Google Scholar]
- Chen, S.; Zhou, W.; Yang, A.S.; Chen, H.; Li, B.; Wen, C.Y. An end-to-end UAV simulation platform for visual SLAM and navigation. Aerospace 2022, 9, 48. [Google Scholar] [CrossRef]
- Liu, K.; Zhou, X.; Zhao, B.; Ou, H.; Chen, B.M. An Integrated Visual System for Unmanned Aerial Vehicles Following Ground Vehicles: Simulations and Experiments. In Proceedings of the 2022 IEEE 17th International Conference on Control & Automation (ICCA), Naples, Italy, 27–30 June 2022; pp. 593–598. [Google Scholar]
- Manhães, M.M.M.; Scherer, S.A.; Voss, M.; Douat, L.R.; Rauschenbach, T. UUV Simulator: A Gazebo-based Package for Underwater Intervention and Multi-Robot Simulation. In Proceedings of the OCEANS 2016 MTS/IEEE Monterey, Monterey, CA, USA, 19–23 September 2016; pp. 1–8. [Google Scholar]
- Ngo, A.T.; Tran, N.H.; Ton, T.P.; Nguyen, H.; Tran, T.P. Simulation of Hybrid Autonomous Underwater Vehicle Based on ROS and Gazebo. In Proceedings of the 2021 International Conference on Advanced Technologies for Communications (ATC), Ho Chi Minh City, Vietnam, 14–16 October 2021; pp. 109–113. [Google Scholar]
- Nie, Y.; Luan, X.; Gan, W.; Ou, T.; Song, D. Design of Marine Virtual Simulation Experiment Platform Based on Unity3D. In Proceedings of the Global Oceans 2020: Singapore–US Gulf Coast, Biloxi, MS, USA, 5–30 October 2020; pp. 1–5. [Google Scholar]
- Cieślak, P. Stonefish: An Advanced Open-Source Simulation Tool Designed for Marine Robotics, with a ROS Interface. In Proceedings of the OCEANS 2019-Marseille, Marseille, France, 17–20 June 2019; pp. 1–6. [Google Scholar]
- Chou, Y.C.; Chen, H.H.; Wang, C.C.; Wang, C.C.; Chen, W.H. A Hardware-in-the-Loop Simulation Platform for Development of AUV Control Systems. In Proceedings of the 2019 IEEE Underwater Technology (UT), Taiwan, China, 16–19 April 2019; pp. 1–6. [Google Scholar]
- Kaliappan, V.K.; Budiyono, A.; Min, D.; Muljowidodo, K.; Nugroho, S.A. Hardware-in-the-Loop Simulation Platform for the Design, Testing and Validation of Autonomous Control System for Unmanned Underwater Vehicle. Indian J. Geo-Mar. Sci. 2012, 41, 575–580. [Google Scholar]
- IHO S-57/ENC-Object and Attribute Catalogue. Available online: http://www.s-57.com/ (accessed on 2 October 2022).
- Ramesh, N.V.K.; Karthik, C.V.S.; Yugesh, J.; Vani, B.V.; Reddy, B.N.K. Analysis of Potential Regions for Maritime using QGIS Tool. In Proceedings of the 2022 Second International Conference on Advances in Electrical, Computing, Communication and Sustainable Technologies (ICAECT), Bhilai, India, 21–22 April 2022; pp. 1–4. [Google Scholar]
- Zaki, A.; Buchori, I.; Sejati, A.W.; Liu, Y. An object-based image analysis in QGIS for image classification and assessment of coastal spatial planning. Egypt. J. Remote Sens. Space Sci. 2022, 25, 349–359. [Google Scholar] [CrossRef]
- Meyer, J.; Sendobry, A.; Kohlbrecher, S.; Klingauf, U.; von Stryk, O. Comprehensive Simulation of Quadrotor UAVs Using ROS and Gazebo. In Proceedings of the Third International Conference on Simulation, Modeling, and Programming for Autonomous Robots, Tsukuba, Japan, 5–8 November 2012; pp. 400–411. [Google Scholar]
- Ridley, P.; Fontan, J.; Corke, P. Submarine Dynamic Modelling. In Proceedings of the Australian Conference on Robotics and Automation 2013, Sydney, Australia, 2–4 December 2003; pp. 1–8. [Google Scholar]
- Pgm Map Creator. Available online: https://github.com/hyfan1116/pgm_map_creator (accessed on 10 August 2022).
- Zhou, D.; Wang, Z.; Schwager, M. Agile coordination and assistive collision avoidance for quadrotor swarms using virtual structures. IEEE Trans. Robot. 2018, 34, 916–923. [Google Scholar] [CrossRef]
- Khatib, O. Real-Time Obstacle Avoidance for Manipulators and Mobile Robots. In Proceedings of the 1985 IEEE International Conference on Robotics and Automation, St. Louis, MO, USA, 25–28 March 1985; pp. 500–505. [Google Scholar]
- Ge, H.; Chen, G.; Xu, G. Multi-AUV cooperative target hunting based on improved potential field in a surface-water environment. Appl. Sci. 2018, 8, 973. [Google Scholar] [CrossRef] [Green Version]
- Zhen, Q.; Wan, L.; Li, Y.; Jiang, D. Formation control of a multi-AUVs system based on virtual structure and artificial potential field on SE(3). Ocean Eng. 2022, 253, 111148. [Google Scholar] [CrossRef]
Card Computer | Master CPU Usage | Startup Time | Slave Memory Usage | Command Delay |
---|---|---|---|---|
NVIDIA Jetson Nano | 42% | 3.2 s | 37% | 2 s |
Raspberry Pi 4B | 42% | 3.6 s | 59% | 1.9 s |
MVSPU [30] | Stonefish [31] | UUV Simulator [28] | Our Platform | ||
---|---|---|---|---|---|
Environment | Dimensions | 3D | 3D | 3D | 3D |
Precision | Low | Medium | High | High | |
Features | Distributed Architecture | No | No | No | Yes |
Programming Interface | 1 | 1 | 1 | Multiple | |
Robotics Platform | Unity 3D | ROS | ROS and Gazebo | ROS and Gazebo | |
Evaluation | Level of Standardization | Low | Medium | Medium | High |
Difficulty of Development | Difficult | Difficult | General | Easy | |
Optional Mode | SIL | SIL | SIL | SIL and HIL |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Zhang, Z.; Mi, W.; Du, J.; Wang, Z.; Wei, W.; Zhang, Y.; Yang, Y.; Ren, Y. Design and Implementation of a Modular UUV Simulation Platform. Sensors 2022, 22, 8043. https://doi.org/10.3390/s22208043
Zhang Z, Mi W, Du J, Wang Z, Wei W, Zhang Y, Yang Y, Ren Y. Design and Implementation of a Modular UUV Simulation Platform. Sensors. 2022; 22(20):8043. https://doi.org/10.3390/s22208043
Chicago/Turabian StyleZhang, Zekai, Weishi Mi, Jun Du, Ziyuan Wang, Wei Wei, Yuang Zhang, Yutong Yang, and Yong Ren. 2022. "Design and Implementation of a Modular UUV Simulation Platform" Sensors 22, no. 20: 8043. https://doi.org/10.3390/s22208043
APA StyleZhang, Z., Mi, W., Du, J., Wang, Z., Wei, W., Zhang, Y., Yang, Y., & Ren, Y. (2022). Design and Implementation of a Modular UUV Simulation Platform. Sensors, 22(20), 8043. https://doi.org/10.3390/s22208043