Next Article in Journal
Aircraft Longitudinal Aerodynamic Parameter Identification of Kernel Extreme Learning Machine Based on Improved Northern Goshawk Algorithm
Previous Article in Journal
Results of the H2Avia Project: Potential of Hydrogen for Global Aviation
Previous Article in Special Issue
Servo-Elastic Control of a Flexible Airship with Multiple Vectored Propellers
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Spatio-Temporal Foresight Reinforcement-Learning Framework for Long-Term Station-Keeping of Stratospheric Airships

1
National Space Science Center, Chinese Academy of Sciences, Beijing 100190, China
2
University of Chinese Academy of Sciences, Beijing 100049, China
*
Authors to whom correspondence should be addressed.
Aerospace 2026, 13(6), 551; https://doi.org/10.3390/aerospace13060551
Submission received: 6 May 2026 / Revised: 29 May 2026 / Accepted: 11 June 2026 / Published: 12 June 2026

Abstract

Long-term station-keeping of stratospheric airships is challenged by strong time-varying wind fields, pronounced vertical stratification of wind speed and direction, and limited onboard energy. Existing reinforcement-learning approaches typically rely on instantaneous observations to make reactive decisions and therefore struggle to deliver foresighted control in dynamic environments. This paper proposes a Spatio-Temporal Foresight Reinforcement-Learning framework (STF-RL) that explicitly incorporates future wind information. A Transformer is introduced to model multi-step, multi-altitude forecast wind sequences, and a time–height dual positional encoding is designed to characterize both the temporal evolution and the vertical structure of the wind field. A task-conditioned attention pooling mechanism then extracts the future-wind features most relevant to the current state, which are concatenated with the airship state and fed into an actor–critic network to enable foresighted policy learning. A continuous action space supporting three-dimensional maneuvering is constructed, together with a multi-objective reward that jointly accounts for station-keeping performance, energy consumption and safety. Experimental results show that the proposed method outperforms baseline approaches in station-keeping performance, trajectory stability and energy-utilization efficiency, while exhibiting strong robustness across different wind-field conditions.

1. Introduction

Stratospheric airships generally operate at altitudes of approximately 18–22 km and offer long endurance, deployment flexibility and substantial payload capacity. Their potential value for communication relay and broadband coverage missions has been systematically discussed in early studies [1,2], and the development status and technological trends of these platforms have been reviewed comprehensively [3]. In practical missions, an airship is required to maintain long-term, stable station-keeping above a target region while sustaining effective coverage in a complex and highly variable upper-atmosphere environment. Owing to the coupled influence of wind disturbances, environmental uncertainty and mission constraints [4,5], achieving stable and efficient station-keeping in such environments has become one of the core problems limiting the operational performance of high-altitude platforms. Autonomous station-keeping path planning under complex environmental conditions has therefore emerged as a key research issue for stratospheric airships and related high-altitude platforms.
Unlike conventional path-planning tasks, stratospheric airship station-keeping is simultaneously affected by dynamic wind fields and energy constraints. On the one hand, stratospheric winds exhibit pronounced time variability, non-stationarity and vertical stratification, with significant differences in wind speed and direction across altitude layers and continuous evolution over time [6,7,8,9]. Because an airship has a large windward area and limited maneuverability, its motion is highly sensitive to wind disturbances, which can lead to trajectory drift, increased control cost and degraded station-keeping performance. On the other hand, an airship typically relies on combined solar and battery power, with the propulsion, control and payload subsystems all subject to a limited energy budget; the day–night cycle further intensifies the coupling between energy harvesting and energy consumption [10,11,12,13]. Long-term path planning that simultaneously addresses station-keeping accuracy, disturbance rejection and energy feasibility under time-varying wind conditions therefore remains a challenging research problem.
For path-planning problems, classical methods are mainly grouped into graph-search, sampling-based and evolutionary-optimization approaches. Graph-search methods such as A* and Dijkstra [14,15] offer good determinism and interpretability in static or low-dimensional settings, but they suffer from high computational cost and poor real-time performance in large-scale dynamic environments. Sampling-based methods such as RRT, RRT* and PRM [16,17,18] are capable of higher-dimensional feasible-path search, and an improved RRT method tailored to the constraint set of stratospheric airships [19] further illustrates the engineering potential of this family of approaches; however, their performance is sensitive to environmental complexity and replanning frequency, and their stability is limited under strongly time-varying conditions. Evolutionary-optimization methods such as genetic algorithms, particle-swarm optimization and simulated annealing can address non-convex problems, but they are commonly hampered by parameter sensitivity, slow convergence and limited dynamic adaptability. Overall, traditional path-planning methods have difficulty in jointly handling the persistent evolution of stratospheric winds, the continuous control requirements of the airship, and the coupling imposed by long-term energy constraints.
Deep reinforcement learning has recently provided a new technical pathway for autonomous path planning in complex dynamic environments. Value-based methods exemplified by DQN [20], double Q-learning [21] and DRQN [22] have extended the applicability of reinforcement learning to partially observable and high-dimensional decision-making tasks, while PPO [23] and SAC [24] have further improved training stability and sample efficiency in continuous-control tasks. These approaches have recently been adopted for stratospheric airship path planning under dynamic winds [25,26,27,28]. In particular, long-horizon hierarchical reinforcement-learning planning [29], fixed-time trajectory planning [30] and deep reinforcement-learning methods designed for spatio-temporally complex environments [31] have improved policy foresight and robustness in complex wind fields. Related ideas have been extended to resource-constrained high-altitude balloon station-keeping [32,33,34] and multi-airship formation coverage missions [35,36,37], showing that reinforcement learning can yield flight policies with reasonable robustness under wind disturbances and continuous control. Compared with the classical approaches above, reinforcement learning is better suited to closed-loop decision-making problems characterized by uncertainty and long temporal horizons.
Despite this progress, existing reinforcement-learning-based airship path-planning studies still exhibit clear limitations. First, prior work has shown that external numerical weather prediction systems and large-scale wind-field datasets can already provide usable future-wind priors for stratospheric airship missions [6,7,38]. Nevertheless, many path-planning methods for dynamic wind fields still update their policies primarily on the basis of current local observations [25,26,27,28,29,30,31] and thus follow a typical reactive control paradigm. Even in studies that incorporate wind information, future-wind priors are often treated only as background context or local auxiliary information, rather than being organized into a unified, task-relevant representation. For wind environments with pronounced temporal evolution, such methods can respond to short-term disturbances but cannot explicitly exploit future environmental trends, leading to myopic decisions that struggle to balance trajectory stability and energy efficiency over long station-keeping missions. Second, prior work on forecast-wind-based path planning, recovery trajectory optimization, horizontal trajectory control and regional station-keeping [6,7,39,40], together with studies on station-keeping control and policy optimization in dynamic winds [11,13], has shown that the key control dimensions of stratospheric station-keeping involve not only horizontal maneuvering but also altitude adjustment. Because wind structures often differ markedly across altitude layers, a well-designed altitude-changing strategy can effectively avoid unfavorable flows and exploit advantageous wind layers, thereby improving station-keeping feasibility and reducing energy consumption. Although recent work has begun to introduce temporal perception and dual-source learning mechanisms [41], a unified, task-relevant representation of future multi-altitude wind fields remains to be further developed.
From a task-mechanism perspective, station-keeping decision-making for a stratospheric airship must answer at least the following two interrelated questions: how the wind field at each altitude will evolve over the coming horizon, and how the airship should exploit this spatio-temporal heterogeneity to perform foresighted horizontal motion and altitude adjustment under the current energy state and mission constraints. If the policy model lacks an effective representation of the joint temporal–vertical structure of future winds, it can hardly form genuinely global decisions for long-term station-keeping. It is therefore necessary to introduce representation-learning methods capable of capturing long-range temporal dependencies and inter-layer correlations, so as to extract from external forecast winds the environmental features most relevant to the current control decision and to integrate them deeply into the reinforcement-learning policy-optimization process.
As a classical sequence model, LSTM [42] laid an important foundation for subsequent sequence-modeling research, while the Transformer, built on the self-attention mechanism [43], can effectively model long-range dependencies in long sequences. Studies on multivariate time-series representation learning [44], together with long-sequence forecasting models such as Informer, Autoformer and the Temporal Fusion Transformer [45,46,47], have further demonstrated that attention-based architectures can effectively capture complex cross-step dependencies. For stratospheric airship path planning, future winds inherently possess a dual temporal–altitudinal structure as follows: the wind state evolves continuously in time, and clear differences and potential synergies exist among altitude layers. The Transformer therefore provides a suitable technical foundation for the unified representation of future multi-altitude wind fields.
Building on the considerations above, this paper proposes a Transformer-aware reinforcement-learning path-planning method for long-term station-keeping of stratospheric airships. Rather than performing generative wind prediction, the method directly exploits future-wind information provided by external numerical weather prediction systems and reanalysis data [38] and uses a Transformer to learn task-relevant spatio-temporal features. To strengthen the model’s ability to discriminate wind structures, a time–height dual positional encoding is designed to explicitly model future temporal information and vertical-layer information. On this basis, a Transformer encoder learns a joint representation of multi-step, multi-altitude future winds, and a task-conditioned pooling mechanism produces a compact environmental feature aligned with the current airship state. This wind latent representation is then combined with the airship’s current position, flight state and remaining energy and fed into the reinforcement-learning policy network, enabling tightly coupled perception and decision-making. The framework supports foresighted altitude-changing station-keeping under complex wind and energy constraints while accounting for long-term energy sustainability [48].
The main contributions of this work are summarized as follows.
First, a spatio-temporal representation mechanism for future multi-altitude winds is proposed. To address the joint temporal evolution and vertical stratification of stratospheric winds, a structured input representation indexed by both time and altitude is constructed, and a time–height dual positional encoding is designed to enhance the model’s ability to discriminate the spatio-temporal structure of the wind field.
Second, a decision-making framework that couples Transformer-based perception with reinforcement-learning policy optimization is developed. By sharing the wind encoder and the task-conditioned pooling mechanism, both the policy network and the value network can extract future-wind features most relevant to the current task state, alleviating the myopia caused by classical reinforcement-learning approaches that rely solely on instantaneous observations.
Third, for the three-dimensional station-keeping control task, a continuous action space supporting both horizontal maneuvering and altitude adjustment is designed. The reward function jointly considers target station-keeping, the energy state and safety constraints, enabling the policy to actively select more advantageous flight altitudes in complex wind fields and to achieve a coordinated optimization of station-keeping performance and energy feasibility.
Beyond the technical formulation, stratospheric-platform deployment is also shaped by emerging regulatory and operational standardization efforts. Internationally, ITU discussions on HAPS/HIBS spectrum identification and coordination, together with ICAO work on the integration of unmanned and advanced aviation operations, indicate that future high-altitude operations will need clearer rules for communications, airspace safety and operational approval [49,50]. In China, relevant frameworks are likely to involve coordinated development among civil-space, aviation, spectrum-management and aerospace-standardization authorities, including bodies such as CNSA, SAMR and CAAC [51,52,53]. Improved station-keeping reliability and predictable energy-aware operation can therefore provide a technical basis for future standardized and certifiable stratospheric-platform missions.
The remainder of the paper is organized as follows. Section 2 presents the environment model and the formulation as a Markov decision process. Section 3 describes the proposed planning framework in detail, including the Transformer-based wind modeling, the perception-decision mechanism, and the altitude-changing dynamic strategy. Section 4 reports the experimental setup and result analysis. Section 5 discusses limitations and future work, and Section 6 concludes the paper.

2. Problem Formulation

2.1. Environment Modeling

This work addresses the long-term regional station-keeping problem of a stratospheric airship in a complex, time-varying wind field. The objective is to autonomously regulate the airship’s horizontal propulsion, heading and altitude under given target-region and energy constraints, so that the airship remains in the vicinity of the target region for as long as possible, as illustrated in Figure 1, while jointly maintaining energy sustainability and flight safety. Unlike conventional two-dimensional path planning, this task is simultaneously affected by the spatio-temporal evolution of the wind field, inter-layer wind differences and the diurnal energy cycle, and is therefore inherently a three-dimensional sequential decision-making problem driven by the coupling between a dynamic environment and resource constraints.
Because this study focuses on mission-level path planning rather than on the high-frequency attitude response of low-level flight control, the environment is modeled with a simplified three-dimensional kinematic description. The formulation retains only the state-evolution factors directly relevant to decision-making, namely changes in airship position, the influence of wind disturbances and the dynamics of the energy state. It thereby reduces environmental complexity while preserving physical plausibility, providing a stable, controllable and representative interactive platform for reinforcement-learning policy training.
This simplification is adopted for the physical scale considered in this work. The decision interval is 300 s, and each episode covers 72 h, so the reinforcement-learning agent operates at the mission-planning level rather than at the inner-loop attitude-control level. Over this time scale, the dominant state-evolution mechanisms are the advection induced by stratospheric wind, the commanded horizontal airspeed and heading, the slowly varying altitude command, and the charging-discharging energy balance. High-frequency aerodynamic effects, actuator transients, structural elasticity and attitude dynamics are therefore treated as lower-level control effects that are assumed to be stabilized by the onboard flight-control system.
The model should consequently be interpreted as a mission-level kinematic planning model, not as a replacement for a six-degree-of-freedom aerodynamic simulator. This abstraction is consistent with the objective of comparing foresighted station-keeping policies under identical wind, energy and action constraints. To make the abstraction explicit, Figure 2 defines the reference frame, vectors and angles used throughout the formulation. The aerodynamic influence of vehicle size is retained indirectly through the physically bounded speed, vertical-rate, action-smoothness and propulsion-power constraints, while higher-fidelity aerodynamic force and moment modeling is left for hardware-in-the-loop or flight-test validation.

2.1.1. Airship Kinematic Model

Let the spatial position of the airship at time t be denoted as
p t = x t , y t , z t
where x t and y t are the horizontal coordinates and z t denotes the flight altitude. The control inputs of the airship comprise the horizontal propulsion speed v t relative to the airflow, the heading angle ψ t , and the vertical speed v z , t . Neglecting high-frequency details such as attitude variation, structural elasticity and actuator hysteresis, the three-dimensional motion of the airship can be expressed as
p ˙ t = v t c o s ψ t v t s i n ψ t v z , t + w p t , t
where w p t , t = u p t , t , v p t , t , w p t , t is the three-dimensional wind-velocity vector at time t and position p t . This term captures the direct influence of the ambient wind on the airship’s ground velocity and represents the principal external disturbance driving the airship away from the target region.
In the model above, the actual motion of the airship is jointly determined by the autonomous control inputs and the ambient wind. Stratospheric winds vary markedly in both time and altitude, and substantial differences in wind speed are commonly observed across altitude layers. The airship therefore not only needs to counteract unfavorable winds through horizontal control but can also actively seek more favorable wind layers via altitude-changing maneuvers, thereby improving station-keeping capability and reducing propulsion cost.

2.1.2. Wind-Disturbance Modeling

Although the ambient wind field can be supplied by external numerical weather prediction and reanalysis data, real upper-atmosphere winds inevitably contain forecasting errors, local disturbances and unmodeled small-scale variations. If only an idealized forecast wind is used during training, the policy is prone to overfit a deterministic environment, weakening its robustness in real deployment. To address this, a stochastic disturbance term is superimposed on the baseline wind field to emulate environmental uncertainty.
Let the baseline wind field be w p t , t . The actual perturbed wind field is then expressed as
w ˜ p t , t = w p t , t + ϵ t
where ϵ t is a zero-mean Gaussian random disturbance, namely
ϵ t N 0 , Σ
with the covariance matrix taken in diagonal form
Σ = d i a g σ x 2 , σ y 2 , σ z 2
where σ x ,     σ y and σ z denote the disturbance intensities along the three directions, respectively. This setting approximates non-deterministic factors such as wind-speed measurement errors, short-term forecast biases and small-scale local disturbances. The kinematic equation of the airship can therefore be further written as follows.
In the present experiments, the covariance is kept diagonal and constant with altitude to isolate the effect of the proposed decision-making architecture from additional uncertainty-modeling factors. Physically, this term represents a compact approximation of forecast error, measurement error and unresolved local fluctuations around the ERA5-based background wind. We acknowledge that real stratospheric forecast uncertainty and turbulence intensity are altitude dependent and may also exhibit cross-component correlations. A more detailed deployment model can replace the constant covariance with an altitude-dependent covariance Sigma (z) estimated from forecast-error statistics, but this extension is beyond the scope of the current algorithm-comparison study.
p ˙ t = v t c o s ψ t v t s i n ψ t v z , t + w ˜ p t , t

2.1.3. Energy-Constraint Model

For long-term station-keeping missions, the path planning of a high-altitude airship cannot be optimized solely with respect to geometric proximity to the target or maintenance of the target region; the dynamic evolution of the energy state and the diurnal energy cycle must also be taken into account. Unlike short-endurance vehicles, an airship typically relies on the joint operation of solar cells and batteries, and its propulsion, control and avionics subsystems continuously consume the limited stored energy. If energy constraints are ignored, a policy may temporarily improve station-keeping performance through high-frequency, high-thrust control, only to rapidly deplete the battery during the night or under sustained headwinds, ultimately failing the mission.
Let the remaining energy of the airship at time t be E t . Its dynamics are jointly determined by the energy input and the energy consumption, namely
E ˙ t = P in t P out t
where the energy consumption mainly comprises the power drawn by the propulsion system and the avionics. Considering that the propulsion power required to sustain flight is generally a non-linear function of speed, the propulsion power is approximated as
P prop t = k p v t 3
where k p is a coefficient related to the airship’s aerodynamic characteristics and propulsion efficiency; v t is the airspeed vector. The continuous power consumption of the avionics is denoted by the constant P a v . The total output power is therefore
P o u t t = P p r o p t + P a v
The energy input is provided primarily by the onboard solar panels. Let the solar irradiance be I t , the photovoltaic conversion efficiency be η , and the effective receiving area be A . The instantaneous charging power is then
P i n t = η A I t ξ t
where ξ ( t ) [ 0 , 1 ] is a solar-availability factor that captures the periodic variation in solar irradiance under the diurnal cycle. To reflect the daily cycle, ξ ( t ) is approximated by a periodic function that takes high values during the day and decays to zero at night, thereby emulating the diurnal fluctuation of solar-energy supply.
With a discrete time step Δ t , the energy state is updated as
E t + 1 = E t + Δ t P i n t P o u t t
To guarantee mission sustainability and system safety, lower and upper bounds are imposed on the energy state. When the remaining energy approaches the safety lower bound, the policy must give priority to reducing energy consumption and exploiting favorable wind layers to recover the energy reserve, rather than merely sustaining the local position by means of high-thrust control. The station-keeping problem is thus further characterized as a coupled optimization problem influenced jointly by the spatio-temporal evolution of the wind field and the resource constraints.

2.2. Markov Decision Process

To formalize the long-term station-keeping control of the airship in a complex wind field, the path-planning task is modeled as a Markov decision process (MDP), denoted as
M = S , A , P , r , γ
where S is the state space, A is the action space, P is the state-transition probability, r is the immediate reward function, and γ is the discount factor.
At time t , the state s t S is composed of both the current airship state and future-wind information, namely
s t = s t a , W t
where s t a collects the airship’s current position, flight altitude, speed, heading angle, remaining energy and other state information, and W t denotes the forecast wind field over a finite future horizon at multiple altitude layers. This state definition allows the agent not only to use current observations, but also to incorporate the predicted evolution of the wind field for foresighted planning.
The action a t A adopts a continuous-control form and is defined as
a t = v t , ψ t , v z , t
where v t is the horizontal propulsion speed, ψ t is the heading angle, and v z , t is the vertical speed. This action space simultaneously supports horizontal maneuvering and altitude variation, enabling the airship to actively seek more favorable wind layers through altitude switching.
State transitions are jointly determined by the airship kinematics, the wind disturbances and the energy dynamics. Because the wind environment is stochastic and time-varying, no explicit transition function is constructed; instead, transitions are obtained through the agent’s interactions with the simulation environment.
The reward function r t = r s t , a t measures the immediate contribution of the current action to the mission objective. The reward design jointly considers regional station-keeping, progress towards the target, energy constraints and safety requirements, so as to guide the agent towards control policies that balance station-keeping performance and energy efficiency. Its specific form is given later in the paper.
Under this formulation, the optimization goal is to learn an optimal policy π a t s t that maximizes the expected cumulative discounted reward over the entire mission horizon, namely
π = a r g   m a x π   E π t = 0 T     γ t r t
Building on this formulation, the subsequent sections develop a reinforcement-learning framework that integrates future-wind encoding with continuous-control policy optimization.

3. Proposed Method

3.1. Overall Framework

To address the long-term station-keeping path-planning problem of stratospheric airships under complex time-varying winds and energy constraints, this work uses future multi-step, multi-altitude forecast winds as an environmental prior. A Transformer is employed to learn representations of the multivariate time series and, drawing on architectural strengths from long-sequence modeling, to extract the key evolutionary features of the wind field along the temporal and vertical dimensions. Compared with reactive path-planning approaches that rely solely on current observations, the proposed method explicitly exploits future-wind trends during decision-making, thereby providing a more foresighted environmental basis for station-keeping path planning. The overall framework of the proposed method is illustrated in Figure 3.
The method consists of the following four components: future-wind input, spatio-temporal feature encoding, path decision-making and policy optimization. At each decision step, the environment supplies the agent with the airship’s current state together with forecast winds at multiple altitude layers over a finite future horizon. The future-wind tensor is unfolded into a sequence of spatio-temporal tokens, and a time–height dual positional encoding is added to retain the structural information across future time steps and vertical layers. A Transformer encoder then performs unified representation learning on the multi-altitude wind sequence, yielding wind features that incorporate global contextual relationships. A task-conditioned attention pooling mechanism subsequently extracts, from the encoded wind features, the latent representation most relevant to the current station-keeping task. This representation is concatenated with the airship’s current position, leaving energy and target information to form an augmented state input for the reinforcement-learning policy, which is then optimized within the PPO framework.
At the path-planning level, an actor–critic reinforcement-learning structure is used to model the airship’s path decisions. The policy network outputs a continuous action conditioned on the augmented state, representing the path-adjustment decision at the current step, while the value network estimates the long-term return of the current state and provides the basis for policy updates. Because the action space includes both horizontal maneuvering and altitude adjustment, the learned policy can adaptively select more favorable flight layers according to the predicted wind distribution and dynamically refine the path, thereby balancing station-keeping accuracy, path feasibility and energy consumption. The entire framework is trained end-to-end under PPO, allowing wind-field representation learning and path decision-making to be optimized jointly and producing an adaptive station-keeping path-planning policy suited to complex wind environments.
On the basis of this design, a closed-loop methodology that comprises future-wind input, spatio-temporal feature encoding, task-relevant pooling, path-decision output and policy-optimization update is established. Subsequent subsections describe the state representation and future-wind input, the time–height dual positional encoding and the Transformer-based wind encoder, and finally the design of the reinforcement-learning policy network, the action space and the reward function.

3.2. Wind-Field Data Representation

To enable the reinforcement-learning agent to make foresighted decisions in highly variable stratospheric winds, the state space is designed as a joint representation that combines the airship’s current state with future forecast winds. The airship state reflects the current mission conditions, while the future forecast wind provides the predicted evolution of the environment, allowing the agent to leverage both instantaneous observations and environmental priors for adaptive station-keeping path planning.
(1)
Airship state representation.
The airship’s current state vector mainly describes its kinematic state, energy state and task-related information at the current time. The airship state at time t is defined as
s airship ,   t = x t , y t , h t , v t , ψ t , E t , x t target , y t target
where x t and y t are the horizontal coordinates of the airship, h t is the current flight altitude, v t is the airspeed, ψ t is the heading angle, E t is the remaining energy, and x t t a r g e t and y t t a r g e t are the center coordinates of the target station-keeping region. These variables jointly describe the airship’s current dynamic characteristics, mission constraints and available resources, and form the basis for action selection.
Because different state variables differ markedly in physical units and numerical ranges, all state variables are normalized before training to improve the stability and convergence of neural-network training. The normalized airship state vector is denoted by s ˜ airship , t .
(2)
Future-wind representation.
To strengthen the policy’s ability to perceive future environmental changes, the forecast wind over the next 12 h is incorporated into the state space as a key component. It should be emphasized that the wind information used in this work is not predicted by the model itself but is provided by an external numerical weather prediction system. The role of the Transformer module is to encode this forecast wind and extract spatio-temporal features useful for decision-making, rather than to perform wind forecasting.
Let the forecast wind tensor at time t , covering T future time steps and H altitude layers, be
W t R T × H × C
where T is the future forecast horizon, H is the number of vertical layers, and C is the dimensionality of wind features at each spatio-temporal location. In this work, C = 3 , corresponding to the following three wind components: the eastward wind speed u , the northward wind speed v , and the vertical wind speed w . The wind tensor can therefore be expressed as
W t = w t + τ , h j τ = 1 , 2 , , T , j = 1 , 2 , , H
where w t + τ , h j = u t + τ , h j , v t + τ , h j , w t + τ , h j is the wind vector at the τ -th future time step on the j -th altitude layer.
To facilitate processing by the subsequent Transformer encoder, the wind tensor is first unfolded along the temporal and altitudinal dimensions into a sequence of spatio-temporal tokens:
W ^ t R T × H × C
Each wind token is then projected into a d -dimensional feature space via a linear mapping to obtain the wind embedding:
X t = W ^ t W e + b e
where W e R C × d is a learnable embedding matrix, b e is a bias term, and X t R ( T × H ) × d is the initial feature representation of the wind tokens.
(3)
Joint state-space representation.
Based on the definitions above, the raw state used at the environment level is
s t = s airship , t , W t
i.e., it is composed of both the airship’s current state and the future forecast wind. This state definition departs from classical reinforcement-learning approaches that rely only on current local observations, allowing the agent not only to perceive its current state but also to exploit prior information about how the environment is likely to evolve, thereby improving its adaptability to strongly time-varying wind environments.
However, the raw wind tensor W t is high-dimensional and exhibits complex spatio-temporal coupling and is therefore unsuitable for direct input to the policy network. To this end, a Transformer-based wind encoder is used to learn its representation, extract the key structural information of the future forecast wind across the temporal and vertical dimensions, and produce a compact wind latent representation z wind , t through the task-conditioned attention pooling mechanism. On this basis, the augmented state used in the reinforcement-learning decision stage is constructed as
s t = s ˜ airship , t ; z wind , t
where z wind , t denotes the task-relevant environmental feature extracted by the wind encoder, reflecting the wind patterns at different future time steps and altitude layers that are most relevant to the current decision; s t then serves as the input to the actor–critic network for continuous action output and state-value estimation.

3.3. Time–Height Dual Positional Encoding

For stratospheric airship path planning, future winds exhibit pronounced temporal evolution and clearly differ across altitude layers. Without explicitly injecting positional information along the temporal and altitudinal dimensions, a Transformer encoder cannot accurately distinguish between “different altitude layers at the same time” and “the same altitude layer at different future times”, which weakens the model’s ability to represent the spatio-temporal structure of the wind field. To address this, a time–height dual positional encoding (THDPE) is proposed that explicitly models the temporal-order information and the vertical-layer information of the future forecast wind. With this mechanism, during self-attention computation the model not only uses the wind features of each token but also perceives the future time step and altitude layer to which the token corresponds, enabling more accurate learning of the coupled evolution of the wind field along the temporal and vertical dimensions.
Let the future forecast horizon be T and the number of vertical layers be H . After unfolding, the i -th token uniquely corresponds to a time index τ i and an altitude index h i . For each wind token, a time positional encoding vector p τ i time   R d and a height positional encoding vector p h i height   R d are constructed and added to the wind embedding to form the final input representation to the encoder:
x i = x i + p τ i time + p h i height , i = 1 , 2 , , T × H
Writing all token representations in matrix form yields
X t = X t + P time + P height
where X t R ( T × H ) × d is the wind feature representation after the dual positional encoding has been added, and P time   and P height   denote the time and height positional encoding matrices broadcast in token order, respectively.
In the implementation, learnable positional encodings are adopted, in which a trainable embedding vector is assigned to each future time step and each altitude layer. The time positional encoding matrix is
E time R T × d
where the τ -th row E τ time   corresponds to the position representation of the τ -th future time step. The height positional encoding matrix is
E height R H × d
where the j -th row E j height   corresponds to the position representation of the j -th altitude layer. For any token, its positional encoding is jointly determined by the corresponding time and height embeddings, namely
p τ i time   = E τ i time ,   p h i height = E h i height  
More explicitly, the implementation uses learnable rather than sinusoidal positional embeddings. Let P t i m e denote a trainable table of size T × d and let P h e i g h t denote a trainable table of size H × d, where T is the number of future lead times, H is the number of altitude layers and d is the token-embedding dimension. For the token associated with lead time tau and altitude index h, the encoder input is formed by additive fusion as follows: X t = X t + P time   + P height   . Thus, the temporal and vertical structural priors have the same feature dimension as the wind embedding and are combined by addition rather than concatenation.
In the reported implementation, T corresponds to the 12 h future-wind window, H = 21 vertical layers and d = 256. The additive design keeps the token dimension unchanged before the Transformer encoder, whereas the separate time and height tables allow the attention module to distinguish whether two tokens differ because of forecast lead time, flight altitude or both. This additional description is included to make the THDPE module fully reproducible.
Compared with a single one-dimensional positional encoding, this dual encoding is better suited to the present setting. With a conventional one-dimensional encoding, the model can only perceive token order in the linearly unfolded sequence and cannot determine whether a given ordering originates from temporal variation or altitudinal variation. By separately encoding the time and altitude indices, the model can more accurately identify the source of wind variation and, in subsequent self-attention computations, learn temporal and inter-layer correlations in a targeted manner.
The time and height positional encodings therefore jointly form a temporal–altitudinal structural prior on the wind tokens, equipping the model input with explicit temporal-order and vertical-layer information before it enters the encoder. On this basis, ideas from sequence modeling are integrated with the Transformer encoder, drawing on design experience from multivariate time-series representation learning and long-sequence modeling, to perform unified modeling of the dependencies of the future forecast wind along the temporal and altitudinal dimensions.

3.4. Transformer-Based Wind Encoder

To accurately extract the coupled evolutionary features of the future forecast wind along the temporal and vertical dimensions, a Transformer-based spatio-temporal wind encoder is constructed. It should be stressed that the Transformer module here does not perform wind forecasting; instead, it learns representations of the 12 h, multi-altitude future-wind sequences provided by an external numerical weather prediction system, from which latent environmental features useful for path planning are extracted. This design allows the agent to exploit future-wind trends explicitly during decision-making, thereby alleviating the myopia caused by reliance on instantaneous observations in classical reinforcement learning.
Let the input sequence after linear embedding and time–height dual positional encoding be
X 0 = x 1 , x 2 , , x N R N × d
where N = T × H is the total number of spatio-temporal tokens and d is the feature dimension. The encoder is composed of L stacked Transformer encoder blocks; each block contains a multi-head self-attention (MHSA) sub-layer and a feed-forward network (FFN) sub-layer, with residual connections and layer normalization applied after each sub-layer to improve training stability and representational capacity. The architecture of the Transformer encoder is shown in Figure 4.
For the l -th encoder layer, the self-attention computation, illustrated in Figure 4, can be expressed as
X ˜ l = M H S A L N X l 1 + X l 1 , X l = F F N L N X ˜ l + X ˜ l ,   l = 1 , 2 , , L .
Multi-head self-attention learns the dependencies between wind tokens by running multiple attention heads in parallel over different sub-spaces. For an individual head, the scaled dot-product attention is defined as
A t t n Q , K , V = s o f t m a x Q K d k V
where Q = X W Q ,   K = X W K ,   a n d   V = X W V denote the query, key and value matrices, W Q ,   W K ,   a n d   W V are learnable parameters, and d k is the dimensionality of the key vectors. Multi-head attention is written as
M H S A X = C o n c a t h e a d 1 , h e a d 2 , , h e a d M W O
where M is the number of attention heads and W O is the output projection matrix. This structure allows the model to attend simultaneously, in different representation sub-spaces, to multiple patterns of the future wind, including coordinated variations across altitude layers, wind-speed trends as a function of lead time, and disturbance features induced by local abrupt changes.
Once the contextualized representations of all spatio-temporal tokens have been obtained, applying global average pooling directly would treat the contributions of different time steps and altitude layers uniformly and fail to highlight the wind information most relevant to the current task state. To overcome this, a task-conditioned attention pooling mechanism is introduced at the encoder output, replacing conventional global average pooling. Specifically, let the output of the last encoder layer be
H = h 1 , h 2 , , h N R N × d
where each h i is the contextualized wind feature corresponding to a spatio-temporal location. A task query vector is generated from the current airship state vector s airship   via a multi-layer perceptron:
q = f q s airship R d
Then, with q as the query and the encoded wind sequence H as both key and value, a single cross-attention pooling step yields a wind representation aligned with the current task state:
α i = e x p q W k h i / d j = 1 N   e x p q W k h j / d , i = 1 , 2 , , N z wind   = i = 1 N     α i W v h i ,
where W k and W v are learnable projection matrices, and z wind   R d is the resulting wind latent representation. This mechanism enables the model to adaptively select, conditioned on the airship’s current position, target information, remaining energy and motion state, the wind information at different future time steps and altitude layers that is most critical to the current decision, rather than uniformly aggregating all wind tokens.

3.5. Wind-Aware Actor–Critic Coupling and Reinforcement-Learning Optimization

To deeply couple future-wind perception with reinforcement-learning control, an integrated actor–critic architecture is built around a shared wind encoder. The Transformer-based wind encoder serves as the core perception module as follows: it compresses the structural information of the next 12 h of forecast wind into a task-relevant latent representation, which, together with the airship’s current state, is fed into both the policy network and the value network, enabling coordinated optimization of perception and decision-making.
Architecturally, the policy network (actor) and the value network (critic) share the same Transformer wind encoder, ensuring a consistent understanding of the spatio-temporal environmental structure and improving parameter efficiency. To further sharpen policy optimization and value estimation, the actor and the critic are equipped with their own task-conditioned pooling heads and downstream multi-layer perceptron branches. Specifically, given the same set of wind-encoding outputs H t , the actor and the critic generate their respective query vectors from the current airship state:
q t π = f q π s airship , t , q t V = f q V s airship , t
and obtain the wind representations corresponding to the policy and value branches via cross-attention:
z wind , t π = C r o s s A t t n q t π , H t , H t , z wind , t V = C r o s s A t t n q t V , H t , H t
leading to the policy and value network inputs
s ^ t π = s airship , t ; z wind , t π , s ^ t V = s airship , t ; z wind , t V
This design allows the actor to focus on wind regions and time periods directly related to action selection, while the critic concentrates on the key environmental factors that affect long-term cumulative return, thereby improving the expressive power of each network for its respective task.
For the policy network, because the airship control task studied here lies in a continuous action space, with the action vector composed of propulsion speed, heading angle and vertical speed, the actor is implemented as a multi-layer perceptron that outputs the parameters of a continuous action distribution. Denoting the policy network as π θ , for a state s ^ t π the network outputs the mean and standard-deviation vectors of a Gaussian policy:
μ t = f μ s ^ t π , l o g σ t = f σ s ^ t π
from which the continuous action policy distribution is defined as
a t π θ a t s ^ t π = N μ t , d i a g σ t 2
where f μ ( ) and f σ ( ) are implemented as multi-layer fully connected networks whose outputs correspond to the mean and standard-deviation parameters of each action dimension. To ensure that the actions satisfy the airship’s physical constraints, sampled actions are further mapped or clipped to the predefined action ranges.
The value network is implemented as another multi-layer perceptron that takes s ^ t V as input and outputs the state-value estimate:
V ϕ s ^ t V R
where ϕ denotes the parameters of the value network. The value function evaluates the long-term return associated with the augmented state and provides the baseline for advantage estimation and policy updates within PPO.

3.6. Continuous Action Space and Physical Constraints

The action space A comprises the executable continuous control commands. To enable fine-grained control of the airship in complex wind fields while preserving the convergence and efficiency of reinforcement-learning policy optimization, an action space based on continuous control variables is designed. The action vector at each time step is defined as
a t = V t , θ , v z
where V t is the horizontal propulsion speed relative to the airflow, θ is the heading angle relative to the global coordinate system, and v z is the vertical heave speed. This design fully covers the three-dimensional control degrees of freedom of airship and supports adaptive path adjustment in dynamic environments.
Because the airship is characterized by limited thrust, large inertia and weak maneuverability, abrupt high-frequency action changes are not feasible in actual flight. Several dynamic constraints are therefore imposed on the action space to ensure that the resulting control policies are physically feasible and operationally practical.
In Equation (42), the heading-rate bound is expressed in rad/s, the horizontal-airspeed rate bound in m/s2, and the vertical-acceleration bound in m/s2. These limits are used to approximate the finite yawing, propulsion and buoyancy/ballonet response capability of a large stratospheric airship. They also prevent the learned policy from exploiting unrealistically abrupt speed or altitude changes that would be infeasible for a high-inertia lighter-than-air vehicle.
0.02 < d θ d t < 0.02 0.02 < d V t d t < 0.02 0.001 < d V z d t < 0.001
The continuous action space not only spans the airship’s three-dimensional control degrees of freedom, but also guides the policy, via rate and acceleration constraints, to generate physically feasible and dynamically smooth control sequences. This design provides a structural foundation for stable training and reliable generalization of the reinforcement-learning policy in complex wind fields.

3.7. Reward-Function Design

Within a reinforcement-learning framework, the reward function is the core driver of agent learning: it defines the feedback signal received after taking a specific action and directly determines the optimization direction and convergence behavior of the policy. For the airship path-planning task in wind environments, a well-designed reward function should not only encourage efficient motion towards the target but also account jointly for energy consumption and safety.
Accordingly, a multi-component weighted reward is constructed that jointly models, on a per-step basis, target attainment efficiency, propulsion energy cost, safety boundaries and trajectory smoothness. Its mathematical form is
R s t , a t = R g o a l + R p r o g r e s s + R e n e r g y + R p e n a l t y
Target station-keeping reward. The target reward provides continuous positive reinforcement when the airship is successfully held inside the prescribed region:
R g o a l = R s u c c e s s i f   p t p g o a l < ε 0 e l s e
where p t = x t , y t denotes the current position, p goal = x goal , y goal is the target position, and ε defines the acceptable target tolerance, taken as 40 km in this work.
Progress reward. When the airship lies outside the station-keeping region, this term encourages effective motion towards the target:
R p r o g r e s s = α p t p g o a l p t + 1 p g o a l
where α > 0 is a scaling factor that balances the magnitude of the progress reward against the other reward components.
The reward coefficients were fixed for all compared methods so that the comparison is determined by the state representation and policy architecture rather than by method-specific reward tuning. In the experiments, the target-success reward is set to R_success = 1, the progress coefficient is set to alpha = 0.1, the boundary-violation coefficient is set to gamma_boundary = 2, and the trajectory-smoothness coefficient is set to gamma_stability = 0.5. These values keep the dense progress reward on the same order as the target reward while assigning a larger cost to safety-boundary violations.
Energy-consumption penalty. As the airship consumes electrical energy in flight and replenishes it via solar charging, the battery state of charge varies dynamically. To ensure that the airship retains sufficient energy to keep avionics operational and to handle contingencies, a minimum energy reserve must be maintained. A penalty is therefore imposed when the battery energy becomes too low:
R e n e r g y = 0 ,   E t   E m a x > 0.4 2 ,   E t   E m a x < 0.4
where E t   is the current battery energy state and E m a x is the maximum battery energy capacity.
The state-of-charge threshold E_t/E_max = 0.4 is used as an engineering reserve rather than as a hard physical failure boundary. It preserves sufficient energy margin for avionics, nighttime operation and unexpected headwind periods. The penalty value −2 is intentionally larger than the unit target reward so that the policy does not trade long-term energy safety for short-term position keeping. A complete sensitivity analysis of this threshold and penalty magnitude is reserved for future work, and the present manuscript avoids claiming that these values are universally optimal.
Safety and constraint penalty. To ensure safe operation, penalty terms are included for boundary violations and trajectory non-smoothness:
R p e n a l t y = γ b o u n d a r y I b o u n d a r y γ s t a b i l i t y f s t a b i l i t y
where I b o u n d a r y is the indicator function of boundary-violation events, and f stability   penalizes excessive angular rates or accelerations that may threaten the airship’s stability.

4. Experiments

To systematically evaluate the station-keeping path-planning performance of the proposed STF-RL method in complex wind environments, experiments are conducted along the following three axes: training convergence, overall performance and the effectiveness of key modules. All methods are trained and tested under the same airship dynamics, wind-disturbance model, energy-constraint model and task settings to ensure a fair comparison.

4.1. Experimental Setup

A three-dimensional high-altitude station-keeping simulation environment is built on the basis of reanalysis wind data to emulate the long-term regional station-keeping of a stratospheric airship under complex dynamic winds and energy constraints. The wind data have a fixed temporal and spatial resolution and cover multiple discrete flight layers within the airship’s reachable altitude range. At each decision step, the agent obtains not only the airship’s current motion state, energy state and target-position information, but also forecast winds at multiple altitude layers over a finite future horizon. It should be noted that the future-wind data used in this work are supplied by an external forecasting system; the model itself does not perform wind forecasting but uses the Transformer module to extract spatio-temporal features that yield a latent environmental representation aligned with the current decision, consistent with the methodology in earlier sections.
To enhance environmental stochasticity and improve the practical adaptability of the policy, a zero-mean Gaussian disturbance is superimposed on the baseline wind field, emulating forecast errors and small-scale wind fluctuations. The airship motion follows the simplified three-dimensional kinematic model established earlier, with control variables comprising propulsion speed, heading angle and vertical speed. A solar charging–discharging dynamic model is also incorporated, requiring the agent to ensure long-term energy sustainability while maintaining regional station-keeping. The task is therefore not a simple target-tracking problem, but a multi-objective decision-making problem involving spatial station-keeping, energy management and safety constraints.
Regarding task generation, at the beginning of each episode the airship’s initial position, initial altitude, target-region center and start time are randomly sampled to prevent the policy from overfitting to fixed task patterns. The target station-keeping region is defined as a circular area of radius R centered on the target. Each episode lasts for a fixed duration T, during which the agent is required to maintain the airship in the vicinity of the target region by actively adjusting flight speed, heading and altitude. The main parameters of the simulation environment and task configuration are summarized in Table 1.
To verify the effectiveness of the proposed method, three approaches are compared. The first is standard PPO, which uses only the airship’s current state as input and does not explicitly exploit future-wind information; it is a typical reactive reinforcement-learning baseline. The second is LSTM-PPO, which encodes the future-wind sequence with an LSTM and concatenates the result with the current airship state before feeding it to the policy network; it is used to compare classical sequence models against the proposed method. The third is the proposed STF-RL, which models future multi-altitude winds with a Transformer encoder equipped with the time–height dual positional encoding, generates a latent environmental representation through task-conditioned pooling—drawing on design ideas from multivariate time-series representation learning and long-sequence forecasting—and feeds the result into an actor–critic network for decision-making and value estimation.
All methods adopt the same number of training epochs, the same reward-function structure and the same main reinforcement-learning hyperparameters. Apart from the wind-encoding scheme, all settings are kept identical. The simulation parameters and training hyperparameters are listed in Table 1 and Table 2, respectively.
Each test scenario was evaluated using multiple random seeds and randomized initial conditions, and the values reported in the comparison tables are the corresponding averages. This setting reduces dependence on a single rollout and makes the reported cross-seasonal comparison more representative of the policy behavior under randomized initial position, altitude, target-region center and start time.
The parameter choices in Table 1 are selected to match the spatial and temporal scale of long-endurance stratospheric station-keeping. ERA5 is used as the background atmospheric dataset because it provides globally consistent reanalysis winds; its 1 h temporal resolution and 0.25 deg × 0.25 deg horizontal grid determine the wind-field sampling scale. The 18–22 km altitude interval represents the typical operating range considered for stratospheric airships, and 21 discrete layers provide 200 m vertical spacing for altitude-selection decisions. The 12 h wind window gives the policy a sub-daily foresight horizon while keeping the Transformer input size tractable. The 300 s decision step is chosen for mission-level control, where the agent updates guidance commands more slowly than the low-level attitude controller.
To give the simulation a concrete physical scale, the mission is interpreted using a representative streamlined stratospheric airship geometry as follows: an axisymmetric prolate-spheroid-like envelope with length 150 m, maximum diameter 40 m, approximate volume 1.2 × 105 m3 and frontal reference area about 1.26 × 103 m2. The present study does not solve the geometry-dependent aerodynamic force and moment equations directly; instead, these physical dimensions motivate the bounded airspeed, vertical-rate, action-smoothness and propulsion-power settings used by the mission-level planning environment. This clarification connects the abstract control model to a plausible vehicle scale while preserving the paper’s focus on foresighted path-planning policy design.
To evaluate the performance of different methods comprehensively, the following three quantitative metrics are adopted: the station-keeping ratio (SKR), the mean station-keeping error (MSER), and the minimum state of charge (Min-SOC). These are supplemented by a qualitative analysis of two-dimensional trajectories, energy time histories and key control-state curves under typical test scenarios. SKR measures the fraction of time the airship spends inside the target region and is the core metric for long-term station-keeping capability; MSER measures the average distance between the airship and the center of the target region and reflects path-control accuracy; Min-SOC reflects the safety margin of battery energy during the mission. These three metrics correspond to station-keeping efficiency, control accuracy and energy safety, respectively, and together provide a comprehensive evaluation of the path-planning policy.

4.2. Training-Convergence Analysis

To verify the optimizability and stability of the proposed method during long-horizon reinforcement-learning training, Figure 5 reports the average episode return versus environment-interaction steps for each method. The horizontal axis denotes the number of environment steps, and the vertical axis denotes the average cumulative return across parallel environments; the shaded regions indicate the variance.
As shown in Figure 5, all three methods undergo a clear exploration phase early in training, with low and highly variable returns. PPO escapes the random-policy regime relatively quickly but enters a plateau early on, with limited subsequent improvement, indicating that a reactive policy relying solely on current observations cannot consistently meet the long-horizon decision-making requirements of strongly time-varying winds. LSTM-PPO exhibits a faster mid-training increase in return, suggesting that incorporating future-wind sequences improves sample efficiency and enhances foresight; however, its curve still shows pronounced retracement and oscillation in the middle and late stages, implying that purely temporal sequence modeling is insufficient to stably capture the structural differences between altitude layers. By contrast, STF-RL maintains the highest return level after the early phase and exhibits relatively narrower late-stage variability. This indicates that explicitly modeling both the temporal evolution and the vertical-layer structure of the future wind not only improves the final policy performance but also enhances optimization stability during training, allowing the agent to more readily acquire stable control patterns aligned with the long-term station-keeping objective.

4.3. Comparative Experiments

To systematically evaluate the proposed method’s overall performance in complex time-varying winds, cross-scenario validation is performed under typical wind backgrounds for the four seasons, examining the generalization and robustness of each method when the environmental distribution changes. The corresponding quantitative results are summarized in Table 3, while the two-dimensional trajectories and the evolution of key state variables under a representative test scenario are shown in Figure 6.
Figure 6 presents a representative comparative test. All three policies converge from similar initial regions towards the target region, but their convergence behavior and the trajectory shape during station-keeping differ markedly. After approaching the target region, PPO still exhibits noticeable circling and back-and-forth motion near the boundary, with relatively dispersed trajectories, indicating limited efficiency in correcting position deviations under local wind disturbances. LSTM-PPO improves lateral-deviation suppression compared with PPO, but its trajectory cluster remains somewhat extended, suggesting that its motion organization during station-keeping is not yet sufficiently compact. By contrast, STF-RL produces a more concentrated trajectory distribution near the target region, demonstrating that it can sustain station-keeping with lower wasted maneuvering effort and thus achieves higher trajectory-organization efficiency.
The evolution of the key state variables is consistent with the trajectory features above. PPO shows a pronounced energy decline early in the mission and remains at a low level for an extended period afterwards, indicating that this policy tends to use passive corrections to handle environmental disturbances and therefore incurs higher energy consumption. Although LSTM-PPO improves energy maintenance relative to PPO, its altitude, airspeed and attitude angles still show noticeable fluctuations, reflecting limited control smoothness during wind-layer switching and speed regulation. By contrast, STF-RL achieves long-term station-keeping at higher states of charge, with smoother altitude adjustment, speed variation and attitude response overall, indicating that the method exploits favorable wind layers more purposefully and achieves a more coordinated allocation of decisions among environmental perception, trajectory correction and energy management. The performance advantage of STF-RL therefore does not stem from frequent or large-amplitude maneuvering corrections, but from more effective use of the structural information in the wind field and the resulting improvement in control rhythm.
The cross-seasonal tests further confirm the robustness of STF-RL under averaged evaluations over multiple random seeds and randomized initial conditions. From January to October, the seasonal wind fields differ markedly in intensity, direction and inter-layer variability; nevertheless, STF-RL maintains a high average SKR across all scenarios and consistently achieves the highest average Min-SOC. Although STF-RL does not always achieve the absolute best MSER-LSTM-PPO obtains a lower average error in the April scenario, for example, the averaged results indicate that STF-RL provides a better overall trade-off among station-keeping success rate, error control and energy margin. Compared with the baselines, the proposed method is therefore not only competitive on individual metrics, but also more reliable and adaptive across environments, which is of greater practical value for long-term high-altitude station-keeping missions.

4.4. Ablation Study

To further identify the specific contribution of each key design to policy learning and final station-keeping performance, three ablation variants are constructed on the basis of the full model and compared under identical training and test settings. The three variants are: (1) removing the future-wind input and using only the airship’s current state as policy input (without Future Wind); (2) retaining the future-wind input and the Transformer encoder but removing the time–height dual positional encoding (without THDPE); and (3) replacing the task-conditioned cross-attention pooling with simple feature aggregation (without Cross Attention).
Figure 7 reports the average return during training for the full model and the three ablation variants. The full model exhibits a faster early-training rise in performance and consistently maintains a higher return level in the middle and late stages, showing that the proposed overall architecture not only raises the final performance ceiling but also improves sample efficiency and convergence stability during policy optimization. By contrast, the ablation variants exhibit varying degrees of restricted convergence or training instability, indicating that the modules are not merely additive but jointly support policy representation learning and decision optimization throughout training.
When the future-wind input is removed, the model remains at the lowest return level throughout training; although the curve rises somewhat, the overall improvement is limited and the policy enters a plateau early on. This shows that, when only current-state information is available, the policy struggles to form effective estimates of long-term return and can hardly produce foresighted, high-quality decisions in complex time-varying winds. With the future-wind input retained but THDPE removed, the training curve continues to rise and reaches a relatively high level in the middle and late stages, indicating that future-wind information by itself already provides important support for policy learning; however, the return remains below that of the full model and exhibits more pronounced fluctuations, showing that without temporal- and altitudinal-structure encoding the model cannot organize this future-wind information stably and accurately. When the cross-attention is removed, the model still achieves some return improvement during the early-to-mid stages of training, but suffers a clear performance drop later, with the return curve even collapsing rapidly towards the end. This indicates that this module plays a critical role in stable late-stage convergence as follows: without task-conditioned guidance, the model’s exploitation of future-wind features tends to destabilize as training progresses, leading to policy degradation.
Figure 8 further visualizes the behavioral differences among the ablation variants in terms of trajectories and the evolution of key state variables. Consistent with the training curves, the full model exhibits the most rational trajectory organization and the smoothest state regulation in the representative test scenario. Its two-dimensional trajectory shows that the airship rapidly approaches the target region and then forms a more compact local trajectory distribution near it, indicating that the policy retains good position-constraint capability after reaching the target. At the same time, the evolution of altitude, energy, airspeed and attitude angles is generally smooth, without abrupt high-frequency oscillations, showing that the model achieves good coordination among wind-layer switching, energy maintenance and position correction.
By contrast, the degradation of without-Future-Wind is the most pronounced. After approaching the target, its trajectories remain markedly dispersed and exhibit persistent drift and repeated corrections, failing to form a stable station-keeping structure; the state curves further show a rapid drop in energy that remains low for long periods, while altitude and speed regulation lack a stable rhythm. This indicates that, in the absence of an environmental prior, the policy relies mainly on passive correction rather than foresighted planning, leading to loose trajectories and insufficient energy margin. Without-THDPE can enter the target region and maintain basic station-keeping, but its trajectory cluster is clearly less compact and at certain stages exhibits a mismatch between altitude adjustment and energy variation. This shows that the issue is not whether future-wind information is available, but whether the model can correctly parse its temporal order and vertical stratification: without structural encoding, the policy struggles to consistently exploit favorable wind layers, leading to station-keeping behavior that is “reachable but suboptimal”. Without-Cross-Attention shows reduced stability as follows: its trajectories near the target exhibit more pronounced local oscillation, and the state variables, particularly speed and attitude angles, fluctuate more strongly. Together with the late-stage decline in return, this indicates that, although environmental information is still available as input, the model lacks an effective filtering mechanism, leading to temporally inconsistent decisions and consequent local oscillations and performance degradation.
Table 4 reports the quantitative comparison of the different model variants in terms of the station-keeping ratio (SKR), the mean station-keeping error (MSER) and the minimum state of charge (Min-SOC). The full model achieves the best performance on all three metrics, indicating that the three key modules jointly enhance station-keeping effectiveness, position-control accuracy and energy safety margin, rather than acting on a single objective only.
Without-Future-Wind exhibits the most pronounced performance degradation, with SKR dropping to 85.32%, MSER rising to 15.83 km and Min-SOC reaching only 21.71%. This indicates that, without future environmental information, the model not only struggles to maintain stable station-keeping but also pays a higher energy cost during the mission, with the overall policy lacking foresight and energy coordination. Without-THDPE retains an SKR close to that of the full model (97.04%), but MSER rises to 10.40 km and Min-SOC drops markedly to 32.57%. This indicates that this module mainly affects the fine-grained exploitation of wind information as follows: although the model can still complete the task, it cannot achieve a good balance between error control and energy management. Without-Cross-Attention yields SKR and MSER of 91.02% and 14.33 km, respectively, both clearly inferior to those of the full model, while Min-SOC is 48.72%. Together with the trajectory dispersion and state oscillation, this indicates that the module mainly affects decision stability as follows: without task-conditioned constraints, the model cannot consistently extract the key environmental information, which reduces overall control accuracy.
Combining the results in Figure 7 and Figure 8 and Table 4, it can be seen that the three key modules of the proposed model correspond to three core capability dimensions of long-term station-keeping decision-making as follows: foresighted environmental modeling, parsing of the spatio-temporal structure of the wind field, and task-relevant information filtering with stable decision-making. These three dimensions exhibit a consistent pattern across training dynamics, behavioral manifestations and final performance metrics, forming a complete and mutually dependent information-processing pipeline.
More specifically, the future-wind input mainly determines whether the policy is capable of foresighted environmental modeling; its absence directly limits the optimization of long-term return, manifested as restricted training convergence, loose trajectories and reduced energy efficiency. The time–height dual positional encoding further structures the wind information, enabling the model to distinguish wind features at different time steps and altitude layers and thus supporting finer wind-layer selection and trajectory organization; its absence does not preclude task feasibility but markedly weakens error control and energy management. The cross-attention mechanism builds on these foundations by introducing task-conditioned constraints, enabling the dynamic filtering and aggregation of multi-scale wind representations and thereby improving decision consistency and stability; once it is removed, although environmental information is still available as input, the policy is prone to degradation and control oscillations in long-term decision-making.
Therefore, the performance advantage of the full model does not stem from local improvements of any single module, but from the synergy of a hierarchical information-processing pipeline. The result indicates that, under complex time-varying winds, long-term station-keeping is essentially a problem of multi-scale environmental perception coupled with decision-making, and that relying solely on instantaneous state feedback or on a single time-series model is insufficient to fully exploit the decision value of environmental information. By contrast, jointly modeling future environmental information, structured representations and a task-driven information-filtering mechanism markedly improves the stability, energy efficiency and long-term reliability of the policy.

5. Limitations and Future Work

This work focuses on the decision-making layer of long-duration station-keeping and therefore retains several modeling assumptions. First, the airship is represented by a mission-level kinematic model rather than a full six-degree-of-freedom aerodynamic model. This abstraction is appropriate for evaluating long-horizon planning behavior and wind-layer selection, but it does not fully capture attitude dynamics, envelope deformation, actuator transients, detailed aerodynamic coefficients or closed-loop flight-control effects. Second, the wind-disturbance term is modeled as a simplified stochastic perturbation added to the reanalysis/forecast wind field. In real deployments, forecast errors are altitude-, season- and region-dependent, and can include structured biases that are not represented by the present disturbance model.
The energy model and reward design also impose controlled assumptions. The current simulation captures the main coupling among propulsion demand, solar input and battery SOC, but it does not model all payload modes, thermal-management loads, battery aging or emergency operational constraints. Moreover, although the SOC threshold and low-energy penalty are selected according to engineering interpretation and reported explicitly, a systematic sensitivity sweep over these reward coefficients has not yet been conducted. The reported results should therefore be interpreted as evidence that the proposed representation and policy framework are effective under the specified protocol, rather than as proof of universal optimality of the selected reward parameters.
Future work will extend the framework in four directions. First, robust decision-making under forecast uncertainty will be studied by incorporating ensemble forecasts, altitude-dependent error models and risk-sensitive objectives. Second, higher-fidelity airship dynamics, propulsion constraints and energy-system models will be coupled with the planner to improve engineering validity. Third, the evaluation will be expanded to broader mission regions, forecast horizons, disturbance intensities and task scales, together with threshold-sensitivity analysis and hardware-in-the-loop or real-flight validation. Fourth, future planning frameworks should explicitly include operational and regulatory constraints, such as airspace separation, communication-link availability, spectrum coordination and mission-approval requirements, so that algorithmic station-keeping can better support certifiable and standardized stratospheric-platform operations.

6. Conclusions and Discussion

This paper addresses the long-term station-keeping problem of stratospheric airships in complex time-varying winds and proposes an altitude-changing path-planning method that integrates spatio-temporal future-wind encoding with reinforcement-learning decision-making. The method incorporates multi-step, multi-altitude future winds provided by an external numerical forecasting system into the decision process, uses a Transformer encoder to extract environmental features relevant to the current task, and combines them with the airship’s current position, flight state and energy information to form an augmented state input. PPO is then employed for continuous-control policy optimization. A continuous action space comprising propulsion speed, heading angle and vertical speed is designed, allowing the policy to actively select more favorable wind layers via adaptive altitude adjustment and thereby balance station-keeping and energy constraints. Experimental results show that the proposed method achieves stable regional station-keeping under typical seasonal wind conditions and exhibits superior trajectory control and energy management in comparative experiments, demonstrating that explicitly exploiting future-wind trends can improve the long-term decision performance of an airship in dynamic environments.
Overall, the results indicate that long-term stratospheric airship station-keeping is not only a trajectory-control problem, but also a spatio-temporal environmental-perception and energy-coordination problem. By introducing future-wind representation learning into the reinforcement-learning policy, the proposed framework provides a practical basis for more reliable autonomous planning under dynamic winds. The main modeling assumptions and future extensions are summarized separately in Section 5.

Author Contributions

J.R. and R.Q.; Methodology, W.X. and J.R.; Software, S.B.; Validation, S.B. and X.S.; Formal analysis, X.P.; Investigation, X.S. and J.R.; Resources, S.B. and X.S.; Data curation, W.X. and R.Q.; Writing—review & editing, S.B. and W.X.; Visualization, S.B., W.X., J.R. and R.Q.; Supervision, X.P.; Project administration, X.P. and X.S.; Funding acquisition, X.P. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by Chinese Academy of Science Cultivation Fund (KGFZD-145-24-33).

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors on request.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Tozer, T.C.; Grace, D. High-altitude platforms for wireless communications. Electron. Commun. Eng. J. 2001, 13, 127–137. [Google Scholar] [CrossRef]
  2. Karapantazis, S.; Pavlidou, F.N. Broadband communications via high-altitude platforms: A survey. IEEE Commun. Surv. Tutor. 2005, 7, 2–31. [Google Scholar] [CrossRef]
  3. d’Oliveira, F.A.; Melo, F.C.L.; Devezas, T.C. High-altitude platforms—Present situation and technology trends. J. Aerosp. Technol. Manag. 2016, 8, 249–262. [Google Scholar] [CrossRef]
  4. Schmidt, D.K.; Guid, J. Modeling and near-space stationkeeping control of a large high-altitude airship. J. Guid. Control Dyn. 2007, 30, 540–547. [Google Scholar] [CrossRef]
  5. Li, Y.; Nahon, M.; Sharf, I. Airship dynamics modeling: A literature review. Prog. Aerosp. Sci. 2011, 47, 217–239. [Google Scholar] [CrossRef]
  6. Zhang, Y.; Yang, K.; Chen, T.; Zheng, Z.; Zhu, M. Integration of path planning and following control for the stratospheric airship with forecasted wind field data. ISA Trans. 2023, 143, 115–130. [Google Scholar] [CrossRef] [PubMed]
  7. Wang, J.; Meng, X.; Li, C. Recovery trajectory optimization of the solar-powered stratospheric airship for the station-keeping mission. Acta Astronaut. 2021, 178, 159–177. [Google Scholar] [CrossRef]
  8. Luo, Q.C.; Sun, K.W.; Chen, T.; Zhang, Y.F.; Zheng, Z.W. Trajectory planning of stratospheric airship for station-keeping mission based on improved rapidly exploring random tree. Adv. Space Res. 2024, 73, 992–1005. [Google Scholar] [CrossRef]
  9. Delgado, A.; Dominguez, D.; Gonzalo, J.; Escapa, A. Station-keeping HAPS mission through optimal sprint and drift trajectories. Aerosp. Sci. Technol. 2024, 152, 109365. [Google Scholar] [CrossRef]
  10. Liu, Y.; Sun, K.; Lv, M. Stratospheric wind field feature extraction and energy management for hybrid electric solar airship with deep reinforcement learning. Sustain. Energy Technol. Assess. 2024, 71, 103993. [Google Scholar] [CrossRef]
  11. Bai, F.C.; Yang, X.X.; Deng, X.L.; Ma, Z.Y.; Long, Y. Station keeping control method based on deep reinforcement learning for stratospheric aerostat in dynamic wind field. Adv. Space Res. 2025, 75, 752–766. [Google Scholar] [CrossRef]
  12. Fan, Y.Q.; Deng, X.L.; Yang, X.X.; Long, Y.; Bai, F.C. Station-keeping control of stratospheric balloons based on simultaneous optimistic optimization in dynamic wind. Electronics 2024, 13, 4032. [Google Scholar] [CrossRef]
  13. Meng, X.; Li, Z.; He, D. Optimization of stratospheric airship station-keeping strategy based on LSTM-DQN algorithm. In 2024 43rd Chinese Control Conference (CCC); IEEE: Piscataway, NJ, USA, 2024; pp. 8280–8285. [Google Scholar] [CrossRef]
  14. Dijkstra, E.W. A note on two problems in connexion with graphs. Numer. Math. 1959, 1, 269–271. [Google Scholar] [CrossRef]
  15. Hart, P.E.; Nilsson, N.J.; Raphael, B. A formal basis for the heuristic determination of minimum cost paths. IEEE Trans. Syst. Sci. Cybern. 1968, 4, 100–107. [Google Scholar] [CrossRef]
  16. Kavraki, L.E.; Švestka, P.; Latombe, J.-C.; Overmars, M.H. Probabilistic roadmaps for path planning in high-dimensional configuration spaces. IEEE Trans. Robot. Autom. 1996, 12, 566–580. [Google Scholar] [CrossRef]
  17. Kuffner, J.J.; LaValle, S.M. RRT-Connect: An efficient approach to single-query path planning. In Proceedings of the 2000 IEEE International Conference on Robotics and Automation; IEEE: Piscataway, NJ, USA, 2000; pp. 995–1001. [Google Scholar] [CrossRef]
  18. Karaman, S.; Frazzoli, E. Sampling-based algorithms for optimal motion planning. Int. J. Robot. Res. 2011, 30, 846–894. [Google Scholar] [CrossRef]
  19. Qi, L.; Yang, X.X.; Lu, Y.F.; Deng, X.L.; Bai, F.C. Stratospheric airship path planning based on improved RRT under constraints. In 2024 IEEE International Conference on Unmanned Systems (ICUS); IEEE: Piscataway, NJ, USA, 2024; pp. 940–948. [Google Scholar] [CrossRef]
  20. Mnih, V.; Kavukcuoglu, K.; Silver, D.; Rusu, A.A.; Veness, J.; Bellemare, M.G.; Graves, A.; Riedmiller, M.; Fidjeland, A.K.; Ostrovski, G.; et al. Human-level control through deep reinforcement learning. Nature 2015, 518, 529–533. [Google Scholar] [CrossRef] [PubMed]
  21. van Hasselt, H.; Guez, A.; Silver, D. Deep reinforcement learning with double Q-learning. In Proceedings of the 30th AAAI Conference on Artificial Intelligence; AAAI Press: Palo Alto, CA, USA, 2016; pp. 2094–2100. [Google Scholar] [CrossRef]
  22. Hausknecht, M.; Stone, P. Deep recurrent Q-learning for partially observable MDPs. arXiv 2015, arXiv:1507.06527. [Google Scholar] [CrossRef]
  23. Schulman, J.; Wolski, F.; Dhariwal, P.; Radford, A.; Klimov, O. Proximal policy optimization algorithms. arXiv 2017, arXiv:1707.06347. [Google Scholar] [CrossRef]
  24. 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, Proceedings of Machine Learning Research (PMLR), Stockholm, Sweden, 10–15 July 2018; Volume 80, pp. 1861–1870. Available online: https://proceedings.mlr.press/v80/haarnoja18b.html (accessed on 10 June 2026).
  25. Zheng, B.; Zhu, M.; Guo, X.; Ou, J.; Yuan, J. Path planning of stratospheric airship in dynamic wind field based on deep reinforcement learning. Aerosp. Sci. Technol. 2024, 150, 109173. [Google Scholar] [CrossRef]
  26. Qi, L.; Yang, X.X.; Bai, F.C.; Deng, X.L.; Pan, Y.L. Stratospheric airship trajectory planning in wind field using deep reinforcement learning. Adv. Space Res. 2025, 75, 620–634. [Google Scholar] [CrossRef]
  27. Xie, J.; Huang, W.; Miao, J.; Li, J.; Cao, S. Off-policy deep reinforcement learning for path planning of stratospheric airship. Drones 2025, 9, 650. [Google Scholar] [CrossRef]
  28. Hou, J.; Zhu, M.; Zheng, B.; Guo, X.; Ou, J. Trajectory planning based on continuous decision deep reinforcement learning for stratospheric airship. In 2023 China Automation Congress (CAC); IEEE: Piscataway, NJ, USA, 2023; pp. 1508–1513. [Google Scholar] [CrossRef]
  29. Lv, C.; Zhu, M.; Guo, X.; Ou, J.J.; Lou, W.J. Hierarchical reinforcement learning method for long-horizon path planning of stratospheric airship. Aerosp. Sci. Technol. 2025, 160, 110075. [Google Scholar] [CrossRef]
  30. Luo, Q.C.; Sun, K.W.; Chen, T.; Zhu, M.; Zheng, Z.W. Stratospheric airship fixed-time trajectory planning based on reinforcement learning. Electron. Res. Arch. 2025, 33, 1946–1967. [Google Scholar] [CrossRef]
  31. Zheng, B.J.; Guo, X.; Wang, Y.F.; Ou, J.J.; Lou, W.J. Deep-reinforcement-learning-based path planning method for stratospheric airships in spatiotemporally complex environments. IEEE Trans. Aerosp. Electron. Syst. 2025, 61, 17843–17857. [Google Scholar] [CrossRef]
  32. Saunders, J.; Prenevost, L.; Şimşek, O.; Hunter, A.; Li, W. Resource-constrained station-keeping for latex balloons using reinforcement learning. In 2023 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS); IEEE: Piscataway, NJ, USA, 2023; pp. 1102–1109. [Google Scholar] [CrossRef]
  33. Schuler, T.K.; Prasad, C.; Kiselev, G.; Sofge, D. Seasonal station-keeping of short duration high altitude balloons using deep reinforcement learning. In 2025 IEEE Aerospace Conference; IEEE: Piscataway, NJ, USA, 2025; pp. 1–11. [Google Scholar] [CrossRef]
  34. Xu, Z.Y.; Liu, Y.; Du, H.F.; Lv, M.Y. Station-keeping for high-altitude balloon with reinforcement learning. Adv. Space Res. 2022, 70, 733–751. [Google Scholar] [CrossRef]
  35. Liu, Z.; Guo, X.; Ou, J.; Zheng, B. Dynamic coverage path planning algorithm for multi-stratospheric airship formation based on deep reinforcement learning. In 2023 China Automation Congress (CAC); IEEE: Piscataway, NJ, USA, 2023; pp. 585–590. [Google Scholar] [CrossRef]
  36. Gong, W.C.; Zhang, Y.F.; Zhu, M.; Chen, T.; Zheng, Z.W. Dynamic control of multiple stratospheric airships in time-varying wind fields for communication coverage missions. Aerosp. Sci. Technol. 2025, 166, 110514. [Google Scholar] [CrossRef]
  37. Zhang, Y.F.; Zhu, M.; Chen, T. Event-triggered dynamic coverage control for multiple stratospheric airships. Sensors 2022, 22, 2734. [Google Scholar] [CrossRef]
  38. Hersbach, H.; Bell, B.; Berrisford, P.; Hirahara, S.; Horányi, A.; Muñoz-Sabater, J.; Nicolas, J.; Peubey, C.; Radu, R.; Schepers, D.; et al. The ERA5 global reanalysis. Q. J. R. Meteorol. Soc. 2020, 146, 1999–2049. [Google Scholar] [CrossRef]
  39. Yang, X.W.; Yang, X.X.; Deng, X.L. Horizontal trajectory control of stratospheric airships in wind field using Q-learning algorithm. Aerosp. Sci. Technol. 2020, 106, 106100. [Google Scholar] [CrossRef]
  40. Liu, S.; Zhou, S.; Miao, J.; Shang, H.; Cui, Y.; Lu, Y. Autonomous trajectory planning method for stratospheric airship regional station-keeping based on deep reinforcement learning. Aerospace 2024, 11, 753. [Google Scholar] [CrossRef]
  41. Wei, Y.F.; Liu, D.X.; Zheng, B.J.; Guo, X.; Ou, J.J.; Gao, L.T. Stratospheric airship trajectory planning via temporal perception and dual-source learning. Aerosp. Sci. Technol. 2025, 167, 110671. [Google Scholar] [CrossRef]
  42. Hochreiter, S.; Schmidhuber, J. Long short-term memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef] [PubMed]
  43. Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, Ł.; Polosukhin, I. Attention Is All You Need. In Advances in Neural Information Processing Systems 30; Curran Associates: Red Hook, NY, USA, 2017; pp. 5998–6008. Available online: https://proceedings.neurips.cc/paper/2017/hash/3f5ee243547dee91fbd053c1c4a845aa-Abstract.html (accessed on 10 June 2026).
  44. Zerveas, G.; Jayaraman, S.; Patel, D.; Bhamidipaty, A.; Eickhoff, C. A transformer-based framework for multivariate time series representation learning. In Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery and Data Mining; ACM: New York, NY, USA, 2021; pp. 2114–2124. [Google Scholar] [CrossRef]
  45. Zhou, H.; Zhang, S.; Peng, J.; Zhang, S.; Li, J.; Xiong, H.; Zhang, W. Informer: Beyond efficient transformer for long sequence time-series forecasting. In Proceedings of the 35th AAAI Conference on Artificial Intelligence; AAAI Press: Palo Alto, CA, USA, 2021; pp. 11106–11115. [Google Scholar] [CrossRef]
  46. Wu, H.; Xu, J.; Wang, J.; Long, M. Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting. In Advances in Neural Information Processing Systems 34; Curran Associates: Red Hook, NY, USA, 2021; pp. 22419–22430. Available online: https://proceedings.neurips.cc/paper/2021/hash/bcc0d400288793e8bdcd7c19a8ac0c2b-Abstract.html (accessed on 10 June 2026).
  47. Lim, B.; Arık, S.O.; Loeff, N.; Pfister, T. Temporal fusion transformers for interpretable multi-horizon time series forecasting. Int. J. Forecast. 2021, 37, 1748–1764. [Google Scholar] [CrossRef]
  48. Song, K.Y.; Li, Z.J.; Zhang, Y.L.; Wang, X.W.; Xu, G.N.; Zhang, H.Y. A rule-based online energy management strategy for long-endurance stratospheric airships. Aerosp. Sci. Technol. 2024, 151, 109266. [Google Scholar] [CrossRef]
  49. International Telecommunication Union. HAPS—High-Altitude Platform Systems, ITU Backgrounder. 2025. Available online: https://www.itu.int/en/mediacentre/backgrounders/Pages/High-altitude-platform-systems.aspx (accessed on 10 June 2026).
  50. International Civil Aviation Organization. Unmanned Aviation and Advanced Air Mobility, ICAO. 2026. Available online: https://www.icao.int/UA (accessed on 10 June 2026).
  51. China National Space Administration. Organization and Leader, CNSA. 2026. Available online: https://www.cnsa.gov.cn/english/n6465645/n6465650/c10003676/content.html (accessed on 10 June 2026).
  52. China National Space Administration. China Unveils Commercial Space Standards System, CNSA News. 2026. Available online: https://www.cnsa.gov.cn/english/n6465652/n6465653/c10744882/content.html (accessed on 10 June 2026).
  53. Civil Aviation Administration of China. CAAC Issues Measures for the Management of Unmanned Civil Aviation Experimental Bases (Test Areas), CAAC News. 2021. Available online: https://www.caac.gov.cn/English/News/202305/t20230515_219517.html (accessed on 10 June 2026).
Figure 1. Illustration of stratospheric airship station-keeping. The gray arrows denote the horizontal winds at different altitude layers, the black arrows denote the airship’s flight trajectory, and the blue shaded region denotes the station-keeping range.
Figure 1. Illustration of stratospheric airship station-keeping. The gray arrows denote the horizontal winds at different altitude layers, the black arrows denote the airship’s flight trajectory, and the blue shaded region denotes the station-keeping range.
Aerospace 13 00551 g001
Figure 2. Definition of the global reference frame, airship motion variables, wind vector and control angles used in the mission-level kinematic model.
Figure 2. Definition of the global reference frame, airship motion variables, wind vector and control angles used in the mission-level kinematic model.
Aerospace 13 00551 g002
Figure 3. Framework overview. The colored blocks denote the different functional modules, and the arrows indicate the direction of data flow between them; the right panel illustrates the airship interacting with the wind field within the station-keeping zone.
Figure 3. Framework overview. The colored blocks denote the different functional modules, and the arrows indicate the direction of data flow between them; the right panel illustrates the airship interacting with the wind field within the station-keeping zone.
Aerospace 13 00551 g003
Figure 4. Architecture of the Transformer encoder. The ellipses in the dashed boxes indicate the omitted remaining wind tokens of the input and output sequences.
Figure 4. Architecture of the Transformer encoder. The ellipses in the dashed boxes indicate the omitted remaining wind tokens of the input and output sequences.
Aerospace 13 00551 g004
Figure 5. Training-convergence curves for the different methods. The solid lines denote the average return, and the shaded regions indicate the variance across parallel environments.
Figure 5. Training-convergence curves for the different methods. The solid lines denote the average return, and the shaded regions indicate the variance across parallel environments.
Aerospace 13 00551 g005
Figure 6. Two-dimensional trajectories and key state evolution of different methods under a representative test scenario. The curves are intended to be distinguished by both color and line style/markers to improve readability in grayscale and for readers with color-vision deficiency. The red dotted horizontal line in the energy panel denotes the normalized-energy safety threshold (0.4), and the red dashed circle in the trajectory panel denotes the boundary of the station-keeping zone.
Figure 6. Two-dimensional trajectories and key state evolution of different methods under a representative test scenario. The curves are intended to be distinguished by both color and line style/markers to improve readability in grayscale and for readers with color-vision deficiency. The red dotted horizontal line in the energy panel denotes the normalized-energy safety threshold (0.4), and the red dashed circle in the trajectory panel denotes the boundary of the station-keeping zone.
Aerospace 13 00551 g006
Figure 7. Training-convergence curves for the different ablation variants. The solid lines denote the average return, and the shaded regions indicate the variance across parallel environments.
Figure 7. Training-convergence curves for the different ablation variants. The solid lines denote the average return, and the shaded regions indicate the variance across parallel environments.
Aerospace 13 00551 g007
Figure 8. Two-dimensional trajectories and key state evolution of the different ablation variants under a representative test scenario. The curves are intended to be distinguished by both color and line style/markers to improve readability in grayscale and for readers with color-vision deficiency. The red dotted horizontal line in the energy panel denotes the normalized-energy safety threshold (0.4), and the red dashed circle in the trajectory panel denotes the boundary of the station-keeping zone.
Figure 8. Two-dimensional trajectories and key state evolution of the different ablation variants under a representative test scenario. The curves are intended to be distinguished by both color and line style/markers to improve readability in grayscale and for readers with color-vision deficiency. The red dotted horizontal line in the energy panel denotes the normalized-energy safety threshold (0.4), and the red dashed circle in the trajectory panel denotes the boundary of the station-keeping zone.
Aerospace 13 00551 g008
Table 1. Simulation environment and task-setting parameters.
Table 1. Simulation environment and task-setting parameters.
ParameterValueDescription
Wind-data sourceERA5Used to construct the 3D station-keeping simulation
Temporal resolution1 hWind-field temporal sampling interval
Spatial resolution0.25° × 0.25°Horizontal grid resolution
Altitude range[18, 22] kmReachable flight-altitude range of the airship
Number of discrete altitude layers21Vertical sampling layers
Future forecast horizon12 hFuture-wind window used as policy input
Decision time step300 sAgent action-update interval
Episode duration72 hDuration of each episode
Target station-keeping radius40 kmThreshold for target-region attainment
Wind-disturbance distributionGaussianUsed to emulate forecast errors and random disturbances
Propulsion-speed range[0, 30] m/sAction-space constraint
Heading-angle range[−π, π]Action-space constraint
Vertical-speed range[−1, 1] m/sAction-space constraint
Representative envelope shapeStreamlined prolate-spheroid-like hullPhysical scale used to interpret the mission-level parameters
Representative envelope length150 mGeometry scale for the case study
Representative maximum diameter40 mGeometry scale for the case study
Approximate envelope volume1.2 × 105 m3Buoyancy/size scale of the representative vehicle
Frontal reference area1.26 × 103 m2Approximate πD2/4 area used as a fluid-dynamic scale
Table 2. Main training hyperparameters.
Table 2. Main training hyperparameters.
ParameterValue
OptimizerAdam
Learning rate1 × 10−5
Batch size64
Discount factor 0.99
GAE parameter 0.95
PPO clipping parameter0.2
Entropy regularization coefficient0.01
Number of parallel environments10
Number of Transformer encoder layers3
Number of attention heads4
Hidden dimension256
Feed-forward dimension256
Dropout0.1
Target reward R_success1
Progress coefficient alpha0.1
SOC safety threshold0.4
Low-energy penalty−2
Boundary penalty coefficient gamma_boundary2
Stability penalty coefficient gamma_stability0.5
Evaluation seedsmultiple seeds, averaged
Table 3. Performance comparison of the different methods on the comprehensive test set and the cross-seasonal test set. The arrows indicate the preferred direction of each metric: higher is better for SKR and Min-SOC, and lower is better for MSER. Bold values indicate the best result for each metric.
Table 3. Performance comparison of the different methods on the comprehensive test set and the cross-seasonal test set. The arrows indicate the preferred direction of each metric: higher is better for SKR and Min-SOC, and lower is better for MSER. Bold values indicate the best result for each metric.
Test ScenarioMethodSKR (%) ↑MSER (km) ↓Min-SOC (%) ↑
JanuaryPPO86.5314.4123.61
LSTM-PPO97.7312.4347.55
STF-RL97.9610.3254.53
AprilPPO84.7915.5715.19
LSTM-PPO97.437.4363.90
STF-RL98.028.6966.81
JulyPPO85.2412.6643.26
LSTM-PPO98.1310.0259.41
STF-RL98.459.4168.37
OctoberPPO86.1411.9438.62
LSTM-PPO98.6710.2157.46
STF-RL98.8510.0968.08
Table 4. Ablation results. The arrows indicate the preferred direction of each metric: higher is better for SKR and Min-SOC, and lower is better for MSER. Bold values indicate the best result for each metric.
Table 4. Ablation results. The arrows indicate the preferred direction of each metric: higher is better for SKR and Min-SOC, and lower is better for MSER. Bold values indicate the best result for each metric.
Model VariantSKR ↑MSER (km) ↓Min-SOC ↑
without Future Wind85.3215.8321.71
without THDPE97.0410.4032.57
without Cross attention91.0214.3348.72
Full model98.429.4168.21
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.

Share and Cite

MDPI and ACS Style

Bu, S.; Xie, W.; Peng, X.; Shen, X.; Ren, J.; Qin, R. A Spatio-Temporal Foresight Reinforcement-Learning Framework for Long-Term Station-Keeping of Stratospheric Airships. Aerospace 2026, 13, 551. https://doi.org/10.3390/aerospace13060551

AMA Style

Bu S, Xie W, Peng X, Shen X, Ren J, Qin R. A Spatio-Temporal Foresight Reinforcement-Learning Framework for Long-Term Station-Keeping of Stratospheric Airships. Aerospace. 2026; 13(6):551. https://doi.org/10.3390/aerospace13060551

Chicago/Turabian Style

Bu, Shaofeng, Wenming Xie, Xiaodong Peng, Xuchen Shen, Jingyi Ren, and Runnan Qin. 2026. "A Spatio-Temporal Foresight Reinforcement-Learning Framework for Long-Term Station-Keeping of Stratospheric Airships" Aerospace 13, no. 6: 551. https://doi.org/10.3390/aerospace13060551

APA Style

Bu, S., Xie, W., Peng, X., Shen, X., Ren, J., & Qin, R. (2026). A Spatio-Temporal Foresight Reinforcement-Learning Framework for Long-Term Station-Keeping of Stratospheric Airships. Aerospace, 13(6), 551. https://doi.org/10.3390/aerospace13060551

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop