betaFeedback

WorksEngineering

Fuel-Efficient Formation Flying via Constrained Extremum Seeking

Abstract

This paper presents a model-free autonomous guidance architecture for minimal drag of a trailing aircraft in formation flight. Realizing the fuel savings resulting from such a formation requires learning and tracking a time-varying vortex while avoiding locations where the aircraft experiences an abrupt rolling moment disturbance. A guidance architecture for fuel-efficient safe flight, called Adaptive Plateau-seeking Optimal Guidance with ModulatEd Excitations (APOGEE), is proposed herein. Key features of APOGEE are its ability to modulate the amplitude of the excitation required to learn the unknown objective and constraint functions, to adaptively adjust the learning rates, and to keep the flight safe during the search for the optimal formation. A threshold-gated modulation reduces the amplitude of excitation when the objective function reaches an acceptably large value, thus improving flying qualities and further reducing fuel consumption. Furthermore, a Newton-based learning rule, whose estimate of the inverse of the Hessian is spectrally clamped, adapts the learning rates to the local curvature of the objective function in order to accelerate convergence and lower the chance of overshooting the optimum. Finally, a safety filter having an unknown constraint function is used to prevent a loss of control event prompted by the above mentioned disturbance. The efficacy of APOGEE is demonstrated by using a high-fidelity model of an F-16 jet and an experimentally obtained vortex model. Being model-free, APOGEE does not require modeling the dependence of the unknown functions on the characteristics of the leading aircraft, the flight condition, the crosswind, and the vortex-induced turbulence.

Introduction

Formation flying, as illustrated in Figure 1, can reduce the fuel consumption of a follower aircraft by “riding” the vortex created by a leading aircraft. Flight experiments performed at NASA Armstrong showed that the vortex-induced rolling moment is a good proxy for minimum drag [10]. This moment is estimated using the equations of motion and the measured states after subtracting the rolling moment corresponding to free flow for such a flight condition. These flight experiments also showed that flying at an optimal relative position reduces drag by up to 22%, with corresponding reductions in fuel consumption measured in flight [27], and extensions to transport-class aircraft in [19]. The benefits of wake-riding degrade gradually with increased nose-to-tail distances after peaking at three span lengths aft [10].

Formation flying configuration, NASA Dryden Flight Research Center

Figure 1. Formation flying configuration, NASA Dryden Flight Research Center.

Realizing these savings autonomously requires tracking an unknown and potentially time-varying optimal position whose location depends on the mass, state and geometry of

This work was supported by the Doolittle project of the US Navy.

the leading aircraft, the relative wind and the orientation of the trailing aircraft. Wake-model-based designs estimate the vortex state from onboard measurements, using a Kalman filter built on a vortex model of the leader’s wake [11], [4] or observers derived from similar wake parameterizations [7]. However, these estimates are only as good as the assumed model. Even in a simplified setting, the wake nonlinearity biases Kalman-type estimates and the filter diverges in static formation [11], thereby motivating the development of model-free methods that only use instantaneous measurements of the unknown functions.

One model-free framework is peak-seeking control [6], [21], in which the local gradient and Hessian of the measured performance map are estimated by a Kalman filter over commanded excitation maneuvers and the position is stepped toward the estimated peak. Peak-seeking has been extensively developed through flight tests, including trim optimization for reduced fuel consumption [22], [5]. Its estimates, however, rest on a local quadratic parameterization of the map and on noise covariances that must be tuned to an unknown environment, and the approach does not carry practical closed-loop stability guarantees.

In contrast, Extremum Seeking (ES) extracts the gradient of an unknown function by demodulating a periodic dither, a structure for which stability has been established by averaging and singular perturbation [14]. Dither-based ES has been developed into an extensive model-free optimization framework [2], with a century of developments surveyed in [23]. Three extensions are of particular relevance.

The first extension of note is the Newton-based ES, introduced for scalar maps in [15], generalized through derivative estimation in [17], and extended to the multi-variable case in [8], [26]. This method removes the dependence of the

†Department of Mechanical and Aerospace Engineering, UC San Diego, 9500 Gilman Drive, La Jolla, CA, 92093, USA

‡Corresponding author, [email protected].

⋆Vehicle Dynamics & Controls Branch, NASA Langley Research Center, Hampton, VA, 23681, USA. convergence rate on the unknown Hessian of the map. The second extension is Practically Safe ES, which combines ES with Control Barrier Function (CBF) safety filters [1], [13] to prevent the violation of an unknown constraint through quadratic program (QP)-style filters [29], [30] or logarithmic barriers [28]. Finally, existing excitation-modulating ES designs [31], [25] generally remove the residual oscillation through unbounded demodulation gains, probing frequencies, or update rates. However, a noisy objective measurement and rate-limited signals in the inner loop pose significant challenges to such approaches.

ES has been used in a wide range of applications thanks to its robustness, efficacy, and minimal modeling requirements [9], [12]. Classical gradient-based ES has been applied in [3] for the Lockheed C-5 aircraft with the follower’s pitch angle as the performance output. The design in [4] pairs ES with an extended Kalman filter, introducing a wake model with uncertain parameters, and [20] uses an objective function that combines several performance signals at the cost of potentially introducing delayed and uncertain measurements. Nonetheless, none of these designs bound the transient response leading to the safety-critical roll reversal, nor do they eliminate the dither once an acceptable objective value is reached, a critical aspect of any fuel-efficient strategy [6].

This paper presents the Adaptive Plateau-seeking Optimal Guidance with ModulatEd Excitations (APOGEE) algorithm, an autonomous guidance law for the follower aircraft. APOGEE uses a Newton-based learning rule that speeds up convergence, a practical CBF-QP safety filter that recovers the aircraft from incursions past a safety buffer before the downwash region is reached, and a threshold-gated amplitude modulation that saves fuel by switching the excitation on and off based on the value of the objective function. These modifications address practical problems that the aforementioned works do not cover, such as the unbounded transient on a strongly asymmetric function or the fuel cost of the dithering maneuver itself. The guarantees behind each mechanism are local and practical, and no formal result covers their composition. APOGEE inherits the underlying assumptions of ES theory: a measurable proxy for the true objective, a potentially non-stationary, drifting vortex, an identifiable inner-loop lag at the excitation frequencies, and sufficient separation between the excitation, estimation, and update time scales.

Guidance Architecture and Optimization Configuration

The unknown map defining the objective or constraint has a physical interpretation; for example, maximizing the selected objective should approximately minimize drag.1 The control engineer must choose the independent variables of this function; these variables must meet a few requirements. First, holding the variables constant must settle the closed

loop to a stable equilibrium so that a static map from input to the measured output exists in steady state. A fixed relative position, for example, satisfies this condition, but an arbitrarily fixed pair of nonzero pitch and roll angles does not. Second, the inner loop must quickly track the commanded reference at a higher rate than the probing signal, such that the plant reaches a quasi-steady state on the time scale of the perturbation. Third, the steady-state map from the chosen inputs to the measured output must admit a single extremum of known type, with nonzero curvature at that point.

We consider a two-aircraft formation in the North-East-Down (NED) convention, with the trailing aircraft’s position parameterized by the lateral and vertical offsets relative to an arbitrary reference position

p=[y−yrefz−zref]∈R2.(1)p = \begin{bmatrix} y-y_{\mathrm{ref}} \\ z-z_{\mathrm{ref}} \end{bmatrix} \in\mathbb{R}^{2}. \tag*{(1)}

Obtaining precise measurements of yy and zz relative to the leading aircraft or ground references is notoriously difficult. However, APOGEE is reference-agnostic, eliminating the need for advanced sensors or complex online measurement methods. The use of the notation “yy” and “zz” is strictly for conceptual clarity and does not imply a hardware dependence on precise relative measurement. Consequently, these reference positions can be set to zero upon starting APOGEE.

Guidance and Control Architecture

APOGEE operates as an outer loop that generates a position command pcmdp_{\mathrm{cmd}} as the relative cross-track and vertical reference errors, as shown in Figure 2. A PD controller maps pcmdp_{\mathrm{cmd}} to roll and pitch commands (ϕcmd\phi_{\mathrm{cmd}}, θcmd\theta_{\mathrm{cmd}}), which are range limited before entering the inner closed loop. There, an LQG controller with L1\mathcal{L}_1 adaptive augmentation generates the aircraft control inputs. The design of the inner loop is not the subject of this paper, and it is treated as a black box hereafter.

Closed-loop system with APOGEE as outer-loop guidance

Figure 2. Closed-loop system with APOGEE as outer-loop guidance.

ES estimates the gradient and the Hessian of the unknown map by commanding a sinusoidal dither with frequencies ωy\omega_y and ωz\omega_z in yy and zz respectively. The dither passes through the reference-generation and tracking cascade before reaching the vehicle, which responds with an additional phase lag. Thus, the closed-loop response is delayed relative to the command. Without compensation, this delay can lead to erroneous estimates. Hence, we identify the estimated delay offline and shift the demodulation phase by

βi:=−ωiτi,(2)\beta_i := -\omega_i\tau_i, \tag*{(2)}

where ii is either yy or zz, and τi\tau_i is the inner-loop delay for the corresponding dither frequency. So the demodulation signals are aligned with the commanded dither.

Unconstrained Optimization

While our objective is to reduce fuel consumption, drag is not directly measurable and difficult to estimate [20]. Instead, we adopt the observation made in [10], which approximates the minimum drag configuration to the location where the vortex-induced rolling moment coefficient ClC_l is maximal. Our goal is to solve

p∗=arg⁡max⁡p Cl(p),(3)p^* = \underset{p}{\arg\max}\ C_l(p), \tag*{(3)}

only using real-time measurements. To this end we state the following assumption.

Assumption 1: The map Cl:R2→RC_l : \mathbb{R}^2 \to\mathbb{R} is twice continuously differentiable, bounded, and admits a local maximizer p∗∈R2p^* \in\mathbb{R}^2, satisfying ∇Cl(p∗)=0\nabla C_l(p^*) = 0.

It is important to note that there is a small offset between the maximizer for ClC_l and the minimizer of drag. Objective functions built from a single metric approximate the drag-reduction map acceptably well, whereas those using a weighted sum of several metrics [20] might sharpen that approximation. However, the potential delay and estimation error of these metrics might render them impractical.

Additionally, the vortex-induced rolling moment must be estimated in practice, for instance, by comparing the aircraft’s response inside and outside the vortex using a validated aerodynamic model. Forming that residual by direct subtraction amplifies noise and ignores the additional degrees of freedom, whereas a Kalman-filter-based disturbance observer that fuses several sensor outputs with the coupled dynamics returns a smoother estimate. The real-time implementation of APOGEE uses a Kalman filter to approximate the map. Even though this practice imposes a modeling requirement, ES itself does not impose any limitation on the structure of the mapping.

Extremum Seeking Design

The key components of APOGEE, whose block diagram is depicted in Figure 3, are introduced next.

Figure 3. Block diagram architecture of APOGEE. d(t)d(t) represents unknown disturbances and measurement noise. A scaling of 1000 applied to the output ClC_l is omitted here for clarity (see § 4).

Classical ES

Let p^\hat{p} denote an estimate of p∗p^*, with p∗p^* possibly time-varying. The commanded reference is the estimate plus a two-dimensional dither,

pcmd(t)=p^(t)+S(t),(4)p_{\mathrm{cmd}}(t) = \hat{p}(t) + S(t), \tag*{(4)}

where

S(t)=[aysin⁡(ωyt)azsin⁡(ωzt)],(5)S(t) = \begin{bmatrix} a_y \sin(\omega_y t) \\ a_z \sin(\omega_z t) \end{bmatrix}, \tag*{(5)}

with ai>0a_i > 0, and ωy≠ωz\omega_y \ne\omega_z. The objective Cl(p)C_l(p) is first high-pass filtered to remove its DC component, by using

η˙=ωhC~l,(6)\dot{\eta} = \omega_h \widetilde{C}_l, \tag*{(6)}

where C~l=Cl−η\widetilde{C}_l = C_l - \eta and ωh>0\omega_h > 0. Note that η\eta is a slow-varying estimate of ClC_l at the current value of pp. This signal is then demodulated and low-pass filtered using

G^˙=ωl(C~lM(t)−G^),(7)\dot{\hat{G}} = \omega_l \left(\widetilde{C}_l M(t) - \hat{G}\right), \tag*{(7)}

where ωl>0\omega_l > 0, and

M(t)=[2aysin⁡(ωyt+βy)2azsin⁡(ωzt+βz)],(8)M(t) = \begin{bmatrix} \frac{2}{a_y}\sin(\omega_y t+\beta_y) \\ \frac{2}{a_z}\sin(\omega_z t+\beta_z) \end{bmatrix}, \tag*{(8)}

is the demodulation signal. The DC component of (7), G^\hat{G}, is an estimate of the gradient of ClC_l evaluated at pp.

The classical update law,

p^˙=KG^,(9)\dot{\hat{p}} = K\hat{G}, \tag*{(9)}

where K=diag⁡(ky,kz)>0K = \operatorname{diag}(k_y,k_z) > 0 is the update gain, is unsuitable for (3). Flight experiments and CFD analyses have shown that the average value of Cl(p)C_l(p) over a 30s time window is strongly asymmetric [10], with the norm of the gradient on one side of the peak being substantially greater than on the other side. Since the step magnitude scales proportionally with the gradient, a constant KK tuned for acceptable progress on the shallow side can overshoot significantly on the steep side, while a gain sized for the steep side converges impractically slowly on the shallow side. This feature motivates the use of the Newton-based ES algorithm [8], to be presented next.

Newton-based ES

The estimation error of p∗p^* averaged over the time period of the dither2 [14], [8] is defined as eavg:=p^avg−p∗e_{\mathrm{avg}} := \hat{p}_{\mathrm{avg}} - p^*. This error is driven by

e˙avg≈KHeavg,(10)\dot{e}_{\mathrm{avg}} \approx K H e_{\mathrm{avg}}, \tag*{(10)}

where HH is the Hessian of the Cl(p)C_l(p) map evaluated at p^avg\hat{p}_{\mathrm{avg}}. Hence, the convergence rate is prescribed by the eigenvalues of KHK H. We use the Newton scheme of [8] to eliminate the dependency of e˙avg\dot{e}_{\mathrm{avg}} on HH. This practice allows ES to adjust the size of the perturbations of p^\hat{p} leading to p∗p^*. Namely, small perturbations occur in regions where the norm of the gradient is large, whereas large perturbations occur where the norm of the gradient is small. As such, this update rule not only prevents ES from overshooting the maximum in the former setting, but also accelerates convergence to the maximum in the latter setting.

The algorithm estimates the Hessian of the objective function from the dither in the response by second-order demodulation with the matrix

N(t)=[16ay2(sy2−12)4syszayaz4syszayaz16az2(sz2−12)],(11)N(t) = \begin{bmatrix} \frac{16}{a_y^2}\left(s_y^2-\frac{1}{2}\right) & \frac{4s_y s_z}{a_y a_z} \\ \frac{4s_y s_z}{a_y a_z} & \frac{16}{a_z^2}\left(s_z^2-\frac{1}{2}\right) \end{bmatrix}, \tag*{(11)}

where si:=sin⁡(ωit+βi)s_i := \sin(\omega_i t+\beta_i) with ii being yy or zz. Hereafter we assume that the Hessian is negative definite and symmetric for all pp in the domain of interest. As with the gradient estimate, the DC gain of the product C~lN(t)\widetilde{C}_lN(t) carries Hessian information along with harmonic components. These harmonics are removed by a low-pass filter, thereby leading to

H^˙=ωlH(C~lN(t)−H^),(12)\dot{\hat{H}} = \omega_l^H\left(\widetilde{C}_lN(t)-\hat{H}\right), \tag*{(12)}

where ωlH>0\omega_l^H>0. The integration of this equation yields the Hessian estimate H^\hat{H}.

The end goal of the Newton law is to formulate an update law leading to e˙avg≈−Keavg\dot{e}_{\mathrm{avg}}\approx-Ke_{\mathrm{avg}} in steady state. The explicit inversion of the noisy H^\hat{H} required to perform the desired cancellation is avoided by using the Riccati filter

Γ˙=ωrΓ−ωrΓH^Γ,(13)\dot{\Gamma}=\omega_r\Gamma-\omega_r\Gamma\hat{H}\Gamma, \tag*{(13)}

for Γ∈R2×2\Gamma\in\mathbb{R}^{2\times2} and ωr>0\omega_r>0. This equation has an unstable equilibrium point at Γ=0\Gamma=0 and a stable point where Γ≺0\Gamma\prec0. When ωr\omega_r satisfies the time-scale separation condition in [8] and Γ(0)\Gamma(0) is both negative definite and symmetric, the integration of (13) yields Γ→H^−1\Gamma\to\hat{H}^{-1}. This leads to the Newton update law

p^˙=−KΓG^,(14)\dot{\hat{p}}=-K\Gamma\hat{G}, \tag*{(14)}

which reduces the averaged error dynamics to e˙avg≈−Keavg\dot{e}_{\mathrm{avg}}\approx-Ke_{\mathrm{avg}} when Γ→H−1\Gamma\to H^{-1} is reached [8 Remark 2].

Spectral Clamping of the Inverse-Hessian Estimate

The uniform rate sought by the Newton approach is only reached once Γ\Gamma converges to its asymptotic value. The transient rate, however, is governed by −KΓH-K\Gamma H. As p^\hat{p} crosses from the flatter to the steeper side of an asymmetric map, the gradient grows while Γ\Gamma still holds the flatter-side inverse curvature until the step overshoots p∗p^*. Once the estimate is on the steeper side, H^\hat{H} is relearned. Additionally, turbulence, measurement noise, and other uncertainties can drive the eigenvalues of H^\hat{H} toward zero on a well-curved map. In either case, (13) can make a small estimated curvature yield an overly large transient gain. This outcome is prevented by bounding Γ\Gamma.

An eigenvalue decomposition of the Riccati state is Γ=VΛVT\Gamma=V\Lambda V^\mathsf{T}, where Λ=diag⁡(λy,λz)∈R2×2\Lambda=\operatorname{diag}(\lambda_y,\lambda_z)\in\mathbb{R}^{2\times2} is a diagonal matrix containing the eigenvalues of Γ\Gamma, and V∈R2×2V\in\mathbb{R}^{2\times2} is an orthogonal matrix whose columns are the corresponding eigenvectors. The desired bound is enforced by clamping the spectrum of Γ\Gamma:

Γc:=V[sat⁡(λy,−γˉ,0)00sat⁡(λz,−γˉ,0)]VT,(15)\Gamma_c:=V \begin{bmatrix} \operatorname{sat}(\lambda_y,-\bar{\gamma},0) & 0\\ 0 & \operatorname{sat}(\lambda_z,-\bar{\gamma},0) \end{bmatrix} V^\mathsf{T}, \tag*{(15)}

where γˉ>0\bar{\gamma}>0 and sat⁡(⋅,a,b)\operatorname{sat}(\cdot,a,b) is the saturation function with lower limit aa and upper limit bb. The clamp is applied at the output of the Riccati equation and the clamped value is propagated both to the update law and back into the equation,

Γ˙=ωrΓc−ωrΓcH^Γc,(16)\dot{\Gamma}=\omega_r\Gamma_c-\omega_r\Gamma_c\hat{H}\Gamma_c, \tag*{(16)}
p^˙=−KΓcG^.(17)\dot{\hat{p}}=-K\Gamma_c\hat{G}. \tag*{(17)}

When an eigenvalue saturates, Γc\Gamma_c does not converge to H^−1\hat{H}^{-1} and the averaged update law becomes −KΓcH-K\Gamma_cH. Therefore select γˉ\bar{\gamma} to exceed the largest inverse curvature the map is expected to exhibit near p∗p^*, so Γc→Γ\Gamma_c \to\Gamma near p∗p^*. Hence, the spectrum of Λ\Lambda is only clamped during the transient response. Near p∗p^* the clamp is inactive and (16)–(17) are equivalent to (13)–(14).

Constrained Optimization

The maximizer p∗p^* is close to a region where the rolling moment changes sign, resulting in an abrupt roll moment disturbance and a loss of control3. This outcome might be triggered by a moving vortex, crosswind, noise, turbulence, and the dither itself. To prevent this anomaly, we consider the constrained optimization program

p∗=arg⁡max⁡pCl(p) such that h(p)≥0,(18)p^* = \arg\max_p C_l(p) \text{ such that } h(p) \ge0, \tag*{(18)}

where the unknown function h(p)h(p) is to be determined. This constraint must be enforced not only at steady state but also during the transient response.

Safe Flight

If the constraint of (18) holds, pp remains within the safe set S:={p:h(p)≥0}S := \{p : h(p) \ge0\}. Noise, disturbances, and unmodeled dynamics in hh might drive pp onto the unsafe set. When this situation arises, the priority is to fly the aircraft back to safety. To this end, we adopt the safe ES design framework of [29], [30], which requires the following assumption on the constraint map:

Assumption 2: (i) the map h:R2→Rh : \mathbb{R}^2 \to\mathbb{R} is continuously differentiable and (ii) ∇h(p)≠0\nabla h(p) \ne0 on the set {p:h(p)≤0}\{p : h(p) \le0\}.

Notably, the framework does not require the maximizer itself to be safe. If p∗p^* lies outside SS, the parameter converges to a neighborhood of the constrained maximizer near the boundary ∂S:={p:h(p)=0}\partial S := \{p : h(p) = 0\}, oscillating about ∂S\partial S due to the dither, with a violation of safety that shrinks with the design constants [30]. If the maps are stationary or the limit cycle persists for too long, the analyst might suppress it using the amplitude modulation logic presented in Section III-F. When wind gusts or noise drive the aircraft into the unsafe domain, the framework guarantees a return to SS at an assignable rate. However, (ii) cannot be verified in practice since hh is unknown. Furthermore, the safety correction vanishes at the unsafe locations where ∇h(p)=0\nabla h(p) = 0, thereby precluding a safe recovery.

The CBF-QP safety filter in [1] developed for the safety constraint h˙+ch≥0\dot{h} + ch \ge0 with c>0c > 0, admits the closed-form solution

u=u0+∇h∥∇h∥2max⁡{0,−∇hTu0−ch},(19)u = u_0 + \frac{\nabla h}{\lVert\nabla h \rVert^2} \max\{0,-\nabla h^\mathsf{T}u_0-ch\}, \tag*{(19)}

where uu is the update law that deviates the least from the nominal rule u0u_0. This equation, implemented as in [30] with (24), leads to

p^˙=u0+Γhmax⁡δ{−u0TG^h−cηh}G^h,(20)\dot{\hat{p}} = u_0 + \Gamma_h \max_\delta\{-u_0^\mathsf{T}\hat{G}_h-c\eta_h\}\hat{G}_h, \tag*{(20)}

where u0u_0 is the unconstrained update law given in (17), ηh\eta_h is given as

η˙h=ωhh(h−ηh),(21)\dot{\eta}_h = \omega_h^h(h-\eta_h), \tag*{(21)}

with ωhh>0\omega_h^h > 0, and the gradient estimate G^h\hat{G}_h of the constraint hh is given by

G^˙h=ωlh(h~M(t)−G^h),(22)\dot{\hat{G}}_h = \omega_l^h\bigl(\tilde{h}M(t)-\hat{G}_h\bigr), \tag*{(22)}

where h~=h−ηh\tilde{h}=h-\eta_h and ωlh>0\omega_l^h>0. Γh∈R\Gamma_h\in\mathbb{R} is given from the Riccati filter

Γ˙h=ωrhΓh(1−Γh∥G^h∥2),(23)\dot{\Gamma}_h = \omega_r^h\Gamma_h\left(1-\Gamma_h\lVert\hat{G}_h\rVert^2\right), \tag*{(23)}

where ωrh>0\omega_r^h>0, which, as in (13), has an unstable equilibrium point at Γh=0\Gamma_h=0 and a stable point at Γh=∥G^h∥−2\Gamma_h=\lVert\hat{G}_h\rVert^{-2}. Finally, max⁡δ{⋅}\max_\delta\{\cdot\} is the soft max function4. Note that ωlh\omega_l^h must be chosen to filter unwanted noise while maintaining a low enough lag to guarantee safety.

In this paper, we use the vortex-induced rolling moment to define both the objective and the constraint. In particular, we consider

h(p):=Cl(p)−Cl‾,(24)h(p) := C_l(p)-\underline{C_l}, \tag*{(24)}

where Cl‾>0\underline{C_l}>0 is the buffer parameter. The chosen value of Cl‾\underline{C_l} should be large enough to cover the safety violations that might be caused by the dither. The extent of such violations depends on the amplitude of the dither, the filters’ parameters, and the map h(p)h(p). While hard safety guarantees are not possible due to the unknown map, practical safety [30] can be pursued by setting suitable values for Cl‾\underline{C_l} according to simulation and flight experiments, e.g., if h(p)=Cl(p)h(p)=C_l(p) is the hard safety constraint, use (24) with a sufficiently large buffer value. This soft notion of safety is referred to as practical safety.

Our constraint choice makes the unconstrained ES algorithm (17) naturally avoid the unsafe region. Crosswind, turbulence, or a maneuvering leading aircraft can driving pp into the unsafe domain. Because the baseline update law contains no explicit safety constraints, the aircraft might not be able to exit the unsafe region sufficiently fast. By embedding a safety constraint into the update law we seek to speed up the exiting process. However, as expected, the ability to track a moving vortex and to keep the flight safe is limited by the control authority of the aircraft.

This law enforces practical safety by driving the average value ClC_l towards the safe domain at a rate cc. Our constraint choice makes SS a level set of the objective map. This property makes p∗p^* an interior point of the safe set, thereby making the second term of the right hand side of (20) inactive at the optimum.

Amplitude Modulation and Plateau Seeking

The dither required to learn the gradient/Hessian of the unknown functions not only degrades flying qualities but also increases fuel consumption. Furthermore, the response after

Algorithm 1 Threshold-Gated Amplitude Modulation

Require: threshold $\overline{C}_l$, dwell $T$, ramp times $T_{\mathrm{down}}, T_{\mathrm{up}}$, sample period $\Delta t$

1: $\sigma \gets 1$, $\tau_a \gets 0$
2: **while** running **do**
3: **if** $\eta_\sigma(t) \ge \overline{C}_l$ **then**
4: $\tau_a \gets \tau_a + \Delta t$
5: **else**
6: $\tau_a \gets 0$
7: **end if**
8: **if** $\tau_a \ge T$ **then**
9: $\sigma \gets \max(0,\sigma-\Delta t/T_{\mathrm{down}})$
10: **else**
11: $\sigma \gets \min(1,\sigma+\Delta t/T_{\mathrm{up}})$
12: **end if**
13: **end while**

ES converges exhibits a residual oscillation about p∗p^* [8]. This oscillation increases fuel consumption without rendering a drag reduction, thereby becoming counter-productive. As such, we modulate and eventually eliminate the excitation as a sufficiently large objective value is reached, i.e., as pp approaches the plateau {p:Cl(p)≥C‾l}\{p:C_l(p)\ge\overline{C}_l\} when C‾l>Cl\overline{C}_l>C_l. Once the plateau is reached, the learning algorithm becomes dormant, only restarting once a moving vortex yields Cl(p)<C‾lC_l(p)<\overline{C}_l at the converged pp. The chosen value for C‾l\overline{C}_l should trade off the reduction in drag resulting from flying close to the maximum p∗p^* and the fuel consumption required to persistently excite the system.

This logic is governed by a gain σ∈[0,1]\sigma\in[0,1] computed in Algorithm 1. The value of σ(t)\sigma(t) decreases linearly in time once pp reaches the plateau, and it increases linearly in time once pp leaves the plateau. Algorithm 1 adjusts the amplitude of the dither according to a low-pass value of ClC_l, ησ\eta_\sigma, as follows:

η˙σ=ωlσ(Cl−ησ),(25)\dot{\eta}_\sigma=\omega_l^\sigma(C_l-\eta_\sigma), \tag*{(25)}

where ωlσ>0\omega_l^\sigma>0. As such, measurement noise and the dither-induced oscillation cannot chatter the dwell timer. σ\sigma scales the excitation and modulates the update according to

pcmd(t)=p^mod(t)+σ(t)S(t),(26)p_{\mathrm{cmd}}(t)=\hat{p}_{\mathrm{mod}}(t)+\sigma(t)S(t), \tag*{(26)}
p^mod=σ(t)p^,(27)\hat{p}_{\mathrm{mod}}=\sigma(t)\hat{p}, \tag*{(27)}

where p^˙\dot{\hat{p}} is the right-hand side of (20). Furthermore, it modifies the estimators in (7), (12), and (23) to

G^˙=ωlσ(σ(t)C~lM(t)−G^),(28)\dot{\hat{G}}=\omega_l^\sigma\left(\sigma(t)\widetilde{C}_lM(t)-\hat{G}\right), \tag*{(28)}
H^˙=σ(t)ωlH(C~lN(t)−H^),(29)\dot{\hat{H}}=\sigma(t)\omega_l^H\left(\widetilde{C}_lN(t)-\hat{H}\right), \tag*{(29)}
Γ˙h=σ(t)ωlhΓh(1−Γh∥G^h∥2),(30)\dot{\Gamma}_h=\sigma(t)\omega_l^h\Gamma_h\left(1-\Gamma_h\lVert\hat{G}_h\rVert^2\right), \tag*{(30)}

with (22) modified in the same manner as (28). When pp stays in the plateau for the prescribed dwell time and σ(t)=0\sigma(t)=0, both the commanded dither and the learning stop. At this state H^\hat{H} and Γh\Gamma_h hold their last value whereas G^→0\hat{G}\to0. When a moving vortex makes ClC_l drop below C‾l\overline{C}_l,

pp leaves the plateau and both the dither and the learning resume.

Hence, the chosen value for C‾l\overline{C}_l not only determines the set of pp values to which the optimization eventually converges, but also prescribes the limit after which p∗p^* is no longer pursued. As such, the value of C‾l\overline{C}_l determines the trade off posed by wanting to save fuel by reaching a reduced drag configuration against wanting to save fuel by eliminating dithering/actuation. The dither experienced by the aircraft is driven to zero by virtue of a zero gain, but the amplitudes aya_y and aza_z entering the demodulation signals M(t)M(t), N(t)N(t) and the underlying equations are fixed, thereby avoiding any singularities.

F-16 Formation Flying

In the numerical examples that follow we apply APOGEE to the formation flying of an F-16. To this end we use the high-fidelity nonlinear F-16 model detailed in [16] based on [24]. The simulation is constructed on the wind tunnel aerodynamic database for a 16% scale model of the F-16 aircraft and a ground test database for engine thrust given in [18]. The simulation is run at a sampling rate of 200 Hz under significant measurement noise and the reference position is set as (yref,zref)=(0,−25000)(y_{\mathrm{ref}},z_{\mathrm{ref}})=(0,-25000) ft and the initial condition is set to p0=(1.5,3)p_0=(1.5,3) ft. Furthermore, we use the aerodynamic vortex model obtained experimentally in [10]. This model is used to evaluate the instantaneous value of Cl(p)C_l(p), with no other information about the underlying map used for learning. Additionally, to facilitate parameter choices, the measured output ClC_l is scaled by a factor of 1000 since the unscaled magnitude is of order 10−310^{-3}.

APOGEE dither parameters are chosen as ay=az=1a_y=a_z=1 ft, ωy=1.3\omega_y=1.3 rad/s, ωz=0.76\omega_z=0.76 rad/s, βy=−2π/3\beta_y=-2\pi/3 rad, and βz=−π/5\beta_z=-\pi/5 rad. The update gain is K=diag⁡(0.026,0.027)K=\operatorname{diag}(0.026,0.027), and the Hessian estimation uses ωr=0.03\omega_r=0.03, γˉ=10\bar{\gamma}=10, and Γ(0)=diag⁡(−7,−7.5)\Gamma(0)=\operatorname{diag}(-7,-7.5). The safety filter parameters use C‾l=3.3\underline{C}_l=3.3, ωrh=0.15\omega_r^h=0.15, c=2c=2, Γh(0)=1\Gamma_h(0)=1, and δ=0.01\delta=0.01, and the amplitude modulation uses Cˉl=9.2\bar{C}_l=9.2, T=3T=3 s, and Tdown=6T_{\mathrm{down}}=6 s, Tup=4.5T_{\mathrm{up}}=4.5 s. The filter frequencies are ωh=ωl=ωl=ωH=ωh=0.5\omega_h=\omega^l=\omega_l=\omega^H=\omega^h=0.5 and ωh=6\omega^h=6 all in rad/s. APOGEE is turned on at 20 s, time when the response reaches a steady state.

a) Accelerating convergence: Figure 4 compares the classic ES and the Newton-based ES on a stationary vortex. The amplitude modulation was not simulated in this case and only ground tracks are shown, as the map asymmetry is most severe in the lateral direction and the overshoot is clearly displayed. Classical ES forces a choice between two poor gain options: one tuned for the shallow side in which the map crawls, and one tuned more than tenfold (comparable to γˉ\bar{\gamma}) faster, in which the aircraft overshoots from the steep side. The Newton update with the clamped inverse-Hessian estimate converges rapidly without overshoot and adapts to the unknown curvature.

Classical ES with $(k_y,k_z)=(0.026,0.027)$Classical ES with $(k_y,k_z)=(0.38,0.38)$Newton-based ES with $(k_y,k_z)=(0.026,0.027)$, $\Gamma(0)=\operatorname{diag}(-7,-7.5)$, and $\bar{\gamma}=10$

Figure 4. Comparison between classical and Newton-based ES. Fig. 4a and Fig. 4b depict classical ES with slow and fast learning gains, respectively. The former exhibits impractically slow convergence, while the latter suffers from overshoot due to the asymmetric map (see Section III-A). In contrast, the Newton-based ES (Fig. 4c) converges rapidly without overshoot.

b) Avoiding unsafe flight: Figure 5 shows the responses when the vortex moves laterally towards the aircraft, resulting in an unsafe state. The unconstrained update, shown in Figure 5b, results in ClC_l falling below the hard safety limit of zero. In contrast, the constrained update triggered by the practical safety limit Cl=C‾lC_l=\underline{C}_l, shown in Figure 5c, prevents loss of control by ensuring Cl>0C_l>0.

Newton-based ES with and without the safety filter

Figure 5. Newton-based ES with and without the safety filter when the vortex moves towards the aircraft (Figure 5a). Blue, black, and red lines in the ClC_l time histories denote the noisy measurement of ClC_l, the true ClC_l, and the practical safety limit C‾l=3.3×10−3\underline{C}_l=3.3\times10^{-3} respectively.

c) Full operation: Figure 6 shows an APOGEE trajectory with a translating vortex and all components active. Once pp reaches the first plateau, Algorithm 1 ramps the excitation to zero, and the aircraft holds position. As the vortex translates laterally, the resulting reduction of ClC_l resumes the seeking process, alternating between seeking and dither-free station keeping. When the vortex moves toward the aircraft, ClC_l drops sharply and the safety filter drives pp outside the unsafe set, enforcing the practical safe limit.

Figure 6. High-fidelity F-16 simulation starting from p0=(1.5,3)p_0 = (1.5, 3) ft. Top left: lateral position of a moving vortex. Top right: true and measured vortex-induced rolling moment. Bottom left: relative lateral command and response for yref=0y_{\mathrm{ref}} = 0 ft. Bottom right: relative altitude command and response for zref=−25,000z_{\mathrm{ref}} = -25{,}000 ft. APOGEE is turned on at t=20t = 20 s.

Conclusion

This paper presents APOGEE, a model-free guidance architecture for drag reduction in formation flight, built from ES on the measured vortex-induced rolling moment. The Newton-based update is modified by a spectral clamp on the inverse-Hessian estimate, bounding the transient gain on any asymmetric wake map. A practical CBF-QP safety filter acting on the same measurement keeps the response away from the unsafe region, while an amplitude modulation algorithm turns the learning on and off depending on the system reaching a point of acceptable performance. High-fidelity F-16 simulations are used to demonstrate the efficacy and safety of APOGEE. In future work, we will consider other safety constraints, evaluate the domain where the algorithm remains both effective and safe, and develop a means to prescribe robust values to the tunable parameters.

Figure 5a. Vortex lateral position over time.

Figure 5b. Newton-based ES without safety filter.

Figure 5c. Newton-based ES with safety filter.

References

  1. [1]A. D. Ames, X. Xu, J. W. Grizzle, and P. Tabuada, “Control barrier function based quadratic programs for safety critical systems,” IEEE Transactions on Automatic Control, vol. 62, no. 8, pp. 3861–3876, 2016.DOI
  2. [2]K. B. Ariyur and M. Krstić, Real-time optimization by extremum-seeking control. John Wiley & Sons, 2003.
  3. [3]P. Binetti, K. B. Ariyur, M. Krstić, and F. Bernelli, “Formation flight optimization using extremum seeking feedback,” Journal of Guidance, Control, and Dynamics, vol. 26, no. 1, pp. 132–142, 2003.DOI
  4. [4]M. Brodecki and K. Subbarao, “Autonomous formation flight control system using in-flight sweet-spot estimation,” Journal of Guidance, Control, and Dynamics, vol. 38, no. 6, pp. 1083–1096, 2015.DOI
  5. [5]N. A. Brown and J. R. Schaefer, “Peak-seeking optimization of trim for reduced fuel consumption: Flight-test results,” in AIAA Guidance, Navigation, and Control (GNC) Conference, 2013, p. 5171.
  6. [6]D. F. Chichka, J. L. Speyer, C. Fanti, and C. G. Park, “Peak-seeking control for drag reduction in formation flight,” Journal of Guidance, Control, and Dynamics, vol. 29, no. 5, pp. 1221–1230, 2006.DOI
  7. [7]L. DeVries and D. A. Paley, “Wake sensing and estimation for control of autonomous aircraft in formation flight,” Journal of Guidance, Control, and Dynamics, vol. 39, no. 1, pp. 32–41, 2016.DOI
  8. [8]A. Ghaffari, M. Krstić, and D. Nešić, “Multivariable newton-based extremum seeking,” Automatica, vol. 48, no. 8, pp. 1759–1767, 2012.
  9. [9]A. Ghaffari, M. Krstić, and S. Seshagiri, “Power optimization for photovoltaic microconverters using multivariable newton-based extremum seeking,” IEEE Transactions on Control Systems Technology, vol. 22, no. 6, pp. 2141–2149, 2014.DOI
  10. [10]J. Hansen, B. Cobleigh, R. Ray, J. Vachon, and K. Ennix, “Vortex-induced aerodynamic effects on a trailing F-18 aircraft flying in close formation,” 1st AIAA UAV systems, technologies and operations conference, 2002.DOI
  11. [11]M. S. Hemati, J. D. Eldredge, and J. L. Speyer, “Wake sensing for aircraft formation flight,” Journal of Guidance, Control, and Dynamics, vol. 37, no. 2, pp. 513–524, 2014.
  12. [12]N. J. Killingsworth, S. M. Aceves, D. L. Flowers, F. Espinosa-Loza, and J. Krstić, “HCCI engine combustion-timing control: Optimizing gains and fuel consumption via extremum seeking,” IEEE Transactions on Control Systems Technology, vol. 17, no. 6, pp. 1356–1361, 2009.DOI
  13. [13]K. H. Kim, M. Diagne, and M. Krstić, “Robust control barrier function design for high relative degree systems: Application to unknown moving obstacle collision avoidance,” in 2025 American Control Conference (ACC). IEEE, 2025, pp. 355–360.arxiv.org/abs/2412.03678
  14. [14]M. Krstić and H.-H. Wang, “Stability of extremum seeking feedback for general nonlinear dynamic systems,” Automatica, vol. 36, no. 4, pp. 595–601, 2000.DOI
  15. [15]W. H. Moase, C. Manzie, and M. J. Brear, “Newton-like extremum-seeking for the control of thermoacoustic instability,” IEEE Transactions on Automatic Control, vol. 55, no. 9, pp. 2094–2105, 2010.DOI
  16. [16]E. A. Morelli and V. K. Klein, Aircraft System Identification: Theory and Practice, 2nd ed. Williamsburg, VA: Sunflyte Enterprises, 2016.
  17. [17]D. Nesić, Y. Tan, W. H. Moase, and C. Manzie, “A unifying approach to extremum seeking: Adaptive schemes based on estimation of derivatives,” in 49th IEEE conference on decision and control (CDC). IEEE, 2010, pp. 4625–4630.DOI
  18. [18]L. T. Nguyen, M. E. Ogburn, W. P. Gilbert, K. S. Kibler, P. W. Brown, and P. L. Deel, “Simulator study of stall/post-stall characteristics of a fighter airplane with relaxed longitudinal static stability,” National Aeronautics and Space Administration, Washington, DC, United States, Technical Paper NASA-TP-1538, December 1979.
  19. [19]J. Pahle, D. Berger, M. Venti, C. Duggan, J. Faber, and K. Cardinal, “An initial flight investigation of formation flight for drag reduction on the C-17 aircraft,” in AIAA atmospheric flight mechanics conference, 2012, p. 4802.DOI
  20. [20]J. J. Ryan, “Formation flight system extremum-seeking-control using blended performance parameters,” Patent US 9,864,380, Jan 9, 2018.
  21. [21]J. J. Ryan and J. L. Speyer, “Peak-seeking control using gradient and hessian estimates,” in Proceedings of the 2010 American Control Conference. IEEE, 2010, pp. 611–616.
  22. [22]J. R. Schaefer and N. A. Brown, “Peak-seeking optimization of trim for reduced fuel consumption: Architecture and performance predictions,” in AIAA Guidance, Navigation, and Control (GNC) Conference, 2013, p. 4856.DOI
  23. [23]A. Scheinker, “100 years of extremum seeking: A survey,” Automatica, vol. 161, p. 111481, 2024.DOI
  24. [24]B. L. Stevens, F. L. Lewis, and E. N. Johnson, Aircraft control and simulation: dynamics, controls design, and autonomous systems. John Wiley & Sons, 2015.DOI
  25. [25]R. Suttner, “Extremum seeking control with an adaptive dither signal,” Automatica, vol. 101, pp. 214–222, 2019.DOI
  26. [26]V. Todorovski and M. Krstić, “Newton nonholonomic source seeking for distance-dependent maps,” IEEE Transactions on Automatic Control, vol. 70, no. 1, pp. 510–517, 2025.arxiv.org/abs/2307.11923
  27. [27]M. J. Vachon, R. Ray, K. Walsh, and K. Ennix, “F/A-18 aircraft performance benefits measured during the autonomous formation flight project,” in AIAA atmospheric flight mechanics conference and exhibit, 2002, p. 4491.
  28. [28]Q. Wang, P. McNamee, and Z. N. Ahmadabadi, “Logarithmic barrier functions for practically safe extremum seeking control,” 2026. [Online]. Available: https://arxiv.org/abs/2604.03138
  29. [29]A. Williams, M. Krstić, and A. Scheinker, “Semiglobal safety-filtered extremum seeking with unknown CBCs,” IEEE Transactions on Automatic Control, vol. 70, no. 3, pp. 1698–1713, 2025.DOI
  30. [30]——, “Local practically safe extremum seeking with assignable rate of attractivity to the safe set,” Automatica, vol. 183, p. 112611, 2026.DOI
  31. [31]C. T. Yilmaz, M. Diagne, and M. Krstić, “Exponential and prescribed-time extremum seeking with unbiased convergence,” Automatica, vol. 179, p. 112392, 2025.arxiv.org/abs/2401.00300

Paper details

vlnc:W_33gmnruz
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Engineering

Not recorded for this paper

View statement
Looking for related papers…
Contents