F14 Controller Gain Editor

The F14 Controller Gain Editor can be used to analyze how changing the gains used in the Proportional-Integral Controller affect the aircraft's angle of attack and the amount of G force the pilot feels.

Note: The Simulink diagram f14.mdl must be open to run this GUI. If you close the F14 Simulink model, the GUI will reopen it whenever it requires the diagram to successfully execute.

Changing the controller gains

You can change gains in two blocks.

  1. The Proportional gain (Kf) in the Gain block
  2. The Integral gain (Ki) in the Transfer Function block

You can change either of the gains in one of the two ways.

  1. Move the slider associated with that gain.
  2. Type a new value into the Current value edit field associated with that gain.

The values used in the block are updated as soon as you enter the new value in the Editor.

Running the simulation

Once you have set the gain values, you can run the simulation by pressing the Simulate and store results button. This will simulate the F14 model using the simulation parameters specified in the diagram's Simulation Parameters window. The simulation time and output vectors are stored in the Results list.

Plotting results

You can generate a plot of one or more results using the following steps.

  1. In the Results list, highlight the row or rows of run results that you want to plot
  2. Press the Plot button

A plotting figure will be opened, if one is not already available. Every time you press the Plot button, the old plot is destroyed and a new one with only the selected runs is drawn.

Removing results

You can discard one or more of the run results using the following steps.

  1. In the Results list, highlight the row or rows of run results that you want to remove
  2. Press the Remove button