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 to 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 - 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 :
An LQR design produced the initial gain matrix , 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 within 40 s, and a second PID loop held constant by driving the pitch rate to zero up to 400,000 ft. Above that altitude, a PD controller commanded an ideal pure-torque thruster pair, with nozzles at ft from the CG, through a full positive and negative pitch maneuver. Reentry followed a time-scheduled pitch of , , and , 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 , the desired angular accelerations:
The command logic added to the heading for a reversal and mapped the heading error to a bank command through a lookup table (0, 10 and of error give 0, 5 and of bank). It then steered toward a waypoint at ft, ft using .
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 . 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: , , , , and and as functions of , , and a control deflection. Averaged derivatives included , , and . We set the and 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 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 with no pilot input during a test-pilot check at EFRC.
- The - 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 during the climb. The INDI controller completed the heading reversal and entered the 500 ft radius around the waypoint.
- The trim approximation matched the regression and the flight data, while 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:
| Test | Output | Tolerance | Time within tolerance |
|---|---|---|---|
| Short period | 100.0% | ||
| Short period | /s | 92.5% | |
| Short period | 83.7% | ||
| Dutch roll | 96.5% | ||
| Dutch roll | /s | 99.0% | |
| Dutch roll | /s | 98.5% |
The longitudinal model needed no changes. For the lateral-directional model, a sensitivity study showed that larger weathervane stability and yaw damping reduce oscillations in all three outputs, and we scaled by 1.5 and by 1.2 to bring , and 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 -values of the 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.