kuliah pengendalian 2013

52
TRANSFORMASI LAPLACE A. Fungsi Step F(t) = 0 untuk t < 0 = A untuk t > 0 A 0 t 0 0 | st e s A .dt st A.e F(s) = 1) (0 s A = s A B. Fungsi Pulse F(t) = 0 untuk t < 0 & t >T = A untuk 0 t T A 0T t 0 .dt st f(t).e F(s)

description

belajar

Transcript of kuliah pengendalian 2013

Page 1: kuliah pengendalian 2013

TRANSFORMASI LAPLACE

A. Fungsi Step

F(t) = 0 untuk t < 0

= A untuk t > 0

A

0 t

0

0|ste

s

A.dtstA.eF(s)

= 1)(0s

A

= s

A

B. Fungsi Pulse

F(t) = 0 untuk t < 0 & t >T

= A untuk 0 t T

A

0 T t

0

.dtstf(t).eF(s)

Page 2: kuliah pengendalian 2013

)ste(1s

A

1)st(es

A

T0|st.e

s

A

T

0

.dtstA.e

Fungsi Unit Step : f(t) = 1 (t) F(s) = 1/s

C. Fungsi Impulse

to

A

0tolimf(t)

untuk 0 < t < to

= 0 untuk t < 0 & to < t

)ost

e(1s

0t

A

0t

limF(s)

ss

A

(tos)dto

d

)]stoe[A(1dto

d

0tolim

= A

Fungsi Unit-Impulse : f(t) = (t)

F(s) = 1

D. Fungsi Ramp

F(t) = 0 untuk t < 0

Page 3: kuliah pengendalian 2013

= At untuk t 0

A

0 1 t

.dtstA.t.e0

F(s)

2s

A0

.dtstes

A

dt0 s

stA.e0|

s

steA.t.

0.dtst-t.eA

E. Fungsi Eksponensiil

F(t) = o untuk t < 0

= A αte untuk t 0

F(s) 0

.dtst.eαtA.e

αs

A

1)(0αs

A

0|α)t(se

αs

A0

.dts)t(αeA

F. Fungsi Sinus

f(t) = A sin t

Page 4: kuliah pengendalian 2013

0

.dtstA.sinω.siF(s)

22

22

ωs

ωA.

ωs

jωsjωs.

2j

A

]jωs

1

jωs

1[

2j

A

0]s)t(jωe

sjω

1s)t(jωesjω

1[

2j

A0

)dts)t(jωes)t(jω(e2j

A

0)dtst.etjest.etj(e

2j

A

dt0

st.e2j

tjetjeA.

G. Fungsi Cosinus

f(t) = A cos t

F(s) = A.22 ωs

s

DEFINISI SPESIFIKASI RESPONS TRANSIENT

1. Delay time (td)

2. Rise time (tr)

3. Peak time (tp)

4. Maximum overshoot (Mp)

5. Settling time (ts)

Page 5: kuliah pengendalian 2013

KURVA RESPONS – UNIT STEP

Delay time (td) : waktu yang diperlukan untuk mencapai setengah dari nilai akhir pada waktu pertama

kali

Rise time (tr) : waktu yang diperlukan untuk naik dari 10 – 90%, 5 – 55%, atau 0 – 100% dari nilai

akhirnya.

Untuk sistem underdamped : 0 – 100%

Untuk sistem overdamped : 10 – 90%

Peak time (tp) : waktu yang diperlukan untuk mencapai peak pertama dari overshoot.

Maximum overshoot (Mp,%) : nilai puncak (peak) maksimum dari kurva respons yang diukur dari satu.

Maximum per cent overshoot = c(tp) – c(~) x 100% c(~)

Settling time : waktu yang diperlukan untuk mencapai dan tetap di dalam sebuah range nilai akhir

yang ditetapkan oleh persentase absolut dari nilai akhir (biasanya 5% atau 2%).

Diinginkan respons transient : - cukup cepat

- cukup memiliki redaman

Page 6: kuliah pengendalian 2013

(aplikasi : osilasi tidak dapat ditoleransi)

Respons transient yang diinginkan dari sistem orde kedua :

faktor redaman : antara 0,4 dan 0,8

Mendapatkan nilai dari tr, tp, Mp, dan ts

A. RISE TIME (tr) :

c(t) = 1 – e -ζn t( cosdt + ζ sin d t) 1 – ζ2

t = tr c(tr) = 1, maka:

c(tr) = 1 – e -ζn tr( cosdtr + ζ sin d tr) 1 – ζ2

karena e -ζn tr 0 maka :

cos d tr + ζ sin d tr = 0

1 – ζ2

atau

tan d tr = - 1 – ζ2

ζ

DEFINISI SUDUT :

atau

tan d tr = _ d

Jadi,

tr =

βπ)

σd

ω(1tan

1

Page 7: kuliah pengendalian 2013

POLE-POLE KOMPLEKS :

GARIS-GARIS FAKTOR REDAMAN KONSTAN

ζ = cos

B. PEAK TIME (tp) :

dc = (sin d tp) n e-ζn tp = 0

dt t = tp 1 - ζ

sin d tp = 0

d tp = 0, , 2, 3, …

d tp =

tp = d

C. MAXIMUM OVERSHOOT (Mp) :

Mp = c(tp) – 1

= - e-ζn( / d) (cos + ζ sin ) 1 – ζ2

= e-( / d)

= e-(ζ/ 1-ζ2 )

Maximum Overshoot (%) = e-( / d) x 100%

Page 8: kuliah pengendalian 2013

D. SETTLING TIME :

e-ζnt

c(t) = 1 - sin (dt + tan-1 1 - ζ2 ) (t 0) 1 - ζ2 ζ

Kurva-kurva 1 ( e-ζnt / 1 - ζ2 ) :

Menutupi kurva respons transient untuk sebuah input unit-step.

Time constant (T) dari kurva-kurva tersebut adalah 1 ζn

Page 9: kuliah pengendalian 2013

KURVA SETTLING TIME ts vs ζ

untuk 0 < ζ < 0,9 : ts = 4T = 4 = 4 (band toleransi 2%) ζn

ts = 3T = 3 = 3 (band toleransi 5%) ζn

untuk nilai ζ lebih besar, ts meningkat hampir linier; dan nilai ζmin = 0,76 ( un-tuk 2%)

atau ζmin = 0,68 (untuk 5%)

o Nilai ζ biasanya ditentukan dari syarat maksimum overshoot yang diijinkan. Sedangkan

settling time (ts) ditentukan terutama oleh undamped natural frequency (n).

o Hal ini berarti, durasi periode transient dapat tanpa mengubah overshoot maksi-mum, yaitu

dengan mengatur n.

o Untuk mendapatkan respons yang cepat : n harus besar. Untuk membatasi overshoot

maksimum (Mp) dan membuat ts kecil : ζ seharusnya tidak terlalu kecil.

o Faktor redaman di antara 0,4 dan 0,8, maka overshoot maksimum (%) untuk step respons

adalah di antara 25% dan 2,5%.

Page 10: kuliah pengendalian 2013

Kurva Mp versus :

Contoh :

R(s) E(s) C(s)

+

Sistem orde ke dua memiliki harga : = o,6 dan n = 5 rad/sec

Apabila sistem diberikan input unit step, carilah rise time (tr), peak time (tp), maksimum overshoot (Mp),

dan settling time (ts) !

Penyelesaian :

d2ζ1

2(0,6)15

= 4

= . n = 0,6 . 5 = 3

Rise time (tr) d

ω

βx

= tan -1

σd

ω

= tan-1 (4 / 3)

= 0,93 rad

Page 11: kuliah pengendalian 2013

tr = 4

93,014,3

= 0,55 sec

Peak Time (tp) = d

ω

π= 785,0

4

14,3 sec

Maximum Overshoot (Mp) = )πd

/(e

= (3/4)x3,14e

= 0,095

= 0,095 x 100%

= 95 %

Setting time (Ts) = 1,333

4

σ

4 sec (u/ kriteria 2%)

= 13

33

sec (untuk kriteria 5%)

Example 5.1.1 A simple analogy of a control systemIn the process example shown (Figure 5.1.1), the operator manually varies the flow of water by opening or closing an inlet valve to ensure that:

The water level is not too high; or it will run to waste via the overflow. The water level is not too low; or it will not cover the bottom of the tank.

The outcome of this is that the water runs out of the tank at a rate within a required range. If the water runs out at too high or too low a rate, the process it is feeding cannot operate properly.

At an initial stage, the outlet valve in the discharge pipe is fixed at a certain position.

The operator has marked three lines on the side of the tank to enable him to manipulate the water supply via the inlet valve. The 3 levels represent:

1. The lowest allowable water level to ensure the bottom of the tank is covered.2. The highest allowable water level to ensure there is no discharge through the overflow.

3. The ideal level between 1 and 2.

Page 12: kuliah pengendalian 2013

The Example (Figure 5.1.1) demonstrates that:1. The operator is aiming to maintain the water in the vessel between levels 1 and 2. The water level is called

the Controlled condition.2. The controlled condition is achieved by controlling the flow of water through the valve in the inlet pipe. The

flow is known as the Manipulated Variable, and the valve is referred to as the Controlled Device.

3. The water itself is known as the Control Agent.

4. By controlling the flow of water into the tank, the level of water in the tank is altered. The change in water level is known as the Controlled Variable.

5. Once the water is in the tank it is known as the Controlled Medium.

6. The level of water trying to be maintained on the visual indicator is known as the Set Value (also known as the Set Point).

7. The water level can be maintained at any point between 1 and 2 on the visual indicator and still meet the control parameters such that the bottom of the tank is covered and there is no overflow. Any value within this range is known as the Desired Value.

8. Assume the level is strictly maintained at any point between 1 and 2. This is the water level at steady state conditions, referred to as the Control Value or Actual Value.

Note: With reference to (7) and (8) above, the ideal level of water to be maintained was at point 3. But if the actual level is at any point between 1 and 2, then that is still satisfactory. The difference between the Set Point and the Actual Value is known as Deviation.

9. If the inlet valve is closed to a new position, the water level will drop and the deviation will change. A sustained deviation is known as Offset.

It is worth repeating these points in a slightly different way to reinforce Example 5.1.2:

In simple terms the operator's aim in Example 5.1.1 is to hold the water within the tank at a pre-defined level. Level 3 can be considered to be his target or Set Point.

The operator physically manipulates the level by adjusting the inlet valve (the control device). Within this operation it is necessary to take the operator's competence and concentration into account. Because of this, it is unlikely that the water level will be exactly at Level 3 at all times. Generally, it will be at a point above or below Level 3. The position or level at any particular moment is termed the Control Value or Actual Value.

The amount of error or difference between the Set Point and the Actual Value is termed deviation. When a deviation is constant, or steady state, it is termed Sustained Deviation or Offset.

Page 13: kuliah pengendalian 2013

Summary of terminology

Basic Controller

The Basic Controller for an application can be visualized as

The controller consists of

Page 14: kuliah pengendalian 2013

a measuring unit with an appropriate instrument to measure the state of process, a temperature transmitter, pressure transmitter or similar.

a input set point device to set the desired value.

a comparator for comparing the measured value with the set point, calculating the difference or error between the two.

a control unit to calculate the output magnitude and direction to compensate the deviation from the desired value.

a output unit converting the output from the controller to physical action, a control valve, a motor or similar.

Modes of controlAn automatic temperature control might consist of a valve, actuator, controller and sensor detecting the space temperature in a room. The control system is said to be 'in balance' when the space temperature sensor does not register more or less temperature than that required by the control system. What happens to the control valve when the space sensor registers a change in temperature (a temperature deviation) depends on the type of control system used. The relationship between the movement of the valve and the change of temperature in the controlled medium is known as the mode of control or control action.

There are two basic modes of control:

On/Off - The valve is either fully open or fully closed, with no intermediate state. Continuous - The valve can move between fully open or fully closed, or be held at any intermediate position.

Variations of both these modes exist, which will now be examined in greater detail.

On/off controlOccasionally known as two-step or two-position control, this is the most basic control mode. Considering the tank of water shown in Figure 5.2.1, the objective is to heat the water in the tank using the energy given off a simple steam coil. In the flow pipe to the coil, a two port valve and actuator is fitted, complete with a thermostat, placed in the water in the tank.

Page 15: kuliah pengendalian 2013

Fig. 5.2.1 On/off temperature control of water in a tank

The thermostat is set to 60°C, which is the required temperature of the water in the tank. Logic dictates that if the switching point were actually at 60°C the system would never operate properly, because the valve would not know whether to be open or closed at 60°C. From then on it could open and shut rapidly, causing wear.

For this reason, the thermostat would have an upper and lower switching point. This is essential to prevent over-rapid cycling. In this case the upper switching point might be 61°C (the point at which the thermostat tells the valve to shut) and the lower switching point might be 59°C (the point when the valve is told to open). Thus there is an in-built switching difference in the thermostat of ±1°C about the 60°C set point.

This 2°C (±1°C) is known as the switching differential. (This will vary between thermostats). A diagram of the switching action of the thermostat would look like the graph shown in Figure 5.2.2. The temperature of the tank contents will fall to 59°C before the valve is asked to open and will rise to 61°C before the valve is instructed to close.

Fig. 5.2.2 On/off switching action of the thermostat

Figure 5.2.2 shows straight switching lines but the effect on heat transfer from coil to water will not be immediate. It will take time for the steam in the coil to affect the temperature of the water in the tank. Not only that, but the water in the tank will rise above the 61°C upper limit and fall below the 59°C lower limit. This can be explained by cross referencing Figures 5.2.2 and 5.2.3. First however it is necessary to describe what is happening.

At point A (59°C, Figure 5.2.3) the thermostat switches on, directing the valve wide open. It takes time for the transfer of heat from the coil to affect the water temperature, as shown by the graph of the water temperature in Figure 5.2.3. At point B (61°C) the thermostat switches off and allows the valve to shut. However the coil is still full of steam, which continues to condense and give up its heat. Hence the water temperature continues to rise above the upper switching temperature, and 'overshoots' at C, before eventually falling.

Page 16: kuliah pengendalian 2013

Fig. 5.2.3 Tank temperature versus time

From this point onwards, the water temperature in the tank continues to fall until, at point D (59°C), the thermostat tells the valve to open. Steam is admitted through the coil but again, it takes time to have an effect and the water temperature continues to fall for a while, reaching its trough of undershoot at point E.

The difference between the peak and the trough is known as the operating differential. The switching differential of the thermostat depends on the type of thermostat used. The operating differential depends on the characteristics of the application such as the tank, its contents, the heat transfer characteristics of the coil, the rate at which heat is transferred to the thermostat, and so on.

Essentially, with on/off control, there are upper and lower switching limits, and the valve is either fully open or fully closed - there is no intermediate state.

However, controllers are available that provide a proportioning time control, in which it is possible to alter the ratio of the 'on' time to the 'off' time to control the controlled condition. This proportioning action occurs within a selected bandwidth around the set point; the set point being the bandwidth mid point.

If the controlled condition is outside the bandwidth, the output signal from the controller is either fully on or fully off, acting as an on/off device. If the controlled condition is within the bandwidth, the controller output is turned on and off relative to the deviation between the value of the controlled condition and the set point.

With the controlled condition being at set point, the ratio of 'on' time to 'off' time is 1:1, that is, the 'on' time equals the 'off' time. If the controlled condition is below the set point, the 'on' time will be longer than the 'off' time, whilst if above the set point, the 'off' time will be longer, relative to the deviation within the bandwidth.

The main advantages of on/off control are that it is simple and very low cost. This is why it is frequently found on domestic type applications such as central heating boilers and heater fans.

Its major disadvantage is that the operating differential might fall outside the control tolerance required by the process. For example, on a food production line, where the taste and repeatability of taste is determined by precise temperature control, on/off control could well be unsuitable.

By contrast, in the case of space heating there are often large storage capacities (a large area to heat or cool that will respond to temperature change slowly) and slight variation in the desired value is acceptable. In many cases on/off control is quite appropriate for this type of application.

If on/off control is unsuitable because more accurate temperature control is required, the next option is continuous control.

Page 17: kuliah pengendalian 2013

1. AKSI KONTROL ON-OFF / 2 POSISI

Untuk mencegah terlalu banyaknya operasi mekanis on-off.

Aplikasi : Sistem kontrol level cairan

Continuous control

Continuous control is often called modulating control. It means that the valve is capable of moving continually to change the degree of valve opening or closing. It does not just move to either fully open or fully closed, as with on-off control.

There are three basic control actions that are often applied to continuous control:

Proportional (P) Integral (I)

Page 18: kuliah pengendalian 2013

Derivative (D)

It is also necessary to consider these in combination such as P + I, P + D, P + I + D. Although it is possible to combine the different actions, and all help to produce the required response, it is important to remember that both the integral and derivative actions are usually corrective functions of a basic proportional control action.

The three control actions are considered below.

Proportional Controller (P-Controller)This is the most basic of the continuous control modes and is usually referred to by use of the letter 'P'. The principle aim of proportional control is to control the process as the conditions change.

One of the most used controllers is the Proportional Controller (P-Controller) who produce an output action that is proportional to the deviation between the set point and the measured process value.

OP = -kP Er         (1)

where

OP = output proportional controller

kP = proportional gain or action factor of the controller

Er = error or deviation between the set point value and the measured value

The gain or action factor - kP

influence on the output with a magnitude of kP

determines how fast the system responds. If the value is too large the system will be in danger to oscillate and/or become unstable. If the value is too small the system error or deviation from set point will be very large.

can be regarded linear only for very small variations.

The gain kP can be expressed as

kP = 100 / P         (1b)

where

P = proportional band

The proportional band P, express the value necessary for 100% controller output. If P = 0, the gain or action factor kP would be infinity - the control action would be ON/OFF.

Note! A proportional controller will have the effect of reducing the rise time and will reduce, but never eliminate, the steady-state error.

This section shows that:

The larger the proportional band, the more stable the control, but the greater the offset.

Page 19: kuliah pengendalian 2013

The narrower the proportional band, the less stable the process, but the smaller the offset.

The aim, therefore, should be to introduce the smallest acceptable proportional band that will always keep the process stable with the minimum offset.

In explaining proportional control, several new terms must be introduced.

To define these, a simple analogy can be considered - a cold water tank is supplied with water via a float operated control valve and with a globe valve on the outlet pipe valve 'V', as shown in Figure 5.2.4. Both valves are the same size and have the same flow capacity and flow characteristic. The desired water level in the tank is at point B (equivalent to the set point of a level controller).

It can be assumed that, with valve 'V' half open, (50% load) there is just the right flowrate of water entering via the float operated valve to provide the desired flow out through the discharge pipe, and to maintain the water level in the tank at point at B.

The questions these people ask about steam are markedly different.

Fig. 5.2.4 Valve 50% open

The system can be said to be in balance (the flowrate of water entering and leaving the tank is the same); under control, in a stable condition (the level is not varying) and at precisely the desired water level (B ); giving the required outflow.

With the valve 'V' closed, the level of water in the tank rises to point A and the float operated valve cuts off the water supply (see Figure 5.2.5 below).

The system is still under control and stable but control is above level B. The difference between level B and the actual controlled level, A, is related to the proportional band of the control system.

Once again, if valve 'V' is half opened to give 50% load, the water level in the tank will return to the desired level, point B.

Fig. 5.2.5 Valve closed

Page 20: kuliah pengendalian 2013

This means the system is simpler and less expensive than, for example, a high temperature hot water system. The high efficiency of steam plant means it is compact and makes maximum use of space, something which is often at a premium within plant.

Furthermore, upgrading an existing steam system with the latest boilers and controls typically represents 50% of the cost of removing it and replacing it with a decentralised gas fired system.

Why Not Use A Proportional Controller?

        Of all the controllers you can choose to control a system, the proportional controller is the simplest of them all.

If you want to implement a proportional control system, it's usually the easiest to implement.

In an analog system, a proportional control system amplifies the error signal to generatethe control signal.  If the error signal is a voltage, and the control signal is also a voltage, then a proportional controller is just an amplifier.I

In a digital control system, a proportional control system computes the error from measured output and user input to a program, and multiplies the error by a proportional constant, then generates an output/control signal from that multiplication.

Goals For This Lesson

        Proportional control is a simple and widely used method of control for many kinds of systems.  When you are done with this lesson you will need to be able to use proportional control with some understanding.  Your goals are as follows:

    Given a system you want to control with a proportional controller,     Identify the system components and their function, including the

comparator, controller, plant and sensor.     Be able to predict how the system will respond using a proportional

controller - including speed of response, accuracy (SSE) and relative stability.

    Be able to use the root locus to make        those predictons.     Be able to use frequency response analysis to make those predictions.

Properties Of Proportional Controllers

        Proportional controllers have these properties:

The controller amplifies the error as shown in the block diagram below.

Page 21: kuliah pengendalian 2013

So, the actuating signal (the input to G(s)) is proportional to the error.

        In the material that follows, we will examine some of the features of proportional control using a proportional controller.

       In a proportional controller, steady state error tends to depend inversely upon the proportional gain, so if the gain is made larger the error goes down.

        In this system, SSE is given by the expression

SSE = 1/(1 + KpG(0))

      As the proportional gain, Kp, is made larger, the SSE becomes smaller.  As the DC loop gain, KpG(0), becomes large, the error approaches becoming inversely proportional to the proportional gain, Kp.  That's true for most of the cases of interest, that is those with small SSE.

Proportional control has a tendency to make a system faster.

        If we think about the root locus for a system with proportional control we can note the following:

The proportional gain, Kp, is either the root locus gain, or the root locus gain is proportional to Kp.

The root locus for a first order system will have the form shown below.

There's one pole. The root locus moves to the left from that pole.

Page 22: kuliah pengendalian 2013

As the pole moves to the left, the time constant becomes smaller.

Higher order systems will not behave in the same way, but there may be tendencies to speed up the system, at least for some gain values.  Here is the root locus for a second order system.

2. AKSI KONTROL PROPORTIONAL

m(t) = Kp . e(t)

KpE(s)

M(s) ; Kp = sensitivitas proportional ( gain )

Persamaan matematis : u(t) = KP . e(t)

dimana KP : konstanta proporsionaldalam Laplace

U(s)/E(s) = KP

Diagram Blok Dikenal juga sebagai : gain/penguatan

Pengaruh pada sistem : Menambah atau mengurangi kestabilan Dapat memperbaiki respon transien khususnya : rise time, settling

time Mengurangi (bukan menghilangkan) Error steady state

Catatan : untuk menghilangkan Ess, dibutuhkan KP besar, yang akan membuat sistem lebih tidak stabil

Kontroler Proporsional memberi pengaruh langsung (sebanding) pada error

Semakin besar error, semakin besar sinyal kendali yang dihasilkan kontroler

Grafik (di Ogata)

Page 23: kuliah pengendalian 2013

Kontroler proportional mempunyai sebuah daerah respons linier.

Proportional band : perubahan dalam error ( persentase dari full-scale error ) yang akan

menyebabkan output untuk pergi dari full-off menuju full-on

band alproportion1 Kp

Page 24: kuliah pengendalian 2013

Q. What does using steam say about the company ?

The use of steam is environmentally responsible. Companies continue to choose steam because it is generated with high levels of fuel efficiency. Environmental controls are increasingly stringent, even to the extent that organisations have to consider the costs and methods of disposing of plant before it is installed. All these issues are considered during the design and manufacture of steam plant.

Page 25: kuliah pengendalian 2013

Fig. 5.2.6 Valve open

The system is under control and stable, but there is an offset; the deviation in level between points B and C. Figure 5.2.7 combines the three conditions used in this example.

The difference in levels between points A and C is known as the Proportional Band or P-band, since this is the change in level (or temperature in the case of a temperature control) for the control valve to move from fully open to fully closed.

One recognised symbol for Proportional Band is Xp.

The analogy illustrates several basic and important points relating to proportional control:

The control valve is moved in proportion to the error in the water level (or the temperature deviation, in the case of a temperature control) from the set point.

The set point can only be maintained for one specific load condition.

Whilst stable control will be achieved between points A and C, any load causing a difference in level to that of B will always provide an offset.

Fig. 5.2.7 Proportional band

Note: By altering the fulcrum position, the system Proportional Band changes. Nearer the float gives a narrower P-band, whilst nearer the valve gives a wider P-band. Figure 5.2.8 illustrates why this is so. Different fulcrum positions require different changes in water level to move the valve from fully open to fully closed. In both cases, It can be seen that level B represents the 50% load level, A represents the 0% load level, and C represents the 100% load level. It can also be seen how the offset is greater at any same load with the wider proportional band.

Page 26: kuliah pengendalian 2013

Fig. 5.2.8 Demonstrating the relationship between P-band and offset

The examples depicted in Figures 5.2.4 through to 5.2.8 describe proportional band as the level (or perhaps temperature or pressure etc.) change required to move the valve from fully open to fully closed. This is convenient for mechanical systems, but a more general (and more correct) definition of proportional band is the percentage change in measured value required to give a 100% change in output. It is therefore usually expressed in percentage terms rather than in engineering units such as degrees centigrade.

For electrical and pneumatic controllers, the set value is at the middle of the proportional band. The effect of changing the P-band for an electrical or pneumatic system can be described with a slightly different example, by using a temperature control.

The space temperature of a building is controlled by a water (radiator type) heating system using a proportional action control by a valve driven with an electrical actuator, and an electronic controller and room temperature sensor. The control selected has a proportional band (P-band or Xp) of 6% of the controller input span of 0° - 100°C, and the desired internal space temperature is 18°C. Under certain load conditions, the valve is 50% open and the required internal temperature is correct at 18°C.

A fall in outside temperature occurs, resulting in an increase in the rate of heat loss from the building. Consequently, the internal temperature will decrease. This will be detected by the room temperature sensor, which will signal the valve to move to a more open position allowing hotter water to pass through the room radiators.

The valve is instructed to open by an amount proportional to the drop in room temperature. In simplistic terms, if the room temperature falls by 1°C, the valve may open by 10%; if the room temperature falls by 2°C, the valve will open by 20%.

In due course, the outside temperature stabilises and the inside temperature stops falling. In order to provide the additional heat required for the lower outside temperature, the valve will stabilise in a more open position; but the actual inside temperature will be slightly lower than 18°C.

Example 5.2.1 and Figure 5.2.9 explain this further, using a P-band of 6°C.

Example 5.2.1 Consider a space heating application with the following characteristics:1. The required temperature in the building is 18°C.2. The room temperature is currently 18°C, and the valve is 50% open.

3. The proportional band is set at 6% of 100°C = 6°C, which gives 3°C either side of the 18°C set point.

Figure 5.2.9 shows the room temperature and valve relationship:

Page 27: kuliah pengendalian 2013

Fig. 5.2.9 Room temperature and valve relationship - 6°C proportional band

As an example, consider the room temperature falling to 16°C. From the chart it can be seen that the new valve opening will be approximately 83%.

With proportional control, if the load changes, so too will the offset:

A load of less than 50% will cause the room temperature to be above the set value. A load of more than 50% will cause the room temperature to be below the set value.

The deviation between the set temperature on the controller (the set point) and the actual room temperature is called the 'proportional offset'.

In Example 5.2.1, as long as the load conditions remain the same, the control will remain steady at a valve opening of 83.3%; this is called 'sustained offset'.

The effect of adjusting the P-bandIn electronic and pneumatic controllers, the P-band is adjustable. This enables the user to find a setting suitable for the individual application.

Increasing the P-band - For example, if the previous application had been programmed with a 12% proportional band equivalent to 12°C, the results can be seen in Figure 5.2.10. Note that the wider P-band results in a less steep 'gain' line. For the same change in room temperature the valve movement will be smaller. The term 'gain' is discussed in a following section.

In this instance, the 2°C fall in room temperature would give a valve opening of about 68% from the chart in Figure 5.2.10.

Page 28: kuliah pengendalian 2013

Fig. 5.2.10 Room temperature and valve relationship - 12°C Proportional band

Reducing the P-band - Conversely, if the P-band is reduced, the valve movement per temperature increment is increased. However, reducing the P-band to zero gives an on/off control. The ideal P-band is as narrow as possible without producing a noticeable oscillation in the actual room temperature.

Example 5.2.2Let the input span of a controller be 100°C.

If the controller is set so that full change in output occurs over a proportional band of 20% the controller gain is:

GainThe term 'gain' is often used with controllers and is simply the reciprocal of proportional band.

The larger the controller gain, the more the controller output will change for a given error. For instance for a gain of 1, an error of 10% of scale will change the controller output by 10% of scale, for a gain of 5, an error of 10% will change the controller output by 50% of scale, whilst for a gain of 10, an error of 10% will change the output by 100% of scale.

The proportional band in 'degree terms' will depend on the controller input scale. For instance, for a controller with a 200°C input scale:

An Xp of 20% = 20% of 200°C = 40°C

An Xp of 10% = 10% of 200°C = 20°C

Example 5.2.2

Let the input span of a controller be 100°C.

If the controller is set so that full change in output occurs over a proportional band of 20% the controller gain is:

Equally it could be said that the proportional band is 20% of 100°C = 20°C and the gain is:

Page 29: kuliah pengendalian 2013

Therefore the relationship between P-band and Gain is:

As a reminder:

A wide proportional band (small gain) will provide a less sensitive response, but a greater stability. A narrow proportional band (large gain) will provide a more sensitive response, but there is a practical limit

to how narrow the Xp can be set.

Too narrow a proportional band (too much gain) will result in oscillation and unstable control.

For any controller for various P-bands, gain lines can be determined as shown in Figure 5.2.11, where the controller input span is 100°C.

Fig. 5.2.11 Proportional band and gain

Reverse or direct acting control signalA closer look at the figures used so far to describe the effect of proportional control shows that the output is assumed to be reverse acting. In other words, a rise in process temperature causes the control signal to fall and the valve to close. This is usually the situation on heating controls. This configuration would not work on a cooling control; here

Page 30: kuliah pengendalian 2013

the valve must open with a rise in temperature. This is termed a direct acting control signal. Figures 5.2.12 and 5.2.13 depict the difference between reverse and direct acting control signals for the same valve action.

Fig. 5.2.12 Reverse acting signal

Fig. 5.2.13 Direct acting signal

On mechanical controllers (such as a pneumatic controller) it is usual to be able to invert the output signal of the controller by rotating the proportional control dial. Thus, the magnitude of the proportional band and the direction of the control action can be determined from the same dial.

On electronic controllers, reverse acting (RA) or direct acting (DA) is selected through the keypad.

Gain line offset or proportional effectFrom the explanation of proportional control, it should be clear that there is a control offset or a deviation of the actual value from the set value whenever the load varies from 50%.

To further illustrate this, consider Example 5.2.1 with a 12°C P-band, where an offset of 2°C was expected. If the offset cannot be tolerated by the application, then it must be eliminated.

This could be achieved by relocating (or resetting) the set point to a higher value. This provides the same valve opening after manual reset but at a room temperature of 18°C not 16°C.

Page 31: kuliah pengendalian 2013

Fig. 5.2.14 Gain line offset

Manual resetThe offset can be removed either manually or automatically. The effect of manual reset can be seen in Figure 5.2.14, and the value is adjusted manually by applying an offset to the set point of 2°C.

It should be clear from Figure 5.2.14 and the above text that the effect is the same as increasing the set value by 2°C. The same valve opening of 66.7% now coincides with the room temperature at 18°C.

The effects of manual reset are demonstrated in Figure 5.2.15.

Page 32: kuliah pengendalian 2013

Fig. 5.2.15 Effect of manual reset

Page 33: kuliah pengendalian 2013

Integral control - automatic reset action'Manual reset' is usually unsatisfactory in process plant where each load change will require a reset action. It is also quite common for an operator to be confused by the differences between:

Set value - What is on the dial. Actual value - What the process value is.

Required value - The perfect process condition.

Such problems are overcome by the reset action being contained within the mechanism of an automatic controller.

Such a controller is primarily a proportional controller. It then has a reset function added, which is called 'integral action'. Automatic reset uses an electronic or pneumatic integration routine to perform the reset function. The most commonly used term for automatic reset is integral action, which is given the letter I.

The function of integral action is to eliminate offset by continuously and automatically modifying the controller output in accordance with the control deviation integrated over time. The Integral Action Time (IAT) is defined as the time taken for the controller output to change due to the integral action to equal the output change due to the proportional action. Integral action gives a steadily increasing corrective action as long as an error continues to exist. Such corrective action will increase with time and must therefore, at some time, be sufficient to eliminate the steady state error altogether, providing sufficient time elapses before another change occurs. The controller allows the integral time to be adjusted to suit the plant dynamic behaviour.

Proportional plus integral (P + I) becomes the terminology for a controller incorporating these features.

The integral action on a controller is often restricted to within the proportional band. A typical P + I response is shown in Figure 5.2.16, for a step change in load.

Fig. 5.2.16 P+I Function after a step change in load

The IAT is adjustable within the controller:

If it is too short, over-reaction and instability will result. If it is too long, reset action will be very slow to take effect.

IAT is represented in time units. On some controllers the adjustable parameter for the integral action is termed 'repeats per minute', which is the number of times per minute that the integral action output changes by the proportional output change.

Repeats per minute = 1/(IAT in minutes) IAT = Infinity - Means no integral action

IAT = 0 - Means infinite integral action

Page 34: kuliah pengendalian 2013

It is important to check the controller manual to see how integral action is designated.

Overshoot and 'wind up'With P+ I controllers (and with P controllers), overshoot is likely to occur when there are time lags on the system.

A typical example of this is after a sudden change in load. Consider a process application where a process heat exchanger is designed to maintain water at a fixed temperature.

The set point is 80°C, the P-band is set at 5°C (±2.5°C), and the load suddenly changes such that the returning water temperature falls almost instantaneously to 60°C.

Figure 5.2.16 shows the effect of this sudden (step change) in load on the actual water temperature. The measured value changes almost instantaneously from a steady 80°C to a value of 60°C.

By the nature of the integration process, the generation of integral control action must lag behind the proportional control action, introducing a delay and more dead time to the response. This could have serious consequences in practice, because it means that the initial control response, which in a proportional system would be instantaneous and fast acting, is now subjected to a delay and responds slowly. This may cause the actual value to run out of control and the system to oscillate. These oscillations may increase or decrease depending on the relative values of the controller gain and the integral action. If applying integral action it is important to make sure, that it is necessary and if so, that the correct amount of integral action is applied.

Integral control can also aggravate other situations. If the error is large for a long period, for example after a large step change or the system being shut down, the value of the integral can become excessively large and cause overshoot or undershoot that takes a long time to recover. To avoid this problem, which is often called 'integral wind-up', sophisticated controllers will inhibit integral action until the system gets fairly close to equilibrium.

To remedy these situations it is useful to measure the rate at which the actual temperature is changing; in other words, to measure the rate of change of the signal. Another type of control mode is used to measure how fast the measured value changes, and this is termed Rate Action or Derivative Action.

Integral Controller (I-Controller)

With integral action, the controller output is proportional to the amount of time the error is present. Integral action eliminates offset.

OI = - kI Σ(Er dt)         (2)

where

OI = output integrating controller

kI = integrating gain or action factor of the controller

dt = time sample

The integral controller produce an output proportional with the summarized deviation between the set point and measured value and integrating gain or action factor.

Integral controllers tend to respond slowly at first, but over a long period of time they tend to eliminate errors.

The integral controller eliminates the steady-state error, but may make the transient response worse. The controller may be unstable.

Page 35: kuliah pengendalian 2013

The integral regulator may also cause problems during shutdowns and start up as a result of the integral saturation or wind up effect. An integrating regulator with over time deviation (typical during plant shut downs) will summarize the output to +/- 100%. During start up the output is set to 100%m which may be catastrophic.

Integral action (Figure 5.5.3)With too short an integral time, temperature (curve A) will cross the set point and some oscillation will occur. An excessive integral time will result in the temperature taking too long to return to set point (curve B).Curve C shows a correct integral time setting where the temperature returns to set point as rapidly as possible without any overshoot or oscillation.

Fig. 5.5.3 Integral time reaction to change in load

3. AKSI KONTROL INTEGRAL

e(t) . Kidtdm(t)

atau

Page 36: kuliah pengendalian 2013

t

0

dt e(t) Ki m(t)

sKi

E(s)M(s)

Pengaruh pada sistem : Menghilangkan Error Steady State Respon lebih lambat (dibanding P) Dapat menimbulkan ketidakstabilan (karena menambah

orde sistem) Perubahan sinyal kontrol sebanding dengan perubahan error

Page 37: kuliah pengendalian 2013

Semakin besar error, semakin cepat sinyal kontrol bertambah/berubah

Grafik (lihat Ogata)

Derivative control - rate actionA Derivative action (referred to by the letter D) measures and responds to the rate of change of process signal, and adjusts the output of the controller to minimise overshoot.

If applied properly on systems with time lags, derivative action will minimise the deviation from the set point when there is a change in the process condition. It is interesting to note that derivative action will only apply itself when there is a change in process signal. If the value is steady, whatever the offset, then derivative action does not occur.

One useful function of the derivative function is that overshoot can be minimised especially on fast changes in load. However, derivative action is not easy to apply properly; if not enough is used, little benefit is achieved, and applying too much can cause more problems than it solves.

D action is again adjustable within the controller, and referred to as TD in time units:

T D = 0 - Means no D action.

T D = Infinity - Means infinite D action.

P + D controllers can be obtained, but proportional offset will probably be experienced. It is worth remembering that the main disadvantage with a P control is the presence of offset. To overcome and remove offset, 'I' action is introduced. The frequent existence of time lags in the control loop explains the need for the third action D. The result is a P + I + D controller which, if properly tuned, can in most processes give a rapid and stable response, with no offset and without overshoot.

Derivative action (Figure 5.5.4)An excessive derivative time will cause an over-rapid change in temperature, overshoot and oscillation (curve B).Too short a derivative time allows the temperature to deviate from the set point for too long (curve A).The optimum setting returns the temperature to the set point as quickly as possible and is consistent with good stability (curve C).

Fig. 5.5.4 Derivative time reaction to change in load

Page 38: kuliah pengendalian 2013

With derivative action, the controller output is proportional to the rate of change of the measurement or error. The controller output is calculated by the rate of change of the deviation or error with time.

OD = - kD dEr / dt         (3)

where

OD = output derivative controller

kD = derivative gain or action factor of the controller

dEr = deviation change over time sample dt

dt = time sample

The derivative or differential controller is never used alone. With sudden changes in the system the derivative controller will compensate the output fast. The long term effects the controller allow huge steady state errors.

A derivative controller will in general have the effect of increasing the stability of the system, reducing the overshoot, and improving the transient response.

PID controllersP and I and D are referred to as 'terms' and thus a P + I + D controller is often referred to as a three term controller.

Proportional, Integral, Derivative Controller (PID-Controller)

Page 39: kuliah pengendalian 2013

The functions of the individual proportional, integral and derivative controllers complements each other. If they are combined its possible to make a system that responds quickly to changes (derivative), tracks required positions (proportional), and reduces steady state errors (integral).

Note that these correlations may not be exactly accurate, because P, I and D are dependent of each other. Changing one of these variables can change the effect of the other two.

Controller Response

Rise Time Overshoot Settling TimeSteady State

Error

P Decrease Increase Small Change Decrease

I Decrease Increase Increase Eliminate

D Small Change Decrease Decrease Small Change

The transfer function of the PID controller looks like the following:

• Kp = Proportional gain

• KI = Integral gain

• Kd = Derivative gain

First, let's take a look at how the PID controller works in a closed-loop system using the schematic shown above. The variable (e) represents the tracking error, the difference between the desired input value (R) and the actual output (Y). This error signal (e) will be sent to the PID controller, and the controller computes both the derivative and the integral of this error signal. The signal (u) just past the controller is now equal to the proportional gain (Kp) times the magnitude of the error plus the integral gain (Ki) times the integral of the error plus the derivative gain (Kd) times the derivative of the error.

Page 40: kuliah pengendalian 2013

This signal (u) will be sent to the plant, and the new output (Y) will be obtained. This new output (Y) will be sent back to the sensor again to find the new error signal (e). The controller takes this new error signal and computes its derivative and its integral again. This process goes on and on.

The characteristics of P, I, and D controllers A proportional controller (Kp) will have

the effect of reducing the rise time and will reduce ,but never eliminate, the steady-state error. An integral control (Ki) will

have the effect of eliminating the steady-state error, but it may make the transient

response worse. A derivative control (Kd) will have the effect of increasing the stability of the system, reducing the

overshoot, and improving the transient response. Effects of each of controllers Kp,

Kd, and Ki on a closed-loop system are summarized in the table shown below. CL

RESPONSE

RISE TIME

OVERSHOOT

SETTLING TIME

S-S ERROR

Kp Decrease Increase Small

Change Decrease

Ki Decrease Increase Increase Eliminate

Kd Small

Change Decrease Decrease

Small Change

Summary of modes of controlA three-term controller contains three modes of control:

Proportional (P) action with adjustable gain to obtain stability. Reset (Integral) (I) action to compensate for offset due to load changes.

Rate (Derivative) (D) action to speed up valve movement when rapid load changes take place.

The various characteristics can be summarised, as shown in Figure 5.2.17.

Page 41: kuliah pengendalian 2013

Fig. 5.2.17 Summary of control modes and responses

Finally, the controls engineer must try to avoid the danger of using unnecessarily complicated controls for a specific application. The least complicated control action, which will provide the degree of control required, should always be selected.

Top

Further terminologyTime constant

Page 42: kuliah pengendalian 2013

This is defined as: 'The time taken for a controller output to change by 63.2% of its total due to a step (or sudden) change in process load'.

In reality, the explanation is more involved because the time constant is really the time taken for a signal or output to achieve its final value from its initial value, had the original rate of increase been maintained. This concept is depicted in Figure 5.12.18.

Fig. 5.2.18 Time constant

Example 5.2.2 A practical appreciation of the time constantConsider two tanks of water, tank A at a temperature of 25°C, and tank B at 75°C. A sensor is placed in tank A and allowed to reach equilibrium temperature. It is then quickly transferred to tank B. The temperature difference between the two tanks is 50°C, and 63.2% of this temperature span can be calculated as shown below:

63.2% of 50°C = 31.6°C

The initial datum temperature was 25°C, consequently the time constant for this simple example is the time required for the sensor to reach 56.6°C, as shown below:

25°C + 31.6°C = 56.6°C

HuntingOften referred to as instability, cycling or oscillation. Hunting produces a continuously changing deviation from the normal operating point. This can be caused by: Hunting

The proportional band being too narrow. The integral time being too short.

The derivative time being too long.

A combination of these.

Long time constants or dead times in the control system or the process itself.

In Figure 5.2.19 the heat exchanger is oversized for the application. Accurate temperature control will be difficult to achieve and may result in a large proportional band in an attempt to achieve stability.

Page 43: kuliah pengendalian 2013

If the system load suddenly increases, the two port valve will open wider, filling the heat exchanger with high temperature steam. The heat transfer rate increases extremely quickly causing the water system temperature to overshoot. The rapid increase in water temperature is picked up by the sensor and directs the two port valve to close quickly. This causes the water temperature to fall, and the two port valve to open again. This cycle is repeated, the cycling only ceasing when the PID terms are adjusted. The following example (Example 5.2.3) gives an idea of the effects of a hunting steam system.

Fig. 5.2.19 Hunting

Example 5.2.3 The effect of hunting on the system in Figure 5.2.19Consider the steam to water heat exchanger system in Figure 5.2.19. Under minimum load conditions, the size of the heat exchanger is such that it heats the constant flowrate secondary water from 60°C to 65°C with a steam temperature of 70°C. The controller has a set point of 65°C and a P-band of 10°C.

Consider a sudden increase in the secondary load, such that the returning water temperature almost immediately drops by 40°C. The temperature of the water flowing out of the heat exchanger will also drop by 40°C to 25°C. The sensor detects this and, as this temperature is below the P-band, it directs the pneumatically actuated steam valve to open fully.

The steam temperature is observed to increase from 70°C to 140°C almost instantaneously. What is the effect on the secondary water temperature and the stability of the control system?

As demonstrated in Tutorial 13.2 (The heat load, heat exchanger and steam load relationship), the heat exchanger temperature design constant, TDC, can be calculated from the observed operating conditions and Equation 13.2.2:

Equation 13.2.2

Where:

TDC = Temperature Design ConstantT s = Steam temperatureT 1 = Secondary fluid inlet temperatureT 2 = Secondary fluid outlet temperatureIn this example, the observed conditions (at minimum load) are as follows:

Page 44: kuliah pengendalian 2013

When the steam temperature rises to 140°C, it is possible to predict the outlet temperature from Equation 13.2.5:

Equation 13.2.5

Where:

T s = 140°C T 1 = 60°C - 40°C = 20°C temperatureTDC = 2

The heat exchanger outlet temperature is 80°C, which is now above the P-band, and the sensor now signals the controller to shut down the steam valve.

The steam temperature falls rapidly, causing the outlet water temperature to fall; and the steam valve opens yet again. The system cycles around these temperatures until the control parameters are changed. These symptoms are referred to as 'hunting'. The control valve and its controller are hunting to find a stable condition. In practice, other factors will add to the uncertainty of the situation, such as the system size and reaction to temperature change and the position of the sensor.

Hunting of this type can cause premature wear of system components, in particular valves and actuators, and gives poor control.

Example 5.2.3 is not typical of a practical application. In reality, correct design and sizing of the control system and steam heated heat exchanger would not be a problem.

LagLag is a delay in response and will exist in both the control system and in the process or system under control.

Consider a small room warmed by a heater, which is controlled by a room space thermostat. A large window is opened admitting large amounts of cold air. The room temperature will fall but there will be a delay while the mass of

Page 45: kuliah pengendalian 2013

the sensor cools down to the new temperature - this is known as control lag. The delay time is also referred to as dead time.

Having then asked for more heat from the room heater, it will be some time before this takes effect and warms up the room to the point where the thermostat is satisfied. This is known as system lag or thermal lag.

RangeabilityThis relates to the control valve and is the ratio between the maximum controllable flow and the minimum controllable flow, between which the characteristics of the valve (linear, equal percentage, quick opening) will be maintained. With most control valves, at some point before the fully closed position is reached, there is no longer a defined control over flow in accordance with the valve characteristics. Reputable manufacturers will provide rangeability figures for their valves.

Turndown ratioTurndown ratio is the ratio between the maximum flow and the minimum controllable flow. It will be substantially less than the valve's rangeability if the valve is oversized.

Although the definition relates only to the valve, it is a function of the complete control system.