COVER PAGE
NASA/TM-2005-212866
A Generic Guidance and Control Structure
for Six-Degree-of-Freedom Conceptual
Aircraft Design
M. Christopher Cotting and Timothy H. Cox NASA Dryden Flight Research Center Edwards, California
April 2005
The NASA STI Program Office…in Profile Since its founding, NASA has been dedicated • CONFERENCE PUBLICATION.
to the advancement of aeronautics and space Collected papers from scientific and science. The NASA Scientific and Technical technical conferences, symposia, seminars, Information (STI) Program Office plays a key or other meetings sponsored or cosponsored part in helping NASA maintain this by NASA.
important role.
• SPECIAL PUBLICATION. Scientific, technical, or historical information from The NASA STI Program Office is operated by NASA programs, projects, and missions, Langley Research Center, the lead center for often concerned with subjects having NASA’s scientific and technical information.
substantial public interest.
The NASA STI Program Office provides access to the NASA STI Database, the largest collection • TECHNICAL TRANSLATION. English- of aeronautical and space science STI in the language translations of foreign scientific world. The Program Office is also NASA’s and technical material pertinent to institutional mechanism for disseminating the NASA’s mission.
results of its research and development activities.
These results are published by NASA in the Specialized services that complement the STI NASA STI Report Series, which includes the Program Office’s diverse offerings include following report types: creating custom thesauri, building customized databases, organizing and publishing research • TECHNICAL PUBLICATION. Reports of results…even providing videos.
completed research or a major significant phase of research that present the results of For more information about the NASA STI NASA programs and include extensive data Program Office, see the following: or theoretical analysis. Includes compilations of significant scientific and technical data • Access the NASA STI Program Home Page and information deemed to be of continuing at http://www.sti.nasa.gov reference value. NASA’s counterpart of peer-reviewed formal professional papers but • E-mail your question via the Internet to has less stringent limitations on manuscript help@sti.nasa.gov length and extent of graphic presentations.
• Fax your question to the NASA STI Help • TECHNICAL MEMORANDUM. Scientific Desk at (301) 621-0134 and technical findings that are preliminary or of specialized interest, e.g., quick release • Telephone the NASA STI Help Desk at reports, working papers, and bibliographies (301) 621-0390 that contain minimal annotation. Does not contain extensive analysis.
• Write to: NASA STI Help Desk • CONTRACTOR REPORT. Scientific and NASA Center for AeroSpace Information technical findings by NASA-sponsored 7121 Standard Drive contractors and grantees. Hanover, MD 21076-1320
TITLE PAGE
NASA/TM-2005-212866
A Generic Guidance and Control Structure
for Six-Degree-of-Freedom Conceptual
Aircraft Design
M. Christopher Cotting and Timothy H. Cox NASA Dryden Flight Research Center Edwards, California National Aeronautics and Space Administration Dryden Flight Research Center Edwards, California 93523-0273
April 2005
NOTICE
Use of trade names or names of manufacturers in this document does not constitute an official endorsement of such products or manufacturers, either expressed or implied, by the National Aeronautics and Space Administration.
Available from: NASA Center for AeroSpace Information National Technical Information Service 7121 Standard Drive 5285 Port Royal Road Hanover, MD 21076-1320 Springfield, VA 22161 301-621-0390 703-605-6000
ABSTRACT
NOMENCLATURE
ABSTRACT A control system framework is presented for both real-time and batch six-degree-of-freedom simulation. This framework allows stabilization and control with multiple command options, from body rate control to waypoint guidance. Also, pilot commands can be used to operate the simulation in a pilot-in-the-loop environment. This control system framework is created by using direct vehicle state feedback with nonlinear dynamic inversion. A direct control allocation scheme is used to command aircraft effectors. Online B -matrix estimation is used in the control allocation algorithm for maximum algorithm flexibility. Primary uses for this framework include conceptual design and early preliminary design of aircraft, where vehicle models change rapidly and a knowledge of vehicle six-degree-of-freedom performance is required. A simulated airbreathing hypersonic vehicle and a simulated high performance fighter are controlled to demonstrate the flexibility and utility of the control system.
NOMENCLATURE a angular acceleration, deg/sec B control matrix BEST B -matrix estimation algorithm b reference wing span, ft C nondimensional rolling moment l C nondimensional pitching moment m C nondimensional yawing moment n CV control variable CV control variable commanded cmd reference mean aerodynamic chord c D vehicle total drag force, lbf dB decibels deg degrees dt integration time step, s EOM solver equations of motion solver F engine thrust force, lbf T g acceleration constant due to gravity, ft/sec h altitude above sea level, ft ˙ change in altitude above sea level, ft h I moment of inertia, ft K control system gain K control law response shaping gain B K control law stick input gain in l body axis rolling moment, ft lbf ⋅ L lift, lbf M dimensional moment, ft lbf ⋅ m body axis pitching moment, ft lbf ⋅ NDI nonlinear dynamic inversion n body axis yaw moment, ft lbf ⋅ PLA power lever angle, percent p body axis roll rate, deg/sec body axis roll acceleration, deg/sec p ˙ p wind axis roll rate, deg/sec w wind axis roll acceleration, deg/sec p ˙ w q body axis pitch rate, deg/sec body axis pitch acceleration, deg/sec q ˙ dynamic pressure, psf q r body axis yaw rate, deg/sec body axis yaw acceleration, deg/sec r ˙ rad radians S wing reference area, ft SDI simplified dynamic inversion s Laplace operator sec seconds V total vehicle velocity ˙ change in total vehicle velocity V WGS84 World Geodetic System 1984 - a worldwide datum x latitude command in flat plane frame, ft change in latitude command in flat plane frame, ft/sec x ˙ y longitude command in flat plane frame, ft change in longitude command in flat plane frame, ft/sec y ˙ z altitude command in flat plane frame, ft 6-DOF six-degree-of-freedom α angle of attack, deg ˙ change in angle of attack, deg/sec α
INTRODUCTION
β angle of sideslip, deg ˙ change in angle of sideslip, deg/sec β γ fightpath angle, deg ˙ change in flightpath angle, deg/sec γ μ mass, lbm φ angle of roll (body axis), deg ˙ change in angle of roll (body axis), deg/sec φ φ angle of roll (wind axis), deg w ψ heading angle, deg ˙ change in heading angle, deg/sec ψ INTRODUCTION The early stages of aircraft design are typically characterized by a highly conceptual approach. A set of requirements are defined and a system, or aircraft mold line, or propulsion arrangement (depending on the particular focus of interest) is established. Trade studies using analysis and simulation of the entire system are used to determine the best design to meet the requirements. Also typical of this stage of aircraft design are frequent configuration changes, which translate to frequent and significant changes to various subsystem models such as aerodynamics, propulsion, and actuators. Unfortunately, these characteristics of aircraft design can make using a six-degree-of-freedom (6-DOF) simulation cumbersome. Changes to the various subsystem models are often significant and require modification and sometimes redesign of the control laws. Yet, the frequent changes in the models provide little time to make these modifications.
Developing a generic set of control laws that are independent of some of the most influential models on aircraft dynamics, such as aerodynamics and propulsion, could eliminate some of the problems associated with using 6-DOF simulation in the early design phase. These control laws could allow a 6-DOF simulation to be used as a rapid prototyping tool, supplying usable control laws quickly and with minimal modification to any envisioned aircraft configuration. The simulation could then be quickly adapted to typical early design phase tasks such as actuator bandwidth sizing, aerodynamic uncertainty sensitivity studies, performance trade studies, and mission planning.
Dynamic inversion (refs. 1 and 2) is a control law methodology that can be developed into a desired generic set of control laws. Figure 1 shows the utility of this methodology across linearized aerodynamic models of aircraft ranging from lifting bodies (for example, the X-38 Crew Exploration Vehicle technology demonstrator, Scaled Composites, Mojave, California) to fighter aircraft to airbreathing hypersonic vehicles, as well as across flight conditions ranging from subsonic to hypersonic. The figure shows that regardless of the aircraft type or flight condition, the pitch rate response to a stick input is the same. This result occurs because the dynamic inversion methodology incorporates an aerodynamic model of the aircraft within its architecture. The model, which can be stable or unstable, is inverted and used to cancel the bare airframe dynamics, allowing the control law designer to define the desired dynamics.
In this sense, the control laws and the desired vehicle response are independent of the aerodynamics, provided the model used in the control law algorithm is valid.
Lifting body at Mach 0.75 2.0 F-4 fighter aircraft at Mach 0.9 SR-71 at Mach 3.2 Hypersonic aircraft at Mach 10 1.5 1.0 0.5 Pitch rate, deg/sec –0.5 –1.0 –1.5 –2.0 10 5 0 15 20 Time, sec 040429 Figure 1. Response of step inputs to four different aircraft linearized aerodynamic models.
Researchers at the NASA Dryden Flight Research Center (Edwards, California) have recently evaluated generic dynamic inversion control laws in a 6-DOF simulation environment. Two types of dynamic inversion methodologies were investigated. One type, nonlinear dynamic inversion (NDI), incorporates full state, nonlinear equations (refs. 1 and 2) into the control law architecture. Although dynamic inversion is primarily an inner-loop function, outer-loop functions such as guidance in relation to the NDI were also investigated (ref. 3).
The other type of dynamic inversion methodology investigated is a simplified approach to NDI. This simplified dynamic inversion approach (SDI) (ref. 4) utilizes state acceleration feedback and estimates of the surface effectiveness of the aerodynamics to perform the dynamic inversion cancellation of the bare airframe dynamics. An additional feature of SDI is that the control variable the pilot commands can be easily and quickly modified. The primary focuses of the SDI investigation were inner-loop dynamics and pilot-in-the-loop control (ref. 5).
This report describes the generic implementation of the NDI into 6-DOF real-time simulations of an airbreathing hypersonic vehicle at a Mach 6 flight condition and a twin-engine carrier class high performance fighter aircraft at a subsonic flight condition. Included in the generic control law architecture is a direct allocation scheme to command aircraft effectors. With minimal change to the control laws, the generic utility of NDI is demonstrated through comparison of inner-loop and outer-loop dynamics between the two simulations. The NDI control laws were primarily developed for offline batch simulation development, with the ability to also use the real-time, pilot-in-the-loop simulation environment.
The motivation for this report was to create a tool that would be useful for conceptual design and evaluation of preliminary design of aircraft by utilizing work previously completed by several different
SIMULATION AND AIRCRAFT DESCRIPTION
researchers. This tool would be used to specify subsystem requirements for actuator bandwidth and performance, control surface effectiveness, control system time delays, and bare airframe aerodynamics.
In conceptual design, aircraft performance is often evaluated with simplifying assumptions, ignoring the rotational effects on an aircraft. The tool presented here will enable the conceptual design of an aircraft to be accomplished while taking into account the full nonlinear equations of motion for that aircraft.
To build on the successful work of others that is publicly available, control law architecture was based on work done by Honeywell (ref. 3) (Minneapolis, Minnesota) researchers, and control allocation was based on work done at the Virginia Polytechnic Institute (Blacksburg, Virginia) (ref. 6).
SIMULATION AND AIRCRAFT DESCRIPTION The NASA Dryden Flight Research Center has developed a common simulation platform that is used for all 6-DOF simulations originating at NASA Dryden. This simulation platform is capable of simulating wide ranges of aircraft, and includes basic analysis tools integrated into the simulation environment. The simulation platform has the ability to run both in real-time and batch modes so that piloted cockpit evaluation can be performed as well as analysis from the engineer’s desktop. Included in the simulation is a standard architecture for subsystems. The control system described in this report makes use of this architecture standard. As new simulations are developed, the control system will not require modification. Specifically, common access to the simulation aerodynamic database and toolset for linearizing aerodynamic models (ref. 7) are needed to support the control system.
Two radically different aircraft models were used to test control system utility. An airbreathing hypersonic vehicle in the conceptual design phase was evaluated, as well as a well-established twin-engine supersonic aircraft. The simulation of the supersonic aircraft is a high fidelity simulation used for preflight evaluation of flight experiments on that aircraft. Both models were capable of pilot-in-the-loop simulation. The hypersonic aircraft was evaluated in the high-speed regime, where the simulation models were deemed relevant. The supersonic aircraft was evaluated across the full flight envelope (subsonic, transonic, and supersonic) as well as in normal and unusual attitudes to fully test the robustness of the control system. These two aircraft models were selected because they present a wide range in aircraft characteristics (as shown in table 1) and a wide range in simulation fidelity.
Table 1. Comparison of basic aircraft characteristics.
Fighter Hypersonic Configuration aircraft aircraft 32,000 4,800 Total weight, lb 56 16 Length, ft 400 74 Reference wing area, ft 0.3 to 1.8 4 to 8 Speed range, Mach number
CONTROL LAW ARCHITECTURE
CONTROL LAW ARCHITECTURE The control law framework was designed primarily with the objective of minimizing the number of changes required to move from one aircraft simulation to the next. Further, it was desired that vehicle performance could be specified. Gain changes are to be minimized and if possible eliminated as simulation models are updated during conceptual or preliminary design.
Architecture Overview Dynamic inversion was chosen as a basic architecture for the control system. A control allocation scheme was implemented to allow any number of control effectors to be used (refs. 6 and 8–10).
To accommodate outer-loop control, a scalable design was also desired. Specifically, a control architecture template was selected that could be used for both inner- and outer-loop control. Using the same design template in both inner- and outer-loop control enabled rapid implementation of a complex outer-loop control. After the inner-loop control was proven, outer-loop design could be rapidly achieved (ref. 3).
Figure 2 shows an overview of the control architecture. The control system can be broken into four major sections. These sections are the input and output interfaces, the NDI control section, the B -matrix estimator (BEST), and the control allocator.
External (user) commands Control NDI input NDI output NDI allocation levels 1– 4 interface interface B-matrix estimation BEST BEST BEST BEST simulation model simulation model routine input interface output interface Aircraft model 040430 Figure 2. Control system overview.
Input-Output Interfaces The input-output interfaces are used to connect the control system with the simulation and to access simulation models required by dynamic inversion. All required simulation parameters, as well as outputs from the control system, must pass through this interface. External commands, either from a pilot command interface or external guidance algorithms, must pass through this interface as well.
The interfaces were established in this manner to allow the control law subroutines to be used with any NASA Dryden simulation with minimal changes.
Nonlinear Dynamic Inversion Figure 3 shows the four levels of the NDI control system. The four control levels allow varying degrees of user input control. External inputs can be interjected at each level. For example, during real-time piloted simulation operation, only level four is functional, accepting body pitch, roll, and yaw rate commands ( p , q , and r ) from piloted input. Levels one through three allow varying levels of augmentation, depending on the desired guidance level for the system. The level one function accepts waypoints from an external source, such as a mission manager, allowing autonomous aircraft control.
Final outputs of the NDI controller are nondimensional body moment commands in pitch, roll, and yaw, which are passed to the control allocator.
NDI Full Architecture psi_cmd, gma_cmd lat_cmd • long_cmd NDI V_cmd h_cmd level 1 p_cmd, phi_cmd, q_cmd, r_cmd alp_cmd NDI level 2 NDI roll, pitch, bta_cmd = 0 level 3 V_cmd yaw moment NDI commands Control level 4 allocator Effector limits weighting B-matrix BEST Aero deltas Aeromodel pdot, qdot, rdot Effector p, q, r Aircraft commands phi, alp, bta model psidot, gmadot, vdot psi, gma, V Other model inputs lat, long, h 040431 Figure 3. NDI control section.
Figure 4 is a breakdown of one NDI control level. Commands from either external inputs or the upper levels of NDI control (internal commands) are accepted. These commands are manipulated as necessary in the command generation block to become inputs for the dynamic algorithm. Aircraft states and the state derivatives are then combined with the generated commands in the dynamic algorithm, which generates a desired dynamic response for the control system. Figure 5 shows a detailed diagram of the dynamic algorithm (ref. 2). Figure 6 shows an example dynamic response from the system in figure 5.
The control law response shaping gain ( KB ) can be changed to shorten or lengthen the desired response time, as well as increase or decrease the rate command from the input command to the system (ref. 11).
The dynamic algorithm selected can also be represented as the transfer function found below.
0.5 K CV B (1) ----------------- ----------------------- - = CV s 0.5 K + cmd B NDI Control Level Architecture External and Command internal s + a generation EOM dyn_algorithm Output K ----------- commands solver s + b Controlled variable (state) Controlled variable (state) rate 040432 Figure 4. NDI individual level breakdown.
Dynamic Algorithm K + 1/2 B – CV_dot K * K + – 1 B B + dynout CV_command + + – s CV 040433 Figure 5. Dynamic algorithm for NDI controller.
Command 1.2 Response 1.0 0.8 Input 0.6 command, response 0.4 0.2 Rate 0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 Time, sec 040434 Figure 6. Dynamic response from NDI dynamic algorithm.
The outputs of the dynamic algorithm can then be shaped with a filter to further modify response dynamics. The equations of motion (EOM) solver found in figure 4 then converts outputs from the shaping filter. This solver consists of equations derived from the equations of motion to convert the outputs into the necessary inputs for the next level of control. An example of this algorithm would be an angle of attack ( α ) command coming into NDI level three. The output of the dynamic algorithm would be ˙ a command of change in angle of attack ( ). This would be converted in the EOM solver to a body axis α pitch rate ( q ) command, which would then be sent to NDI level four.
Connecting the different NDI control levels requires manipulation of the equations of motion for an aircraft. Since a state derivative is the output of each level of control, that state derivative must be converted into the required input for the next level of control. The output of each level and the corresponding conversion is described below.
Level Four The level four controller is used to directly invert the three rotationally derived equations of motion.
The commanded inputs to this controller are wind axis roll rate ( p ), body axis pitch rate ( q ), and body w axis yaw rate ( r ). The outputs of this controller are wind axis roll acceleration ( ), body axis pitch p ˙ w acceleration ( ), and body axis yaw acceleration ( ). The control allocation command requires q ˙ r ˙ conversion of wind axis roll acceleration ( ) to body axis roll acceleration ( ). Commanded moments p ˙ p ˙ w are calculated from these accelerations and are used to find nondimensional moment coefficients using the equations below (ref. 12).
(2) M I a = * (3) C --------- - = l q Sb m (4) C --------- - = m q S c n (5) C --------- - = n q Sb The nondimensionalized coefficients are then passed to the control allocator for effector allocation.
Level Three The level three controller is an outer-loop controller for the rotationally derived equations of motion found in level four. The inputs to this controller are angle of roll ( φ ), angle of attack ( α ), and angle of sideslip ( β ). The outputs of the level three dynamic algorithm are wind axis roll angle rate ˙ ˙ ˙ command ( ), angle of attack rate command ( ), and sideslip rate command ( ). These rates must φ α β w be converted using the EOM solver into the commanded values for the level four controller, namely p , q , and r . Assuming perfect knowledge of the aircraft states, the following equations can be solved for p , q , and r , which can then be passed as commands to the level four controller (ref. 3).
α ( ) cos α ( ) sin ˙ ---------------- - ---------------- - ˙ ˙ (6) φ p r β ( ) tan φ ( ) cos γ γ ( ) β ( ) tan + sin φ ( ) sin γ ( ) cos [ ] ψ ⋅ + + ⋅ + ⋅ = β ( ) cos β ( ) cos φ ( ) cos γ ( ) cos ˙ ˙ ˙ (7) α α ( ) cos – β ( ) tan p q α ( ) sin – β ( ) tan r ---------------- - γ φ ( ) sin ---------------- - ψ ⋅ – ⋅ – ⋅ + ⋅ = β ( ) cos β ( ) cos ˙ ˙ ˙ (8) β α ( ) p ⋅ sin α ( ) r φ ( ) γ φ ( ) γ ( ) ψ ⋅ cos ⋅ cos + ⋅ sin – ⋅ cos – = Level Two The level two controller directly inverts the three position or “force” derived equations of motion.
The inputs to this controller are heading angle ( ψ ) command, flightpath angle ( γ ), and total vehicle ˙ velocity ( V ). The outputs of this controller are change in heading angle rate ( ), change in flightpath ψ ˙ ˙ angle rate ( ), and change in total vehicle velocity ( ). When connecting the level two controller to the γ V level three controller, the controller commands a zero β to accommodate turn coordination. The level two controller can be connected to the level three controller with the understanding that the level two ˙ controller command is connected directly to a control allocation scheme. The control allocator will V control the power lever angle command ( PLA ) to the aircraft for level two and level one control schemes.
By commanding β to be zero at all times, and assuming that the sideslip controller in level three does an adequate job of maintaining zero β , the equations relating level two to level three can be significantly reduced to save computational time. The resulting equations can be found below (refs. 3 and 12–14).
˙ (9) F V μ D – ⋅ = T V μ γ ( ) cos ⋅ ⋅ ˙ (10) φ ( ) sin ψ = ----------------------------------- - L γ ( ) cos 1 ˙ --------------- - ---------------- (11) L γ g ⋅ + V μ ⋅ ⋅ ⋅ = V φ ( ) cos These equations can be solved for commanded engine thrust ( F ), commanded angle of roll ( φ ), and T commanded lift ( L ). The F can be used to find a corresponding PLA command for the aircraft engine.
T If a simplified engine model is assumed (such as usually exists in conceptual design), a direct correlation between PLA command and engine thrust can be easily developed. If a more mature engine model is present, a digital engine controller can be used to simplify the engine response as a function of power setting to again achieve a correlation between PLA and engine thrust. This relation should be kept simple with minimal dynamics to minimize throttle command movements. The φ found from the equation can be directly passed into the level three controller. The solution for L , however still must be reduced further to create an α command for the level three controller. An algorithm similar to the B -matrix estimation algorithm (BEST) must be employed to find the aircraft lift coefficient ( C ) as a function of α . Assuming L a linear relation (true for all but near-stalled flight) between lift and angle of attack, α can be determined from the value of L calculated from the above equations.
Level One The inputs to the level one controller are latitude, longitude, and altitude command. This controller is an outer-loop control to the level two controller. Inputs to the level one controller must first be transformed from an oblate earth coordinate frame, the World Geodetic System 1984 (WGS84) to a flat plane, for control purposes. Once in a flat plane coordinate frame, the vehicle can be commanded to fly to a commanded x , y , and z coordinate, related to latitude, longitude, and altitude, respectively. The output of the controller is rate of change in x , y , and z ( ). The rate outputs can then be mapped to the level x ˙ y ˙ z ˙ , , two inputs by the equations below (refs. 3 and 13).
˙ h (12) γ ( ) sin --- - = V ˙ y (13) ψ ( ) tan -- = x ˙ Velocity must be commanded in the level two controller; if it was allowed to be commanded in level one, zero V would be commanded when the waypoint (latitude, longitude, and altitude) was reached.
Further, the equations listed above have numerous numerical singularities that must be taken into account during the controller design. These can be overcome by defining proper sign relationships between x , y , and ψ .
Another numerical problem that must be resolved relates to the ψ command being sent to the level two controller. If standard polar coordinates are used, there will be a large transient between 359 deg and 0 deg. The solution that was implemented involved always considering the current ψ to be 0 deg, and then commanding a delta from the “true” heading value. Numerical problems again appeared when trying to command 180-deg heading changes. This was solved by not allowing the delta command to grow larger than 160 deg. When commands were larger than 160 deg, the command was allowed to saturate until the aircraft turned enough to reduce the heading error. A third problem that was solved was commanding the aircraft to turn the proper direction for the smallest heading error.
Command Limiting While the desire in designing this control system is to create a framework that is independent of aircraft type or configuration, the performance differences of each class of aircraft must be taken into account. The turning radius of a hypersonic aircraft, for example, is much larger than that of a modern fighter. To this end, command limits were placed on each path of each level of the controller (refs. 3 and 4). These limits are aircraft-specific and must be set by the user to ensure that performance limits inherent to a given class of aircraft are not exceeded.
B -Matrix Estimation Algorithm The BEST algorithm outputs a linearized estimate of the effectiveness of each control effector at the aircraft’s current state in time as a function of control deflection. The BEST routine was made compatible with current simulation architecture and to fit within a real-time simulation frame. Several algorithms were tested to find the optimal balance between accuracy and speed. The final algorithm choice calculates a forward and backward increment in effectiveness from the current effector position (ref. 5).
Only one effector per control system frame is updated.
Control Allocation The control allocator (refs. 6, 8, and 9) uses a model matching technique to compute a set of effector commands from the nondimensional moment command input generated from the level four controller.
The allocator requires a model input for the aircraft; currently that is accomplished with a BEST algorithm. A change in nondimensional moment from the current aircraft state is commanded as input along with a control effector matrix and effector limits. A direct allocation method (ref. 10) is then used to determine a change in effector output command, which is then summed with the current aircraft effector position to create a new effector position command to the simulation actuator model. Direct allocation was chosen for several reasons. A computationally simple algorithm that could fit within the real-time simulation frame was desired. While direct allocation may not yield the most optimized result for control allocation, it does produce an acceptable (ref. 10) result that allowed more computational resources to be spent in the BEST algorithm, where they were needed. Further, an algorithm for direct allocation was available, and using this algorithm allowed the researchers to spend less time developing the control allocation portion of the system and to focus on areas that required more maturation for the design to function properly.
RESULTS AND ANALYSIS
RESULTS AND ANALYSIS
An example of the ability to shape response in the controller is given. Open-loop inputs are made to the inner-loop controller for each aircraft described earlier. The simulation responses are then compared.
The utility of the outer-loop control is also demonstrated for the fighter aircraft.
The utility of the dynamic algorithm shown in figure 5 allows the user to shape the dynamic response of the aircraft to a desired form. During the design of the controller, the dynamic response was selected for a given aircraft. Figure 7 is an example of various dynamic responses tested during design. This figure illustrates the changes in roll rate response from the hypersonic vehicle, although the same responses can be shown for the fighter aircraft. Modulating the K gain in figure 5 can make these changes. Response 1 B in this figure shows a two-tiered response from the roll command. This response can be explained by the aircraft reaching its performance limit, and the actuators saturating during the roll rate response.
Responses 2 and 3 in figure 5 exhibit no undesired characteristics.
Comparison of roll rate dynamics Response 1 for hypersonic vehicle Response 2 Response 3 Roll rate, deg/sec 3 6 10 1 2 4 5 7 8 9 0 Time, sec 040435 Figure 7. Various dynamic responses for hypersonic aircraft roll command.
Upon selection of a desired response for the controller in each axis, the open-loop response characteristics were compared for the level four (rate command) inner-loop controller. The desired response for this controller is that it produce the same command response, irrespective of the aircraft.
Using the fighter and hypersonic aircraft described above, various open-loop commands were analyzed to determine the vehicle response to open-loop commands. Theoretically, the dynamic inversion control law will produce the same response for both aircraft, at any flight condition. To demonstrate this characteristic, open-loop steps are commanded to the different simulations in each axis. The hypersonic vehicle and the fighter are trimmed at a Mach 5.78 and a Mach 0.6 flight condition, respectively. Figure 8 contains six time histories, generated by three different simulation runs for each aircraft. Each run
˙
˙
commanded a step response in one axis, and the vehicle response was recorded. Roll and yaw rate ( ) φ ψ , commands show very similar responses, whereas the pitch axis shows a difference in response. This difference is related to the engine performance of the hypersonic aircraft; this factor was not included in the aircraft control law modeling. Engine modeling was intentionally excluded from the BEST algorithm because of the computational resources that would be required to include engine performance estimation.
Further minor differences in the responses can be attributed to the simulations using different actuator models, which for simplicity were not included in the dynamic inversion controller.
Command Rate step response comparison Hypersonic Fighter Roll rate, deg/sec Pitch rate, deg/sec 1.5 1.0 Yaw rate, deg/sec 0.5 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 0 Time, sec 040436 Figure 8. Open-loop step responses for both aircraft.
Investigation into outer-loop control response similarity between the two aircraft was also performed.
This investigation was limited to only the level three controller, since aircraft performance issues would not allow further reasonable comparisons. Figure 9 contains an α command and φ command for each simulation. The φ command shows very similar responses for both aircraft. The α command responses are not exact, but show similarity. The differences in the α command are related to installed engine performance in the hypersonic vehicle, which again were not simulated in the aircraft model used in the dynamic inversion controller. Although the level three traces were not exact, their similarity, especially across the very different classes of aircraft and flight conditions, show that the controller is capable of making repeatable outer-loop control responses for various classes of aircraft.
Command Level 3 command response comparison Hypersonic Fighter Angle 3 of attack, deg Bank 15 angle, deg 1 2 3 4 5 6 7 8 9 10 0 Time, sec 040437 Figure 9. Level three command responses for both aircraft.
To document the phase and gain margins of this controller, the level four controller was examined using a linearization tool built into the simulation framework (ref. 7). Figures 10, 11, and 12 demonstrate the controller margins across both simulations. The trimmed flight conditions selected were Mach 5.8 for the hypersonic aircraft and Mach 0.6 for the fighter. While the phase and gain margin plots for both simulations show differences between the two simulations, they both show significant gain and phase margins.
Hypersonic aircraft 10 Fighter Magnitude, –10 dB –20 –30 Comparison of roll open-loop frequency response –40 –50 –100 Phase, –150 deg –200 –250 –300 0 1 10 10 Frequency, rad/sec 040438 Figure 10. Roll channel phase and gain margins.
Hypersonic aircraft Fighter Magnitude, dB –20 Comparison of pitch open-loop frequency response –40 –50 –100 Phase, –150 deg –200 –250 –300 0 1 10 10 Frequency, rad/sec 040439 Figure 11. Pitch channel phase and gain margins.
Hypersonic aircraft Fighter –10 Magnitude, dB –20 –30 –40 Comparison of yaw open-loop frequency response –50 Phase, deg –100 –200 0 1 10 10 Frequency, rad/sec 040440 Figure 12. Yaw channel phase and gain margins.
The level one and two controllers were only examined for the fighter aircraft because comparison of a hypersonic aircraft and a fighter aircraft is not possible due to the performance differences between them.
While the hypersonic aircraft can be controlled with the level one and two controller, only the fighter aircraft is presented here. Figure 13 contains data from a simulation run with the level two controller engaged. During this run, aircraft velocity was controlled at 650 kn. The flightpath angle ( γ ) was changed twice, both times as step inputs. The heading angle ( ψ ) was also changed twice, both as step inputs.
Figure 13 illustrates some lightly damped oscillations in command tracking. This can be attributed to being three integrators away from the direct control of the aircraft, and the manifestation of a phasing issue. Interactions between γ and ψ can be observed. Since both channels rely on the lift vector for control, some cross coupling can be seen. Figure 14 illustrates the ground track of the aircraft during the simulated maneuver. The commands to the flight controller cause a moderate right turn, followed by a larger left turn. As can be found in figure 13, the aircraft is capable of maintaining climbing and level flight during the turning maneuver.
Command NDI level two climb turn Response psi, deg 2.5 NDI level two climb turn 2.0 1.5 gamma, 1.0 deg –1.0 - –1.5 V, ft/sec 0 50 100 150 200 250 300 Time, sec 040441 Figure 13. Level two controller simulation run.
35.05 NDI level two climb turn 35.00 34.95 Latitude, 34.90 deg 34.84 34.80 34.75 –117.85 –117.90 –117.80 –117.75 –117.70 –117.65 Longitude, deg 040442 Figure 14. Level two controller ground track.
The level one controller enables the aircraft to be flown to specific waypoints. The simulations in this study use oblate earth models, and therefore the user commands for latitude, longitude, and altitude must be converted into a coordinate frame relative to the oblate earth used in the simulation. During this conversion, precision is lost in this controller because all variables were calculated using single precision numbers instead of double precision. Single precision is used to keep within the simulation framework.
This precision loss resulted in some minor inaccuracies in the controller response. Figure 15 contains the trace from a simulation run with the fighter aircraft. The aircraft does intercept the waypoint twice, and the errors due to precision loss discussed above can be seen in the altitude trace in figure 15. Figure 16 shows the ground track of the fighter. The fighter was allowed to intercept the waypoint, and then turn and reacquire the waypoint for a second pass. After the second pass, the simulation was reset. The aircraft would continue to follow the “clover leaf” pattern until the simulation was reset. Limits were placed on the commanded φ to limit the interaction between γ and φ required for a tighter turn.
35.0 Response NDI level one waypoint 1 Command 34.5 Latitude, deg 34.0 33.5 - –116.5 - –117.0 Longitude, deg - –117.5 - –118.0 x 10 1.02 1.01 Altitude, ft 1.00 0.99 0 200 400 600 800 1000 1200 1400 Time, sec 040443 Figure 15. Level one controller simulation run.
Map of aircraft ground track Latitude, deg Edwards AFB –121 –122 –120 –119 –118 –117 –116 –115 –114 Longitude, deg 040444 Figure 16. Level one controller ground track.
CONCLUSIONS
CONCLUSIONS Researchers at the NASA Dryden Flight Research Center (Edwards, California) recently developed a set of generic dynamic inversion control laws for a six-degree-of-freedom simulation environment to aid in the rapid development of aircraft design in the early, conceptual stages. The generic implementation utilizes a nonlinear dynamic inversion approach, which uses state acceleration feedback and estimates of the surface effectiveness of the aerodynamics to perform the dynamic inversion cancellation of the bare airframe dynamics. Several outer-loop guidance algorithms were developed to aid in aircraft design, and to aid in the performance measurement of an aircraft with the six-degree-of-freedom simulation.
Current plans do not include flight test and evaluation of the control system described, however, it has proven to be a very useful tool in conceptual design and early preliminary design of aircraft. Future work may include the addition of a mission manager that would interface with the level one control algorithm and allow an aircraft to follow a series of waypoints. Also included in future work may be a tool to allow variance of actuator bandwidths and sensor fidelity changes. Adding these features would allow investigation into subsystem requirements definition for a simulated airframe. Determining performance envelopes and flight maneuvers can, however, be determined very easily with the algorithm described in this report.
This report describes the generic implementation of the nonlinear dynamic inversion into two simulations: an airbreathing hypersonic vehicle and a twin-engine high performance fighter aircraft. With only changes to the performance limits in the control laws, their generic utility is validated by showing that for a given open-loop input, a match between the hypersonic simulation response at Mach 5.78 and the fighter aircraft simulation response at Mach 0.6 is achieved. For this study, stability analysis for both simulations indicate the control laws are robust, with large amounts of stability margin.
Dryden Flight Research Center National Aeronautics and Space Administration Edwards, California, September 28, 2004
REFERENCES
REFERENCES 1. Enns, Dale, Dan Bugajski, Russ Hendrick, and Gunter Stein, “Dynamic Inversion: an Evolving Methodology for Flight Control Design,” International Journal of Control , Vol. 59, No. 1, January–February 1994, pp. 71–91.
2. Honeywell Technology Center, Lockheed Martin Skunk Works, and Lockheed Martin Tactical Aircraft Systems, “Application of Multivariable Control Theory to Aircraft Control Laws, Final Report: Multivariable Control Design Guidelines,” WL-TR-96-3099, Flight Dynamics Directorate, Wright Laboratory, Air Force Materiel Command, Wright-Patterson Air Force Base, Ohio, May 1996.
3. Bugajski, Daniel J. and Dale F. Enns, “Nonlinear Control Law with Application to High Angle-of-Attack Flight,” Journal of Guidance, Control, and Dynamics , Vol. 15, No. 3, May–June 1992, p. 761.
4. Smith, P. R., “A Simplified Approach to Nonlinear Dynamic Inversion Based Flight Control,” AIAA-98-4461, August 1998.
5. Cox, Timothy H. and M. Christopher Cotting, “A Generic Inner-Loop Control Law Structure for Six-Degree-of-Freedom Conceptual Aircraft Design,” AIAA-2005-0031, January 2005.
6. Durham, Wayne C. and Kenneth A. Bordignon, “Closed-Form Solutions to Constrained Control Allocation Problem,” Journal of Guidance, Control, and Dynamics , Vol. 18, No. 5, September–October 1995, pp. 1000–1007.
7. Bosworth, John T., Flight-Determined Longitudinal Stability Characteristics of the X-29 Airplane Using Frequency Response Techniques , NASA Technical Memorandum 4122, 1989.
8. Durham, Wayne C., “Attainable Moments for the Constrained Control Allocation Problem,” Journal of Guidance, Control, and Dynamics , Vol. 17, No. 6, November–December 1994, pp. 1371–1373.
9. Durham, Wayne C., John G. Bolling, and Kenneth A. Bordignon, “Minimum Drag Control Allocation,” Journal of Guidance, Control, and Dynamics , Vol. 20, No. 1, January–February 1996, p. 190.
10. Glaze, Michelle L., “Design and Implementation of a GUI-Based Control Allocation Toolbox in the ® MATLAB Environment,” Masters Thesis, Aerospace and Ocean Engineering Department, Virginia Polytechnic Institute and State University, Blacksburg, VA, 1998.
11. Edwards, John W. and Dwain A. Deets, Development of a Remote Digital Augmentation System and Application to a Remotely Piloted Research Vehicle , NASA TN-D-7941, 1975.
12. Stevens, Brian L. and Frank L. Lewis, Aircraft Control and Simulation , John Wiley & Sons, Inc., New York, 1992.
13. Schindeler, Nicholas J., “Phugoid Damping Control,” Masters Thesis, Department of Electrical and Computer Engineering, Air Force Institute of Technology, Wright-Patterson Air Force Base, OH, 2001.
14. Vihn, Nguyen X., Flight Mechanics of High Performance Aircraft , Cambridge University Press, Cambridge, England, UK, 1993.
REPORT DOCUMENTATION PAGE
Form Approved REPORT DOCUMENTATION PAGE OMB No. 0704-0188 The public reporting burden for this collection of information is estimated to average 1 hour per response, including the time for reviewing instructions, searching existing data sources, gathering and maintaining the data needed, and completing and reviewing the collection of information. Send comments regarding this burden estimate or any other aspect of this collection of information, including suggestions for reducing this burden, to Department of Defense, Washington Headquarters Services, Directorate for Information Operations and Reports (0704-0188), 1215 Jefferson Davis Highway, Suite 1204, Arlington, VA 22202-4302. Respondents should be aware that notwithstanding any other provision of law, no person shall be subject to any penalty for failing to comply with a collection of information if it does not display a currently valid OMB control number.
PLEASE DO NOT RETURN YOUR FORM TO THE ABOVE ADDRESS.
2. REPORT TYPE 1. REPORT DATE (DD-MM-YYYY) 3. DATES COVERED (From - To) 27-04-2005 Technical Memorandum 4. TITLE AND SUBTITLE 5a. CONTRACT NUMBER A Generic Guidance and Control Structure for Six-Degree-of-Freedom Conceptual Aircraft Design 5b. GRANT NUMBER 5c. PROGRAM ELEMENT NUMBER 6. AUTHOR(S) 5d. PROJECT NUMBER M. Christopher Cotting and Timothy H. Cox 5e. TASK NUMBER 5f. WORK UNIT NUMBER 794-70-00-SE-79-00-VSD 7. PERFORMING ORGANIZATION NAME(S) AND ADDRESS(ES) 8. PERFORMING ORGANIZATION REPORT NUMBER NASA Dryden Flight Research Center P.O. Box 273 Edwards, California 93523-0273 H-2596 9. SPONSORING/MONITORING AGENCY NAME(S) AND ADDRESS(ES) 10. SPONSORING/MONITOR'S ACRONYM(S) National Aeronautics and Space Administration NASA Washington, DC 20546-0001 11. SPONSORING/MONITORING REPORT NUMBER NASA/TM-2005-212866 12. DISTRIBUTION/AVAILABILITY STATEMENT Unclassified -- Unlimited Subject Category 05, 08 Availability: NASA CASI (301) 621-0390 13. SUPPLEMENTARY NOTES Also presented as AIAA-2005-0032 at the 43rd AIAA Aerospace Sciences Meeting and Exhibit, Reno, Nevada, January 10–13, 2005. An electronic version can be found at the NASA Dryden Flight Research Center Web site, under Technical Reports. 14. ABSTRACT A control system framework is presented for both real-time and batch six-degree-of-freedom simulation. This framework allows stabilization and control with multiple command options, from body rate control to waypoint guidance. Also, pilot commands can be used to operate the simulation in a pilot-in-the-loop environment. This control system framework is created by using direct vehicle state feedback with nonlinear dynamic inversion. A direct control allocation scheme is used to command aircraft effectors. Online B -matrix estimation is used in the control allocation algorithm for maximum algorithm flexibility. Primary uses for this framework include conceptual design and early preliminary design of aircraft, where vehicle models change rapidly and a knowledge of vehicle six-degree-of-freedom performance is required. A simulated airbreathing hypersonic vehicle and a simulated high performance fighter are controlled to demonstrate the flexibility and utility of the control system.
15. SUBJECT TERMS Autonomous flight, Conceptual design, Flying qualities, Inner loop control, Nonlinear dynamic inversion, Outer loop control, Performance, Stability and control, Waypoint tracking 19a. NAME OF RESPONSIBLE PERSON 18. NUMBER 17. LIMITATION OF 16. SECURITY CLASSIFICATION OF: OF ABSTRACT STI Help Desk (email: help@sti.nasa.gov) a. REPORT c. THIS PAGE b. ABSTRACT PAGES 19b. TELEPHONE NUMBER (Include area code) 26 (301) 621-0390 U U U UU Standard Form 298 (Rev. 8-98) Prescribed by ANSI Std. Z39-18