Manuscript Offprint
arXiv:2610.31051Tilt-Rotor Quadcopter with Learned Residual Control and Mode-Dependent State Estimation
Ninad D. Joshi
Mechanical and Aerospace Engineering
Indian Institute of Technology Hyderabad
Hyderabad, India
Prabhat Kumar
Mechanical and Aerospace Engineering
Indian Institute of Technology Hyderabad
Hyderabad, India
Abstract—Tilt-rotor quadcopters redirect thrust for translation without banking, but complicate modeling, state estimation, and disturbance rejection. This paper presents a simulation-based flight stack for a 2.00 kg tilt-rotor quadcopter. The system uses a six-degree-of-freedom nonlinear model with first-order motor dynamics and two-axis rotor tilt, parameterized using a 3D CAD model. A cascaded PD controller commands forward and lateral tilt angles. A 14-state EKF fuses sensor data across hover, early-transition, and transition modes using a hysteretic (Schmitt-trigger) classifier to prevent covariance discontinuities. Because the proportional position loop leaves a steady-state offset under constant wind, a small bounded neural residual is added on top of the unmodified PD controller. It is trained by behavioral cloning from a teacher with privileged access to the true wind, while the deployed network never observes wind. In simulation, the EKF achieves a post-settling position root mean square error (RMSE) of 0.226 m (horizontal) and 0.03 m (vertical) and an attitude RMSE below 0.8°, and it estimates a wind velocity of (2.0, -1.2) m/s to within 0.15 m/s per axis. The residual reduces steady-state station-keeping error under wind by approximately 49 %, from 0.117 m to 0.060 m at 1.5 m/s and from 0.319 m to 0.162 m at an out-of-distribution 3.9 m/s. The framework provides a basis for hardware-in-the-loop and flight-test studies.
Index Terms—Tilt-rotor, Quadcopter, UAV, EKF, Sensor Fusion, Residual Learning.
I. INTRODUCTION
Unmanned aerial vehicles (UAVs) have gained significant attention due to their wide range of applications in videography, agriculture, surveying, construction, education, and research. Conventional multirotor UAVs provide excellent hovering capability and maneuverability, but their rotors are fixed relative to the airframe. The vehicle is therefore underactuated, and translational motion must be produced by tilting the whole vehicle through changes in motor speed.
A tilt-rotor quadcopter adds actuation by allowing the rotor assemblies to change their orientation [1]. The thrust vector can then be redirected to generate translational force directly, rather than relying solely on changes in rotor thrust magnitude, at the cost of stronger coupling between the translational and rotational dynamics. The configuration considered in this work, the vehicle employs twelve actuator inputs: four motor inputs for rotor thrust, four actuators for tilting along the direction, and four actuators for tilting along the direction. The nominal thrust of the four rotors is assumed to remain constant, and the required and angles are determined from the desired trajectory. The vehicle motion is simulated using a position-based trajectory-tracking approach rather than a prescribed flight duration. The simulation continues until the vehicle reaches the final waypoint, so the completion time emerges from the vehicle dynamics and control response. A time budget terminates runs that fail to converge to a commanded waypoint.

Fig. 1: Orientation along with tilt-rotation representation of and which produce forward and lateral force components respectively.
Existing studies often employ simplified mass and inertia parameters along with simple control strategies, whereas the influence of wind and complex trajectories on the resulting dynamic response has been less extensively investigated [2]–[4]. Previous work has implemented standard PID controllers [5]–[7].
This work instead develops a six-degree-of-freedom non-linear dynamic model of a tilt-rotor UAV using the physical and inertial parameters obtained from its 3D CAD model, and evaluates its trajectory and attitude response. For control, it adds a neural network (NN) that acts as a small additive correction on a PD controller. Our goal is to study whether a bounded learned correction can recover the wind-trim offset of the proportional loop; we do not claim superiority over integral action or disturbance observers, which are not evaluated here.
II. MATHEMATICAL MODEL OF THE TILT-ROTOR QUADCOPTER
where is position in the world (inertial) frame, is linear velocity expressed in the body frame, are the roll–pitch–yaw Euler angles, are the body angular rates, and is the actual (lagged) thrust of rotor i. The vehicle has mass , gravity is , and the inertia tensor is . Attitude uses the ZYX Euler sequence, , mapping body to world coordinates. Aerodynamic drag is linear in the air-relative velocity, , and is added to . The rigid-body translational and rotational dynamics, the Euler-angle kinematics, and the first-order motor/ESC lag, , follow the standard quadcopter formulation [8]–[10].
B. Tilt-Rotor Actuation and Allocation
Each rotor is mounted on a two-axis gimbal providing a forward tilt (rotation about body ) and a lateral tilt (rotation about body ). With the nominal thrust axis along body , the unit thrust direction is , so the thrust and reaction torque of rotor (magnitude ) are
where is the spin direction and is the torque-to-thrust ratio. Positive therefore produces a forward force component and positive produces a lateral component . With rotor at body-fixed position relative to the center of mass, the net force and moment on the airframe are
For a common tilt ( , ), equal thrust, symmetric placement ( ), and balanced spin directions ( ), the net moment vanishes, so the vehicle translates through tilt alone without induced roll, pitch, or yaw torque.
C. Sensor Models
Six sensors are modeled, each with additive Gaussian noise and a constant bias: a 100 Hz gyroscope and accelerometer (specific force, thrust approximated as acting along body Z), a 5 Hz GPS receiver (world position), a 20 Hz barometer (altitude), a 20 Hz three-axis magnetometer (measuring a fixed-inclination world field vector rotated into the body frame), and a 10 Hz pitot tube measuring true airspeed .

Fig. 2: Control Architecture
III. CONTROL AND STATE ESTIMATION
A. Cascaded control
The controller follows the standard multirotor cascade of fast inner rate and attitude loops under slower velocity and position loops (Fig. 2) [9], [11], so each loop can be tuned assuming the inner loop has settled. The horizontal position error is rotated into the body frame by the current yaw, , and a proportional law gives the desired body-frame velocity (and analogously ), saturated to . Altitude uses a PD law with gravity feed-forward, , divided by . Unlike a fixed-rotor quadcopter, the horizontal velocity error is mapped to tilt angles instead of a roll/pitch command; inverting (2) at small angle gives
where suppresses forward thrust when the heading error is large, and both angles are clipped to . Attitude errors drive a proportional law to desired body rates, and a PD law on rate error (derivative taken from a low-pass-filtered rate) produces the torque command . Given and the current servo angles, an effectiveness matrix is built from the per-motor force/torque map at unit thrust, and the rotor thrusts follow from with a least-squares fallback near ill-conditioning, a standard control-allocation formulation [12] used with tilting rotors in [2], [5], [13].
B. Estimator
The EKF follows the usual INS/GNSS structure [14], with state (world-frame position and velocity, attitude, gyro bias, horizontal wind). Bias-corrected gyro rates propagate the attitude through the standard Euler kinematics [8]. Velocity follows a constant-velocity model , which are not filter states. The model is integrated with a fourth-order Runge–Kutta step, and the covariance is propagated with using a central-difference Jacobian A. GPS and barometer updates are linear. As in gravity- and field-aided attitude estimation [15], the
TABLE I: Mode-dependent sensor sets and Schmitt-trigger switching conditions
| Mode | Sensors fused | Switch up | Switch down |
|---|---|---|---|
| Hover | IMU, GPS, baro, mag | and | - |
| Early Transition | IMU, GPS, baro, airspeed | or | |
| Transition | IMU, GPS, airspeed | - |
accelerometer provides only a roll/pitch measurement , gated by a quasi-static test on , and the tilt-compensated magnetometer provides a scalar heading measurement against with a wrapped innovation. Following GPS/airspeed wind estimation for small UAVs [16], [17], the pitot measurement is fused jointly against velocity and wind, : GPS constrains only ground velocity and airspeed only the speed relative to the air, so together, under changing heading, they make wind observable.
C. Mode-dependent sensor set.
At every filter cycle a three-state machine selects the fused sensors from the estimated airspeed (not the raw pitot sample, so one outlier cannot flip the mode) and the commanded tilt . Each boundary has separate rising and falling thresholds (Schmitt trigger), so a signal near a boundary does not toggle the mode and abruptly change which measurements the filter trusts. Table I lists the sensor sets and switching conditions.
IV. NEURAL RESIDUAL CONTROLLER
The position loop of Section III is purely proportional, so a constant wind produces a nonzero steady-state position error by construction. Rather than altering the validated PD cascade, we leave every equation of Section III unchanged and add a bounded learned correction. Let be the PD commands. A function returns , applied as
with the same clip bounds the PD path already enforces, so the residual cannot command the actuators beyond their limits (this bounds the command, not closed-loop stability). is an MLP with a 15-dimensional input, two 64-unit ReLU hidden layers, and a 6-dimensional tanh output scaled by fixed limits (thrust: 15% of hover thrust; each tilt angle: 5°; each torque channel: 0.05 N m). The output layer is zero-initialized, so the combined controller equals the PD baseline at the start of training.
The 15 inputs use only quantities the PD cascade already computes: body-frame position and velocity error, roll, pitch, the sine and cosine of the heading error, body rates, and the PD loop's . The network never receives the wind. Under proportional control a constant wind yields a repeatable error signature, which the network can map to a trim correction, much as an integral term compensates a disturbance it never measures.

(a)
(b)
(c)
Fig. 3: (a) position error against the filter's bound, (b) wind estimated in Transition mode, and (c) estimated airspeed with the Schmitt-trigger mode sequence.
Training labels come from a privileged teacher with access to the true wind, used only during data generation. From the drag model and (Eq. (2), ), the trim correction is
and symmetrically for with and . Thrust and torque targets are zero. Equation (7) could be applied directly as a feedforward; we use it as a label so that the pipeline extends to teachers without a closed form. Training is single-round behavioral cloning (not DAgger) on 25621 samples from 40 PD-only rollouts with random wind (0 m/s to 3 m/s, uniform direction) and random missions, using Adam on mean-squared error with feature standardization from the training split. Analytic gradients were verified against central finite differences (maximum relative error below ).
V. RESULTS
A. Setup
The vehicle ( , arm length 0.225 m, I = diag(0.01758, 0.01968, 0.02471) kg m , ) flies a six-waypoint mission (climb to 10 m, traverse a 20 m square, and land), with a 0.1 m capture radius and a 100 Hz estimator. The filter starts with a 1.5 m position error and a 7.02° attitude error so that convergence is visible. Because the capture event stops a leg at 0.1 m and masks the true steady-state offset, controller comparisons use a station-keeping test: the vehicle flies to a setpoint and holds for 30 s, and the mean horizontal error over the second half is reported.
B. State Estimation and Mode Switching
After a 5 s settling window, the position RMSE is 0.226 m, 0.20 m, and 0.049 m (x, y, z), the velocity RMSE is 0.568 m/s, 0.584 m/s, and 0.143 m/s, and the attitude RMSE is 0.439°, 1.5°, and 1.931° (roll, pitch, yaw). The position error falls below 1 m at 0.20 s and the attitude error below 5° at 0.05 s. The gyro bias, which has no dedicated sensor, is recovered to within 0.6 mrad/s per axis. The mean NIS is 3.24 for GPS (expected 3) and 2.00 for the accelerometer (expected 3, indicating a conservative noise model); the accelerometer gate accepted 99.6 % of samples (7098/7124). Fig. 3(a) shows that the position error remains inside the ±3σ bound.

(a)
(b)
(c)
Fig. 4: (a) Flight trajectory against the commanded waypoints, (b) altitude and (c) horizontal error while holding station, PD only vs. PD+residual, at an in-distribution and an out-of-distribution wind speed.

(a)
(b)
(c)
Fig. 5: (a) Attitude, (b)-(c) commanded tilt angle alpha & beta.
In a second mission (80 m legs, cruise 14 m/s, wind (2.0, -1.2) m/s), the vehicle spent 69.7 % of the time in Hover, 8.8 % in Early Transition, and 21.5 % in Transition (Fig. 3(c)). The wind was estimated as (1.859, -1.208) m/s against the true (2.000, -1.200) m/s (Fig. 3(b)), which is observable because Transition mode fuses GPS and airspeed jointly. Three of the six legs missed the capture radius (miss distances 0.188 m to 0.201 m), consistent with the steady-state offset that Section IV targets.
C. Residual Controller Performance
Table II reports the station-keeping error under wind. The residual reduces the error by 43.9% at 1.5 m/s (within the training range) and by 47.9% at 3.9 m/s, which is 30% beyond the 3.0 m/s training ceiling (Fig. 4(c)). The near-identical reduction is consistent with, though not proof of, the network having learned an approximation of the wind-trim relationship rather than a lookup over training conditions. The thrust and torque output channels carry near-zero learned weight, matching their all-zero teacher targets. Both servo angles remain within their limits (Fig. 4(b)-(c)).
VI. CONCLUSION AND LIMITATIONS
We present a tilt-rotor quadcopter flight stack with an explicit actuation model and a cascaded PD controller. State estimation is performed using a mode-dependent EKF, which switches its fused sensor set through a hysteretic classifier. A bounded neural residual corrects the steady-state wind offset of the proportional loop without modifying the controller itself. In simulation, the EKF reaches a post-settling position RMSE of 0.226 m and estimates a 2.3 m/s wind to within 0.15 m/s per axis, and the residual reduces steady-state wind error by about 49 % both within and beyond its training distribution.
TABLE II: Steady-state station-keeping error under wind (m)
| Controller | 1.5 m/s | 3.9 m/s (OOD) |
|---|---|---|
| PD only | 0.117 | 0.319 |
| PD + NN residual | 0.060 | 0.162 |
This study has few limitations. The residual is trained by single-round behavioral cloning from PD-only rollouts, so it has no data from states visited under its own control (DAgger is the standard remedy). The out-of-distribution result is a single held-out point, only constant wind is tested, and the evaluation is simulation-only. The teacher corrects only the tilt-angle trim, leaving the thrust and torque outputs untested. Next steps are retraining the network on its own state distribution (DAgger), testing under gusts and turbulence, and hardware-in-the-loop and flight validation.
REFERENCES
[1] S. Q. Weihua Su, “Modeling and control of a class of urban air mobility tiltrotor aircraft,” Aerospace Science and Technology, vol. 124, p. 107561, 2022.
[2] F. Şenkul and E. Altuğ, “Modeling and control of a novel tilt — roll rotor quadrotor uav,” in 2013 International Conference on Unmanned Aircraft Systems (ICUAS), pp. 1071–1076, 2013.
[3] S. A. Elfeky M., Elshafei M., “Modeling and simulation of quadrotor uav with tilting rotors.,” tech. rep., 2016.
[4] D. A. Ta, I. Fantoni, and R. Lozano, “Modeling and Control of a Tilt tri-rotor Airplane,” in American Control Conference (ACC), 2012, (Montreal, Canada), pp. 131–136, June 2012.
[5] R. Donadel, G. Raffo, and L. Becker, “Modeling and control of a tiltrotor uav for path tracking,” IFAC Proceedings Volumes, vol. 47, no. 3, pp. 3839–3844, 2014.
[6] F. Şenkul and E. Altuğ, “Adaptive control of a tilt - roll rotor quadrotor uav,” in 2014 International Conference on Unmanned Aircraft Systems (ICUAS), pp. 1132–1137, 2014.
[7] Z. Liang, L. Fan, G. Wen, and Z. Xu, “Design, modeling, and control of a composite tilt-rotor unmanned aerial vehicle,” Drones 2024, 2024.
[8] R. W. Beard, “Quadrotor dynamics and control rev 0.1,” technical note, Brigham Young University, 2008.
[9] R. Mahony, V. Kumar, and P. Corke, “Multirotor aerial vehicles: Modeling, estimation, and control of quadrotor,” IEEE Robotics & Automation Magazine, vol. 19, no. 3, pp. 20–32, 2012.
[10] B. L. Stevens, F. L. Lewis, and E. N. Johnson, Aircraft Control and Simulation: Dynamics, Controls Design, and Autonomous Systems. Hoboken, NJ: Wiley, 3rd ed., 2015.
[11] S. Bouabdallah and R. Siegwart, “Full control of a quadrotor,” in Proc. IEEE/RSJ Int. Conf. Intelligent Robots and Systems (IROS), pp. 153–158, 2007.
[12] T. A. Johansen and T. I. Fossen, “Control allocation—a survey,” Automatica, vol. 49, no. 5, pp. 1087–1103, 2013.
[13] M. Ryll, H. H. Bülthoff, and P. R. Giordano, “A novel overactuated quadrotor unmanned aerial vehicle: Modeling, control, and experimental validation,” IEEE Transactions on Control Systems Technology, vol. 23, no. 2, pp. 540–556, 2015.
[14] P. D. Groves, Principles of GNSS, Inertial, and Multisensor Integrated Navigation Systems. Boston, MA: Artech House, 2nd ed., 2013.
[15] J. L. Crassidis, F. L. Markley, and Y. Cheng, “Survey of nonlinear attitude estimation methods,” Journal of Guidance, Control, and Dynamics, vol. 30, no. 1, pp. 12–28, 2007.
[16] J. W. Langelaan, N. Alley, and J. Neidhoefer, “Wind field estimation for small unmanned aerial vehicles,” Journal of Guidance, Control, and Dynamics, vol. 34, no. 4, pp. 1016–1030, 2011.
[17] S. L. Waslander and C. Wang, “Wind disturbance estimation and rejection for quadrotor position control,” in AIAA Infotech@Aerospace Conference, 2009.