Abstract
Deep reinforcement learning (DRL) enables model-free adaptive control for
marine dynamic positioning (DP) under changing disturbances. However, its application remains limited for vessels with strict mechanical constraints,
such as the common stern-only dual-azimuth configuration.
This paper applies DSAC-T (Distributional Soft Actor-Critic
with Three Refinements), a distributional off-policy deep reinforcement learning
algorithm, to DP of an 83 m offshore supply vessel under this stern-only configuration.
DSAC-T is compared with proximal policy optimization (PPO) and soft actor–critic (SAC)
using a shared reward and observation design and an equal simulation budget.
All DRL controllers, together with a fixed-gain proportional–derivative (PD) baseline,
are evaluated in simulations covering eight wind directions at two wind speeds,
together with a calm-water case.
DSAC-T achieves the lowest aggregate position-keeping error
among the three learning-based methods with lower propulsor-command activity than PPO.
We also find that a tighter Gaussian position tolerance in the reward
function substantially reduces steady-state position error
with a small increase in propulsor-command activity, identifying this tolerance
as an influential design parameter for stern-only DP.
1. Introduction
Dynamic positioning (DP) enables a vessel to maintain a prescribed position and heading using thrusters alone, without anchoring or mooring. This capability is essential for deepwater intervention, offshore construction and inspection, hydrographic surveying, and other missions where environmental disturbances make fixed mooring impractical or unsafe [1]. Industrial DP systems combine a feedback controller—typically using proportional–integral–derivative (PID) or model predictive control—with observer-based state estimation and a thrust-allocation layer [2,3]. Thrust allocation converts desired control forces and moments into individual actuator commands subject to physical limits. For azimuth thrusters, this mapping is nonlinear and must account for force and moment demands that cannot be achieved simultaneously within the actuator limits [4].
A stern-only DP architecture relies on two stern-mounted azimuth thrusters for position and heading control. For unmanned surface vehicles (USVs) already equipped with this propulsion layout, an engineering objective is to add station-keeping capability using the existing thrusters, especially when hull-space and retrofit constraints limit the installation of bow thrusters. The same control problem also arises when installed bow thrusters become unavailable. However, lateral thrust applied at the stern also generates a yaw moment, coupling position correction with heading regulation [1,5]. Producing lateral force while maintaining the desired heading therefore requires coordinated thrust and azimuth commands, subject to the available thrust, steering range, and actuator response limits.
Research on this coupled control problem has examined both controller design and propulsion configuration. Sarda et al. [6] experimentally compared nonlinear PD, backstepping, and sliding-mode controllers on a USV with two transom-mounted azimuth thrusters under wind and current, identifying a trade-off between position and heading regulation. At the configuration level, Tanakitkorn and Phoemsapthawee [7] compared seven thruster arrangements and showed how propulsion geometry and disturbance direction affect pose control and power demand. For USVs with two fixed propellers, Gao et al. [8] adopted an environment-oriented desired heading in an augmented-model predictive controller, illustrating a different choice of control objective under constrained actuation. These studies motivate examining how learning-based control can coordinate position, heading, and actuator usage when the stern-only propulsion arrangement is held fixed.
Deep reinforcement learning (DRL) provides an alternative policy class for nonlinear, disturbance-aware control that is learned directly from interaction in actuation-constrained settings. Øvereng et al. [9] developed a proximal policy optimization (PPO) controller for the ReVolt model vessel using a Gaussian position–heading reward and evaluated it in simulation and model-scale sea trials. Lee et al. [10] used deep deterministic policy gradient (DDPG) to learn adaptive PID gains for a vessel equipped with six azimuth thrusters. Martinsen et al. [11] demonstrated reinforcement-learning-based tracking on a fully actuated unmanned surface vehicle (USV) with model-based feedforward, validated through sea trials. Yuan and Rui [12] developed a prioritized-replay soft actor-critic (SAC) controller and compared its DP errors with DDPG, twin delayed DDPG, and SAC; their training comparison also included PPO. Sandberg et al. [13] addressed DRL-based DP with live explainability for an autonomous ferry prototype. Tang et al. [14] applied improved maximum-entropy SAC to USV station keeping.
Accurate value estimation and stable learning are important for stern-only DP, where actuator lag and slew limits delay the response to control commands and lateral thrust couples position and heading corrections. Distributional reinforcement learning represents the distribution of returns rather than only their expected value, capturing variability in long-term outcomes [15]. Building on this approach, Duan et al. [16] introduced DSAC-T (Distributional Soft Actor-Critic with Three Refinements), which uses twin Gaussian return-distribution critics and variance-based critic-gradient adjustment to improve value estimation and learning stability. These properties motivate investigating whether DSAC-T can learn more effective station-keeping control under directional wind and stern-only actuation.
This paper applies DSAC-T to DP of an 83 m offshore supply vessel actuated exclusively by two stern azimuth thrusters, under steady directional wind disturbance. We use a publicly available OSV model and disable its bow thrusters to study stern-only dynamic positioning. DSAC-T is compared with PPO and SAC under common reward, observation, interaction-budget, and evaluation conditions, together with a fixed-gain proportional–derivative (PD) reference. Multi-seed evaluation across 17 wind conditions quantifies position, heading, and command activity. The main contributions of this study are as follows:
- 1.
- This study applies DSAC-T to stern-only dual-azimuth dynamic positioning in a vessel simulation that incorporates actuator lag, slew-rate limits, and coupled sway–yaw dynamics.
- 2.
- Comparisons with PPO and SAC show that DSAC-T achieves lower aggregate position error, with lower propulsor-command activity than PPO, under the evaluated directional-wind conditions.
- 3.
- The reward-tolerance analysis quantifies the influence of the Gaussian position-reward tolerance on DSAC-T performance, showing that tightening this tolerance reduces steady-state position error with a relatively small increase in propulsor-command activity over the tested range.
2. Materials and Methods
The simulation environment integrates vessel dynamics, thruster actuation, and environmental loading for controller training and testing. Figure 1 shows the coordinate systems and actuator layout.
Figure 1.
Vessel coordinate systems and stern-only dual-azimuth thruster layout. Arrows indicate positive coordinate directions, dimensions, and zero-azimuth thrust references. The longitudinal dashed line is the centerline; dashed rays delimit the azimuth range.
2.1. Vessel Model
This study adopts Fossen’s six-degree-of-freedom (6-DOF) marine-craft modeling framework [1]. The hull geometry and hydrodynamic parameters are based on the offshore supply vessel example in the Marine Systems Simulator (MSS) [17]. The reference vessel has a length of 83 m, a beam of 18 m, and a draft of 5 m. Its principal dimensions and inertial parameters are summarized in Table 1.
Table 1.
Principal vessel parameters.
Vessel position and orientation are expressed in the North–East–Down (NED) frame as , where , , and denote roll, pitch, and yaw. The body-fixed velocity vector is , containing the translational and angular velocities. The body-fixed axes point forward, starboard, and downward, respectively. With the current velocity expressed as , the relative velocity is . The governing equations are
Here, is the inertia matrix about the body-frame origin, comprising rigid-body inertia and frequency-independent added mass. The matrices and describe the corresponding Coriolis and centripetal terms and are evaluated using the body-fixed velocity . The matrix represents linear hydrostatic restoring effects, and transforms body-fixed velocities into position and orientation rates.
Hydrodynamic resistance comprises linear damping, longitudinal resistance, and cross-flow drag. The matrix contains the linear damping terms; its surge entry is zero because longitudinal resistance is supplied separately by . This term uses a smooth combination of linear and quadratic surge resistance. The cross-flow term is evaluated from the relative local velocities along the hull.
The generalized thruster-force vector is defined in Section 2.2. Wind loading and the wind-induced current are specified in Section 2.3; the additional environmental-load term is set to zero. The equations are integrated using fourth-order Runge–Kutta with eight substeps per 1 s control interval, giving an integration substep of 0.125 s.
2.2. Thruster Configuration and Actuator Dynamics
The reference vessel model is equipped with four thrusters: two bow tunnel thrusters, T1 and T2, and two stern azimuth thrusters, T3 and T4. To study stern-only dynamic positioning, the bow thrusters are kept inactive and only T3 and T4 are used for control. Their body-fixed locations are m, as shown in Figure 1. For this study, both stern units are assigned a maximum thrust of 655 kN and a propulsor-speed limit of 200 rpm. The actuator parameters are summarized in Table 2.
Table 2.
Thruster and actuator parameters.
For each stern thruster, the applied normalized propulsor-speed command determines the thrust magnitude and sign, while the azimuth angle determines its direction. The applied propulsor speed is rpm, and the normalized azimuth variable is . The same normalizations apply to commanded values. The resulting thrust and horizontal force vector are
Writing , the combined thruster input to the vessel model is
To compare the actuation configurations, we computed the maximum static lateral force at zero net surge force and yaw moment, retaining the same 655 kN stern units, signed thrust, and azimuth limits. Enabling two bow tunnel thrusters at and 35 m, each limited to 300 kN, increases this capacity from 217.9 to 1306.6 kN (Table 3). The calculation is detailed in the supplementary static actuation analysis (Supplementary Material).
Table 3.
Static lateral force capacity at zero surge force and yaw moment.
Propulsor speed and azimuth are updated through separate first-order responses with slew-rate limits. For either actuator variable , the applied value is updated as
where k indexes control updates, is the commanded value clipped to the specified range, is the previously applied value, and s is the control interval. The channel-specific time constant and slew limit are and , respectively. The clipping operation limits the actuator increment between its lower and upper bounds, and the applied actuator states are initialized at zero. Both channels use a prescribed time constant of 3 s. The normalized propulsor-speed rate is limited to s−1, and the azimuth rate is limited to /s. These simulation settings are applied to all evaluated controllers. With a 1 s control interval and a 3 s time constant, the first-order update coefficient is 0.25, so each command begins changing the applied state at the current update. The slew limits impose minimum full-range change times of 15 s for propulsor speed and 12 s for azimuth; the lag can lengthen these responses. These finite response rates constrain rapid force and moment corrections.
2.3. Environmental Disturbances and Simulation Conditions
The vessel is subjected to aerodynamic wind loads and a wind-correlated current. Wind and current directions in the NED frame denote the direction of flow and are measured clockwise from north. Let denote the horizontal components of the wind velocity relative to the vessel, expressed in the body-fixed frame. For a relative wind speed , the wind loads are
where is the dynamic pressure. The air density is kg/m3, and the frontal and lateral projected wind areas are m2 and m2, respectively. The dimensionless force and moment coefficients are , , and . All three wind loads are set to zero when .
Studies of wind- and wave-driven near-surface drift motivate the use of wind-correlated current scenarios [18,19]. An effective current is therefore parameterized by a wind-speed ratio and a directional offset:
where is the current speed, is the wind speed at 10 m above the sea surface, is the prescribed speed ratio, and and are the wind and current directions. A positive directional offset is used to represent the Northern Hemisphere sense of wind-driven deflection [20]. The speed ratio and deflection magnitude are prescribed simulation parameters.
During training, wind speed is sampled from 0 to 5 m/s over all directions, with sampled from 0.020 to 0.033 and from to . The initial distance from the target is sampled from 100 to 180 m, and the initial yaw angle from to . Evaluation uses and and includes a wind speed of 6 m/s beyond the training range. The evaluation cases and initial conditions are detailed in Section 2.7.
2.4. Control Formulation and Training Objective
The learning-based controllers are trained using the four-component reward structure of Øvereng et al. [9], adapted to stern-only actuation:
Let d denote the magnitude of the position error in the North–East plane, measured in meters, and the wrapped heading error in radians. The reward uses the clipped distance , where L is the vessel length; the normalized position error is . For the Gaussian reward, the heading error is expressed in degrees as .
Gaussian position–heading reward. The Gaussian term rewards proximity to the target position and heading:
where sets the peak reward, while and set the position and heading tolerance scales, respectively. The reward decreases smoothly with the clipped position error and the magnitude of the heading error.
Auxiliary pose-error reward. The Gaussian term can become small away from the target. An auxiliary reward provides an additional incentive for reducing the combined position–heading error:
Here, controls the relative contribution of heading error to the combined measure. The error-dependent component decreases linearly with and vanishes at . Beyond this threshold, remains at , a constant per-step reward offset independent of the pose error.
Velocity penalty. Residual motion is penalized through the body-fixed surge and sway velocities, u and v, and yaw rate r:
The velocities u and v are expressed in m/s, and r is expressed in rad/s. This term discourages persistent translational and rotational motion near the target.
Actuator penalty. The actuator term penalizes large propulsor commands and rapid changes in the applied actuator states:
The normalized applied variables and are defined in Section 2.2. Their rates are computed from successive applied values divided by the control interval and are expressed in s−1.
The reward parameters are summarized in Table 4. Their numerical values correspond to the units and normalizations specified above.
Table 4.
Reward parameters.
The primary controller comparison uses L. In the DSAC-T sensitivity study, this tolerance is varied over L, L, and L, with the remaining reward coefficients held fixed. This comparison examines how the spatial scale of the Gaussian reward affects positioning performance and propulsor-command activity.
2.5. DSAC-T Controller
DSAC-T learns Gaussian models of the soft-return distribution within the maximum-entropy, off-policy framework of SAC [16,21]. Its learning update combines expected-value substitution in the mean-related critic gradient, twin return critics, and variance-based adjustment of target clipping and critic-gradient scaling.
In this study, the actor serves as the DP controller, mapping vessel observations to normalized propulsor-speed and azimuth commands. These commands pass through the actuator dynamics and thrust mapping described in Section 2.2 to produce the forces and moments applied to the vessel. The simulation then returns the next observation and reward, providing transition data for updating the actor and distributional critics. This learning and control process is illustrated in Figure 2.
Figure 2.
DRL-based DP control loop with actuator dynamics and feedback of applied actuator states. Solid arrows show command and signal flow; dashed arrows show the policy update and wind/current input. The schematic uses horizontal components and , with corresponding to .
The observation, denoted O1, is the 17-dimensional vector containing, in order, the following: normalized target distance , , , , , body-frame velocities , body-frame accelerations , the two body-frame wind components , and the four post-lag/post-slew applied actuator states at the previous step. Here wrapped to is the body-frame bearing to the target station ( are NED position errors), distinct from the six-DOF pose vector . These last four elements are the signals actually applied to the vessel dynamics, not the raw command before the thruster actuator model.
With the bow thrusters inactive as specified in Section 2.2, the two stern units each receive a propulsor-speed command and an azimuth command. The normalized action vector is therefore .
2.5.1. Learning Update
Transitions generated by the control loop are stored in a replay buffer . Each learning update samples tuples , where is the issued normalized command, R is the reward defined in Section 2.4 (labeled in Figure 2), and is the next observation. The bootstrap mask m is zero for terminated transitions and one otherwise, including time-limit truncations. The actor parameters are denoted by , and the two critic parameter vectors are denoted by and .
Gaussian return critics. Each critic models the conditional soft-return distribution as
The outputs and estimate the expected soft return and its standard deviation. They belong to the same critic, while the two critics have independent parameters. Barred quantities below denote the corresponding lagged target critics.
Twin targets and expected-value substitution. The next command is sampled from the current actor and evaluated using the target critics. This current-policy sampling differs from the lagged actor used in the original DSAC-T formulation [16]. The target critic with the smaller predicted mean supplies both the mean and scale of the sampled return:
The mean and sampled return targets are
where is the discount factor and is the entropy temperature. Both critics use these targets. Conditional on the sampled next command, averages over the target return distribution and drives the mean-related update, while supplies the scale-related update.
Variance-based critic update. For the stored observation–command pair, write and . The sampled target in the scale-related term is clipped around the current return estimate:
where is the critic-specific clipping radius. Following the variance-adjusted update of Duan et al. [16], the stochastic gradient supplied to the critic optimizer is
Here, is the critic-specific gradient-scale statistic. The expectation is estimated using the sampled mini-batch and the action and return draws in Equations (13) and (14). The constants and regularize the denominators and gradient scaling. Targets and coefficients multiplying the output gradients are held at their forward-pass values when constructing . The critics are updated with Adam using this gradient estimate.
Each critic step uses the stored and . These statistics are subsequently refreshed using the same batch’s pre-step standard deviations:
where denotes the mini-batch average, controls the clipping range, and is the smoothing coefficient. The initial values are and , with denoting the critic-scale initialization setting.
Actor and target updates. The actor update samples fresh commands at observations drawn from the replay buffer and minimizes
This objective balances the smaller expected-return estimate against policy entropy. The policy density is evaluated in the normalized, tanh-transformed command space. During the actor update, gradients pass through the critic with respect to the command, while the critic parameter values remain fixed.
The temperature is adjusted automatically using a target entropy of for the four-dimensional action space. Each learning update comprises a critic step, the statistic refresh in Equation (17), an actor step, and a temperature update. The target critics then track the updated critics through .
2.5.2. Neural Network Architecture and Training Settings
DSAC-T is implemented in the Tianshou framework (version 2.0.1) [22]. Simulation and training used Python 3.12.13, NumPy 2.4.6, and PyTorch 2.13.0+cu130. Local plotting used Matplotlib 3.10.8, and the static actuation analysis used NumPy 2.4.3 and SciPy 1.17.1. The actor and the two critics use multilayer perceptrons with four hidden layers of 256 units and rectified linear unit (ReLU) activations. The actor defines a squashed Gaussian policy over the normalized commands, while each critic produces the mean and scale outputs in Equation (12). The architecture and learning parameters are summarized in Table 5, and the common training procedure is described in Section 2.6. One-step Bellman targets are used throughout training.
Table 5.
DSAC-T training settings (Tianshou implementation).
2.6. Comparison Controllers and Training Procedure
DSAC-T is evaluated against both conventional feedback control and established learning-based methods. A fixed-gain PD controller provides the feedback reference, while PPO and SAC provide on-policy and non-distributional off-policy comparisons, respectively.
2.6.1. PD Reference Controller
The PD controller provides a conventional feedback reference for position and heading regulation. It combines position and heading errors with body-fixed velocity feedback to generate the desired horizontal forces and yaw moment:
where , contains the body-frame target-minus-current position errors and the wrapped target-minus-current heading error, and .
Here, and . The gains remain fixed during evaluation and are listed in Table 6.
Table 6.
PD controller gains.
2.6.2. Thrust Allocation
Thrust allocation converts the desired forces and moment into individual actuator commands under the available thruster configuration [3]. In this implementation, a finite set of azimuth-angle pairs is considered, including symmetric steering, a differential-yaw configuration when Nm, the previous command-angle pair, and zero azimuth.
For each candidate pair , the allocation matrix is constructed from the force–moment mapping in Section 2.2, including the maximum thrust of each stern unit. It maps , where is a normalized signed-thrust variable, to the nominal horizontal forces and yaw moment. The candidate thrust variables are obtained as
where † denotes the Moore–Penrose pseudoinverse and clipping is applied component-wise. The candidate with the smallest residual is selected:
The candidate score is the unweighted Euclidean norm of the numerical residual components, with forces expressed in N and yaw moment in Nm. The selected thrust variables are converted to normalized propulsor-speed commands through
Within the allocator, changes in the selected command angles are limited to per control interval before normalization while retaining the selected thrust variables. The resulting speed and azimuth commands are then passed through the actuator model described in Section 2.2.
Figure 3 summarizes the PD control and allocation sequence.
Figure 3.
PD control loop (a) and thrust-allocation sequence (b). Green highlights the PD control and allocation stages; gray identifies the target, plant, actuators, memory, and feedback.
2.6.3. PPO Comparison Controller
PPO provides an on-policy comparison, using a clipped surrogate objective to update the controller from collected simulation trajectories [23]. It therefore represents a different learning approach from the off-policy DSAC-T and SAC controllers.
2.6.4. SAC Comparison Controller
SAC provides a closely related off-policy comparison within the maximum-entropy learning framework [21]. Its critics estimate expected returns rather than return distributions. The evaluated SAC and DSAC-T implementations use the network, temperature, and update settings summarized in Table 7.
Table 7.
Algorithm-specific settings under the common training procedure.
2.6.5. Common Training Procedure
All three learning methods use the O1 observation and the adapted reward defined in Section 2.4, with L and . Running observation normalization is disabled. Each method is trained for 200 iterations of 12,000 simulation steps, giving the same training interaction budget. SAC and DSAC-T use the same off-policy collection and update ratio, while PPO uses its on-policy rollout and update schedule.
Periodic and final evaluation use deterministic commands. PPO applies , whereas SAC and DSAC-T apply , where is the actor’s mean output before the final action transformation. The algorithm-specific settings are listed in Table 7.
2.7. Evaluation Setup and Performance Metrics
DP controllers must reduce initial position and heading errors and maintain the target pose under environmental disturbances. These capabilities are assessed together with the propulsor-command activity associated with station keeping. Accordingly, the evaluation uses initial position and heading offsets to examine performance from different starting states and varied wind conditions with coupled currents to examine disturbance rejection. Position performance is quantified by the per-run median and 90th-percentile errors and the position integral of absolute error (IAE), while heading accuracy is measured by the mean absolute heading error. The normalized cumulative command index (NCI) quantifies cumulative propulsor-command magnitude, allowing command usage to be considered alongside positioning accuracy.
2.7.1. Simulation Test Conditions
The primary test set contains 17 wind cases: one calm case and eight directions, , at wind speeds of 3 and 6 m/s. The main comparison starts with the vessel at the target position and heading. Three additional initial conditions—a 5 m north offset, a 10 m east offset, and a heading offset—are evaluated under the same wind cases. Together, the four initial conditions and 17 wind cases give 68 distinct condition–initial-state combinations.
Each run has a 1000 s horizon and a control interval of s. Metrics are computed from samples 201–1000, excluding the initial 200 s. This common evaluation window is denoted by , with samples.
2.7.2. Validation and Held-Out Testing
The position-reward tolerance is selected using a separate validation set formed by adding to the primary wind directions, at 3 and 6 m/s. The selected setting is subsequently evaluated on a held-out set formed by adding to the primary directions at the same two wind speeds. Each set contains 16 wind cases and uses the target position and heading as the initial state.
2.7.3. Position-Keeping Performance
Position metrics use the physical position-error magnitude d defined in Section 2.4, before clipping or normalization. For each run, the median and 90th percentile of the sampled errors describe typical deviations and the upper tail of the position-error distribution. Accumulated deviation is measured by the position IAE, computed as
where is the position error at sample k. The percentile errors are expressed in meters, and position IAE is expressed in ms.
2.7.4. Heading-Keeping Performance
Heading accuracy is measured by the mean absolute heading error over the evaluation window:
where is the wrapped heading error defined in Section 2.4. The result is expressed in degrees.
2.7.5. Propulsor-Command Activity
The reported NCI measures the accumulated magnitude of the applied propulsor-speed commands:
The normalized applied commands and are defined in Section 2.2. NCI is a dimensionless measure of command activity over the evaluation window.
2.7.6. Aggregation and Training Seeds
Metrics are first computed for each simulation run. Within each initial-condition group, they are averaged across wind cases for each seed and then across training seeds. The reported and are therefore means of the per-run medians and 90th percentiles, respectively. Standard deviations quantify variation among the seed-level aggregates.
The primary comparison uses training seeds for DSAC-T, PPO, and SAC. The same three seeds are used for the reward-tolerance study, validation, and held-out evaluation. Additional DSAC-T runs with seeds at L form the separately reported six-seed sensitivity analysis. For the deterministic PD reference, results are averaged across the corresponding wind cases.
The 25 m position and heading references in the figures provide study-selected descriptive scales; 25 m is approximately L for this vessel. Operational acceptance depends on the position, heading, and clearance requirements of the particular offshore activity.
3. Results
The comparisons examine positioning accuracy alongside propulsor-command activity, including their variation across initial conditions, training seeds, and wind directions. Learning progress and sensitivity to the position-reward tolerance are assessed separately.
3.1. Aggregate Station-Keeping Performance
DSAC-T achieves the lowest aggregate position errors among the four controllers on the primary test set (Figure 4 and Table 8). Its is 10.3 m, compared with 19.0–20.7 m for the comparison controllers. The lower and position IAE also indicate improvements in larger position deviations and accumulated error, rather than in the typical error alone. For the 83 m vessel, the DSAC-T aggregate position statistic corresponds to approximately L.
Figure 4.
Station-keeping performance on the primary test set, with the vessel initially at the target. Error bars for the learning-based controllers indicate ±1 standard error across three training seeds; the dashed line marks the 25 m position reference. Blue, orange, green, and pink-purple denote DSAC-T, PPO, PD, and SAC, respectively.
Table 8.
Station-keeping performance on the primary test set, with the vessel initially at the target.
Relative to PPO, DSAC-T reduces the mean absolute heading error from to and the cumulative propulsor-command magnitude by 49%. SAC and PD use smaller cumulative command magnitudes than DSAC-T but have larger aggregate position errors. PD retains the smallest mean heading error.
DSAC-T retains the lowest post-transient position errors across the four tested initial conditions (Table 9). Its ranges from 10.3 to 11.9 m and its from 15.7 to 17.4 m, showing limited sensitivity to these initial position and heading offsets.
Table 9.
Station-keeping performance from four initial conditions on the primary wind test set. Each cell reports (m).
Training-seed variation is considered alongside these aggregate results (Table 10). Across the common three seeds, DSAC-T exhibits both a lower average position error and a smaller observed spread than PPO. SAC also shows a relatively small spread, but its errors are centered at a higher level. Extending the DSAC-T sample to six seeds increases from 10.3 to 13.4 m and from 16.7 to 19.7 m, with per-seed values spanning 5.0–18.0 m. The increase in the expanded-sample estimate shows that stochastic training materially affects the reported level of positioning accuracy.
Table 10.
Per-seed (m) on the primary test set, with the vessel initially at the target. SD denotes the standard deviation across seeds.
3.2. Directional and Beam-Wind Performance
Directional comparisons examine how the coupling between lateral force and yaw moment affects station keeping under stern-only actuation. Beam-wind cases are particularly informative because they require the controller to regulate lateral position and heading simultaneously.
Under 6 m/s beam wind, PPO gives a slightly smaller position error than DSAC-T, with m and 11.6 m, respectively. DSAC-T, however, reduces the mean heading error from PPO’s to (Table 11). Thus, DSAC-T maintains substantially tighter heading regulation at a small position-error penalty relative to PPO in these cases. SAC and the PD reference exhibit much larger position errors of 44.4 and 63.1 m, respectively. The trajectories in Figure 5 provide an illustrative view of the different position–heading responses.
Table 11.
Position and heading errors under 6 m/s beam wind ( and ), with the vessel initially at the target.
Figure 5.
Seed-42 trajectories from a 10 m east offset under 6 m/s beam wind. Triangles mark heading at 100 s intervals; line shading darkens with time. The dashed circle marks the study’s 25 m position reference.
Figure 6 shows the same pose records against time. In this example, PPO’s smaller position error is accompanied by a larger heading deviation than DSAC-T.
Figure 6.
Position and heading responses for the trajectory case in Figure 5. (a) Position-error magnitude; (b) absolute heading error. Dashed lines mark 200 s.
The directional results in Figure 7 show that PPO’s locally favorable positioning does not extend uniformly across the tested angles. Its directional reaches 129.8 m at , whereas DSAC-T’s largest directional is 36.3 m, also at . Compared with PPO, DSAC-T therefore exhibits less severe direction-dependent degradation in position keeping. Heading regulation also varies with direction: DSAC-T’s largest directional mean heading error is at .
Figure 7.
Position and heading errors by wind direction at 6 m/s, with the vessel initially at the target. Dashed circles mark the 25 m position and heading references.
A position–heading compromise was also observed in the twin-azimuth field trials of Sarda et al. [6]. Tanakitkorn and Phoemsapthawee [7] identified configuration-dependent trade-offs in pose control and power demand. Here, position and heading are assessed alongside propulsor-command activity while the propulsion arrangement is held fixed.
3.3. Learning Dynamics
Under the shared composite reward, DSAC-T attains higher evaluation returns earlier in training than PPO and SAC (Figure 8). The three-seed mean of the five-iteration moving-average return first reaches the reference level of 1200 at iteration 27 for DSAC-T, compared with iterations 72 and 129 for PPO and SAC.
Figure 8.
Learning curves under the shared composite reward. Bold lines show means of trailing five-iteration moving averages; shaded bands indicate ±1 standard deviation of these smoothed curves across three training seeds. Faint lines show unsmoothed returns for individual seeds.
At iteration 200, the corresponding smoothed mean returns are 1819, 1528, and 1199. With the same number of simulation steps per training iteration, the earlier attainment of the reference return indicates faster learning progress by DSAC-T in terms of simulation interactions. DSAC-T also achieves a higher return by the end of the training budget.
3.4. Sensitivity to Position-Reward Tolerance
The Gaussian position tolerance determines the spatial scale over which position errors affect the reward. To examine its influence on learned station-keeping behavior, DSAC-T is trained with L, L, and L, while the remaining reward coefficients are held fixed. The comparison assesses both the resulting position accuracy and the associated propulsor-command activity.
Tightening the tolerance substantially improves positioning accuracy over the tested range (Table 12). Reducing from L to L lowers from 39.9 to 10.3 m, a reduction of approximately 74%, while NCI increases by approximately 9%, from 379 to 414. The 90th-percentile error and position IAE decrease in the same direction. The position-reward tolerance therefore has a pronounced effect on physical positioning accuracy, with a comparatively modest change in command activity. This sensitivity analysis complements the Gaussian reward design of Øvereng et al. [9] by quantifying the influence of its position scale under stern-only actuation.
Table 12.
Effect of the Gaussian position tolerance on DSAC-T station-keeping performance in the primary test set.
The independent validation set gives values of 9.5, 14.2, and 33.7 m for L, L, and L, respectively. This consistent ordering supports the choice of L among the tested settings.
Evaluation After Tolerance Selection
After tolerance selection, DSAC-T retains the lowest aggregate on the withheld-direction test set: 10.1 m, compared with 20.0 m for PPO, 20.0 m for SAC, and 22.9 m for PD.
At and under 6 m/s wind, DSAC-T achieves m, compared with 12.3 m for PPO, 46.2 m for SAC, and 66.1 m for PD. DSAC-T therefore has lower position error than PPO at these near-beam angles, reversing their ordering at the primary and beam-wind directions.
4. Conclusions and Future Work
Dynamic positioning with only two stern azimuth thrusters requires coordinated position and heading regulation under coupled sway–yaw dynamics and limited actuator response. This study applied DSAC-T to a simulated 83 m offshore supply vessel with actuator lag and slew-rate limits, combining multi-seed controller comparisons with an analysis of position-reward tolerance. DSAC-T achieved lower aggregate position errors than PPO, SAC, and the fixed-gain PD reference. Compared with PPO, it also improved heading regulation while reducing cumulative propulsor-command magnitude. Its aggregate positioning advantage persisted across the tested initial conditions and on a separate set of wind directions. Tightening the Gaussian position tolerance substantially improved positioning accuracy with a comparatively modest increase in command activity, highlighting reward specification as an important control-design variable. The controller comparisons and reward-tolerance analysis provide a simulation-based basis for developing learning-based DP systems for vessels without dedicated bow thrusters and for investigating alternative station-keeping strategies when bow thrusters are unavailable.
Future research should connect reward design more directly to operational requirements by specifying position and heading tolerances alongside acceptable actuator usage for particular offshore tasks. The current steady-wind and current evaluation should also be extended to time-varying wind and current together with irregular waves, examining how changing loads interact with actuator dynamics and how low-frequency positioning deviations can be distinguished from wave-frequency motions to avoid unnecessary actuator responses. Finally, the simulation findings require full-scale validation. A staged process from hardware-in-the-loop testing to controlled vessel trials should assess whether the observed positioning accuracy and command activity are retained under vessel-model mismatch, actual actuator responses, sensor noise, and communication delays. Future comparisons could also quantify DP errors with bow actuation enabled and examine transitions to stern-only control following bow-thruster unavailability.
Supplementary Materials
The following supporting information can be downloaded at https://www.mdpi.com/article/10.3390/jmse14201978/s1, Table S1: Matched static lateral-force comparison.
Author Contributions
Conceptualization, B.W. and Y.L.; methodology, B.W.; software, B.W. and J.L.; validation, B.W. and J.L.; formal analysis, B.W.; investigation, B.W.; resources, Y.L.; data curation, B.W. and J.L.; writing—original draft preparation, J.L.; writing—review and editing, B.W. and Y.L.; visualization, B.W.; supervision, Y.L.; project administration, Y.L.; funding acquisition, Y.L. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The evaluation data and trained checkpoints supporting the reported results are available from the corresponding author upon reasonable request.
Acknowledgments
The authors thank the developers of the Tianshou reinforcement learning framework and the DSAC-T reference implementation. During the preparation of this manuscript, the authors used OpenAI Codex CLI (version 0.153.4) with the GPT-5.6 Sol and GPT-6 Astra models for language polishing, stylistic refinement, and improving the clarity and readability of text originally prepared by the authors. These tools were not used to design the study, generate or analyze research data, interpret the experimental results, formulate scientific conclusions, or make research decisions. All AI-assisted outputs were critically reviewed, verified, and edited by the authors, who take full responsibility for the accuracy, originality, integrity, and final content of this publication.
Conflicts of Interest
The authors declare no conflicts of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| DSAC-T | Distributional Soft Actor-Critic with Three Refinements |
| DP | Dynamic Positioning |
| DRL | Deep Reinforcement Learning |
| PPO | Proximal Policy Optimization |
| SAC | Soft Actor-Critic |
| DDPG | Deep Deterministic Policy Gradient |
| PD | Proportional-Derivative |
| PID | Proportional–Integral–Derivative |
| IAE | Integral of Absolute Error |
| NCI | Normalized Cumulative Command Index |
| USV | Unmanned Surface Vehicle |
| MSS | Marine Systems Simulator |
| NED | North–East–Down |
| DOF | Degree of Freedom |
| ReLU | Rectified Linear Unit |
| GAE | Generalized Advantage Estimation |
| SD | Standard Deviation |
References
- Fossen, T.I. Handbook of Marine Craft Hydrodynamics and Motion Control; John Wiley & Sons: Chichester, UK, 2011. [Google Scholar]
- Sørensen, A.J. A survey of dynamic positioning control systems. Annu. Rev. Control 2011, 35, 123–136. [Google Scholar] [CrossRef] [Scilit]
- Johansen, T.A.; Fossen, T.I. Control allocation—A survey. Automatica 2013, 49, 1087–1103. [Google Scholar] [CrossRef] [Scilit]
- Velasco, F.J.; Rueda-Escobedo, J.G.; Donaire, A. On the continuity of control allocation for surface vessels with two azimuth thrusters. Ocean Eng. 2023, 285, 114259. [Google Scholar] [CrossRef] [Scilit]
- Li, T.; Zhao, R.; Chen, C.L.P.; Fang, L.; Liu, C. Dynamic Positioning Control for Marine Crafts: A Survey and Recent Advances. J. Mar. Sci. Eng. 2024, 12, 362. [Google Scholar] [CrossRef] [Scilit]
- Sarda, E.I.; Qu, H.; Bertaska, I.R.; von Ellenrieder, K.D. Station-keeping control of an unmanned surface vehicle exposed to current and wind disturbances. Ocean Eng. 2016, 127, 305–324. [Google Scholar] [CrossRef] [Scilit]
- Tanakitkorn, K.; Phoemsapthawee, S. Impacts of thruster configurations on the task performance of an unmanned surface vehicle. Ocean Eng. 2022, 256, 111465. [Google Scholar] [CrossRef] [Scilit]
- Gao, S.; Liu, C.; Tuo, Y.; Chen, K.; Zhang, T. Augmented model-based dynamic positioning predictive control for underactuated unmanned surface vessels with dual-propellers. Ocean Eng. 2022, 266, 112885. [Google Scholar] [CrossRef] [Scilit]
- vereng, S.S.; Nguyen, D.T.; Hamre, G. Dynamic Positioning using Deep Reinforcement Learning. Ocean Eng. 2021, 235, 109433. [Google Scholar] [CrossRef] [Scilit]
- Lee, D.; Lee, S.J.; Yim, S.C. Reinforcement learning-based adaptive PID controller for DPS. Ocean Eng. 2020, 216, 108053. [Google Scholar] [CrossRef] [Scilit]
- Martinsen, A.B.; Lekkas, A.M.; Gros, S.; Glomsrud, J.A.; Pedersen, T.A. Reinforcement Learning-Based Tracking Control of USVs in Varying Operational Conditions. Front. Robot. AI 2020, 7, 32. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Yuan, W.; Rui, X. Deep reinforcement learning-based controller for dynamic positioning of an unmanned surface vehicle. Comput. Electr. Eng. 2023, 110, 108858. [Google Scholar] [CrossRef] [Scilit]
- Sandberg, A.; Hinostroza, M.A.; Lekkas, A.M. Deep Reinforcement Learning for Ship Dynamic Positioning: A Live Explainable AI Approach on an Autonomous Ferry Prototype. IEEE Access 2026, 14, 59064–59094. [Google Scholar] [CrossRef] [Scilit]
- Tang, D.; Li, Z.; Li, S.; Liu, Y. Enhancing USV Station Keeping via Improved Maximum Entropy Deep Reinforcement Learning. In Proceedings of the 2024 IEEE International Conference on Unmanned Systems (ICUS), Nanjing, China, 18–20 October 2024; pp. 1435–1440. [Google Scholar] [CrossRef] [Scilit]
- Bellemare, M.G.; Dabney, W.; Munos, R. A Distributional Perspective on Reinforcement Learning. In Proceedings of the 34th International Conference on Machine Learning, ICML 2017, Sydney, Australia, 6–11 August 2017; Proceedings of Machine Learning Research (PMLR): Cambridge, MA, USA, 2017; Volume 70, pp. 449–458. [Google Scholar]
- Duan, J.; Wang, W.; Xiao, L.; Gao, J.; Li, S.E.; Liu, C.; Zhang, Y.Q.; Cheng, B.; Li, K. Distributional Soft Actor-Critic with Three Refinements. IEEE Trans. Pattern Anal. Mach. Intell. 2025, 47, 3935–3946. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Fossen, T.I. Description of MSS Vessel Models: Configuration Guidelines for Hydrodynamic Codes; Technical Report; MSS Toolbox Documentation; Norwegian University of Science and Technology: Trondheim, Norway, 2008. [Google Scholar]
- Wu, J. Sea-Surface Drift Currents Induced by Wind and Waves. J. Phys. Oceanogr. 1983, 13, 1441–1451. [Google Scholar] [CrossRef] [Scilit]
- Röhrs, J.; Christensen, K.H. Drift in the uppermost part of the ocean. Geophys. Res. Lett. 2015, 42, 10,349–10,356. [Google Scholar] [CrossRef] [Scilit]
- Ekman, V.W. On the Influence of the Earth’s Rotation on Ocean-Currents. Ark. Mat. Astron. Och Fys. 1905, 2, 1–52. [Google Scholar]
- Haarnoja, T.; Zhou, A.; Abbeel, P.; Levine, S. Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actor. In Proceedings of the 35th International Conference on Machine Learning, ICML 2018, Stockholm, Sweden, 10–15 July 2018; Proceedings of Machine Learning Research (PMLR): Cambridge, MA, USA, 2018; Volume 80, pp. 1861–1870. [Google Scholar]
- Weng, J.; Chen, H.; Yan, D.; You, K.; Duburcq, A.; Zhang, M.; Su, Y.; Su, H.; Zhu, J. Tianshou: A Highly Modularized Deep Reinforcement Learning Library. J. Mach. Learn. Res. 2022, 23, 267:1–267:6. [Google Scholar]
- Schulman, J.; Wolski, F.; Dhariwal, P.; Radford, A.; Klimov, O. Proximal Policy Optimization Algorithms. arXiv 2017, arXiv:1707.06347. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 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.







