Sunteți pe pagina 1din 12

Lecture 1: Open and closed loop systems, Laplace Transforms, impulse responses, pole locations

Venkata Sonti Department of Mechanical Engineering Indian Institute of Science Bangalore, India, 560012 This draft: March 12, 2008

Keywords :

Open and closed loop systems

An open loop dynamical system put together for an application, while it responds to forces and initial conditions may not satisfy conditions required in that application because of several reasons: a full model is never available, there are uncertainties in the system, the response is sensitive to certain parameters and their variations, the design requirement for response may interfere with the functionality of the system, etc. General requirements on a system include: The system has to be stable, adequately damped, capable of rejecting disturbance and quick to respond, less sensitive to parametric variations. While open loop systems may fail to satisfy the above requirements, feedback systems provide a very good solution. For e.g., an open loop robot hand, modelled as a double pendulum, even with motors at every joint and elbow may not perform according to the specs because: 1) The model is inadequate (rigid body model vs exible body model). There may be joint uncertainties. 2) Model may be adequate but system values EI, are uncertain. 3) The system values are known with reasonable accuracies but day to day variations exist. When you assemble, the system behaves one way, when your friend assembles, it behaves another way. 4) Due to the above reasons system may actually be unstable. 5) Open loop systems cannot handle disturbances. 6) And the system may be uncontrollable after all the design and assembly due to the above reasons. This necessitates a method of including control system design during the system design stage, iteratively. The above issues are largely corrected by using closed loop systems. Closed loop systems can be made stable even when the open loop system is unstable, articial electronic damping can be built into the system, closed loop systems are relatively less sensitive to disturbances, and also can be made insensitive to parametric variations. In order to achieve the requirements above, in addition to the physical system (which for us are usually mechanical systems) one needs electronic systems which can eectively modify (improve) the response. We will see soon, in the next lecture that the system poles determine the system response. This additional system eectively modies the total pole locations of the combined physical and the electronic system. In order to achieve this, an adequate continuous corrective action is built into the system. Important response information is continuously measured and fed back for comparison

with the target reference value. This in turn generates a force related to the dierence between the two values. This force is applied to the electronic and physical system continuously. The system thus is now called a closed loop or a feed-back control system. The open loop and the closed loop system are shown in gures 1 and 2, respectively. Figure 1 shows an open loop system. An apriori computed force is applied to the system which is expected to respond based on the specs. If the system fails to respond correctly (because your estimates were o) or an unanticipated disturbance acted on it, then there is no way to correct the course. On the other hand, gure 2 shows a feed-back system. The response C (s) is measured using the sensor H (s) and the resultant is compared with the input R(s). The resultant dierence (error) is acted upon by the controller which works on the actuator. The actuator then applies the required force on the system. The closed loop thus contains the sensor dynamics, the controller dynamics, the actuator dynamics in addition to the system we are interested in. It should be noted that all measurements have to be done or converted if necessary into one unit so that comparison with the target signal is possible. Usually, measurements result in currents and voltages. Hence, this conversion from a mechanical input to an electrical output are also included in the sensor, controller and actuator dynamics. In designing the full control system the dynamics of all the components need to be accounted for. If the controller is very slow compared to the system, it will not send the right input at the right time. In this class, we will assume perfect sensor and actuator dynamics, i.e., what goes into the sensor (it is commonly denoted by H (s)) and the actuator comes out unmodied instantaneously. So we replace them with unity transfer functions.

r(t)

actuator

force

SYSTEM

c(t)

Figure 1: An open loop system.

r(t) R(s)

controller

actuator

system

c(t) C(s)

sensor
Figure 2: Closed loop or feed-back control system. The above feedback system can be shown as in gure 3 where the forward path controlleractuator-system are shown as G(s) and the return sensor path is shown as H (s). It can be shown that in this feedback conguration C (s) G(s) G(s) = = , when H (s) = 1 R(s) 1 + G(s)H (s) 1 + G(s)) We will in our class assume H (s) = 1. These are called unity feedback systems. They imply that the sensors have perfect dynamics: they are very quick and have very high natural frequencies. 2

r(t) R(s)

+ -

e(t) E(s)

G(s)

c(t) C(s)

b(t) B(s)

H(s)

Figure 3: Closed loop feedback system in typical terminology.

Typical control problems and step response


Canon, telescope, radar dish pointing Speed maintainance of a vehicle Automated stoppage of a metro-rail Robot arm movement from one position to another Ship changes course

Typical control system problems include

The above list is far from exhaustive. However, it is intended to show that many control applications involve the tracking of a given command signal. Thus, how quickly and smoothly the system tracks without too much deviations and oscillations is a big issue. Such information is contained in the step response of a control system. A step input is given to the physical system and the response carries information about the speed of response and damping inherent in the system. In looking at the step response of systems we shall make use of Laplace Transforms. In the next section we take a brief look at the same.

Laplace Transform (LT)

The Laplace transform of a function x(t) is given by X (s) =

x(t)est dt

(1)

We deal with causal systems, (systems which respond after the input is given) and hence the lower limit is 0 for us. LT can be used to solve ordinary dierential equations (ODEs).

3.1

Example 1

For e.g., given an ODE of the form x (t) + 4x(t) = (t). taking the LT results in s2 X (s) sx (0) x(0) + 4X (s) = 1

For the time being, taking the initial conditions to be zero gives X (s) = s2 1 +4 (2)

the inverse LT of which gives the time domain response x(t) = 1 sin(2t). 2 (3)

The s values where X (s) goes to innity are called the poles of X (s). In this case they are given by +2i and 2i. Keeping this is in view, let us look at the plot of x(t) given below in gure 4. The response is seen to be a pure undecaying oscillation.
Time domain response of example 1
1 0.8

0.6

0.4

x(t)=0.5*sin(2t)

0.2

0.2

0.4

0.6

0.8

10

12

14

16

time t in secs

Figure 4: Time domain response for example 1.

3.2

Example 2

For e.g., given an ODE of the form x (t) + 3x (t) + 4x(t) = (t). Applying the LT operator (for zero initial conditions) gives X (s) = s2 1 1 , = 2 + 3s + 4 s + 2n s + n 2 (4)

where = 0.75 and n = 2. The inverse LT (using tables) of which gives the time domain response x(t) = 1 n 1 en t sin(n 1 2 t). 1 2 (5)

The s values where X (s) goes to innity are called the poles of X (s). In this case they are given by 1.5 + i 1.3229 and 1.5 i 1.3229. Keeping this is in view, let us look at the plot of x(t) given below in gure 5. The response is a decaying oscillation.

Time domain response of example 2


0.3

0.25

0.2

0.15

x(t)
0.1 0.05 0 0.05 0

10

time t in secs

Figure 5: Time domain response for example 2.

3.3

Example 3

For e.g., given an ODE of the form x (t) 4x(t) = (t). taking the LT results in s2 X (s) sx (0) x(0) 4X (s) = 1 For the time being, taking the initial conditions to be zero gives X (s) = s2 1 1 1 = , 4 4(s 2) 4(s + 2) (6)

the inverse LT of which gives the time domain response x(t) = Ae2t + Be2t . (7)

1 1 and B = 4 . The poles for this case are at s = 2. where A = 4 Let us plot this response in Matlab and see how it looks. It is an exponentially increasing response going o to innity.

3.4

Example 4

For e.g., given an ODE of the form x (t) 3x (t) + 4x(t) = (t). Applying the LT operator (for zero initial conditions) gives X (s) = s2 1 , 3s + 4 (8)

the inverse LT of which gives the time domain response x(t) = 1 n 1 en t sin(n 1 2 t). 1 2 5 (9)

Time domain response for example 3


14

12

10

x(t)=Ae +Be

2t 2t

0.2

0.4

0.6

0.8

1.2

1.4

1.6

1.8

time t in secs

Figure 6: Time domain response for example 3.

Time domain response for example 4


500

400

300

200

x(t)

100

100

200

300

0.5

1.5

2.5

3.5

4.5

time t in secs

Figure 7: Time domain response for example 4.

The s values where X (s) goes to innity are called the poles of X (s). In this case they are given by 1.5 + i 1.3229 and 1.5 i 1.3229. Keeping this is in view, let us look at the plot of x(t) given below in gure 7. The response is an exponentially increasing oscillating response going to innity. From the impulse responses of the systems given above, one can say that poles on the imaginary axis cause the system to oscillate and complex poles with negative real parts give the system a decaying oscillation while complex poles with positive real parts cause the response to go to innity (the system is unstable). The nature of response is similar even when the input is a step. This picture can be generalized as in gure 8.
Pole zero map
Imag Axis

1 0.5 0 0 1 0.5 0 0 2 1 0.5 1 1.5 2 1 2 3 4 5

2 0 X 2 2 0 2 2 0 X 2 2 0 X 2 2 0 X 2 2 0 2 6 4 2 0 Real Axis 2 4 6 4 2 0 Real Axis 2 4 X 6 6 4 2 0 Real Axis X 2 4 6 6 4 2 0 Real Axis X 2 4 6 6 6 X 4 2 0 Real X Axis 2 4 6 X 4 2 0 Real Axis 2 4 6

Imag Axis

Imag Axis

Imag Axis

0 0 2 1 0 0 20 0 20 0 10000 5000

10

Imag Axis

Imag Axis

Figure 8: Pole locations and step response of second order systems.

Second order system characteristics

Oscillatory systems with single, multi degrees of freedom can be represented in the form mx (t) + cx (t) + kx(t) = F (t). 7

The equation above can be a single scalar or a system of equations. For a scalar system if we make the following substitution c = 2 km then we get x (t) + 2n x (t) + n 2 x(t) = The LT of the above equation results in X (s) = 1 F (s) , m s2 + 2n s + n 2 F (t) . m and n 2 = k m

where F (s) can be a delta or a step function or any function. The transfer function is said to be of second order since it has s2 in the denominator as the highest power of s. These second order systems display characteristics typical of vibrating systems so much so that even higher order systems can be understood by breaking them up into a set of second order systems (a polynomial with real coecients has either real roots or conjugate complex roots). Thus, we try to understand the typical features of second order systems. We choose a typical second order transfer function of the form n 2 C (s) = 2 , R(s) s + 2n s + n 2 (10)

the denominator of which is called the characteristic polynomial and which when set to zero gives the roots of the characteristic polynomial as shown below = s2 + 2n s + n 2 = 0 The roots are the poles of the second order transfer function above. s1 , s2 = n jn 1 2 = jd . When this second order system is subjected to a step input it becomes C (s) = C (s) = C (s) = n 2 s(s2 + 2n s + n 2 ) s + 2n 1 2 s s + 2n s + n 2 1 n s + n 2 2 s (s + n ) + d (s + n )2 + d 2 (13) (12) (11)

We have inverse LT of s + n (s + n )2 + d 2 d (s + n )2 + d 2 And so c(t) = 1 en t cos(d t) + 8 sin(d t) 1 2 = en t cos(d t) = en t sin(d t) (14)

or c(t) = 1 The error e(t) = r (t) c(t) e(t) = en t cos(d t) + (16) sin(d t) 1 2 en t sin d t + tan1 2 1 1 2 t0 (15)

goes to zero at t = .

Second order step response indices


Maximum overshoot: The maximum overshoot is dened as the largest deviation of the output over the step input during the transient state. The amount of maximum overshoot is also used as a measure of relative stability of the system. The maximum overshoot is often represented as a percentage of the nal value of the response, i.e., %max. overshoot = maximumovershoot x100% f inalvalue

Delay Time: The delay time td is dened as the time required for the step response to reach 50% of its nal value. Rise Time: The rise time tr is dened as the time required for the step response to rise from 10% to 90% of its nal value (overdamped). For under damped, we take the time to reach 100 % of the value the rst time. Settling Time: The settling time ts is dened as the time required for the step response to decrease and stay withina specied percentage of its nal value. Usually 5% Rise time tr By setting C (tr ) = 1 we get 1 = 1 en tr cos(d tr ) + sin(d tr ) 1 2

cos(d tr ) +

sin(d tr ) = 0 1 2 1 2 d = = d

tan(d tr ) = tr = as in gure 9. Peak time tp

1 d tan1 d

Dierentiating c(t) w.r.t. t and setting it to zero we get dc |t = sin(d tp ) dt p n en tp = 0 2 1

sin(d tp ) = 0 or d tp = 0, , 2, 3, ... The peak time corresponds to the rst peak and so tp = d

which corresponds to one-half cycle of the frequency of damped oscillations.

10

Maximum overshoot Mp The maximum overshoot occurs at the peak time tp . Substituting for tp in the equation for c(t) we get Mp = c(tp ) 1 = e
n d

cos( ) +

= e(/d ) = e/

sin( ) 1 2
1 2

The maximum percent overshoot is Mp x 100 % Settling time ts From the expression for c(t) if we ignore the sine term then the response lies within the envelope given by 1 en t / 1 2 For small values of , the denominator can be ignored and and so if we set a 1% criterion for settling time, we get 4.6 ts = for 2% we get 4 ts = and for 5% we get 3 ts = . Given tr , Mp , and ts , we should be able to nd the pole positions. From the response equation above it can be seen that is representative of damping and n represents the frequency of oscillation (the natural quickness of the system). If we plot the root positions as in gure 9, then cos( ) = so that the smaller is the larger is the damping. Or the more toward the real axis the root, the more the damping is. Also, the absolute distance of the root from the origin of the omplex plane is n the frequency of oscillation. The farther the root from the origin, the faster the system is.
j
Roo t X

s-plane

= n

1 2

= n

X Roo t

Figure 9: Position of the complex root. Natural frequency and damping.

11

References
[1] Benjamin Kuo, 1982, Automatic Control Systems, Prentice Hall of India.

12

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