Discover the new mydSPACE services: License Management, the new dSPACE Help, and dSPACE Chatbot for User Documentation. Find more information and support on our dedicated support page. Learn more & get support

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.

Das klingt interessant. Nehmen Sie Kontakt auf:

The Solution: ASM for Simulation Models and AURELION for Environment Simulation

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.

Figure 1: Structure of the simulation model

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
  • Real-time capable
  • Available as FMU
Physics-based ship dynamics
  • Rigid body model with up to 6 DoF
Realistic propulsion and control elements
  • Dual steerable propellers (duo-prop system); steering angle (± 40 deg) and thrust control
  • Bow-thruster (thrust control)
  • If required, more propellers can be added
Environmental modeling
  • Water currents and external forces 
  • Wind effects with aerodynamic influence 
  • Contact modeling via fenders and collision contours
  • High-fidelity sensor simulation with radar, camera, lidar, and other sensors, as required
Scenario-based testing capabilities
  • Trajectory following
  • Automated docking scenarios
  • Harbor maneuvering simulations 
Real-time execution
  • Deployment on SCALEXIO for HIL testing with real ECUs
Performing simulation-based testing allows
  • Early testing before physical ship availability
  • Safe execution of critical edge cases
  • Real-time verification before deployment on the physical ship

Key Benefits

Risk-free testing

Critical maneuvering scenarios can be tested safely without endangering ships or infrastructure

Increased test coverage

Early simulation-based testing including edge cases such as extreme weather or failure conditions

Faster development cycles

Controllers can be validated early and iteratively, reducing dependency on sea trials

High realism and scalability

From simplified maneuvering models to full 6 DoF dynamics with environmental effects

Seamless integration into the dSPACE tool chain

Reuse of models and tests across SIL and HIL platforms

Immer auf dem neuesten Stand mit unserem Newsletter-Service.

Mit unserem Newsletter-Service informieren wir Sie über aktuelle Anwendungsbeispiele, neue Lösungen und Produkte sowie über Schulungen und Veranstaltungen. Hier geht's zur Anmeldung.

Formularaufruf freigeben

An dieser Stelle ist ein Eingabeformular von Click Dimensions eingebunden. Dieses ermöglicht es uns Ihr Newsletter-Abonnement zu verarbeiten. Aktuell ist das Formular ausgeblendet aufgrund Ihrer Privatsphäre-Einstellung für unsere Website.

Externes Eingabeformular

Mit dem Aktivieren des Eingabeformulars erklären Sie sich damit einverstanden, dass personenbezogene Daten an Click Dimensions innerhalb der EU, in den USA, Kanada oder Australien übermittelt werden. Mehr dazu in unserer Datenschutzbestimmung.