






















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!























Control is used to modify the behavior of a system so it behaves in a specific desirable way over time. For example, we may want the speed of a car on the highway to remain as close as possible to 60 miles per hour in spite of possible hills or adverse wind; or we may want an aircraft to follow a desired altitude, heading, and velocity profile independent of wind gusts; or we may want the temperature and pressure in a reactor vessel in a chemical process plant to be maintained at desired levels. All these are being accomplished today by control methods and the above are examples of what automatic control systems are designed to do, without human intervention. Control is used whenever quantities such as speed, altitude, temperature, or voltage must be made to behave in some desirable way over time. This section provides an introduction to control system design methods. P.A., Z.G.
In This Section:
CHAPTER 19.1 CONTROL SYSTEM DESIGN 19. INTRODUCTION 19. Proportional-Integral-Derivative Control 19. The Role of Control Theory 19. MATHEMATICAL DESCRIPTIONS 19. Linear Differential Equations 19. State Variable Descriptions 19. Transfer Functions 19. Frequency Response 19. ANALYSIS OF DYNAMICAL BEHAVIOR 19. System Response, Modes and Stability 19. Response of First and Second Order Systems 19. Transient Response Performance Specifications for a Second Order Underdamped System 19. Effect of Additional Poles and Zeros 19. CLASSICAL CONTROL DESIGN METHODS 19. Design Specifications and Constraints 19. Control Design Strategy Overview 19. Evaluation of Control System 19. Digital Implementation 19. ALTERNATIVE DESIGN METHODS 19. Nonlinear PID 19. State Feedback and Observer Based-Design 19.
The Electronics Engineers' Handbook, 5th Edition McGraw-Hill, Section 19, pp. 19.1-19.30, 2005.
ADVANCED ANALYSIS AND DESIGN TECHNIQUES 19. APPENDIX: OPEN AND CLOSED LOOP STABILIZATION 19. REFERENCES 19.
On the CD-ROM:
“A Brief Review of the Laplace Transform,” by the authors of this section, examines its use fulness in control Functions.
19.
The Role of Control Theory
To design a controller that makes a system behave in a desirable manner, we need a way to predict the behav- ior of the quantities of interest over time, specifically how they change in response to different inputs. Mathematical models are most oftenly used to predict future behavior, and control system design methodolo- gies are based on such models. Understanding control theory requires engineers to be well versed in basic mathematical concepts and skills, such as solving differential equations and using Laplace transform. The role of control theory is to help us gain insight on how and why feedback control systems work and how to sys- tematically deal with various design and analysis issues. Specifically, the following issues are of both practi- cal importance and theoretical interest:
1. Stability and stability margins of closed-loop systems. 2. How fast and smooth the error between the output and the set point is driven to zero. 3. How well the control system handles unexpected external disturbances, sensor noises, and internal dynamic changes.
In the following, modeling and analysis are first introduced, followed by an overview of the classical design methods for single-input single-output plants, design evaluation methods, and implementation issues. Alternative design methods are then briefly presented. Finally, For the sake of simplicity and brevity, the dis- cussion is restricted to linear, time invariant systems. Results maybe found in the literature for the cases of lin- ear, time-varying systems, and also for nonlinear systems, systems with delays, systems described by partial differential equations, and so on; these results, however, tend to be more restricted and case dependent.
Mathematical models of physical processes are the foundations of control theory. The existing analysis and synthesis tools are all based on certain types of mathematical descriptions of the systems to be controlled, also called plants. Most require that the plants are linear, causal, and time invariant. Three different mathematical models for such plants, namely, linear ordinary differential equation, state variable or state space description, and transfer function are introduced below.
Linear Differential Equations
In control system design the most common mathematical models of the behavior of interest are, in the time domain, linear ordinary differential equations with constant coefficients, and in the frequency or transform domain, transfer functions obtained from time domain descriptions via Laplace transforms. Mathematical models of dynamic processes are often derived using physical laws such as Newton’s and Kirchhoff’s. As an example consider first a simple mechanical system, a spring/mass/damper. It consists of a weight m on a spring with spring constant k , its motion damped by friction with coefficient f (Fig. 19.1.2).
19.4 CONTROL SYSTEMS
FIGURE 19.1.1 Feedback control configuration with cruise control as an example.
CONTROL SYSTEM DESIGN 19.
If y ( t ) is the displacement from the resting position and u ( t ) is the force applied, it can be shown using Newton’s law that the motion is described by the following linear, ordinary differential equation with constant coefficients:
where with initial conditions
Note that in the next subsection the trajectory y ( t ) is determined, in terms of the system parameters, the initial conditions, and the applied input force u ( t ), using a methodology based on Laplace transform. The Laplace transform is briefly reviewed in Appendix A. For a second example consider an electric RLC circuit with i ( t ) the input current of a current source, and v ( t ) the output voltage across a load resistance R. (Fig. 19.1.3) Using Kirchhoff’s laws one may derive:
which describes the dependence of the output voltage v ( t ) to the input current i ( t ). Given i ( t ) for t ≥ 0, the ini- tial values v (0) and (0) must also be given to uniquely define v ( t ) for t ≥ 0. It is important to note the similarity between the two differential equations that describe the behavior of a mechanical and an electrical system, respectively. Although the interpretation of the variables is completely differ- ent, their relations described by the same linear, second-order differential equation with constant coefficients. This fact is well understood and leads to the study of mechanical, thermal, fluid systems via convenient electric circuits.
State Variable Descriptions
Instead of working with many different types of higher-order differential equations that describe the behavior of the system, it is possible to work with an equivalent set of standardized first-order vector differential equations that can be derived in a systematic way. To illustrate, consider the spring/mass/damper example. Let x 1 ( t ) = y ( t ), x 2 ( t ) = ( t ) be new variables, called state variables. Then the system is equivalently described by the equations
x t x t x t
f m
x t
k m
x t m 1 2 2 2 1 u
and − + (( ) t
y^ ˙
v^ ˙
˙˙( ) v t R ˙( ) ( ) ( ) L
v t LC
v t
y t y y
dy t dt
dy dt
( ) (^) t ( ) (^) t y
and 0 yy 1
y t ˙( ) = dy t ( ) dt
∆ /
˙˙( ) y t ˙( ) ( ) ( ) f m
y t
k m
y t m
FIGURE 19.1.2 Spring, mass, and damper system. FIGURE 19.1.3 RLC circuit.
are related by , and where P is a square and nonsingular matrix. Note that state variables can represent physical quantities that may be measured, for instance, x 1 = vc voltage, x 2 = iL current in the above example; or they can be mathematical quantities, which may not have direct phys- ical interpretation.
Linearization. The linear models studied here are very useful not only because they describe linear dynamical processes, but also because they can be approximations of nonlinear dynamical processes in the neighborhood of an operating point. The idea in linear approximations of nonlinear dynamics is analogous to using Taylor series approximations of functions to extract a linear approximation. A simple example is that of a simple pendulum sin x 1 , where for small excursions from the equilibrium at zero, sin x 1 is approximately equal to x 1 and the equations become lin- ear, namely,
Transfer Functions
The transfer function of a linear, time-invariant system is the ratio of the Laplace transform of the output Y ( s ) to the Laplace transform of the corresponding input U ( s ) with all initial conditions assumed to be zero (Fig. 19.1.4).
From Differential Equations to Transfer Functions. Let the equation
with some initial conditions
describe a process of interest, for example, a spring/mass/damper system; see previous subsection. Taking Laplace transform of both sides we obtain
where Y ( s ) = L { y ( t )} and U ( s ) = L { u ( t )}. Combining terms and solving with respect to Y ( s ) we obtain:
Assuming the initial conditions are zero,
where G ( s ) is the transfer function of the system defined above. We are concerned with transfer functions G ( s ) that are rational functions, that is, ratios of polynomials in s, G ( s ) = n ( s )/ d ( s ). We are interested in proper G ( s ) where lim G ( s ) < ∞. Proper G ( s ) have degree n ( s ) ≤ degree d ( s ). a →∞
Y s U s G s
b s a s a
1 0
Y s
b s a s a
U s
s a y y s a s
0 2 1 0
1 2 1
++ a 0
[ s y s^2 ( ) − sy ( ) 0 − y ( )] 0 + a (^) 1 [ sY s ( ) − y ( )] 0 + a Y s 0 ( )= bb U s 0 ( )
y t y
dy t dt
dy dt
( ) (^) t ( ) (^) t y
and 0
d y t dt
a
dy t dt
a y t b u t
2 2 1 0 0
x^ ˙ 1 (^) = x (^) 2 , ˙ x^ (^) 2 = − kx 1.
x^ ˙ 1 (^) = x (^) 2 , ˙ x (^) 2 = − k
A = PAP −^1 , B = PB C , = CP −^1 , D = D^ x^ = Px
CONTROL SYSTEM DESIGN 19.
FIGURE 19.1.4 The transfer function model.
In most cases degree n ( s ) < degree d ( s ), which case G ( s ) is called strictly proper. Consider the transfer function
Note that the system described by this G ( s ) ( Y ( s ) = G ( s ) U ( s )) is described in the time domain by the following differential equation:
y ( n )( t ) + an − 1 y ( n −1)( t ) + … + a 1 y (1)( t ) + a 0 y ( t ) = bmu ( m )( t ) + … + b 1 u (1)( t ) + b 0 u ( t )
where y ( n )( t ) denotes the n th derivative of y ( t ) with respect to time t. Taking Laplace transform of both sides of this differential equation, assuming that all initial conditions are zero, one obtains the above transfer function G ( s ).
From State Space Descriptions to Transfer Functions. Consider with x (0) initial conditions; x ( t ) is in general an n -tuple, that is a (column) vector with n elements. Taking Laplace transform of both sides of the state equation: sX ( s ) – x (0) = AX ( s ) + BU ( s ) or ( sI (^) n – A ) X ( s ) = BU ( s ) + x (0)
where In is the n × n identity matrix; it has 1 on all diagonal elements and 0 everywhere else, e.g.,
Then
X ( s ) = ( sIn − A )−^1 BU ( s ) + ( sIn − A )−^1 x (0)
Taking now Laplace transform on both sides of the output equation we obtain Y ( s ) = CX ( s ) + DU ( s ). Substituting we obtain, Y ( s ) = [ C ( sIn − A )−^1 B + D ] U ( s ) + C ( sI − A )−^1 x (0)
The response y ( t ) is the inverse Laplace of Y ( s ). Note that the second term on the right-hand side of the expres- sion depends on x (0) and it is zero when the initial conditions are zero, i.e., when x (0) = 0. The first term describes the dependence of Y on U and it is not difficult to see that the transfer function G ( s ) of the systems is
G ( s ) = C ( sI (^) n − A )−^1 B + D
Example Consider the spring/mass/damper example discussed previously with state variable description If m = 1, f = 3, k = 2, then
and its transfer function G ( s ) ( Y ( s ) = G ( s ) U ( s )) is
as before.
G s C sI A B
s s
− 2
− 1 0 1
s s (^)
− 1
2
s s
s s
s^2 3 s 2
x^ ˙^ = Ax + Bu y , = Cx.
x t^ ˙( ) = Ax t ( ) + Bu t ( ), y t ( ) = Cx t ( ) + Du t ( )
G s
b s b s b s b s a s a
m
m m
m n n
( ) = (^) n
−
−
−
−
1
1 1 0 1
1 1 ss^ a^
m n
0
with
19.8 CONTROL SYSTEMS
(BIBO) stable. Under these conditions the frequency response G ( jw ) has a clear physical meaning, and this fact can be used to determine G ( jw ) experimentally. In particular, it can be shown that if the input u ( t ) = k sin ( wot ) is applied to a system with a stable transfer function G ( s ) ( Y ( s ) = G ( s ) U ( s )), then the output y ( t ) at steady state (after all transients have died out) is given by
yss ( t ) = k | G ( wo )| sin [ wo t + q ( wq )]
where | G ( wo )| denotes the magnitude of G ( jwo ) and q ( wo ) = arg G ( jwo ) is the argument or phase of the complex quan- tity G ( jwo ). Applying sinusoidal inputs with different fre- quencies wo and measuring the magnitude and phase of the output at steady state, it is possible to determine the full frequency response of the system G ( jwo ) = | G ( wo )| e jq ( wo ).
System Response, Modes and Stability
It was shown above how the response of a system to an input and under some given initial conditions can be cal- culated from its differential equation description using Laplace transforms. Specifically, y ( t ) = L −^1 { Y ( s )} where
with n ( s )/ d ( s ) = G ( s ), the system transfer function; the numerator m ( s ) of the second term depends on the ini- tial conditions and it is zero when all initial conditions are zero, i.e., when the system is initially at rest. In view now of the partial fraction expansion rules, see Appendix A , Y ( s ) can be written as follows:
This expression shows real poles of G ( s ), namely, p 1 , p 2 , … , and it allows for multiple poles p (^) i ; it also shows complex conjugate poles a ± jb written as second-order terms. I ( s ) denotes the terms due to the input U ( s ); they are fractions with poles the poles of U ( s ). Note that if G ( s ) and U ( s ) have common poles they are com- bined to form multiple-pole terms. Taking now the inverse Laplace transform of Y ( s ):
where i ( t ) depends on the input. Note that the terms of the form ctk^ epit^ are the modes of the system. The sys- tem behavior is the aggregate of the behaviors of the modes. Each mode depends primarily on the location of the pole pi ; the location of the zeros affects the size of its coefficient c. If the input u ( t ) is a bounded signal , i.e., | u ( t )| < ∞ for all t , then all the poles of I ( s ) have real parts that are negative or zero, and this implies that I ( t ) is also bounded for all t. In that case, the response y ( t ) of the system will also be bounded for any bounded u ( t ) if and only if all the poles of G ( s ) have strictly negative real parts. Note that poles of G ( s ) with real parts equal to zero are not allowed, since if U ( s ) also has poles at the same locations, y ( t ) will be unbounded. Take, for example, G ( s ) = 1/ s and consider the bounded step input U ( s ) = 1/ s ; the response y ( t ) = t , which is not bounded. Having all the poles of G ( s ) located in the open left half of the s -plane is very desirable and it corre- sponds to the system being stable. In fact, a system is bounded-input, bounded-output (BIBO) stable if and only if all poles of its transfer function have negative real parts. If at least one of the poles has positive
y t ( ) = L −^1 { ( )} Y s = c e 1 p t^1 + L + c ei 1 p ti^ + ⋅( ) te p ti^ + L + e at [( )sin⋅ bt + ⋅( )cos bt ] + L+ i t ( )
Y s
c s p
c s p
c s p
b s b s a s a
i I s i
i i
1
1 2 2
1 0 2 1 0
Y s
n s d s
U s
m s d s
19.10 CONTROL SYSTEMS
FIGURE 19.1.5 Complex conjugate poles of G ( s ).
real part, then the system in unstable. If a pole has zero real part, then the term marginally stable is some- times used. Note that in a BIBO stable system if there is no forcing input, but only initial conditions are allowed to excite the system, then y ( t ) will go to zero as t goes to infinity. This is a very desirable property for a system to have, because nonzero initial conditions always exist in most real systems. For example, disturbances such as interfer- ence may add charge to a capacitor in an electric circuit, or a sudden brief gust of wind may change the heading of an aircraft. In a stable system the effect of the disturbances will diminish and the system will return to its pre- vious desirable operating condition. For these reasons a control system should first and foremost be guaranteed to be stable, that is, it should always have poles with negative real parts. There are a many design methods to sta- bilize a system or if it is initially stable to preserve its stability, and several are discussed later in this section.
Response of First and Second Order Systems
Consider a system described by a first-order differential equation, namely, and let y (0) = 0 In view of the previous subsection, the transfer function of the system is
and the response to a unit step input q ( t ) ( q ( t ) = 1 for t ≥ 0, q ( t ) = 0 for t < 0) may be found as follows:
Note that the pole of the system is p = − a 0 (in Fig. 19.1.6 we have assumed that a 0 > 0). As that pole moves to the left on the real axis, i.e., as a 0 becomes larger, the system becomes faster. This can be seen from the fact that the steady state value of the system response
is approached by the trajectory of y ( t ) faster, as a 0 becomes larger. To see this, note that the value 1 − e −^1 is attained at time t = 1/ a 0 , which is smaller as a 0 becomes larger. t is the time constant of this first-order system; see below for further discussion of the time constant of a system. We now derive the response of a second-order system to a unit step input (Fig. 19.1.7). Consider a system described by , which gives rise to the transfer function:
Notice that the steady-state value of the response to a unit step is
note that this normalization or scaling to 1 is in fact the reason for selecting the constant numerator to be a 0. G ( s ) above does not have any finite zeros—only poles—as we want to study first the effect of the poles on the system behavior. We shall discuss the effect of adding a zero or an extra pole later.
y sG s ss (^) s s
→
lim ( ) 0
G s
a s a s a
0 2 1 0
˙˙( ) y t + a y t 1 ˙( ) + a y t 0 ( ) = a u t 0 ( )
y (^) ss y t t
→∞
lim ( ) 1
y t L Y s L G s U s L
a s a s
− 1 − 1 − 1 0 0
s s a
1 0
1 ee − a t^0 ] ( ) q t
G s
a s a
0 0
˙( ) y t + a y t 0 ( ) = a u t 0 ( )
CONTROL SYSTEM DESIGN 19.
FIGURE 19.1.6 Pole location of a first-order system.
Time Constant of a Mode and of a System. The time constant of a mode cept^ of a system is the time value that makes | pt | = 1, i.e., t = 1/| p |. For example, in the above fist-order system we have seen that t = 1/ a 0 = RC. A pair of complex conjugate poles p (^) 1,2 = s ± jw give rise to the term of the form Cest sin ( wt + q ). In this case, t = 1 /| s |, i.e., t is again the inverse of the distance of the pole from the imaginary axis. The time constant of a system is the time constant of its dominant modes.
Transient Response Performance Specifications for a Second-Order Underdamped System
For the system
and a unit step input, explicit formulas for important measures of performance of its transient response can be derived. Note that the steady state is
The rise time tr shows how long it takes for the system’s output to rise from 0 to 66 percent of its final value (equal to 1 here) and it can be shown to be where q = cos–1^ z and wd = wn. The set- tling time ts is the time required for the output to settle within some percentage, typically 2 percent or 5 percent, of its final value. is the 2 percent settling time ( is the 5 percent settling time). Before the underdamped system settles, it will overshoot its final value. The peak time tp measures the time it takes for the output to reach its first (and highest) peak value. M (^) p measures the actual overshoot that occurs in percentage terms of the final value. Mp occurs at time tp , which is the time of the first and largest overshoot.
It is important to notice that the overshoot depends only on z. Typically, tolerable overshoot values are between 2.5 percent and 25 percent, which correspond to damping ratio z between 0.8 and 0.4.
t (^) p M e d
= (^) p =
π − − ω
, 100 ζπ^ /^1 ζ^2 %
t (^) s ≅ 4 / ζω n t (^) s ≅ 3 / ζω n
t (^) r = ( π −θ)/ ω n , L −ζ 2
y sG s ss (^) s s
→
lim ( ) 0
G s s s
n n n
ω ζω ω
2 2 2 2
CONTROL SYSTEM DESIGN 19.
FIGURE 19.1.8 Relation between pole location and parameters.
Effect of Additional Poles and Zeros
The addition of an extra pole in the left-half s -plane (LHP) tends to slow the system down—the rise time of the system, for example, will become larger. When the pole is far to the left of the imaginary axis, its effect tends to be small. The effect becomes more pronounced as the pole moves toward the imaginary axis. The addition of a zero in the LHP has the opposite effect, as it tends to speed the system up. Again the effect of a zero far away to the left of the imaginary axis tends to be small. It becomes more pronounced as the zero moves closer to the imaginary axis. The addition of a zero in the right-half s -plane (RHP) has a delaying effect much more severe than the addition of a LHP pole. In fact a RHP zero causes the response (say, to a step input) to start toward the wrong direction. It will move down first and become negative, for example, before it becomes positive again and starts toward its steady-state value. Systems with RHP zeros are called nonminimum phase systems (for rea- sons that will become clearer after the discussion of the frequency design methods) and are typically difficult to control. Systems with only LHP poles (stable) and LHP zeros are called minimum phase systems.
In this section, we focus on the problem of controlling a single-input and single-output (SISO) LTI plant. It is understood from the above sections that such a plant can be represented by a transfer function Gp ( s ). The closed-loop system is shown in Fig. 19.1.9. The goal of feedback control is to make the output of the plant, y , follow the reference input r as closely as possible. Classical design methods are those used to determine the controller transfer function Gc ( s ) so that the closed-loop system, represented by the transfer function:
has desired characteristics.
Design Specifications and Constraints
The design specifications are typically described in terms of step response, i.e., r is the set point described as a step-like function. These specifications are given in terms of transient response and steady-state error, assum- ing the feedback control system is stable. The transient response is characterized by the rise time, i.e., the time it takes for the output to reach 66 percent of its final value, the settling time, i.e., the time it takes for the out- put to settle within 2 percent of its final value, and the percent overshoot, which is how much the output exceeds the set-point r percentagewise during the period that y converges to r. The steady-state error refers to the difference, if any, between y and r as y reaches its steady-state value. There are many constraints a control designer has to deal with in practice, as shown in Fig. 19.1.10. They can be described as follows:
1. Actuator Saturation : The input u to the plant is physically limited to a certain range, beyond which it “sat- urates,” i.e., becomes a constant. 2. Disturbance Rejection and Sensor Noise Reduction : There are always disturbances and sensor noises in the plant to be dealt with.
G s
G s G s CL G s G s
c p c p
19.14 CONTROL SYSTEMS
FIGURE 19.1.9 Feedback control configuration.
4. Root Locus Method : A significant portion of most current control textbooks is devoted to the question of how to place the poles of the closed-loop system in Fig.19.1.9 at desired locations, assuming we know where they are. Root locus is a graphical technique to manipulate the closed-loop poles given the open-loop transfer func- tion. This technique is most effective if disturbance rejection, plant dynamical variations, and sensor noise are not to be considered. This is because these properties cannot be easily linked to closed loop pole locations. 5. Loop-Shaping Method : Loop-shaping [5] refers to the manipulation of the loop gain frequency response, L ( jw ) = G (^) p ( jw ) Gc ( jw ), as a control design tool. It is the only existing design method that can bring most of design specifications and constraints, as discussed above, under one umbrella and systematically find a solution. This makes it a very useful tool in understanding, diagnosing, and solving practical control prob- lems. The loop-shaping process consists of two steps: a****. Convert all design specifications to loop gain constraints, as shown in Fig.19.1.12. b****. Find a controller Gc ( s ) to meet the specifications. Loop-shaping as a concept and a design tool helped the practicing engineers greatly in improving the PID loop performance and stability margins. For example, a PID implemented as a lead-lag compensator is com- monly seen in industry today. This is where the classical control theory provides the mathematical and design insights on why and how feedback control works. It has also laid the foundation for modern control theory.
Example Consider a motion control system as shown in Fig. 19.1.13 below. It consists of a digital controller, a dc motor drive (motor and power amplifier), and a load of 235 lb that is to be moved linearly by 12 in. in 0.3 s with an accuracy of 1 percent or better. A belt and pulley mechanism is used to convert the motor rotation a linear motion. Here a servo motor is used to drive the load to perform a linear motion. The motor is coupled with the load through a pulley. The design process involves:
1. Selection of components including motor, power amplifier, the belt-and-pulley, the feedback devices (position sensor and/or speed sensor) 2. Modeling of the plant 3. Control design and simulation 4. Implementation and tuning
19.16 CONTROL SYSTEMS
FIGURE 19.1.12 Loop-shaping.
motor
load
pulley
FIGURE 19.1.13 A Digital servo control design example.
The first step results in a system with the following parameters:
1. Electrical: - Winding resistance and inductance: Ra = 0.4 mho La = 8 mH (the transfer function of armature voltage to current is (1/ Ra )/[( La / Ra ) s + 1] - back emf constant: K (^) E = 1.49 V /(rad/s) - power amplifier gain: K (^) pa = 80 - current feedback gain: K (^) cf = 0.075 V/A 2. Mechanical: - Torque constant: K (^) t = 13.2 in-lb/A - Motor inertia Jm = .05 lb-in.s 2 - Pulley radius Rp = 1.25 in. - Load weight: W = 235 lb (including the assembly) - Total inertia Jt = Jm + Jl =0.05 + ( W / g ) Rp^2 = 1.0 lb-in.s 2 With the maximum armature current set at 100 A, the maximum Torque = KtIa ,max = 13.2 × 100 = 1320 in.-lb; the maximum angular acceleration = 1320/ Jt = 1320 rad/s^2 , and the maximum linear acceleration = 1320 × Rp = 1650 in./s^2 = 4.27 g’s (1650/386). As it turned out, they are sufficient for this application. The second step produces a simulation model (Fig. 19.1.14). A simplified transfer function of the plant, from the control input, vc (in volts), to the linear position output, x out (in inches), is
An open loop controller is not suitable here because it cannot handle the torque disturbances and the inertia change in the load. Now consider the feedback control scheme in Fig. 19.1.9 with a constant con- troller, u = ke. The root locus plot in Fig. 19.1.15 indicates that, even at a high gain, the real part of the closed- loop poles does not exceed −1.5, which corresponds to a settling time of about 2.7 s. This is far slower than desired. In order to make the system respond faster, the closed-loop poles must be moved further away from the jw axis. In particular, a settling time of 0.3 s or less corresponds to the closed-loop poles with real parts smaller than −13.3. This is achieved by using a PD controller of the form
Gc ( s ) = K ( s + 3); K ≥ 13.3 / 206
will result in a settling time of less than 0.3 s. The above PD design is a simple solution in servo design that is commonly used. There are several issues, however, that cannot be completely resolved in this framework:
1. Low-frequency torque disturbance induces steady-state error that affects the accuracy. 2. The presence of a resonant mode within or close to the bandwidth of the servo loop may create undesirable vibrations. 3. Sensor noise may cause the control signal to be very noisy. 4. The change in the dynamics of the plant, for example, the inertia of the load, may require frequency tweak- ing of the controller parameters. 5. The step-like set point change results in an initial surge in the control signal and could shorten the life span of the motor and other mechanical parts.
These are problems that most control textbook do not adequately address, but they are of significant impor- tance in practice. The first three problems can be tackled using the loop-shaping design technique introduced above. The tuning problem is an industrywide design issue and the focus of various research and development efforts. The last problem is addressed by employing a smooth transient as the set point, instead of a step-like set-point. This is known as the “motion profile” is industry.
G s s s p ( )^ ( )
CONTROL SYSTEM DESIGN 19.
Evaluation of Control Systems
Analysis of control system provides crucial insights to control practitioners on why and how feedback control works. Although the use of PID precedes the birth of classical control theory of the 1950s by at least two decades, it is the latter that established the control engineering discipline. The core of classical control theory are the frequency-response-based analysis techniques, namely, Bode and Nyquist plots, stability margins, and so forth. In particular, by examining the loop gain frequency response of the system in Fig. 19.1.9, that is, L ( jw ) = Gc ( jw ) Gp ( jw ), and the sensitivity function 1/[1 + L ( jw )], one can determine the following:
1. How fast the control system responds to the command or disturbance input (i.e., the bandwidth). 2. Whether the closed-loop system is stable (Nyquist Stability Theorem); If it is stable, how much dynamic variation it takes to make the system unstable (in terms of the gain and phase change in the plant). It leads to the definition of gain and phase margins. More broadly, it defines how robust the control system is. 3. How sensitive the performance (or closed-loop transfer function) is to the changes in the parameters of the plant transfer function (described by the sensitivity function). 4. The frequency range and the amount of attenuation for the input and output disturbances shown in Fig. 19.1. (again described by the sensitivity function).
Evidently, these characteristics obtained via frequency-response analysis are invaluable to control engi- neers. The efforts to improve these characteristics led to the lead-lag compensator design and, eventually, loop- shaping technique described above.
Example: The PD controller in Fig. 19.1.10 is known to the sensitive to sensor noises. A practical cure to this problem is: add a low pass filter to the controller to attenuate high-frequency noises, that is,
G s
s s
c ( )^
2
CONTROL SYSTEM DESIGN 19.
FIGURE 19.1.15 Root locus plot of the servo design problem.
The loop gain transfer function is now
The bandwidth of the low pass filter is chosen to be one decade higher than the loop gain bandwidth to main- tain proper gain and phase margins. The Bode plot of the new loop gain, as shown in Fig. 19.1.16, indicates that (a) the feedback system has a bandwidth 13.2 rad/s, which corresponds to a 0.3 s settling time as specified and (b) this design has adequate stability margins (gain margin is 26 dB and phase margin is 79°).
Digital Implementation
Once the controller is designed and simulated successfully, the next step is to digitize it so that it can be pro- grammed into the processor in the digital control hardware. To do this:
1. Determine the sampling period T (^) s and the number of bits used in analog-to-digital converter (ADC) and digital-to-analog converter (DAC). 2. Convert the continuous time transfer function Gc ( s ) to its corresponding form in discrete time transfer func- tion Gcd ( z ) using, for example, the Tustin’s method, s = (1/ T )( z − 1)/( z + 1). 3. From Gcd ( z ), derive the difference equation, u ( k ) = g ( u ( k − 1), u ( k − 2),... y ( k ), y ( k – 1),.. .), where g is a linear algebraic function.
After the conversion, the sampled data system, with the plant running in continuous time and the controller in discrete time, should be verified in simulation first before the actual implementation. The quantization error and sensor noise should also be included to make it realistic. The minimum sampling frequency required for a given control system design has not been established ana- lytically. The rule of thumb given in control textbooks is that fs = 1/ Ts should be chosen approximately 30 to 60 times the bandwidth of the closed-loop system. Lower-sampling frequency is possible after careful tuning but the aliasing, or signal distortion, will occur when the data to be sampled have significant energy above the
L s G s G s s s
( ) = (^) p ( ) c = +
2
19.20 CONTROL SYSTEMS
FIGURE 19.1.16 Bode plot evaluation of the control design.