5. Continuous time control systems: SISO#
5.1. Introduction#
This chapter presents basic information on control systems. Our discussions are limited to time-domain analysis and design based on the transient-response analysis and root-locus analysis. We begin the chapter by defining some terms that are essential in describing control systems; we then follow with a description of closed-loop and open-loop control systems. Finally, the advantages and disadvantages of closed-loop and open-loop control systems are compared.
Plants
A plant is a piece of equipment-perhaps a set of machine parts functioning together-the purpose of which is to perform a particular operation. In this course, we shall call any physical object that is to be controlled a plant.
Disturbances
A disturbance is a signal that tends to affect the value of the output of a system adversely. If the disturbance is generated within the system, it is called internal; an external disturbance is generated outside the system and is an input.
Feedback control
Feedback control refers to an operation that, in the presence of disturbances, tends to reduce the difference between the output of a system and the reference input and that does so on the basis of this difference. Here, only unpredictable disturbances are so specified, since predictable or known disturbances can always be compensated for within the system.
Feedback control systems
A system that maintains a prescribed relationship between the output and the reference input by comparing them and using the difference as a means of control is called a feedback control system or simply a control system. An example is a room temperature control system. By measuring the actual room temperature and comparing it with the reference temperature (the desired temperature), the thermostat turns the heating or cooling equipment on or off in such a way as to ensure that the temperature of the room remains at a comfortable level, regardless of outside conditions.
Feedback control systems, of course, are not limited to engineering, but can be found in various nonengineering fields as well. An example, consider the control of automobile speed by a human operator. For a given situation, the driver decides on an appropriate speed, which may be the posted speed limit on the road or highway involved. This speed acts as the reference speed. The driver observes the actual speed by looking at the speedometer. If he or she is traveling too slowly, the driver depresses the accelerator and the car speeds up. If the actual speed is too high, the driver releases the pressure on the accelerator and the car slows down. This is is a feedback control system with a human operator. The human operator here can easily be replaced by a mechanical, an electrical, or some similar device. Instead of the driver observing the speedometer, an electric generator can be used to produce a voltage that is proportional to the speed. This voltage can be compared with a reference voltage that corresponds to the desired speed. The difference in the voltages can then be used as the error signal to position the throttle to increase or decrease the speed as needed.
Closed-loop control systems
Feedback control systems are often referred to as closed-loop control systems. In practice, the terms feedback control and closed-loop control are used interchangeably. In a closed-loop control system, the actuating error signal, which is the difference between the input signal and the feedback signal (which may be the output signal itself or a function of the output signal and its derivatives), is fed to the controller so as to reduce the error and bring the output of the system to a desired value. The term closed-loop control always implies the use of feedback control action in order to reduce system error.
Open-loop control systems
Those control systems in which the output has no effect on the control action are called open-loop control systems. In other words, in an open-loop control system, the output is neither measured nor fed back for comparison with the input. One practical example is a washing machine. Soaking, washing, and rinsing in the washer operate on a time basis. The machine does not measure the output signal, that is, the cleanliness of the clothes. In an open-loop control system, the output is not compared with the reference input. Thus, to each reference input, there corresponds a fixed operating condition, and as a result, the accuracy of the system depends on calibration. In the presence of disturbances, an open-loop control system will not perform the desired task. Open-loop control can be used, in practice, only if the relationship between the input and output is known and if there are neither internal nor external disturbances. Clearly, such systems are not feedback control systems.
Closed-loop versus open-loop control systems
An advantage of the closed-loop control system is the fact that the use of feedback makes the system response relatively insensitive to external disturbances and internal variations in system parameters. It is thus possible to use relatively inaccurate and inexpensive components to obtain accurate control of a given plant, whereas doing so is impossible in the open-loop case. From the point of view of stability, the open-loop control system is easier to build, because system stability is not a major problem. By contrast, stability is a major problem in the closed-loop control system, which may tend to overcorrect errors that can cause oscillations of constant or changing amplitude.
General requirements of control systems
A primary requirement of any control system is that it must’ be stable. In addition to absolute stability, a control system must have a reasonable relative stability; that is, the response must show reasonable damping. Moreover, the speed of response must be reasonably fast. A control system must also be capable of reducing errors to zero or to some small tolerable value. Because the needs for reasonable relative stability and for steady-state accuracy tend to be incompatible, in designing control systems it is necessary to make the most effective compromise between the two.
5.2. Block diagrams#
A system may consist of a number of components. To show the functions performed by each component, block diagrams are frequently used in the analysis and design of control systems. This section first defines the open-loop transfer function, feedforward transfer function, and closed-loop transfer function. Finally, a progamming approach to obtaining transfer functions or state-space representations of series-connected systems, parallel-connected systems, and feedback-connected systems is presented.
5.2.1. Open-loop transfer function and feedforward transfer function#
Figure 1 shows the block diagram of a closed-loop system with a feedback element. The ratio of the feedback signal B(s) to the actuating error signal E(s) is called the open-loop transfer function. That is,
The ratio of the output C(s) to the actuating error signal E(s) is called the \(\textbf{feedforward transfer function}\)
If the feedback transfer function is unity, then the open-loop transfer function and the feedforward transfer function are the same.
5.2.2. Closed-loop transfer function#
For the system shown in Figure 1, the output C(s) and input R(s) are related as follows:
Eliminating E(s) from these equations gives
or
The transfer function relating C(s) to R(s) is called the closed-loop transfer function. This transfer function relates the closed-loop system dynamics to the dynamics of the feed forward elements and feedback elements.
|
|---|
Fig.1 - Closed loop control system. |
5.2.3. Using Python to obtain transfer functions#
A physical system may involve many interconnected blocks. In what follows, we shall consider series-connecled blocks, parallel-connected blocks, and feedback-connected blocks. Any linear, time-invariant system may be represented by combinations of series-connected blocks, parallel-connected blocks, and feedback-connected blocks.
Series-connected blocks
In the system shown in Figure 2, \(G_1\), and \(G_2\), are series connected. System \(G_1\), and system \(G_2\), are respectively defined by
from control import tf, TransferFunction
num1,num2 = [1 ,2,3],[4,5,6]
den1,den2 = [4,5,6,7],[8,9,10,11]
sys1=tf(num1,den1)
sys2=tf(num2,den2)
sys1=TransferFunction(num1,den1)
print("Sys1:",sys1)
sys2=TransferFunction(num2,den2)
print("Sys2",sys2)
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
Cell In[1], line 1
----> 1 from control import tf, TransferFunction
3 num1,num2 = [1 ,2,3],[4,5,6]
4 den1,den2 = [4,5,6,7],[8,9,10,11]
ModuleNotFoundError: No module named 'control'
|
|---|
Fig.2 - Series-connected blocks. |
provided that these two systems are themselves defined in terms of transfer functions. Then the series-connected system \(G_1\),\(G_2\), can be defned in Python by the series function:
from control import series
sys = series(sys1 ,sys2)
print(sys)
4 s^4 + 13 s^3 + 28 s^2 + 27 s + 18
----------------------------------------------------------
32 s^6 + 76 s^5 + 133 s^4 + 204 s^3 + 178 s^2 + 136 s + 77
Parallel-connected blocks
Figures 3 (a) and (b) show parallel-connected systems. In Figure 3(a) two systems \(G_1\), and \(G_2\), are added, while in Figure 3(b) system \(G_1\), is subtracted from system \(G_2\).The parallel-connected system \(G_1 + G_2\) is determined by the Python parallel function
|
|---|
Fig.3 - Paralllel-connected blocks. |
from control import parallel,tf, TransferFunction
num1,num2 = [1 ,2,3],[4,5,6]
den1,den2 = [4,5,6,7],[8,9,10,11]
sys1=tf(num1,den1)
sys2=tf(num2,den2)
sys = parallel(sys1,sys2)
print(sys)
24 s^5 + 65 s^4 + 125 s^3 + 146 s^2 + 123 s + 75
----------------------------------------------------------
32 s^6 + 76 s^5 + 133 s^4 + 204 s^3 + 178 s^2 + 136 s + 77
Feedback-connected blocks
Figure 4 (a) shows a negative feedback system, and Figure 4 (b) shows a positive feedback system.
|
|---|
Fig.4 - Feedback blocks. |
If G and H are defined in terms of transfer functions, then
from control import tf,feedback
numg = [5]
deng=[1,2,0]
sysg = tf(numg,deng)
numh = [0.1, 1]
denh=[1]
sysh = tf(numh,denh)
print(sysg,sysh)
5
---------
s^2 + 2 s
0.1 s + 1
---------
1
The closed loop transfer function of the feedback system shown in Figure 4a is
In python this close loop transfer function can be determined using the feedback function:
sys = feedback(sysg,sysh)
print(sys)
5
---------------
s^2 + 2.5 s + 5
5.3. Automatic controllers#
An automatic controller compares the actual value of the plant output with the desired value, determines the deviation. and produces a control signal that will reduce the deviation to zero or a small value. The way in which the automatic controller produces the control signal is called \(\textbf{ control action}\). Here, we describe the fundamental control actions commonly used in industrial automatic controllers. We then briefly discuss an electronic controller.
5.3.1. Control actions#
The control actions normally found in industrial automatic controllers consist of the following: two-position, or on-off; proportional; integral; derivative; and combinations of proportional, integral, and derivative. A good understanding of the basic properties of various control actions is necessary for the engineer to select the one best suited to his or her particular application.
5.3.2. Classifications of industrial automatic controllers#
Industrial automatic controllers can be classified according to their control action as follows:
Two-position, or on-off, controllers
Proportional controllers
Integral controllers
Proportional-plus-integral controllers
Proportional-plus-derivative controllers
Proportional-plus-integral-plus-derivative controllers
5.3.3. Automatic controller, actuator, and sensor (measuring element)#
Figure 5 is a block diagram of an industrial control system consisting of an automatic controller, an actuator, a plant and a sensor or measuring element. The controller detects the actuating error signal, which is usually at a very low power level, and amplifies it to a sufficiently high level. (Thus the automatic controller comprises an error detector and an amplifier.) Quite often, a suitable feedback circuit, to gether with an amplifier, is used to alter the actuating error signal to produce a better control signal.
|
|---|
Fig.5 - Block diagram of an industrial control system consisting of an automatic controller, an actuator, the plant and a sensor (measuring element). |
The actuator is an element that produces the input to the plant according to the control signal, so that the feedback signal will correspond to the reference input signal.
The sensor or measuring element is a device that converts the output variable into another suitable variable, such as a displacement. pressure, or voltage, which can be used to compare the output with the reference input signal. This element is in the feedback path of the closed-loop system. The set point of the controller must be converted to a reference input of the same units as the feedback signal from the sensor or measuring element.
5.3.4. Proportional, integral, and derivative control actions#
Proportional, integral, and derivative control actions are basic control actions found in industrial automatic controllers. For each control action, the output of the controller, M(s), and the actuating error signal E(s) are related by a transfer function of a specific form. In what follows, we illustrate transfer functions M(s)/E(s) for proportional control action, proportional-plus-integral control action, proportional-plus-derivative control action, and proportional-plus-integral-plus-derivative control action.
For proportional control action, M(s) and E(s) are related by
where \(K_p\) is termed the proportional gain.
For integral control action, the relationship betwcen M(s) and E(s) is
where \(K_i\) is called the integral gain.
For proportional-plus-integral control action, M(s) and E(s) are related by
where \(K_p\) is the proportional gain and \(T_i\) is a constant called the integral time constant.
For proportional-plus-derivative control action, M(s) and E(s) are related by
where \(K_p\) is the proportional gain and \(T_d\) is a constant called the derivative time constant.
Finally, for proportional-plus-integral-plus-derivative control action, M(s) and E(s) are related by
where \(K_p\) is the proportional gain, \(T_i\) is the integral time constant, and \(T_d\) is the derivative time constant.
5.4. Transient response specifications#
Because systems that store energy cannot respond instantaneously, they exhibit a transient response when they are subjected to inputs or disturbances. Consequently, the transient-response characteristics constitute one of the most important factors in system designed.
In many practical cases, the desired performance characteristics of control systems can be given in terms of transient-response specifications. Frequently, such performance characteristics are specified in terms of the transient response to a unit-step input, since such an input is easy to generate and is sufficiently drastic. (If the response of a linear system to a step input is known, it is mathematically possible to compute the system’s response to any input.)
The transient response of a system to a unit-step input depends on initial conditions. For convenience in comparing the transient responses of various systems, it is common practice to use a standard initial condition: The system is at rest initially, with its output and all time derivatives set to zero. Then the response characteristics can be easily compared.
The transient response of a practical control system often exhibits damped oscillations before reaching a steady state. In specifying the transient-response characteristics of a control system to a unit-step input, it is common to name the following:
Delay time, \(t_d\)
Rise time, \(t_r\)
Peak time, \(t_p\)
Maximum overshoot, \(M_p\)
Settling time, \(t_s\)
These specifications are defined next and are shown graphically in the figure below.
|
|---|
Fig.6 - Transient-response characteristics of a control system to a unit-step input. |
Delay time
The delay time \(t_d\) is the time needed for the response to reach half the final value the very first time.
Rise time
The rise time \(t_r\), is the time required for the response to rise from 10% to 90%, 5% to 95%, or 0% to 100% of its final value. For underdamped second-order systems, the 0% to 100% rise time is normally used. For overdamped systems, the 10% to 90% rise time is common.
Peak time
The peak time \(T_p\) is the time required for the response to reach the first peak of the overshoot.
Maximum (percent) overshoot
The maximum overshoot \(M_p\) is the maximum peak value of the response curve [the curve of c(t) versus t], measured from c(\(\infty\)). If c(\(\infty\)) = 1 , the maximum percent overshoot is \(M_p\) X 100%. If the final steady-state value c (\(\infty\)) of the response differs from unity, then it is common practice to use the following definition of the maximum percent overshoot:
The amount of the maximum (percent) overshoot directly indicates the relative stability of the system.
Settling time
The settling time \(t_s\), is the time required for the response curve to reach and stay within 2% of the final value. In some cases, 5%, instead of 2%, is used as the percentage of the final value. Throughout this book, however, we use the 2% criterion. The settling time is related to the largest time constant of the system.
If we specify the values of \(t_d\), \(t_r\) \(t_p\), \(t_s\) and \(M_p\) the shape of the response curve is virtually fixed.
Note that not all these specifications necessarily apply to any given case. For instance, for an overdamped system, the terms peak \(t_p\) and maximum overshoot \(M_p\) do not apply.
Position control system
The position control system (servo system) shown in Figure 7 consists of a proportional controller and load elements (inertia and viscous-friction elements). Suppose that we wish to control the output position C in accordance with the input position r.
|
|---|
Fig.7 - (a) Position control system;(b) block diagram: © block diagram of a second-order system in standard for. |
The equation for the load elements is
where T is the torque produced by the proportional controller, whose gain constant is K. Taking Laplace transforms of both sides of this last equation, assuming zero initial conditions, we find that
So the transfer function between C(s) and T(s) is
With the use of this transfer function, Figure 7(a) can be redrawn as shown in 7(b). The closed-loop transfer function is then
or
where
In terms of \(\zeta\) and \(\omega_n\) the block diagram of 7(b) can be redrawn as shown in 7.
Next, let us consider the unit-step response of this system when \(0 < \zeta < 1\) . For a unit-step input, we have R(s) = 1/s. Then
where \(\omega_d=\omega_n \sqrt{1- \zeta^2}\).
The inverse Laplace transform of Equation \(\ref{step}\) gives
or
A family of curves C(t) plotted against t with various values of \(\zeta\) is shown in Figure 8, where functions only of \(\zeta\).
|
|---|
Fig.8 - Unit-step response curves for the system shown in Figure 7©. |
5.5. Second-order systems and transient-response specifications#
Let us now obtain the rise time, peak time, maximum overshoot, and settling time of the second-order system given by Equation \(\ref{eq:sec_order2}\). These values will be derived in terms of \(\zeta\) and \(\omega_n\). The system is assumed to be underdamped!
Rise time: \(t_r\)
We find the rise time \(t_r\), by setting \(c(t) = 1\) in Equation \(\ref{eq:c(t)}\). Since \(e^{-\zeta \omega_nt_r} \neq 0\), Equation c(t) = 1 yields
or
Thus the rise time \(t_r\) is
Peak time: \(t_p\)
We obtain the peak time by differentiating c(t) in Equation \(\ref{eq:c(t)}\) with respect to time t and setting this derivative equal to zero. That is,
It follows that
Since the peak time corresponds to the first peak overshoot, we have \(\omega_dt_p=\pi\). Then
The peak time \(t_p\) corresponds to one half-cycle of the frequency of damped oscillation.
Maximum overshoot: \(M_p\)
The maximum overshoot occurs at the peak time \(t_p= \pi/\omega_d\). Thus from Equation \(\ref{eq:c(t)}\)
Since \(c(\infty)=1\), the maximum percent overshoot is \(e^{-\zeta\pi/\sqrt{1-\zeta^2}}\) x 100%
Settling time: \(t_s\)
For an underdamped second-order system, the transient response for a unit-step input is given by Equation \(\ref{eq:c(t)}\). Notice that the response curve c(t) always remains within a pair of the envelope curves, as shown in Figure 9. The curves \(1\pm e^{-\zeta \omega_nt}/\sqrt{1-\zeta^2}\) are the envelope curves of the transient response to a unit-step input. The time constant of these envelope curves is 1/\((\zeta \omega_n)\), \(\ldots\) The settling time \(t_s\), is four times this time constant, or
|
|---|
Fig.9 - Unit-step response curve and its envelope curves. |
Note that the settling time is inversely proportional to the undamped natural frequency of the system. Since the value of \(\zeta\) is usually determined from the requirement of permissible maximum overshoot, the settling time is determined primarily by the undamped natural frequency \(\omega_n\). In other words, the duration of the transient period can be varied, without changing the maximum overshoot, by adjusting the undamped natural frequency \(\omega_n\).
From the preceding analysis, it is clear that \(\omega_n\) must be large if we are to have a rapid response. To limit the maximum overshoot \(M_p\) and make the settling time small, the damping ratio \(\zeta\) should not be too small. Note that if the damping ratio is between 0.4 and 0.8, then the maximum percent overshoot for a step response is between 25% and 2.5%.








