Sunteți pe pagina 1din 8

Flight Control Systems and Autopilots

Brian Jewell
Department of Engineering, Calvin College
Engineering 315 Final Paper
Professor Ribeiro

Abstract: Autopilot systems have been crucial to The earliest form of autopilots have been
flight control for decades and have been making in existence for decades. The first systems were
flight easier, safer, and more efficient. However, created an implemented about ten years after the
these autopilot systems are complex devices that Wright Brothers flew the very first airplane: the
require precise control and stability. These Kitty Hawk. These earlier systems were simply a
systems usually include a form of digital control gyroscope that gave the plane a smoother flight
systems to allow for easier implementation. One path. The only control that these systems gave was
example, the Beaver Autopilot system, uses an in the altitude and pitch. They kept the plane from
inner, outer loop system to maintain control while flying with its nose pointed down and from flying
simpler systems often only require something as crooked.
simple as a PID controller to keep the aircraft Around the time of Second World War, the
stable. very first fully functional autopilot systems were
designed and tested. These earlier systems had the
1. Introduction capability to keep the flight path level as well as
launch and land the aircraft. This revolutionary
Since the creation of the first aircraft, the system, however, was not a simple task and it was
ability for people to travel large distances in prone to failure. The systems would often break
relatively short periods of time has drastically down and crash the plane (by making the plane
increased. However, in the beginning of the point straight down as opposed to straight forward.
airplane age, traveling on these craft was difficult To keep the systems operating properly, the plane
as there are many components of air travel and required a crew that was more than twice as large
controlling these components can be an extremely as the original autopilot-less planes. This caused
difficult task for a pilot. In modern aircraft, there problems because it took far more work to keep
are simply too many things for the pilot to control the autopilot working than it did to actually fly the
them all so some form of automation must be plane without such a device. For this reason, the
done. Also, long air trips can cause problems for autopilot was not used very often for many years.
the pilots. While the plane is traveling along the It wasnt until the 1960s that the device really
same trajectory, flying can and does become a took off (to use an atrocious pun). At this point,
rather monotonous job for the pilot and the pilot more sophisticated systems were being introduced
runs a higher risk of falling asleep or suffering and a new form of flight control was in the works:
from a reduced response time. For these reasons, a computer controlled flight. This technique called
autopilot systems have become a blessing to the fly by wire didnt become a standard until closer
aerospace industry. to the 80s but it had its beginnings in the late 60s.
However, these autopilot systems are not The basic concept of the fly by wire
simple systems. They require complex control systems is digital control systems. To understand
systems with robust measuring equipment. The this form of autopilot a brief description of digital
scope of this paper is to give an overview of control systems must be discussed.
autopilot systems (with a description of digital
controls), to examine the Beaver Autopilot System, 3. Digital Control Systems
and to explore a simple flight control example.
In a typical control system, the equipment
2. History to measure and control signals can be extremely
complicated and can require enormous levels of
sophistication. However, if it were possible to use
a computer to control the systems, a simple off
the counter processor could be able to handle
complex control systems. For example, a system
that requires complicated mathematical algorithms
for control could simply digitize the signal and
send it to a processor to take care of the
calculations. The processor (usually called a
minicomputer) is usually inexpensive and
relatively easy to implement. The control system
using these sorts of devices is shown below in Figure 3: Discrete Signal
Figure 1: Digital Control System Block Diagram.
As can be seen, the resulting function is no longer
a smooth signal but it is a series of step functions
that represent the original signal.
To deal with these functions, the z-
Transform must be used. The z-Transform is an
extension of the LaPlace transform and is of the
following form: Z = esT where s is the value from
the LaPlace transform and T is the period of the
Figure 1: Digital Control System Block Diagram sampler (how many seconds between samples). In
the z-Plane, there are several methods of stability
In this system, the digital computer reads in the analysis. For example, a sampled system is stable
digital signals from the feedback loop and the if all of the poles of the closed loop transfer
input and it sends them to the D/A converter. This function T(z) lie within the unit circuit of the z-
converter takes the digital values from the plane.
computer and converts the signals into a usable These systems can readily be constructed
value for the actuator and process. The signals are in MATLAB. The function can be defined as it
then sent via the feedback loop through the would in any transfer function however the
measurement sensors until it reaches the analog to sampling time is also included (so the definition is
digital convert. This portion takes the measured as follows: sys=tf(num,den,Ts) where Ts is the
value and converts it into a binary digital signal sampling time). The systems can be converted
that can be read by the computer. from continuous to digital and back again using the
This digitizing is where the real challenge c2d and d2c commands. Below, in Figure 4:
enters into the picture. Since computers cannot Discrete Step Response the following MATLAB
read the same kind of signals that an analog device code was entered:
can, some method of transforming the analog data >> num=[1];den=[1 1 0];
to readable digital data must be introduced. This is >> sysc=tf(num,den);
done through a method called sampling. A simple >> sysd=c2d(sysc,1,'zoh');
circuit is set up with a switch (shown below in >> sys=feedback(sysd,[1]);
Figure 2: Switch Digitizer). The switch samples >> T=[0:1:20];step(sys,T)
the value of the signal at regular intervals. This code yields the following graph:

Figure 2: Switch Digitizer

These samples must be at a high enough frequency


to accurately represent the input signal. This
process takes the signal and breaks it up into a step Figure 4: Discrete Step Response
like function. An example of this is shown below
in Figure 3: Discrete Signal.
As can be seen by the above plot, the digital signal auto-pilot determines the speed and the course to
is no longer a smooth curve. Depending on the be followed by the craft. This is done by
sampling rate (in this case, once every second) the measuring the current actual values and comparing
value is measured and then held constant until the them to some reference system. The control
next value is measured. For a digital control function is the function that takes the data from the
system, this value is converted into a binary guidance system and applies the proper
number that is then fed into the minicomputer for corrections. For example, if the guidance says that
analysis. the altitude of the aircraft is 200m too high, the
This sort of system is extremely beneficial control function would move the wing flaps to
to the aviation industry. With a digital control bring the craft back down to the appropriate level.
system, the autopilots can have a much more The control does not usually contain any sort of
precise control of the flight path of the aircraft. measuring devices as this function is delegated
Rather than feed the controlled signal (such as entirely to the guidance function. The guidance
altitude or yaw) through a complex process (which loop acts as a commander to the control loop and
would be extremely difficult to design), the signal the control loop commands the physical movement
can be converted to a digital signal and sent to the and response of the aircraft. As is evident, it is
minicomputer. In the minicomputer, the signal can desirable for these control systems to have a fast
be operated on with a higher level of ease because and stable response. They must also be able to
the computer can directly run the algorithms on the withstand any disturbances from the surrounding
digital numbers. This method can yield a higher environment. This is extremely important because,
quality control system for the aircraft. Although it if a disturbance caused a critical control system to
does require more circuitry (the minicomputer) it become unstable, the autopilot would cease to
is usually smaller and easier to implement backup function and possibly put the lives of the
systems. passengers at risk.
With this general understanding of digital The best way to describe the two functions
control systems, the Beaver Autopilot System is is to think of them as two interrelated loops. The
the focus of the rest of this paper. This digital control loop is the inner loop as it is controlled by
control system overview will help understand the outer loop guidance system. This is best
some of the mystery of the proprietary (and shown in Figure 5: Basic Block Diagram of
therefore undisclosed) portions of the Beaver Autopilot.
system.

4. Beaver Autopilot System

The Beaver autopilot document that is


used for this report entitled A Simulink Toolbox
for Flight Dynamics and Control Analysis and is
written by Marc Rauw. This document describes
the Beaver system in great detail and discusses its
implementation in the Flight Dynamic Control
toolbox for SIMULINK. However, since this
toolbox was not written by the SIMULINK people,
the standard SIMULINK package does not contain Figure 1: Basic Block Diagram of Beaver Autopilot
this toolbox. Therefore, for any attempted
simulations, regular SIMULINK will be utilized
and any unknown functions will be estimated as These two controllers (guidance and control)
best as is capable by this author. control two major areas of the flight path of the
aircraft: Longitudinal and Latitudinal direction.
4.1 Functions The Longitudinal Mode is discussed below. The
Latitudinal mode is of a similar format with
The functions of an autopilot system can slightly different constants and different control
be broken down into two major categories: blocks.
guidance and control. The guidance function of an
Figure 6: Block Diagram of Longitudinal Mode

4.1.1 Longitudinal Mode Overview distance to the runway is calculated using Distance
Measurement Equipment (DME). However, this
This portion of the auto-pilot controls the equipment doesnt often work well with autopilot
pitch angle and the altitude of the aircraft. The modules because of hardware limitations.
complete block diagram for this portion of the Therefore, a different approach must be used. The
autopilot is shown above in Figure 6: Block three dimensional distance to the runway is
Diagram of Longitudinal Mode. As can be seen by calculated using the following equation.
the above diagram, there are several components
that make up this portion. The main three blocks
of the system are the controllers of this function.
In this equation, R is the three dimensional
They take the values from the outer loops which
distance to the runway, Href is the height above the
pass through constants and integrators and output
runway, and gs is the reference flight path angle
the appropriate controls for the aircraft. The input
or, the angle the plane makes when flying along
signal Href is the current altitude as measured from
the nominal path. Generally, a radio altimeter is
the guidance systems. This value then is taken
used to determine the value of Href.
with the controls new altitude as well as the pitch
During a glideslope approach, there are
angle () and fed into the control blocks of the
two different modes of operation. The first is the
diagram. It should be noted that the gains shown
glideslope armed mode. As the authors of the
in the feedback loops of the system are all variable
Beaver document say: This phase is engaged as
and depend on the velocity of the aircraft. This
the approach mode is selected by the pilot. The
happens because the control to the aircraft will
longitudinal autopilot mode in which the aircraft
change as the speed does. Wind resistance and
flew before selecting the approach mode, usually
other factors contribute to this.
ALH, will be maintained until the aircraft has
The final portion of the longitudinal mode
reached the glideslope reference plane (Rauw,
of the aircraft is the Approach mode. It should be
177). This mode simply tells the aircraft that it is
noted that the Glideslope device is a unique device
going to be landing soon and that it needs to get
to the Beaver autopilot mode. This portion of the
ready for landing. It does not affect any of the
control system is a feedback loop from the Hdot
current flight paths.
output (from Figure 6) to the input Hdotref signal.
The second mode is the glideslope
The glideslope receiver is an on-board
coupled mode. The author describes this mode by
measurement device that interacts with a
saying that This phase is initiated as soon as the
transmitter on the airport runway. This system is
aircraft passes the glideslope reference plane for
an extra feedback loop that has more control over
the first time. In this phase the control laws of the
the descent of the aircraft. To properly operate, the
GS mode take over the longitudinal guidance task The next block is the Actuator and Cable
of the autopilot (Rauw, 177). In this mode, the Dynamics block. This block, for the sake of the
GS actually takes over the rest of the autopilot. It simulation is assumed to be a simple transfer
does this by adding its own signals with the Hdot ref function (a second order is used). At the heart of
input signal. When the GS is not engaged, the the block diagram is the Beaver Dynamics. This
signal that is the output of the GS is zero allowing block is the portion of the control system that reads
the aircraft to operate as it normally would. The in the measured values and operates on them. For
timing of the coupling of the GS is extremely the sake of simulation, the block was assumed to
important. If the GS is coupled too earlier, the be three transfer functions: one of which is a
aircraft will follow the path as shown below in simple constant value, the second is an integrator
Figure 7: Result of Early GS Coupling function, and the third is a derivative function.
After the system was constructed, the outputs were
examined. The plot is shown below in Figure 8:
Simulink Plot.

Figure 7: Result of Early GS Coupling

As can be seen by the above figure, the timing is


important because, if the GS is coupled too early,
the aircraft tries to approach the reference line (the
Figure 8: Simulink Plot
slanted dotted line in the figure) before it is
supposed to. The result of this is that the plane
As can be seen, this is invalid data. The plot
will rise to the reference line and then have to
shows nothing and every one of the outputs looks
suddenly shift down after the line is crossed. To
about the same. Changes made in the functions of
properly couple the GS, the mode controller is
the control system yielded no results either. The
constantly examining the state of the aircraft.
system would either be zero and then drop off to
When the aircraft reaches the correct point, the
negative infinity or the signal would be zero and
mode controller immediately switches to coupled
rise to positive infinity. The system did not
mode and the aircraft can land. This system is not
compensate for anything. The reason that these
perfect and it does yield a slight overshoot but the
simulations did not yield valid results is because of
resulting overshoot is far more desirable than the
the fact that the setup of the Beaver Dynamics is
overshoot shown in Figure 7.
unavailable for research. The actual system for the
Beaver Dynamics I probably not actually a simple
4.1.2 Longitudinal Mode Simulation
transfer function. If it was a simple transfer
function, changes to the simulated system would
To get a better picture of how exactly this
have had a larger effect. The Beaver Dynamics is
autopilot system works, it became desirable to
probably a control system in and of itself. Since
simulate the system in MATLAB. All of the K
the system is a moderately complex system, it can
values (as seen in Figure 6) are given in the Beaver
probably be assumed that the Beaver Dynamics is
document and can be constructed in Simulink.
a digital control system. There is probably a
However, there are still a few different blocks that
minicomputer (as discussed earlier) at the heart of
are not explained in the Beaver document. This is
the system that does all of the actual control for the
due to the fact that the autopilot system is
aircraft. For this reason, it cannot be adequately
proprietary information (or if it isnt, the authors of
simulated for this paper. For that to happen, more
the document dont disclose the information).
information about the Beaver Dynamic would have
Because of this, the following assumptions are
to be available for study. To make up for this lack
made. The first is in the Computational Delay
of simulation, a simple aircraft flight control
block. This block is assumed to be a simple signal
delay and is set to delay the signal by one second.
system is examined in the final portion of this
paper.

4.2 Beaver Conclusion

The Beaver Autopilot system is a complex


system that cannot be readily simulated due to its
complexity and a lack of information concerning
its primary controllers (the Beaver Dynamics to be
precise). However, that aside, it is still a
fascinating system. The document by Marc Rauw
gives a solid and detailed description of the system
and makes it simple for people with basic
experience in control systems to understand the
peripherals. While it does not go into detail on the
heart of the system, it at least gives a general
overview of how the system works. The Beaver Figure 9: Bi-Wing Flight Controller
autopilot system is a unique system that does not
follow all of the same rules that its brethren follow. As can be seen in Figure 9, the aircraft consists of
For example, the GS as discussed is a unique an engine, a controller and Aircraft Dynamics.
feature to the Beaver Autopilot System in that it is There is also a little disturbance in the system
not how the landing mode is implemented. Most caused by wind. The goal of this exploration is to
other systems use the distance measurement determine the best way to control a step input
equipment (DME). It should be noted that the signal (simulating some variable of flight that
description given in this paper only gives a brief needs to be rectified). Because this control system
overview of the system. Many of the details of the is controlling the flight of an aircraft, the percent
system (as well as the lateral and turn overshoot and steady-state errors must be as small
compensation modes) were not discussed. To as possible (less than 5% for steady state error).
better understand those modes, or to understand
the system in greater detail, see the paper by Marc 5.3 Analysis
Rauw.
For this example, the Aircraft Dynamics
5. MATLAB Simulation and the Engine blocks are considered
unchangeable and that it is the controller than must
5.1 Purpose be modified to meet the appropriate requirements.
The simplest approach is to simply use a constant
The purpose of the following simulation is gain function to control the system. The gain
the better understand a particular example of a largely has control over the stability of the system.
flight control system. Since the Beaver Autopilot For certain gains, the system is stable, and for
could not be simulated in this paper, a simpler others, it is not. After setting the system up in
example is necessary. The following sections give SIMULINK, the value of the gain (K) was varied
a description of a particular simple system. They and the results examined. It was found that values
then run through some simulations to examine how of K greater than approximately 1.5 caused the
the system responds. system to become unstable. However, gains of les
than 1.5 caused stability but the steady state error
5.2 The Problem was extremely high. As is shown in Figure 10:
Steady State Error of Pure Gain System, the steady
This example comes from page 624 of state error for the system ranges from 20% for
Modern Control Systems by Richard Dorf and gains closer to 1.0 and up to 50% for smaller gains.
Robert Bishop. The control system of the problem
is that of a bi-wing aircraft. The control system is
shown below in Figure 9: Bi-Wing Flight
Controller
As can be seen, this response is already better than
any of the constant gain system responses. The
steady state error is eliminated and the percent
overshoot is less (although it is still about 30%).
However, as can be seen, the response of the
system is relatively slow. This would not be
acceptable for an aircraft as it is imperative that the
system respond quickly to changes in its state. To
speed up the response time, the proportional
portion of the PID controller is increased until the
desired response time is met. If the response time
is defined to be the time needed to rise from 10%
to 90%, a good response time would be 0.5
seconds. This is achieved when the proportional
component is set to 5. It yields the result shown
below in Figure 12: PID Controlled System (P=5,
I=1, D=1).

Figure 10: Steady State Error of Pure Gain System

As can be seen by the above plots, the system that


has the faster and smoother response also has a
completely unacceptable steady state error. The
system that has a slower response and a large
amount of overshoot has a better stead state error
but it is still around 15% which is unacceptable.
If a better result is to be attained, a
different approach becomes necessary. To
eliminate this error and overshoot, implementing
some other kind of controller will be beneficial.
The usual approach is to implement a PID
Figure 12: PID Controlled System (P=5, I=1, D=1)
controller. The components in this kind of
controller can take sensitive control systems and
As can be seen, this is a fairly good response. The
give them a more stable, smoother, faster, and less
steady state error is very close to zero, the percent
oscillatory response. A PID controller was added
overshoot is 2% and the response time is less than
and the system was tested in SIMULINK. The
0.5 seconds. However, this system is not perfect.
first step in setting up a PID controller is to set all
Although it may not be initially evident by the
of the values to 1. The results of this test are
above plot, there is oscillation in the signal and the
shown below in Figure 11: PID Controlled System
oscillations last for more than 10 seconds. While
(P=1, I=1, D=1).
some systems may not have serious problems with
these oscillations, flight control systems may have
complications. For example, if this system was the
altitude controller, the aircraft may see these
oscillations as vibrations of the aircraft. These
vibrations would add to the vibrations that are
already present and could increase the natural wear
and tear of the aircraft devices. Also, if the
vibrations occurred at the exact right (or wrong)
frequency, some systems that use this signal could
become unstable. Therefore, the system must be
modified again to accommodate for these
Figure 11: PID Controlled System (P=1, I=1, D=1)
oscillations. The best results that could be attained
in the time span allowed for the experiment ended
up not yielding a much better response. The example of a flight control system was explored to
oscillations were eliminated but the percent see the effects of various controllers on the system.
overshoot is substantially higher as is shown below Autopilot systems and, more broadly, flight control
in Figure 13: PID Controlled System (P=1, I=3, systems are complex systems that generally are
D=0.2) sensitive systems. However, in order for flight to
be smooth, the systems must be robust and able to
handle disturbances. If a disturbance could
potentially cause instability, the flight would
become dangerous. However, to combat these
unexpected instabilities, most flight systems are 2
and 3 times redundant: they have several backup
systems that can step in and take over in the event
of a failure. These emergency systems can mean
the difference between flight and a crash in the
event of a sudden disturbance. However, it is still
up the control systems on the aircraft to insure that
the plane will make it from point A to point B and
back again.
Figure 13: PID Controlled System (P=1, I=3, D=0.2)

As can be seen by the above plot, if the system can Bibliography


handle a 25% overshoot, this response is better
because of the fact that the oscillations are not Rauw, Marc. A Simulink Toolbox for Flight
present here. However, if the system can handle Dynamics and Control Analysis. Published
oscillations, the first PID controller is much more by Marc Rauw, 1994 2001
desirable because of its high response time, low
overshoot, and low steady state error. Richard Dorf and Robert Bishop. Modern Control
Systems. New Jersey: Prentice Hall, 2001
5.4 Summary
Flight Dynamic and Control Toolbox page.
The system presented in the previous < http://home.wanadoo.nl/dutchroll/>
example, shows how an aircraft responds to
changes in the system. For all of the explorations, Hughes, Arthur. History of Air Navigation. Great
the system was given a step input which could be Britain: Unwin Bothers Limited Working,
equated to a change in altitude ordered by the pilot. 1946
The pilot would change the altitude and the system
would have to respond quickly and smoothly. Shevell, Richard. Fundamentals of Flight. NJ:
Because the system presented in the problem is Prentice Hall, 1983
inherently sensitive to changes, a PID controller is
necessary to aid the system in responding
effectively. It was found that a larger proportional
controller as well as a unit integrator and derivator
were necessary to keep the system stable and
responding quickly. However, as were discovered,
there were tiny oscillations present that could
potentially cause problems for the aircraft.

6. Conclusion

Through this paper, a brief overview of


Digital Control systems was given to show how
they relate to autopilot systems, the Beaver
Autopilot system was analyzed and studied, and an

S-ar putea să vă placă și