You are on page 1of 16

Advanced Flight Mechanics

C5-A Closed Loop Controls

Authors
Ignacio Moreno Pubul
Pablo Manuel Mu
noz de la Flor
December 23, 2015

Assigment 1

1 of 20

Contents
1 Introduction

2 Longitudinal Controllers.
2.1 Pitch attitude controller for phugoid suppressions. . . . . . . . . . . . . . . . . . .
2.2 Speed controller. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.3 Altitude-hold controller. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2
2
4
6

3 Lateral Controllers.
3.1 Root locus plot. Lateral control. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2 Yaw Damper. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3 Roll Controller. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

7
7
8
10

4 Controller Capabilities.
4.1 Thrust limit models. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2 Non linear equations of motion and controls. . . . . . . . . . . . . . . . . . . . . .
4.3 Handling qualities assessment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

12
12
13
14

5 Conclusion.

15

Bachelor in Aerospace Engineering

October 2015

Assigment 1

2 of 20

Introduction

This last laboratory report has as its main objective to design the controllers for the C5-A under
our flight conditions of sea level and M = 0.45, for both longitudinal and lateral motion. These
controllers are put to the test under a real world environment to evaluate their capabilities. The
data characteristics of this sessions are identical to the previous assignment, Assignment 1, Tables
1-2.

Longitudinal Controllers.

The longitudinal controllers must be designed in such a way that:


Overshoot less than 10%.
Rise time less than 10 seconds.
Settling time less than 30 seconds.
Steady-state errors less than 2%.

2.1

Pitch attitude controller for phugoid suppressions.

The purpose of this analysis is to design a simple controller for phugoid suppression. If we recall
from previous assignments, the phugoid mode was a lightly damp, and thus rather long, long
frequency oscillation in speed, pitch and altitude. Therefore, the phugoid mode is highly dependent
on the evolution of the pitch. If the controller can maintain a desired pitch, we will successfully
suppress the phugoid mode.
The input of this controller is a desired pitch angle c . The output is the actual pitch angle .
The evolution of the pitch angle depends on the deflection of the elevator, e . The controller, J(s),
corrects the measured error, (c ). The system is represented by a simple feedback loop.

Finding the closed loop transfer function, knowing Ge from the previous assignment, and J(s) is
relatively simple:

Ge J(s)
=
c
1 + Ge J(s)

(1)

The concern is then finding J(s). A reasonable general form for J(s) is:
ki
J(s) =
+ kp + kd s
s


s
N

1
+1


(2)

To asses the stability of the system under proportional control, using the Nyquist criterion, we
simply have to consider J(s) = kp , and analyze the Nyquist diagram of the open loop transer
function G(s) = kp Ge .
Bachelor in Aerospace Engineering

October 2015

Assigment 1

3 of 20

Let us analyze the solution for a range of values kp = 0 0.3

Nyquist Diagram for K= 0.001-0.03


0.3
K = 0.001
K = 0.005
K = 0.01
K = 0.015
K = 0.02
K = 0.025
K = 0.03

0.25
0.2

Imaginary Axis

0.15
0.1
0.05
0
-0.05
-0.1
-0.15
-0.2
-2

-1.5

-1

-0.5

Real Axis

Figure 1: Nyquist diagrams for different values of kp .


As the diagram above shows, the system will be stable for values of kp lower than 0.015. For
these values, the Nyquist loops do not capture point (-1,0), and so they are stable according to the
Nyquist stability criterion.
The chosen design controller is that of kp = 4.71, ki = 1.18,kd = 1.29 and N = 10.95.
Therefore, according to (1) and (2), we achieve the following closed loop transfer function:

Ge J(s)
1.39s2 1.098s 0.01559
=
=
4
c
1 + Ge J(s)
0.9339s + 2.171s3 + 2.414s2 + 0.02482s + 0.009217
These values of kp , ki , kd , and N , came from tuning the parameters to obtain a solution as close
to the statement requirements as possible. These values, for a step input of 2o render the following
results:

Bachelor in Aerospace Engineering

October 2015

Assigment 1

4 of 20

Close loop
0.04

0.035

0.03
P controller
PI controller
PID controller

Pitch angle (rad)

0.025

0.02

0.015

0.01

0.005

10

15
Time (s)

20

25

30

Figure 2: Response of the Closed-Loop Pitch Angle to a 2o Step Command.


As can be seen in the figure above, analyzing the pitch angle with respect to time, we can observe
a clear suppression in the phugoid mode. Proportional control alone is clearly not an acceptable
response, as the steady state errors are quite large. The solution does not converge around the
values around which it oscillates. PI shows a clear reduction in steady state errors, but there is
less damping of the phugoid mode. PID is the best solution.: We notice strong damping, and thus
very little oscillation, effectively suppressing the phugoid mode, and nearly no error.
The figure below shows how in open loop control there is no suppression of the oscillation, rendering
a very clear lightly damped phugoid.

Open loop
0.6

0.4

Pitch angle (rad)

0.2

0.2

0.4

0.6

0.8

200

400

600

800
Time (s) (seconds)

1000

1200

1400

1600

Figure 3: Response of the Open Loop Pitch Angle to a unit Step Command.

2.2

Speed controller.

This controller will have two inputs, (p and e ) and two outputs( and u), although only u is
in the feedback loop. The controller must correct the measured error (uc u). The chart below
summarizes the workings of the system:

Bachelor in Aerospace Engineering

October 2015

Assigment 1

5 of 20

Figure 4: Speed controller block diagram.


We can recall from the previous session how u is affected differently by elevator deflection and
thrust: thrust affect it only in the short term, while long term response cares more about elevator
deflection. Therefore, to suppress the phugoid mode, we need to use mostly the elevator, which is
why the controller will only be applied this device.
Closed Loop Transfer Functions.
The chosen design solution is that of kp =, ki =, kd = and N =. This means that J(s) =

ki
s

+ kp + kd s

h
s
N

1
+1

The closed loop transfer functions are given by:CHECK THIS AT THE END AND SUBSTITUTE
FOR CORRECT ONE.
Gup =

Gup
1 + Gue J

Gp = Gp Ge JGup

(3)

(4)

Before analyzing the response, let us take a look at the open loop response of the system. As the
figure below demonstrates, a change in the throttle setting of the aircraft results in a slow, lightly
damped, oscillating transition to the new state, that takes quite long to complete. Logically in a
real-world setting this is unacceptable, and so the phugoid mode is effectively suppressed.

Bachelor in Aerospace Engineering

October 2015

Assigment 1

6 of 20

Phugoid approximation
Exact solution

Open loop
6

Open loop

4
4
3

(rad)

u (ft/s)

2
4
3

200

400

600

800
1000
Time (s) (seconds)

1200

1400

1600

1800

200

400

600

800
1000
Time (s) (seconds)

1200

1400

1600

1800

Figure 5: Response of the Open Loop.


Now, to see if we achieve this suppression, we must take a look at the closed loop response,
incorporating the designed controller. An impulse of p = 0.03W renders the following response:

Figure 6: Response of the Pitch Angle to a 2o Step Command.

2.3

Altitude-hold controller.

It is the combination of the previous two controllers in a single feedback control. Therefore, we are
going to have two controllers, one for the elevator, and one for the throttle. We will not use thrust
limiters for this section.

Bachelor in Aerospace Engineering

October 2015

Assigment 1

7 of 20

Figure 7: Altitude-hold loop.


Closed Loop Transfer Function.
The chosen design solution is that of kp =, ki = and kd =. This means that J(s) =.

The closed loop transfer function is given by:

Ge J(s)
Bla
=
=
c
1 + Ge J(s)
Ble

(5)

Now, this renders the following response:

Figure 8: Response of the closed loop transfer function.

3
3.1

Lateral Controllers.
Root locus plot. Lateral control.

The simple feedback below will be analyzed, with a proportional control. Within the validity of
this model, we will analyze the root locus plot of the roll damper (p to a ), yaw damper (r to r ),
yaw stiffness modifier (v to r ), and synthetic bank stiffness ( to a ).

Bachelor in Aerospace Engineering

October 2015

Assigment 1

8 of 20

Figure 9: Simple feedback.

3.2

Figure 10: Roll Damper Root Locus.

Figure 11: Yaw Damper Root Locus.

Figure 12: Yaw Stiffness Modifier Locus.

Figure 13: Synthetic Bank Stiffness Root Locus.

Yaw Damper.

The task is to design a yaw damper that allows us to respond to disturbances and also to maneuver
in a steady turn. To do so, we must include a high-pass or wash-out filter. We must find the
values of the gains and the parameter of the filter that produce the desired smooth transient from
the initial to the final condition.

Bachelor in Aerospace Engineering

October 2015

Assigment 1

9 of 20

Figure 14: Feedback with a filter W.


The reason we need a washout filter is the following. At a quick glance, one might think the saw
damper could be a simple feedback loop, with a controller that uses a reasonable, chosen gain and
a model to implement the dynamics. However, this would render important problems particularly
during steady turn conditions. This is because during a steady turn, there is a yaw rate, r. So , if
the system responds to this non-zero value of yaw rate commanding a rudder deflection, then this
deflection would not allow the maintenance of the steady turn. This filter is modeled as:
s
s + 0.03

(6)

JGrr
1 + W JG

(7)

W (s) =
Closed Loop Transfer Function.
The closed loop transfer function is one such
Grrc =

In this case we use a proportional controller with J = kp = 1.81, and the response to a yaw rate
impulse of 20o /s is:

Yaw rate response


0.3
With washout
Without washout
Open loop
0.2

0.1

Yaw rate (rad/s)

0.1

0.2

0.3

0.4

0.5

0.6

0.7

20

40

60

80

100

120

140

Time (s) (seconds)

Figure 15: Response of the System: Yaw Rate.


The previous figure shows the damping characteristics of this controller. We can see how the
oscillation of the open loop is suppressed, and the positive effect of the washout filter.

Bachelor in Aerospace Engineering

October 2015

Assigment 1

10 of 20

Rudder deflection control


0.2
With washout
Without washout

0.1

Rudder deflection (rad)

0.1

0.2

0.3

0.4

0.5

0.6

0.7

50

100

150

Time (s)

Figure 16: Response of the System: Rudder Deflection.


In the figure above, we can see how the system corrects the rudder deflection to produce this
damping in the yaw.

3.3

Roll Controller.

Using the previous yaw controller, we must design a roll controller according to the block diagram
below (note the typo p, should be r ). Using proportional control, we will set the values of the
appropriate gains, and then analyze the response to a initial bank error of 10 degrees and to a
bank command of 15 degrees.

Figure 17: Roll controller block diagram.


The idea of this system is to maintain the wings level when flying on autopilot, or that can be set
to roll the aircraft to the necessary parameters to perform a specific turn. As the block diagram
indicates, the system is composed of the yaw damper previously modeled, with controller Jr , plus
two additional loops. One of the loops is to control the bank angle, . The bank error is then
converted to a roll rate (p) command by the new controller Jp . Then the roll rate error is what
determines the deflection of the ailerons, passing through the controller Ja .
h
i
1
Jp = 1 + 0.05
J
=
2.5
a
s
0.2s+1
The response of the roll controller to a roll command of 15o can be seen below:

Bachelor in Aerospace Engineering

10

October 2015

Assigment 1

11 of 20

Bank command: 15
0.45
Azimuth angle, (rad)
Rudder deflection, (rad)
r

Yaw rate, r (rad/s)

0.4

0.35

0.3

Variables

0.25

0.2

0.15

0.1

0.05

0.05

10

15
Time (s)

20

25

30

Figure 18: Response of the System: Azimuth angle, yaw rate and rudder deflection.
Figure 18 shows how the azimuth angle, , yaw rate, and rudder deflection respond to the system. The new steady state shows an oscillation with takes about 15-20 seconds to decay, and is
characterized by a linearly increasing azimuth angle, a constant yaw rate, and a very small rudder
deflection. It is a turn to the right. The plot below shows the new bank angle at which the system
stabilizes, c , and that other variables and control surface deflections are very small.
Bank command: 15
0.7
Bank angle, (rad)
Aileron deflection, a (rad)
Roll rate, p (rad/s)
0.6

0.5

Variables

0.4

0.3

0.2

0.1

0.1

10

15
Time (s)

20

25

30

Figure 19: Response of the System: Bank angle, roll rate and aileron deflection.
Now let us take a look at the response of the system for an initial bank error of 10o :

Bachelor in Aerospace Engineering

11

October 2015

Assigment 1

12 of 20

14

Initial bank angle: 10

x 10

Azimuth angle, (rad)


Rudder deflection, (rad)
r

Yaw rate, r (rad/s)


12

10

Variables

10

15
Time (s)

20

25

30

Figure 20: Response of the System: Azimuth angle, yaw rate and rudder deflection.
In Figures 20 and 21 we can see the response of the system to an initial bank error of 10o . Although
the shape of the oscillations are quite strange and unexpected, the time of the decay is consistent
with the expected reasonably well damped oscillation. The magnitudes are also quite coherent. We
see a maximum aileron deflection required of about 25o , and rudder deflection of -0.2o (although
the sign and low value hints at a slight incoherence).
All the variables except for the azimuth angle converge at 0, meaning that the new steady state
after level flight is reinstated is one with a heading different by approximately 0.6o .
Initial bank: 10
0.5
Bank angle, (rad)
Aileron deflection, a (rad)
Roll rate, p (rad/s)
0.4

0.3

Variables

0.2

0.1

0.1

0.2

0.3

10

15
Time (s)

20

25

30

Figure 21: Response of the System: Azimuth angle, yaw rate and rudder deflection.

4
4.1

Controller Capabilities.
Thrust limit models.

In order to emulate real environments it is necessary to include thrust limit models. We will assume
that the maximum thrust is 10% greater than cruise thrust (Tmax = 1.1 Tcr) and that idle thrust
is 10 % of the cruise thrust (Tidle = 0.1 Tcr).
The response of the system is as follows:

Bachelor in Aerospace Engineering

12

October 2015

Assigment 1

13 of 20

Figure 22: System Response.

4.2

Non linear equations of motion and controls.

We will introduce in Simulink the complete set of non linear equations of motion, and add the
longitudinal and lateral directional controls. Then, we will select a longitudinal disturbance and
longitudinal maneuver and analyze the response of the aircraft. The process is repeated for the
lateral-directional dynamics.

Figure 23: System Response.


The response of the system can be seen below:
Bachelor in Aerospace Engineering

13

October 2015

Assigment 1

4.3

14 of 20

Handling qualities assessment.

The assigned aircraft, the Lockheed C5-A Galaxy, is an aircraft of class III, large, heavy, and with
low maneuverability. The flight condition corresponds to a class B, that is, non-terminal phase
of the flight where tracking is less precise and maneuvering is gradual but flight path control is
accurate.
Table 1: Longitudinal Motion.
Phugoid Mode Damping
Short Period Mode Damping

0.0361
0.6114

Level 2
Level 1

Table 2: Lateral Motion.


Roll Subsidence Mode Time Constant
Spiral Mode Time Constant
Dutch Roll Mode Frequency
Dutch Roll Mode Damping

0.5127 s
41.8958 s
0.7951
0.2952

Level
Level
Level
Level

1
1
1
1

Most of the results obtained render flying qualities adequate for the mission flight phase, Level 1.
We do see however that the phugoid mode damping we achieve a Level 2 result, which is adequate
but may affect mission effectiveness.

Bachelor in Aerospace Engineering

14

October 2015

Assigment 1

15 of 20

Conclusion.

To conclude on a self-reflecting note, this deep analysis has served its purpose in teaching the authors the intricate considerations that lay the basic foundations of longitudinal and lateral response
to the controls, and has helped consolidate the theoretical background of the lectures.
We have been able to determine and analyze the most important parameters of the aircraft for each
control, and how the plane behaves when modifying the control inputs. It was possible to study
how the variations in elevator, throttle, rudder and aileron affected the motion of the aircraft.
The results obtained throughout the sessions show congruence and coherence for the given flight
conditions. For example, the poles obtained generated peaks which coincided perfectly with the
phugoid and short period modes that we could expect from exciting the system through the motion
of the control parameters. We saw how increasing throttle naturally sent the aircraft into a phugoid,
lightly damped oscillation, as would be expected, or how moving the elevator generated a new flight
condition with higher speed and angle of attack. Steady turn results were also coherent, as were
steady sideslip conditions, if accounting for the error in sign convention.
We also learned to interpret bode plots, and how poles and zeros affect the results, as well as
interpreting the time domain solutions of the step response, which gave great insight into the
stabilization conditions of the aircraft after a maintained change in the actuation controls.
Although the time investment has been high, this response analysis of the Lockheed C5-A has
proven to be a fantastic manner of understanding and gaining insight in the nature of response to
actuation of controls. We have been able to observe the behavior of the transfer functions, their
application, and approximation methods, and how the are deeply related to the control of the
system.

Bachelor in Aerospace Engineering

15

October 2015

You might also like