Autonomous and highly automated ships must be able to maneuver safely and precisely, especially during low-speed operations in harbors, such as approach, positioning, and docking. To execute these maneuvers smoothly and reliably, the ship’s maneuvering controllers, adjusting thrust and steering angles of the propulsion system, must be developed and tested under realistic operating conditions.
The Task: Developing and Testing Maneuvering Controllers for Autonomous Ships
A central development task is the design and tuning of control algorithms for maneuvering, dynamic positioning, and docking assistance. Since these operations are affected by external forces, the controllers must also compensate for environmental disturbances, such as wind and water currents. At the same time, autonomous navigation functions must be tested in closed-loop operation. Using a predefined trajectory to the target position, the system must validate the trajectory planning and tracking algorithms, as well as the autonomous harbor approach and berthing functions.
This includes verifying that the ship can detect its proximity to quay walls via contact modeling and perform a smooth, collision-free docking maneuver. Since autonomous maneuvering depends on the interaction of multiple software layers, the testing environment must support the integration of perception and decision-making components. To ensure robust development from an early stage, both software-in-the-loop (SIL) and hardware-in-the-loop (HIL) validation capabilities are necessary.
Task Overview
Maneuvering controller development
- Design and tuning of control algorithms for:
- Maneuvering
- Dynamic positioning
- Docking assistance
- Evaluation of control strategies under varying environmental disturbances
Closed-loop testing of electronic control units for autonomous navigation functions
- SIL and HIL validation of:
- Trajectory planning and tracking algorithms
- Autonomous harbor approach and berthing
- Integration with perception and decision-making stacks
The Challenge: Simulating Environmental Disturbances and Infrastructure
Ships must remain controllable while reliably responding to dynamic and often unpredictable maritime conditions. This challenge is even greater when environmental disturbances, such as wind and water currents, affect the ship at low speeds and in tight spaces where accurate positioning is critical. Therefore, harbor maneuvering is one of the most demanding operating scenarios for autonomous ships, whether for maritime autonomous surface ships (MASS), unmanned surface vessels (USV), autonomous surface vessels (ASV), or fully autonomous ships (FAS). During docking maneuvers, even small deviations can lead to unsafe situations or damage. Testing these functions on real ships alone is inefficient and risky. Physical prototypes might not yet be available in the early stages of development, and executing edge cases such as strong crosswinds or extremely tight docking maneuvers can be costly, time-consuming, and unsafe.
Consequently, developers require a validation approach that enables early testing, safe execution of critical scenarios, and real-time verification before deployment on a physical ship. However, ship dynamics are inherently nonlinear and involve multiple degrees of freedom, making precise controller design significantly more complex than in many standard motion-control applications.
Challenge Overview
Modern autonomous and highly automated ships must perform precise and safe maneuvering in complex maritime environments such as harbors, channels, and docking areas. These scenarios are particularly challenging due to:
- Nonlinear ship dynamics with multiple degrees of freedom
- Environmental disturbances such as wind and water currents
- Interaction with infrastructure and other ships
- Tight spatial constraints during docking and low-speed maneuvers
Validating maneuvering and controlling algorithms under these conditions using real prototypes is sometimes costly, time-consuming, and often unsafe.
The Solution: ASM for Simulation Models and AURELION for Environment Simulation
Using ASM and AURELION from dSPACE, developers can create high-fidelity virtual test environments for the design, validation, and optimization of maneuvering controllers for autonomous and assisted ship operations. This allows developers to test complex maneuvering functions in a realistic simulation environment before sea trials begin.
At the core of the simulation is a physics-based ship model that supports rigid-body dynamics with up to six degrees of freedom (6 DoF). This allows developers to parameterize complex ship hulls and realistically simulate buoyancy. This level of detail allows for a realistic representation of ship motion and provides a reliable basis for controller development and validation. The propulsion system can be modeled with dual steerable propellers, which include a steering angle of ± 40 deg and thrust control, as well as a bow thruster. If required, additional propellers can be added to reflect more advanced ship configurations.
To create a realistic simulation, environmental factors such as water currents and wind forces are modeled. Contact modeling with fenders allows developers to analyze ship behavior near quay walls and other infrastructure, which is crucial for docking and berthing scenarios. AURELION also includes high-fidelity sensor simulations of radar, camera, and lidar. Based on these simulations, engineers can perform scenario-based tests of perception, trajectory following, automated docking, and maneuvering under a wide range of operating conditions.
One major advantage of this approach is that the same simulation environment can be used throughout the development workflow. First, controllers and autonomous navigation software can be tested in SIL setups. Then, they can be transferred to real-time HIL platforms, such as dSPACE SCALEXIO. for testing with physical electronic control units. This creates a seamless path from early algorithm development to system-level testing.
By enabling risk-free validation of critical maneuvers with synthetic data, the solution increases test coverage and supports systematic testing of edge cases such as extreme weather or failure conditions. At the same time, it helps accelerate development by allowing teams to validate controllers iteratively, long before a physical ship is available.
Solution Overview
With dSPACE ASM and AURELION, developers can create high-fidelity virtual test environments to design, validate, and optimize ship controllers for autonomous and assisted maneuvering.
| Open and modular MATLAB®/Simulink® models |
|
| Physics-based ship dynamics |
|
| Realistic propulsion and control elements |
|
| Environmental modeling |
|
| Scenario-based testing capabilities |
|
| Real-time execution |
|
| Performing simulation-based testing allows |
|