Академический Документы
Профессиональный Документы
Культура Документы
Mohammed S. Santina
Senior Technical Fellow, The Boeing Company, USA
Allen R. Stubberud
University of California Irvine, USA
Contents
S
TE S
1. Introduction
R
AP LS
2. Design of Discrete-Time Control Systems for Continuous-Time Plants
2.1. Sampling and A/D Conversion
2.2. Reconstruction and D/A Conversion
C EO
3. Discrete-Time Equivalents of Continuous-Time Plants
4. Discretizing Continuous-Time Controllers
4.1 Numerical Approximation of Differential Equations
4.1.1. Euler's Forward Method (One Sample)
E
4.1.4 An Example
4.1.5 Mapping Between S and Z Planes Using Euler's and Tustin's Methods
M SC
Glossary
Bibliography
Biographical Sketches
Summary
The first approach is to derive a discrete-time equivalent of the plant and then design a
discrete-time controller directly to control the discretized plant. This approach to
designing a digital controller directly, which has many variations, parallels the classical
approach to analog controller design. One begins with simple discrete-time controllers,
increasing their complexity until both steady state error and transient performance
requirements are met.
The filter design can approximate the integrations with discrete-time operations or it can
be made to have step (or other) response samples that are equal to samples of the analog
controller's step (or other) response. Usually, however, even for small sampling periods,
the discrete-time approximation performs less well than the continuous-time controller
from which it was derived.
S
TE S
In this chapter, several classical and state space methods for discretizing continuous-
R
AP LS
time systems are developed and illustrated.
1. Introduction
C EO
The rapid development of digital technology continues to change the boundaries of
control system design options. It is now routinely feasible to implement very
complicated digital controllers and perform the extensive calculations required for their
E
design. These advances in implementation and design capability can be achieved at low
H
A digital control system uses digital hardware, usually in the form of a programmed
digital computer as the heart of the controller. In contrast, the controller in an analog
control system uses analog electronics, mechanical, electromechanical or hydraulic
devices. Digital controllers normally have analog elements at their periphery to
SA NE
interface with the plant; it is the internal workings of the controller that distinguishes
digital from analog control.
U
The digital controller algorithm in the digital computer then modifies sensor signals and
generates control inputs u1 (k ) and u2 (k ) . The control inputs u1 (k ) and u2 (k ) are then
converted to analog signals via digital-to-analog converters (D/A). The analog signals
u1 (t ) and u2 (t ) are applied to the plant actuators or control elements to control the
behavior of the plant.
S
TE S
R
AP LS
Figure 1: A Digital Control System Controlling a Continuous-Time Plant
C EO
2. Design of Discrete-Time Control Systems for Continuous-Time plants
There are two fundamental approaches to designing discrete-time control systems for
E
plant and then design a discrete-time controller directly to control the discretized plant.
PL O
This approach is discussed in section 3. The other and more traditional approach to
designing discrete-time control systems for continuous-time plants is to first design a
M SC
continuous-time controller for the plant, then derive a discrete-time equivalent that
closely approximates the behavior of the original analog controller. This approach is
especially useful when an existing continuous-time controller or a part of the controller
SA NE
The A/D converter produces a binary representation, using a finite number of bits, of
the applied input signal at each sample time. Using a finite number of bits to represent a
S
TE S
signal sample generally results in quantization errors in the A/D process. For example,
the maximum quantization error in 16-bit A/D conversion is 2-16 = 0.0015%, which is
R
AP LS
very low compared with typical errors in analog sensors. This error, if taken to be
"noise", gives a signal-to-noise (SNR) of 20log10(2-16) = 96.3 db which is much better
C EO
than that of most control systems.
The control system designer must ensure that enough bits are used to give the desired
system accuracy. Study of the effects of roundoff or truncation errors in digital
computation is beyond our scope in this chapter, but it is important to use adequate
E
H
word lengths in fixed or floating point computations. Years ago, digital hardware was
very expensive, so minimizing word length was much more important than it is today.
PL O
M SC
transforms that can be summed to give the z-transform of the entire sampled signal.
Table 1 lists some Laplace transform terms and the resulting z-transforms when the
corresponding time functions are sampled uniformly.
f (t ) F ( s) f (k ) F ( z)
u (t ) , unit step 1 u (k ) unit step z
,
s z 1
tu (t ) 1 kTu (k ) Tz
s2 ( z 1) 2
e- at u (t ) 1 (e- aT ) k u (k ) z
s+a z e aT
2 1 1
F (s) = = +
s( s + 2) s s + 2
S
TE S
The z-transform of the sampled signal with a sampling interval T = 0.1 seconds is
R
F ( z) =
AP LS
z
z
z 1 z e 0.2
=
0.18 z
( z 1)( z 0.82)
C EO
2.2. Reconstruction and D/A Conversion
E
samples. Many different continuous-time functions can have the same set of samples, so
PL O
The symbol for a D/A converter that generates the step reconstruction f 0 (t ) from
signal samples f (k ) is shown in Figure 3(a). Sample and hold (S/H) is the operation of
U
holding each of these samples for a sampling interval T to form the step reconstruction.
As shown in Figure 3(b), the step reconstruction of a continuous-time signal from
samples can be represented as the conversion of the sequence f (k ) to its corresponding
impulse train f (t ) , where
f (t ) = f (k ) (t kT ) (1)
k =0
then conversion of the impulse train to the step reconstruction. This viewpoint neatly
separates conversion of the discrete sequence to a continuous-time waveform and the
details of the shape of the reconstructed waveform.
S
TE S
R
AP LS
C EO
E
H
The continuous-time transfer function that converts the impulse train with sampling
M SC
1
Lo ( s ) = (1 e sT )
s
U
One way to improve the accuracy of the reconstruction is to employ holds that are
higher-order than the zero-order hold. An nth order hold produces a piecewise nth
degree polynomial that passes through the most recent n + 1 input samples.
It can be shown that, as the order of the hold is increased, a well-behaved signal is
reconstructed with increased accuracy. For example, a first order hold (FOH) uses the
previous two samples to construct a straight-line approximation during each interval.
The transfer function of the FOH is:
(Ts + 1)(1 e sT ) 2
L1 ( s ) =
Ts 2
A model of the FOH is shown in Figure 4(a). If the hardware of the FOH is not
available, one can implement a FOH as shown in Figure 4(b).
S
TE S
R
AP LS
C EO
E
H
PL O
The first approach to designing discrete-time control systems for continuous-time plants
SA NE
Consider the general configuration shown in Figure 5(a) where it is desired to design a
U
S
TE S
R
AP LS
C EO
E
H
f (k ) = (k )
SA NE
f 0 (t ) = u (t ) u (t T )
U
or
1 e sT
F ( s) =
0
s
where T is the sampling interval. Then
1 e sT
Y ( s ) = F 0 ( s)Gp ( s ) = Gp ( s ) (2)
s
and therefore
1 e sT
Gp ( z ) = Z Gp ( s ) (3)
s
S
TE S
R
AP LS
C EO
E
H
PL O
As a numerical example, suppose that the continuous-time transfer function of the plant
is given by
SA NE
4
Gp ( s) =
s( s + 2)
1 e0.2 s 4 0.2 s 4
Y ( s ) = F ( s)Gp ( s ) =
0
s ( s + 2) = (1 e ) s 2 ( s + 2)
s
1 2 1
= (1 e0.2 s ) + 2 +
s s ( s + 2)
Using table 1, the discrete-time plant transfer function, for T = 0.2 , is determined using
equation (3) as:
Knowing Gp ( z ) , and returning to figure 5(b), the control system designer can now
proceed to specify the digital controller Gc ( z ) using classical design techniques to meet
the control system requirements. The classical approach to designing a digital controller
directly, which has many variations, parallels the classical approach to analog controller
design. We begin with simple discrete-time controllers, increasing their complexity
until the performance requirements can be met. Classical discrete-time control system
design is beyond our scope in this chapter and therefore will not be discussed.
S
TE S
plant models and their discrete counterparts are derived with the results being useful for
designing digital controllers for discrete-time systems.
R
-
- AP LS
C EO
-
Click here
PL O
M SC
Bibliography
strm K.J. and Wittenmark B. (1996). Computer Controlled Systems, 3rd edition. Prentice-Hall,
Englewood Cliffs, NJ, USA: [This text presents design methods and practical aspects of computer-
SA NE
controlled systems].
Franklin G.F., Powell J.D., and Workman M.L. (1997). Digital Control of Dynamic Systems, 3rd edition.
Addison-Wesley, Reading MA, USA: [This leading text presents up to date material on both classical and
U
Systems, The Control Handbook, CRC Press, Florida, USA: [This chapter provides in-depth discussions
on equivalence relationships between continuous-time and digital implementations].
Santina M.S., Stubberud A.R., and Hostetter G.H. (1994). Digital Control System Design, 2nd edition.
Oxford University Press, New York, USA: [This leading, text features comprehensive treatment of digital
control design methods, pole placement, Luenberger observer design, quadratic optimal control and
Kalman filter].
Biographical Sketches
Mohammed S. Santina is a recognized expert on advanced control systems with extensive experience in
the design and development of satellite control systems for aerospace applications. He received the B.S.
and M.S. degrees from California State University, Long Beach (CSULB) and the Ph.D. from the
University of California, Irvine (UCI), in 1978, 1981, and 1987, respectively, all in Electrical
Engineering. He was with Rockwell International from 1981 to 1992, and with the Aerospace
Corporation from1992 to 1996. Since 1996, he has been with the Boeing Company where is currently a
Senior Technical Fellow facilitating the integration of attitude control systems technologies for several
S
TE S
Boeing programs. He has also taught graduate and undergraduate level courses on control systems and
estimation theory for over 22 years at the University of California, Irvine and California State University,
R
AP LS
Long Beach. He is a co-author of the Digital Control System Design textbook published by Oxford
University Press, New York, 1994. He is also the author or co-author of more than forty papers in leading
journals including the 5 chapters in the popular Control Handbook, CRC Press, Florida, 1996, and the
chapter in the Wiley Encyclopedia of Electrical and Electronics Engineering, John Wiley & Sons, Inc.,
C EO
New York, 1999. His current research interests include time optimal and nonlinear control of agile
spacecrafts, and modal estimation and identification of flexible spacecrafts.
highest honors) and the M.S. and Ph.D. in Engineering from the University of California, Los Angeles
H
(UCLA), in 1958 and 1962, respectively. From 1962 to 1969 he served on the faculty at UCLA as an
PL O
Assistant/Associate Professor of Electrical Engineering. He has been on the faculty at UCI since 1969.
From 1972 to 1996 he has held a number of administrative positions at UCI including the Dean of
Engineering, Associate Dean of Engineering and Chairman of the Electrical and Computer Engineering
M SC
Department. From 1987 to 1988, Professor Stubberud served as the Division Director of the National
Science Foundation. He also held the position of Chief Scientist, US Air Force from 1983 to 1985.
Professor Stubberud has consulted for a number of organizations, including Jet Propulsion Laboratory,
McDonnell-Douglas Corp., ORINCON Corporation, US Air Force, Interstate Electronics and Point
SA NE
Research Corporation. He is author or co-author of more than 200 articles and several textbooks on
estimation and control.
Dr. Stubberud has received many honors and awards in recognition of his contributions to the controls
U
and signal processing fields. He is a Fellow of the Institute of Electrical and Electronics Engineers
(IEEE), American Institute of Aeronautics and Astronautics (AIAA), American Association for the
Advancement of Science (AAAS), and New York Academy of Sciences (NYAS). Dr. Stubberud is the
Recipient of the IEEE Centennial medal, IEEE Millennium Medal, and the US Air Force Exceptional
Civilian Service Decoration (2 times). He is a member of the North Atlantic Treaty Organization, RTO
Mission Systems Panel, and a member of the International Symposium on Circuits and Systems Advisory
Committee.