Experiments were conducted on the RflySim–PX4 hardware-in-the-loop platform shown in
Figure 4, using a fixed overhead-ground-wire scene. The experiments evaluate visual tracking, robustness to perturbations, and the contribution of historical-input weighting. Local-model comparisons, parameter sensitivity, and computation time are also examined.
4.1. Experimental Platform and Evaluation Metrics
The platform consists of flight-control hardware, the RflySim simulation environment, and the visual-control program [
32]. The flight-control inner loop runs on the hardware, while RflySim supplies the UAV dynamics, sensor feedback, three-dimensional scene, and onboard-camera images. The visual-control program converts YOLO11s-OBB detections into velocity and yaw-rate commands. Each visual-error component was processed by an independent constant-velocity Kalman filter before being used for control.
Table 1 lists the platform and visual-detection settings, and
Table 2 gives the MHW-PAJ-CLF parameters.
The controller parameters were adjusted progressively according to the closed-loop responses, considering success rate, transient overshoot, and oscillations in the tracking errors and control commands.
Table 2 gives the resulting parameter values. The parameter settings of the baseline methods are listed in
Table 3.
PID and ADRC use independent three-channel feedback structures, with ADRC additionally using extended-state observation. NVPC balances predicted tracking error, command magnitude, and command changes, with a visibility penalty that discourages motion toward the image boundary. RBF-IBVS uses Gaussian basis functions to estimate and compensate for local model error. The baseline parameters were adjusted progressively according to the observed closed-loop responses. The selected baseline parameters were kept fixed across the five evaluation runs. PID uses bounded integral accumulation and command clipping; ADRC commands are clipped to their prescribed bounds; NVPC projects candidate inputs into the admissible range; and the RBF-IBVS output is limited before command application. These controller-generated commands are subject to the common bounds listed in
Table 1. All five methods use the same detector and visual-filter settings, initial conditions, sampling rates, bounds on the controller-generated commands, and success criterion. Results presented as the mean ± sample standard deviation are calculated from five runs. The numerical results in the tables are rounded to the precision shown, and the reported percentage changes in tracking error are calculated from the displayed mean values. The best mean values are shown in bold in the comparison tables.
For the initial-pose, noise-and-dropout, and command-bias conditions in
Section 4.3, PAJ-CLF and MHW-PAJ-CLF were each evaluated in five runs using run seeds
–
. The same seed was assigned to the two methods for each repetition.
The mean absolute error measures tracking accuracy in each visual channel. The overall tracking error
combines the three normalized errors:
where
N is the number of observations.
A smaller
indicates a smaller overall tracking error.
For each run, the success rate is the percentage of the total run duration during which all three visual errors simultaneously satisfy the following tolerances:
For results reported as a mean, the success rates are averaged over five runs.
The local-response residual
is computed consistently across the local-model update methods, using the preceding control model and the most recent historical input for prediction:
where
contains the consecutive valid visual observations used to calculate the response errors throughout the run and
.
A smaller
indicates closer agreement between the model prediction and the observed visual response.
4.2. Visual-Tracking Performance
The visual-tracking comparison included MHW-PAJ-CLF, PID, ADRC, an NVPC baseline adapted from [
33], and RBF-IBVS [
20].
Figure 5 shows the lateral-position, apparent-width, and angle-error responses.
Table 4 compares the tracking errors and success rates.
MHW-PAJ-CLF achieves the lowest mean absolute error in all three visual channels. Its lateral-position error is 2.51% lower than that of PID, the best baseline for this channel. The improvements in apparent width and angle are larger: relative to RBF-IBVS, the best baseline for these two channels, the errors decrease by 8.36% and 18.77%, respectively.
MHW-PAJ-CLF achieves a mean success rate of 75.50%, exceeding the 64.45% of RBF-IBVS by 11.05 percentage points.
Together with the reductions in width and angle errors, the higher success rate shows that the proposed controller improves coordinated regulation of the three visual variables while maintaining lateral alignment accuracy.
Figure 6 shows the YOLO11s-OBB detections during the initial closed-loop phase.
4.3. Performance Under Perturbations and Temporal Lag
To assess tracking robustness, PAJ-CLF and MHW-PAJ-CLF are compared under changes in initial pose, measurement noise and frame dropout, command bias, and additional visual-feedback delay.
Table 5 summarizes the results.
The initial-pose condition introduces a lateral displacement of m, a height change of m, and a yaw offset of relative to the reference condition. The noise-and-dropout condition uses measurement-noise standard deviations of 4 px, px, and rad for the lateral-position, apparent-width, and orientation-angle errors, respectively, with a s frame dropout beginning at 12 s.
The command-bias condition applies offsets of m/s, m/s, and rad/s to the lateral-velocity, vertical-velocity, and yaw-rate commands, respectively, during 10–25 s, with 1 s linear onset and removal ramps. These offsets are added after controller output limiting. Additional visual-feedback delays of 100 and 200 ms are evaluated separately.
MHW-PAJ-CLF achieves lower mean tracking error
and local-response prediction error
in every condition in
Table 5.
The largest reduction in tracking error, 11.08%, occurs under initial-pose variation, where the standard deviation also decreases from 0.222 to 0.051.
This combination indicates more accurate and more consistent tracking as the initial pose changes.
Under noise and frame dropout and under command bias, the mean tracking error decreases by 5.10% and 4.76%, respectively.
With additional visual-feedback delays of 100 and 200 ms, MHW-PAJ-CLF retains lower mean tracking errors than PAJ-CLF.
Its values are 0.728 and 0.737, compared with 0.735 and 0.758 for PAJ-CLF, respectively.
The relationship between the control-method output
and the command applied through the flight-control interface,
, is represented by the first-order dynamics
where
is the time constant of the first-order element imposed at the command interface; when
, this element satisfies
.
Figure 7 and
Table 6 compare the tracking performance at
, 50 ms, and 100 ms.
MHW-PAJ-CLF achieves smaller mean absolute errors in all three channels at each command-response time constant. As increases from 0 to 100 ms, its rises from 0.7287 to 0.7391 and remains below that of PAJ-CLF. At 100 ms, the success rate is 73.06%, compared with 58.49% for PAJ-CLF. Together with the visual-feedback-delay results, these findings show that multi-history updating retains its tracking benefit under both delayed visual feedback and slower command response.
Across the 60 PAJ-CLF and MHW-PAJ-CLF runs, the Pearson and Spearman correlations between and are and , respectively. These modest positive correlations indicate that lower prediction errors tend to accompany lower tracking errors. In closed-loop operation, the estimated response gains also shape the feedback commands, so tracking performance depends on both prediction accuracy and the resulting control action.
4.4. Analysis of Historical-Input Weighting
Table 7 compares the fixed nominal model, single-history PAJ update, and multi-history-weighted PAJ update within the same CLF-QP control framework. The time
measures when all three errors first satisfy their tolerances, and
marks the start of the first interval in which they remain within the tolerances for at least 3 s.
MHW-PAJ-CLF achieves the lowest mean tracking error and reaches the three error tolerances s earlier than the fixed model and s earlier than PAJ-CLF, on average. The mean values are close, ranging from to s. MHW-PAJ-CLF and the fixed model also have similar mean values. The main improvements therefore concern the initial reduction of the visual errors and overall closed-loop tracking.
During the first 10 s, the mean
values are
,
, and
for the fixed model, PAJ-CLF, and MHW-PAJ-CLF, respectively. The corresponding mean lateral feedback gains are
,
, and
, and the mean RMS lateral-velocity commands are
,
, and
m/s. As described in
Section 3.4, the estimated response gain determines the feedback gain used to generate the command. The larger initial feedback gain of MHW-PAJ-CLF produces stronger lateral corrections, which are consistent with its earlier first entry and lower initial tracking error.
Table 8 examines the weighting rule through three alternatives. Uniform weighting assigns equal weights to all historical inputs; response-error-only weighting uses their prediction errors; shared weighting applies the same weights to all three visual channels.
The full configuration determines the weights separately for each channel using both prediction error and input magnitude. It achieves the lowest mean among the tested configurations. Uniform weighting, response-error-only weighting, and shared weighting give mean errors that are 1.75%, 1.48%, and 1.90% higher, respectively. These results support the combined weighting rule used by MHW-PAJ.
The weighted mean history position describes whether the weights favor more recent or earlier inputs:
The equivalent number of historical inputs measures how widely the weights are distributed:
A larger indicates greater weighting toward earlier inputs, while a larger indicates that more historical inputs share the weights.
Figure 8 shows the historical-input weights in the lateral-position, apparent-width, and angle channels.
Each bar corresponds to one history position, ordered from the newest input on the left to the oldest on the right.
With a nominal visual-update interval of 50 ms, 0 ms denotes the most recent input and 500 ms denotes the input ten updates earlier.
The mean weights range from approximately to , showing that multiple historical inputs contribute to the update. The lateral-position and apparent-width channels give slightly higher weights to older inputs, while the angle channel gives higher weights to inputs at 300–400 ms. Each channel uses prediction error and input magnitude to weight the parameter corrections associated with these historical inputs, then combines the corrections to update its local response gain.
Table 9 gives mean equivalent numbers of historical inputs between
and
within the eleven-input window, further indicating that the update draws on a broad part of the available history.
With additional visual-feedback delays of 0, 100, and 200 ms, the weighted mean history positions in the three channels, expressed in time units, are , , and ms, respectively. Increasing the additional delay from 0 to 200 ms changes these mean positions by , , and ms. The weighted mean history position characterizes the center of the gain-update weight distribution over the input history. Its value depends on the input amplitudes, prediction errors, and available history length.
4.5. Comparison of Diagonal and Full Local Image-Response Models
The controller uses
as a preset nominal matrix, while
and
are diagonal and full local constant models identified from experimental data. Both models use the input–response relation
Pseudo-random binary inputs are used to obtain the identification data at the reference viewpoint and within the command limits listed in
Table 1. The full and diagonal models are identified by multivariable and channel-wise least squares, respectively, and evaluated using validation data. The rows correspond to
,
, and
, and the columns correspond to
,
, and
r. The identified matrices are
The corresponding diagonal elements of
and
differ by 2.52%, 2.23%, and 0.20%.The ratio between the Frobenius norms of the off-diagonal and diagonal parts of
is 9.57%. The largest off-diagonal element is
, whose magnitude is 14.98% of the main diagonal element in the same row. The validation RMSE values of the two models are summarized in
Table 10.
For predictions of the normalized visual-state rate, the overall validation RMSE values of the diagonal and full models are 0.2150 and 0.2161, respectively. At the reference viewpoint and within the tested command range, the three corresponding input–output channels provide the dominant responses, supporting the use of a diagonal local image-response structure for control.
4.6. Parameter Sensitivity and Computation Time
Table 11 examines how the CLF-QP slack penalty
affects tracking performance at values of 50, 100, and 200.
Across this range, the mean varies by 0.53%, and the mean slack remains between 0.0340 and 0.0360. The small change in mean error indicates stable tracking performance over this parameter range, which includes the reference value .
The adaptive gain
sets the strength of the response-error correction, while the history depth
sets the extent of the input history used for updating.
Table 12 examines their effects on tracking performance.
With , increasing from 0.01 to 0.02 reduces the mean from 0.768 to 0.716. A further increase to 0.04 gives a smaller reduction to 0.711. Thus, strengthening the correction has a larger benefit at the lower gains, and the reference value of 0.02 achieves mean tracking performance close to that at 0.04.
With , history depths of 5 and 10 give similar mean values of 0.721 and 0.716, while a depth of 15 gives a higher value of 0.752. A longer window incorporates more distant commands into the local-response update. The lower errors at depths 5 and 10 support the reference history depth of 10 under the tested conditions.
The controller computation times are summarized in
Table 13. The mean computation times of PAJ-CLF and MHW-PAJ-CLF are 0.037 and 0.038 ms, respectively, and their 95th-percentile times are 0.107 and 0.113 ms. For MHW-PAJ-CLF, the 95th-percentile time occupies 1.13% of the 10 ms control period, supporting the dual-rate configuration with channel-gain updates at 20 Hz and CLF-QP command generation at 100 Hz.