AE 506 Airplane Dynamic Stability

Embry-Riddle Aeronautical University, Daytona Beach, Florida, Department of Aerospace Engineering · Final Project · Students: Nicholas Hillburn, Anupama Kar, Edison Martinez, Dinakar Ramagalla · Professor: Dr. Richard P. Anderson · April, 2025

In the AE 506 Airplane Dynamic Stability graduate course at Embry-Riddle Aeronautical University, our four-person team built a 6-DoF flight simulator in Simulink, flew it with pilot-in-the-loop hardware, designed fly-by-wire and autonomous control laws on it, and then rebuilt its aerodynamics from flight test data for a Diamond DA42. We checked the final model against the FAA 14 CFR Part 60 tolerances that regulators use to qualify flight simulation training devices.

Challenge

The simulator had to trim itself, respond to real cockpit controls, support control-law design, and match measured aircraft behavior closely enough to pass regulatory checks. The project posed four connected problems:

  • The baseline Navion model needed an automatic trim at start-up and a real-time link to a joystick, rudder pedals and throttle, with deflection limits taken from the Type Certificate Data Sheet (TCDS).
  • The Navion's lateral-directional dynamics have a Dutch roll damping ratio of 0.1965 at 2.16 rad/s, so a fly-by-wire law had to coordinate the aileron and rudder for the pilot.
  • A rocket-powered Navion variant had to fly a fully autonomous mission from an airborne drop to a 600,000 ft apogee and back, staying inside a load factor envelope of −3g-3g to 5g5g and limiting reentry heating, and then glide to a waypoint.
  • The project moved mid-semester from a Cessna 182Q to the DA42, whose twin engines and aerodynamics had to be represented from flight data, and the result had to meet the Level 6 FTD validation tolerances.

Action

Simulation core and pilot-in-the-loop testing

We split the model into wind, body and NEU reference frames and built an Aircraft_Dynamics block with aerodynamics, engine, standard atmosphere, mass and inertia and equations of motion subsystems. The jj_trim algorithm solved for the elevator and throttle settings that drive the net accelerations and moments to zero at 5,000 ft and 100 kt (168.78 ft/s). We connected the model to the flight simulator at the Eagle Flight Research Center (EFRC) and to a FlightGear out-the-window view for real-time piloted flights.

Fly-by-wire roll rate and sideslip control

Following Berger and Tischler, we linearized the Navion with the Model Linearizer and implemented a pp-β\beta controller that holds a commanded roll rate and coordinates the rudder automatically. The command models are a first-order roll response and a second-order sideslip response whose natural frequency matches the Dutch roll, with ζ=0.7\zeta = 0.7:

pcmdδwheel=1τpcmds+1,βcmdδpedal=ω2s2+2ζωs+ω2\frac{p_{\text{cmd}}}{\delta_{\text{wheel}}} = \frac{1}{\tau_{pcmd}s + 1}, \qquad \frac{\beta_{\text{cmd}}}{\delta_{\text{pedal}}} = \frac{\omega^2}{s^2 + 2\zeta\omega s + \omega^2}

An LQR design produced the initial gain matrix KK, which is applied through feedforward, feedback and cross-feed gains.

Autonomous longitudinal and lateral missions

For the spaceflight profile, a clock-driven switch selected one of five controller stages. A PID loop on the elevator drove the flight path angle to 80∘80^\circ within 40 s, and a second PID loop held γ=θ−α\gamma = \theta - \alpha constant by driving the pitch rate qq to zero up to 400,000 ft. Above that altitude, a PD controller commanded an ideal pure-torque thruster pair, with nozzles at ±3\pm 3 ft from the CG, through a full 360∘360^\circ positive and negative pitch maneuver. Reentry followed a time-scheduled pitch of −50∘-50^\circ, −55∘-55^\circ, −80∘-80^\circ and −90∘-90^\circ, and the thrusters cut off at 450 s.

After reentry, an Incremental Nonlinear Dynamic Inversion (INDI) controller tracked Euler-angle commands in a glide. INDI inverts the control effectiveness around the current state, so a linear outer loop only has to set the virtual input ν\boldsymbol{\nu}, the desired angular accelerations:

u=G−1(x^,p^)[ν−f(x^,p^)]\mathbf{u} = \mathbf{G}^{-1}(\hat{\mathbf{x}}, \hat{\mathbf{p}})\left[\boldsymbol{\nu} - \mathbf{f}(\hat{\mathbf{x}}, \hat{\mathbf{p}})\right]

The command logic added 180∘180^\circ to the heading for a reversal and mapped the heading error to a bank command through a lookup table (0, 10 and 180∘180^\circ of error give 0, 5 and 25∘25^\circ of bank). It then steered toward a waypoint at N=561,000N = 561{,}000 ft, E=−5,000E = -5{,}000 ft using ψdes=atan2⁡(ErrorE,ErrorN)\psi_{\text{des}} = \operatorname{atan2}(\text{Error}_E, \text{Error}_N).

DA42 modeling from flight data

We documented the Cessna 182Q's geometry, weight and balance, instrument locations, 25% MAC and thrust line, and then moved the reference data to the DA42 (MAC 4.17 ft, CG 7.88 ft from the datum), modeled with a single centerline engine. Lookup tables built from O-470 performance charts give BHP from manifold air pressure (MAP), RPM and pressure altitude, which is scaled by 0.97 to SHP and by a 1.56 correction factor to match the twin AE300 engines. A digitized McCauley C76 map supplies the propeller efficiency η(J,Cp)\eta(J, C_p). The engine, atmosphere (including the U.S. Standard Atmosphere 1976) and aerodynamics are variant subsystems that a userVariants structure selects.

We identified the aerodynamic coefficients with SIDPAC and a script that automated the maneuver cuts and least-squares regression: CD(α)C_D(\alpha), CL(α)C_L(\alpha), Cm(α,q,δe)C_m(\alpha, q, \delta_e), CY(β)C_Y(\beta), and CnC_n and ClC_l as functions of β\beta, pp, rr and a control deflection. Averaged derivatives included Cmq=−8.9636C_{mq} = -8.9636, Cmδe=−0.5371C_{m\delta e} = -0.5371, CYβ=−0.2778C_{Y\beta} = -0.2778 and CNβ=0.0491C_{N\beta} = 0.0491. We set the ClC_l and CnC_n regression biases to zero, because they made the aircraft roll and yaw with no input.

To tune the drag curve, we re-trimmed the 6-DoF model at each measured trim point and solved for CDC_D with a bisection search until the simulated MAP matched the flight data. The final curve blends 50% of the original curve with 25% each of the corrections from raw and smoothed MAP.

Result

  • The trimmed Navion held 5,000 ft at a pitch angle of about 0.025∘0.025^\circ with no pilot input during a test-pilot check at EFRC.
  • The pp-β\beta controller tracked the roll rate and sideslip references with pilot input and in turbulence, and it held both near zero when turbulence was the only input.
  • The autonomous mission reached a 600,000 ft apogee and returned in 500 s, holding the flight path angle within ±4∘\pm 4^\circ during the climb. The INDI controller completed the 180∘180^\circ heading reversal and entered the 500 ft radius around the waypoint.
  • The trim approximation CL≈W/(qˉS)C_L \approx W / (\bar{q}S) matched the regression and the flight data, while CD≈T/(qˉS)C_D \approx T / (\bar{q}S) underestimated drag at every angle of attack, which points to a force missing from the thrust measurement or the aerodynamic model.

We validated the DA42 model with a short-period test for the longitudinal axis and a Dutch roll test for the lateral-directional axes, comparing the simulation with flight test data:

TestOutputToleranceTime within tolerance
Short periodα\alpha±1.5∘\pm 1.5^\circ100.0%
Short periodqq±2.0∘\pm 2.0^\circ/s92.5%
Short periodNzN_z±0.10 g\pm 0.10\,g83.7%
Dutch rollβ\beta±1.5∘\pm 1.5^\circ96.5%
Dutch rollpp±2.0∘\pm 2.0^\circ/s99.0%
Dutch rollrr±2.0∘\pm 2.0^\circ/s98.5%

The longitudinal model needed no changes. For the lateral-directional model, a sensitivity study showed that larger weathervane stability CNβC_{N\beta} and yaw damping CNrC_{Nr} reduce oscillations in all three outputs, and we scaled CNpC_{Np} by 1.5 and CNδrC_{N\delta r} by 1.2 to bring β\beta, pp and rr in line with the flight data. Setting the engine table's lower MAP bound to 17 inHg and adding a 0.02 rad bias to the xx-values of the CmC_m curve aligned the elevator and throttle commands as well. The result is a DA42 model whose forces and control inputs closely match the measured flight test behavior.