This study investigates model predictive control (MPC) of a multirotor drone (unmanned aerial vehicle, UAV) carrying a cable-suspended payload, comparing conventional shifted initialization with Transformer-based warm starting of a sequential convex programming (SCP) optimizer. The controller uses a coupled mechanical model with an elastic cable and a double-pendulum representation of the suspended load. Its formulation includes move-blocked control inputs, finite-difference sensitivities, constrained quadratic subproblems, and input-feasibility projection. A Transformer trained on expert SCP solutions predicts an initial control sequence, which is subsequently refined by the same optimizer used for the conventional methods. Numerical experiments compare zero, shifted, and Transformer initialization under identical controller settings. For independently solved MPC problems, Transformer initialization reduces computation time relative to zero initialization. In sequential closed-loop simulations, however, shifting the preceding optimized control sequence provides the lowest computation time, while all three methods produce similar tracking behavior. These findings emphasize the importance of comparing learned warm starts with conventional initialization methods that reuse previous MPC solutions. The measured optimization times exceed the control sampling period; consequently, real-time implementation is not demonstrated. Keywords: Model predictive control; sequential convex programming; Transformer; warm start; cable-suspended payload; multirotor drone.
Figures & tables
Figure 1: Physical system and matched receding-horizon SCP-MPC architecture. The two warm-start branches are compared separately using the same feasibility projection and SCP solver. The quadrotor is illustrated using a conceptual sketch; the two-stage suspension is schematic. The prediction model and numerical dimensions are those of the reported numerical benchmark.
Figure 2: Algorithmic flow of the matched SCP–MPC comparison. The shift and Transformer branches are alternatives, not simultaneous inputs. Zero initialization is a separate reference baseline. The projection enforces input-decision constraints, not general state-path safety.
Parameter
Value
Unit
UAV mass mQ
1.365
kg
Intermediate suspended mass mP
0.300
kg
Terminal load mass mL
0.200
kg
Cable rest length ℓc
0.25
m
Cable stiffness kc
500
N/m
Cable damping cc
3.5
N s/m
Table 1: Selected physical parameters used in the archived model.
Category
Implemented definition
Manipulated variables
Virtual collective thrust and three body moments, u=[T,τϕ,τθ,τψ]⊤ ; mapped to four rotor thrusts f
Setpoints
Hover position (0,0,0.8) m; zero attitude, swing angles, and velocities; hover cable extension ρh=0.25981 m
Feedback / measured variables
Ideal simulated full state xk∈R22 ; no explicit sensor or observer model
Controlled quantities
Position, attitude, cable/payload swing, and selected velocities in the weighted tracking residual; control effort and block changes penalized
Disturbances
No injected wind or other external disturbance in the matched benchmark ( d(t)=0 ); no measurement noise
Prediction and decisions
Ts=0.2 s; Np=6 samples (1.2 s); three two-sample blocks; z∈R12
Table 2: MPC variables and assumptions in the matched closed-loop benchmark.
Figure 3: Original schematic of receding-horizon MPC at consecutive sampling instants. The predicted output is updated using the newly available state, and only the first control sample is applied at each update. Colored intervals denote three two-sample move blocks; the displayed output and input levels are illustrative rather than recorded data. The shift–reblock operation is illustrated separately in Fig. 4 .
Figure 4: One-sample horizon shift followed by reblocking into three fixed two-sample blocks. The averaged sequence is projected onto the admissible control-decision set.
Initialization
Mean time (s)
Mean SCP iterations
Zero
5.268
3.000
Transformer (16)
4.776
2.670
Transformer (200)
4.345
2.500
Table 3: Benchmark with independently solved MPC problems: 12 held-out optimization problems. Time and SCP iterations are means per optimization.
Initialization
Mean time (s)
Mean SCP iterations
Valid
Converged
Zero
5.059
3.000
96/96
96/96
Shift
4.019
2.354
96/96
96/96
Transformer (200 labels)
4.802
2.844
96/96
95/96
Table 4: Closed-loop benchmark: 12 held-out episodes and 96 MPC updates per method. Time and SCP iterations are means per MPC update. Valid counts updates satisfying the input constraints and improving the objective; Converged counts updates satisfying the SCP stopping test.
Figure 5: Recorded quadrotor position components over the first held-out closed-loop episode. Zero, shifted, and Transformer initialization share the same initial condition, predictor, constraints, and SCP settings.
Figure 6: Recorded magnitudes of the two swing-angle pairs over the same episode, calculated as α2+β2 and α22+β22 and converted to degrees. These are angle-vector norms, not exact spatial deflection angles.
Figure 7: First held-out episode: Euclidean position difference relative to the shifted-initialization trajectory (millimetres). The nonzero curves explain why the absolute position plots overlap; they are not a measure of landing or payload safety.
Figure 8: First held-out episode: Euclidean difference of the two swing-angle magnitudes relative to the shifted-initialization trajectory (degrees). The scale is intentionally expanded and explicitly labelled.
Figure 9: Matched closed-loop benchmark episode-level mean total time per MPC update, measured as initialization inference plus projection plus SCP, excluding physical plant propagation.
Figure 10: Paired episode-level runtime difference: Transformer (200 labels) minus shift. Positive values mean that the Transformer approach was slower.
Figure 11: Episode-level mean SCP iterations under the same four-iteration limit.
Model Predictive Control (MPC) is widely adopted for agile multirotor vehicles, yet achieving both stability and obstacle-free flight is particularly challenging when a payload is suspended beneath the airframe. This paper introduces a Safety Enhanced Passivity-Based Nonlinear MPC (SEP-NMPC) that provides formal guarantees of stability and safety for a quadrotor transporting a slung payload through cluttered environments. Stability is enforced by embedding a strict passivity inequality, which is derived from a shaped energy storage function with adaptive damping, directly into the NMPC. This formulation dissipates excess energy and ensures asymptotic convergence despite payload swings. Safety is guaranteed through high-order control barrier functions (HOCBFs) that render user-defined clearance sets forward-invariant, obliging both the quadrotor and the swinging payload to maintain separation while interacting with static and dynamic obstacles. The optimization remains quadratic-program compatible and is solved online at each sampling time without gain scheduling or heuristic switching. Extensive simulations and real-world experiments confirm stable payload transport, collision-free trajectories, and real-time feasibility across all tested scenarios. The SEP-NMPC framework therefore unifies passivity-based closed-loop stability with HOCBF-based safety guarantees for UAV slung-payload transportation.
This article presents a time-aware hybrid model predictive control (MPC) framework that simultaneously optimizes the objective with respect to both continuous control inputs and event switching times. Rather than relying on a fixed time grid, the switching instant is lifted into the decision vector and treated as an explicit optimization variable. The resulting transcription is a smooth nonlinear program whose Karush-Kuhn-Tucker (KKT) conditions are consistent with the Hybrid Minimum Principle (HMP) event-time stationarity condition, so first-order hybrid sensitivities are recovered implicitly through the KKT system rather than by evaluating saltation matrices. Each MPC step solves a single sparse Quadratic Program (QP), jointly optimizing control inputs and impact timing in real time. On a bouncing mass landing on an oscillating platform, the method attaches in half the time of fixed-grid saltation MPC, reduces cumulative control effort by 30%, and removes the post-impact rebounds, at a 15% increase in per-cycle solve time. It matches the cumulative effort of offline time-aware solvers to within 4% while running at 2.4 ms per cycle against 281 ms for a complementarity-based formulation of the same problem, of which a 10.6x reduction is attributable to the transcription alone at a fixed solver.
Valentin Gaucher, Wenlong Zhang
School of Manufacturing Systems and Networks, Ira A. Fulton Schools of Engineering, Arizona State University, Mesa, AZ, 85212, USA.
Real-time trajectory generation for on-orbit robotic servicing is challenging due to the nonlinear coupling between spacecraft bus motion, manipulator dynamics, visibility cone, and trajectory-level safety constraints. This paper studies learning-based warm-starting for sequential convex programming (SCP) in the terminal approach of a space manipulator toward a tumbling target. The proposed framework decomposes the problem into a system center-of-mass translational planning stage and a coupled attitude--manipulator torque-allocation stage, and applies a causal transformer warm-start to the latter, which constitutes the dominant computational bottleneck. Linear and flow matching action decoders are compared under different action-chunking and training dataset sizes, and the resulting warm-starts are evaluated under both cost-optimal and feasibility projection using SCP. Across 300 held-out scenarios, the learned warm-start reduces the second-stage SCP iteration count by up to 28% and the runtime by 23% while preserving the final control-cost distribution. When the learned warm-starts are used for nonconvex feasibility projection, they nearly halve the runtime relative to cost-optimal SCP, while avoiding the catastrophic high-cost tail behavior observed when initialized heuristically. These results indicate that sequence-model warm-starts can improve both the computational efficiency and trajectory robustness of optimization-based terminal guidance for space manipulation.
Yuji Takubo, Maximilian Adang, Mac Schwager +1
Department of Aeronautics and Astronautics, Stanford University. Stanford, CA, 94305.