Professional Documents
Culture Documents
Wan Nur Izzati Fadhlin Binti Azmi (2017550253), Nik Fadhullah Syafiq Aiman Bin Fauzi (2019794689),
PV1−PV2
MV1−MV2
Figure 2 - Example of a graph
1) If the value shows significant deviation from
linearity = 0 then the relationship between the Tangent Method
independent variable and dependent variable is linear.
2) If the value shows significant deviation from A tangent line should be drawn at the steepest point
linearity > 50 % then the relationship between the of a process response curve as shown in figure 2. Using
independent variable and dependent variable is highly tangent method we can determine the response rate(RR)
non-linear. and dead time (Td) of a process. The process response
3) If the value shows significant deviation from rate(RR) is the process change (ΔPV) per change in time
linearity <50 % then the relationship between the (Δt) as shown below:
independent variable and dependent variable is slightly
non-linear.
1) Ziegler Nichols :
2) Cohen-Coon :
RR = tanθΔMV×ab
Dead time Td (s) = td × b D. Process Stability
There are three ways used to calculate time constant.
1) Tangent:
Process reliability refers to the process's consistency, so we
a. Tc = tc x b
can assume that the process is stable or in control whether the
process behaves consistently over time. There is less error,
2) Two point: less oscillation, less damping and more smooth running. An
a. Tc = 1.5 x (T63.2 – T28.3) x b error between feedback and set point is often triggered by a
change in set point and load change, so performance
3) Tangent and a point: monitoring is key to enhancing process reliability. The
a. Tc = ( T63.2 – Td) x b performance test is a test that intentionally introduces
disturbance to the process. In this experiment, the output test
is set point and disturbance of load, we adjust the set point and
C. PID Setting and Closed Loop load of the process to observe the response. If the response is
The alphabet of PID, controllers refers to the modes of not consistent, we can change the PID values of the controller
proportional, integral and derivative power they provide. to enhance loop efficiency and lead to better overall process
They are commonly used in industrial automated process control and improved productivity. Some of the theories of
tuning:
control applications. To regulate flow, temperature,
pressure, level, and many other variables of the •When the value of PB is decreases, the process response
industrial process, PID controllers can be used. For becomes faster.
almost every operation, proportional control can be used. •When the value of I is decreases, the process response
For processes such as flow, pressure and level, PI becomes faster.
control is suitable. Meanwhile, when dealing with a slow •When the value of D is increases, the process response
response process such as temperature, the PID controller becomes faster.
that mixes the benefit of proportional, derivative and
integral control action is ideal for use. The job of a PID This is because MV, though directly proportional to D, is
controller is to force feedback to match a set point in a inversely proportional to PB and I. MV is also directly
proportional to the process response at the same time (PV).
closed loop system.
Closed loop description. : An automatic control
system in which input is used as a mechanism, process,
or operation. It is commonly used in industrial systems
and a range of other applications that require
continuously automatic modulated control. Close loop
uses the controller's PID environment, a process
E. Description of
1) PID CONTROLLER
\
A control loop mechanism typically used in industrial
control systems and other applications requiring continuously
modulated control is a proportional-integral-derivative (PID)
controller. The PID controller, as indicated by its name,
combines proportional control with additional integral and
derivative modifications, allowing the device to compensate
for system changes automatically.
PID controllers are commonly used in a variety of
industrial applications and account for approximately 95% of
the industrial automation industry's closed-loop operations. Feedback Control
They can be found for location control and temperature
regulation of mass quantities of fluid in anything that can take The operator's control task is called feedback control,
days to adjust by a single degree. because the operator changes the firing rate based on feedback
through the temperature gauge that he gets from the process.
PID controller basics As described here, feedback control can be done manually, but
it is usually done automatically, as will be explained in the
next section.
A control loop is formed by the operator, valve, process,
and temperature gauge. The temperature that is fed back to the
operator, thus closing the loop, is affected by any change the
operator makes to the gas valve.
Automatic Control
The control feature can be automated with a PID controller to
relieve the operator from the boring task of manual control.
The main function of the PID controller as a feedback They need the following:
controller is to force feedback to meet a fixed point, such as a
Install an electronic temperature measurement device
climate control device that forces a heating or cooling unit to
Automate the valve by adding an actuator (and
turn on or off depending on a set ambient temperature. Other
perhaps a positioner) to it so that it can be driven
process variables, such as velocity, pressure, and flow, are also
electronically
governed.
It is safe to assume that PID control operates just the Controller, and connect it to the electronic
same as the cruise control system on a vehicle, where external temperature measurement and the automated control
factors such as steep hills will reduce speed. A PID framework valve
will use an algorithm in this application to return the vehicle to
its setpoint speed by monitoring the vehicle's engine's power A PID controller has a fixed point (SP) which can be set to the
output as it moves up and over the hill. Before the invention of desired temperature by the operator. The Output (CO) of the
microprocessors, PID control was achieved by analog Controller sets the location of the control valve. And the
electronic components. Today, however, all PID controllers temperature calculation, called the Process Variable (PV),
are handled by microprocessors. provides the much-needed input to the controller. Present,
voltage or digital signals are transmitted to the process
Manual Control variable and controller output (Figure 2).
P, PI and PID control The process of setting the optimal gains for P, I and D to get
If devices have a PID (proportional-integral-derivative) an ideal response from a control system is called tuning.
control function, this means that three forms of control can be Before the working of the PID controller takes place, it must
realized: P, PI, and PID. be tuned to suit with dynamics of the process to be controlled.
Designers give the default values for P, I, and D terms, and
P Control these values couldn’t give the desired performance and
The power of output is directly proportional to the error of sometimes leads to instability and slow control performances.
control. The higher the coefficient of proportion, the lower the
power of output at the same control error. For fast-response In this method, the controller of I and D terms are set to zero
systems with a high transmission coefficient, proportional first and the proportional gain is increased until the output of
control can be suggested. You can first set the maximum the loop oscillates. As one increases the proportional gain, the
proportion coefficient where the output power decreases to system becomes faster, but care must be taken not make the
zero in order to change the propotional regulation. system unstable. Once P has been set to obtain a desired fast
Set a defined value when the calculated value is stabilized response, the integral term is increased to stop the oscillations.
and progressively reduce the proportion coefficient and the The integral term reduces the steady state error, but increases
control error will decrease. If there are periodic oscillations in overshoot. Some amount of overshoot is always necessary for
the device, the coefficient of proportion should be increased so a fast system so that it could respond to changes immediately.
that the control error decreases to the limit with minimal The integral term is tweaked to achieve a minimal steady state
periodic oscillations. error. Once the P and I have been set to get the desired fast
control system with minimal steady state error, the derivative IV. To undergo fine tuning to achieve the optimum PI
term is increased until the loop is acceptably quick to its set controller setting.\
point. Increasing derivative term decreases overshoot and V. To calculate either the response curve is linear,
yields higher gain with stability but would cause the system to slightly non-linear or roughly non-linear.
be highly sensitive to noise. VI. To find the Td, Tc and RR value using tangent
method, reformulated tangent method and numerical
The desired closed-loop system performance can be achieved tangent method
with an appropriate adjustment of controller settings. VII. To calculate the PB and I value using Ziegler
Hundreds of tools, methods and theories are available for Nichol’s and Cohen-Coon’s method.
tuning the PID controller. However, finding optimal
parameters for the PID controller is still a tricky task, in
practice still the trial and error method is used for tuning IV. PROCEDURES
process by the control engineers. The controller can
provide optimized control action, and minimized error
performance with optimum tuning of the three parameters in The methodology of this experiment is discussed below:
the PID controller algorithm.
DCS: DELTA-V EMERSON
G. Example of PID Application in Real Life Open Loop Test
Process
1. Select the control loops:
At present, there are various kinds of PID controllers are a) Gas Pressure Control Plant
available in the market. These controllers are used for i. PIC91
industrial control requirements like pressure, temperature,
level, and flow. The standalone type PID controllers provide ii. PIC92
several fixed-point configurations to produce the autonomous b) Gas Flow Temperature Plant
several alarms. These standalone controllers mainly comprise i. FIC91
PID controllers from Honeywell, temperature controllers from
Yokogawa, autotune controllers from OMEGA, Siemens, and c) Boiler Drum Heat Exchanger Plant
i. FIC12
ABB controllers.
ii. LIC11
Electronic analogue PID control loops were often found
d) Liquid Flow Plant
within more complex electronic systems. For example, the
i. FIC21.
head positioning of a disk drive, the power conditioning of a
power supply, or even the movement-detection circuit of a
modern seismometer. Discrete electronic analogue controllers
have been largely replaced by digital controllers using
microcontrollers or FPGAs to implement PID algorithms.
However, discrete analogue PID controllers are still used in
niche applications requiring high-bandwidth and low-noise
performance, such as laser-diode controllers.
III. I. OBJECTIVES
DCS: FOXBORO
Open Loop Test.
1. Select the Plant -Water Flow and Level Control Plant
(WLF922)
2. Click Detail icon at Faceplate to set the controller setting. 2. Activate the selected control loops
i. FIC31
ii. LIC31
MV(%)
Figure 5 Control loops
AUTO and MAN
mode
Figure 6 Controller
3. To view trending
a) select File > Additional FoxView Closed Loop Test
b) Click at Change Env
c) Change the Environment to Operator 1. Set the controller in AUTO mode.
d) At new FoxView select Plant WLF922. 2. Insert the PI controller setting (PB and I) value at
e) Double click at Controller. Click at TREND. PBAND and INT Section.
4. To enlarge the trending 3. If the response oscillates, do fine tuning to achieve
stable condition.
a) Click at Change Env
b) Change the Environment to Process_Eng 4. If the response oscillates:
c) Then, right click at the trend and select a) Reduce the Kc -an excessively large proportional
moveable. gain will lead to process instability and
d) Maximize the trend oscillation.
5. To perform open loop test, stabilize the process either OR
in manual (MAN) or Automatic (AUTO) mode. b) Increase the I – an excessively small integral term
6. Record the initial value of manipulated variable (MV can cause the present value to overshoot the
in %). setpoint value.
7. Once the process stabilized, if it is in AUTO mode, 5. Record the optimum PI controller setting.
switch it to MAN mode. (Remember: open loop test Load Disturbance Test
must be carried out in MAN mode)
1. Set the controller in manual mode
8. Make a step change between 5 – 20% to the
manipulated variable. 2. Make change to MV of about 10% of current MV
value.
9. For self-regulating system: wait until the new steady
state reached. For non-self-regulating system: wait 3. Wait for 3 s.Then set the controller to automatic mode.
until slope can be calculated from process response. 4. Wait until the response become stable.
Then, set the system to AUTO mode.
Set point test
10. Collect the data from AIM Historian Data Display at 1. From load disturbance test, continue with set point test.
Desktop 2. System must be in automatic mode.
a) Tag the desired data
b) Set the desired Date/Time 3. Make a change in set point about ±10% of current
c) Click at View Data operating process value.
4. Wait until the response become stable.
5. Combine both response curves.
6. Use HyperSnap-DX program to print the graph:
a) START > Program > HyperSnap-DX
>HyperSnap- DX
b) In HyperSnap-DX Pro select Capture > Active
window and click at the trending
c) Once the trending appear in HyperSnap –DX
program, go to Image >Invert Black and White
d) Print the inverted graph.
Figure 7
11. Use Numerical Analysis to determine response rate
(RR), time delay (Td) and time constant (Tc).
(Remember: Value of PV and MV MUST be in %)
12. Determine the PI controller setting using Ziegler
Nichol’s or Cohen Coon’s method.
V. RESULTS
according to the video and data given in Microsoft Team, data
were obtained and tabulated as following below:
VI. CALCULATION
Figure 9- Level flow control (L1C11)
Open Loop: Tangent Method (FIC21)
Figure 11: Open Loop Process Response of Self-Regulating Open Loop: Time Constant (LIC11)
Process Tangent Method
MVi = 70.2% ; MVf = 80.2% Figure 4 shows an open loop process response of a self-
ΔMV = MVf – MVi = 80.2% - 70.2% = 10% regulating process when a change in manipulated variables
was mad from 70.2% to 80.2%. The time constant (TC) is
Based on the graph, calculated using tangent method.
Ѳ=9
Td (length) = 88 mm
Td (time) = 88 mm × 0.0208 s/mm = 1.8304s
PV (%) =
=
= 49.1733
RR =
=
= 0.2201
Δh = 1s ; ΔMV = 10% ; PVi = 49.1733% ; PVf = 65.3433%
RRmax = 0.5162/s
Parameters Values
Dead Time (Td), s 1.6116 FIC31- Ziegler Nichols
An open loop test has been performed to a flow control loop.
Time Constant (Tc), s 0.0612
The process response has been analysed for process
Response Rate (RR), 1/s 24.0899 characteristics and summarised as in Table 4.
Table 6: Process Characteristic of Flow Control Loop Table 4: Process Characteristic of Flow Control Loop
The optimum controller setting for the flow control is Parameters Values
calculated based on Cohen-Coon’s Tuning Rule.
Dead Time (Td), s 1
Cohen-Coon’s Tuning Rule was selected based on the settling
criteria. The PI mode has been selected based on the flow Time Constant (Tc), s 1.4198
process. Response Rate (RR), 1/s 0.2201
µ = Td /Tc = 1.6116/0.0612 = 26.3333 The optimum controller setting for the flow control is
PB = 100/ (1+μ/11) RR Td calculated in which the process will behave like a QAD type
of response when a change in set point is made.
PB = 100/ (1+26.3333/11) ×24.0899 ×1.6116=1143.9013%
Ziegler-Nichols’s Tuning Rule was selected based on the
I = 3.33 [(1+μ/11)/(1+11μ/5)] Td settling criteria. The PI mode has been selected based on the
I=3.33[(1+26.3333/11)/(1+(11×(26.3333))/5)]×1.6116 flow process.
I=0.3091s PB = 111.1 RR Td
The PB and I value were then used for close loop test PB = 111.1 × 0.2201 × 1 = 24.4531%
proceeding with load disturbance test and set point for an open I = 3.33 Td
loop response.
I = 3.33 × 1 = 3.33s
The PB and I value were then used for close loop test
LIC11- Ziegler Nichols proceeding with load disturbance test and set point for an open
An open loop test has been performed to a flow control loop. loop response.
The process response has been analysed for process
characteristics and summarised as in Table 7.
Parameters Values
VII. DISCUSSION
Dead Time (Td), s 1.8304
In this experiment, there are several objectives need to be
Time Constant (Tc), s 1.0816 obtained. Firstly, the value of dead time Td, time constant Tc
Response Rate (RR), 1/s 0.4759 and response rate RR were obtained by using 3 methods which
are Tangent Method and Reformulated Tangent Method
Table 7: Process Characteristic of Flow Control Loop (graphical method) and lastly Numerical Tangent Method.
Next, experiment were continued with determining optimum thus improved the speed of data extraction, make it better to
controller setting based on Ziegler-Nichols / Cohen Coon be used compared to tangent method. However, graphical
method. In this experiment, we focused on one type of method will still have higher tendency to give inaccurate result
parameter to be controlled which are flow control. Each types compared to numerical method.
need similar kind of controller mode as according to the
To calculate time constant in numerical method, the value of
Tuning Rules. As for flow control process, the PI controller
PVi anf PVf from table 3 were used to determine the value of
was used as this mode is more suitable for fast and noisy
PV(63.2%) which is 59.3927%. Then, the value of PV(63.2%)
process. Though P controller mode is suitable for all kind of
was interpolated with another two value, PVi and PVf to get
processes but it may give a result of off-set and it may cause
the value of T(63.2%) which is 2.9759s. In 2-point method,
the process to be unstable.
the value of T(63.2%) and T(28.3%) were needed, thus
T(28.3%) which is 2.0294s were obtained by using the same
For the first experiment, the value of response rate (RR) and
steps as for T(63.2%). Tc value gained was 1.4198s. next, in
time dead (Td) were obtained by using Tangent Method as
Tangent Method, the value of Tc which is 1.0816 s was
shown in figure 10. By referring to the graph in figure 10, the
obtained by using the graph in figure 13 whilst for Tangent-2-
value of a and b which are 0.6410 %.mm and 0.0204 s/mm
point Method, the value of Tc which is 0.0612s was obtained
respectively are calculated by using process span value given
from the graph in figure 12. From here, it is genuinely that by
in order to determine the value of Td and RR that are 1.6116 s
using 2-point method, it gave the greatest value of Tc and
and 24.0899 /s respectively. In addition, by referring to figure
Tangent-2-point method gave the smallest value of Tc.
11, value of response rate (RR) and time dead (Td) were
obtained by using Reformulated Tangent Method. With the The value of RR, Td and Tc from previous experiment were
value of a and b obtained from the graph are 0.6250 %/mm used Cohen Coon and Ziegler-Nichol’s Tuning Rules to obtain
and 0.0208 s/mm respectively, in this experiment, the value of the value of PB and I. this experiment were done to observe
Td and RR are 1.83045 s and 0.4759 /s respectively. Next, for and determine the optimum controller setting as stated in the
numerical method, under open loop: numerical calculation, the calculation part, the value of PB by using Cohen Coon is
table 2 were constructed and simplified into table 3. From higher than in Ziegler-Nichols Method which were
table 3, RR value is calculated based on the data tabulated. 1143.9013% and 96.97% and 24.4531% respectively.
Value of RR max which is 0.5162 /s was determined and used Meanwhile for I value, the Cohen Coon gave smaller value of
to calculate the value of Td at the end which is 3 s. for the I compared to Ziegler-Nichols method which were 0.3091 s
value of time constant (Tc), the value obtained from Tangent- and 6.0952 s and 3.33s respectively. Both tuning test are for
Point-Method was 0.0612 s and 1.0816 s from Tangent QAD, performance test settling criteria with disturbance in
Method. In Numerical Method, from 2-point Method, value of load variable.
Tc gained was 1.4198 s.
The proportional band is defined as the amount of change in
input (or deviation), as percent of span, required to cause the
In accordance with the value obtained previously, this can be
control output to change from 0% to 100% A narrower
concluded that values of Td obtained from the two graphical
proportional band gives greater output change for any given
method differed insignificantly but both value were very small
deviation, it therefore also makes the control performance
compared to the value of Td gained from the numerical
more susceptible to oscillation. At the same time, a narrower
method. In another hand, the value of RR obtained from
proportional band reduces the offset. The integral time (I) is
reformulated tangent method differed slightly with the RR
defined as the time required to develop, when a stepwise
value from numerical method and RR value obtained from the
change in deviation is imposed, an output change due to
Tangent Method was the greatest among those three. Tangent
integral action that is exactly equal to the change due to
method is known as the quickest method to obtained the
proportional action. The longer the integral time set, the
optimum P, I, and D as it provides the vital information of
slower the change in output; the smaller the time, the faster the
process dynamic which is dead time and response rate. In this
output changes. PB is inversely proportional to MV, hence
method, the response curve is analyzed for the process dead
MV is faster if the value of PB is decrease. Also, I is inversely
time (Td) and the response rate (RR) by drawing a tangent line
proportional to MV thus if I value increases, MV will getting
to the steepest point of the response curve. By definition, the
faster. MV is directly proportional to process response PV. A
process dead time is estimated at the cross section between the
faster MV will make PV become faster and a faster PV is
baseline of the old steady-state level and the tangent line. This
indicated by shifting the process response curve to the left.
lead to inaccurate result. The reformulated tangent in another
This means the curve will tend to oscillate tremendously and
hand is proved to alleviate the inadequacy of the conventional
vigorously than the initial one.
tangent method. Reformulated Tangent Method (RTM)
transforms the process response rate into trigonometric Hence, Cohen Coon gave the best and smallest value of I
function to get the optimum PID. This newly reformulated compared to Z-N method. The most common classical
tangent method simplifies the analysis of process controller tuning methods are the Ziegler-Nichols and Cohen-
characteristics of the open loop response curve. It is also Coon methods. These methods are often used when the
reduce the number of steps in analyzing the response curve mathematical model of the system is not available. The
Ziegler-Nichols method can be used for both closed and open Furthermore, since it could impact the measurement and the
loop systems, while Cohen-Coon is typically used for open final result in deciding the process linearity, the manipulated
loop systems. The Cohen-Coon method of controller tuning variable should be set to an acceptable range, such as 15%-
corrects the slow, steady-state response given by the Ziegler- 25% percent. For the decimal places taken, the numerical
Nichols method when there is a large dead time (process method is sensitive. The number of decimal places in the
delay) relative to the open loop time constant; a large process experiment must be constant which the 4 digit of decimals.
delay is necessary to make this method practical because
otherwise unreasonably large controller gains will be To ensure that the maximum RR can be determined for the
predicted. Also, Ziegler-Nichols tuning rules work well only experiment, the value of RR needs to be calculated for all data.
on processes with very long time constants relative to their Apart from that, to ensure that the PB and I value is the
dead times, and on level control loops. However, its optimum value, the product of the response rate curve must be
performance is not good on flow, liquid pressure, and many expanded.
other loops that require fast adjustment. In contrast, the
Cohen-Coon tuning rules work well on virtually all self- IX. REFERENCES
regulating processes and were designed to give a very fast
response. Ang, K. &. (2005). PID Control System Analysis, Design, and
Technology. . Control Systems Technology, IEEE
VIII. CONCLUSION Transactions on. 13. 10.1109/TCST.2005.847331. ,
559 - 576.
A. summary of the results Engr. Joseph, E. A., & M.Tech. (2018). Cohen-Coon PID
Tuning Method: A Better Option to Ziegler.
In contrast, a small nonlinear relationship between the process Computer Engineering and Intelligent Systems IISTE.
response and the manipulated variable for both the Hambali, N. &. (2015). Process controllability for flow control
FOXBORO and EMERSON flow control loops is dependent system using Ziegler-Nichols (ZN), Cohen-Coon
on the outcome. To evaluate the optimal condition for the (CC) and Chien-Hrones-Reswick (CHR) tuning
process control loop, the closed loop test, load disturbance test methods. . Proc. of the IEEE International
and set point testing can be performed. The process output, as Conference on Smart Instrumentation, Measurement
the controller gains value, PV will be slower, Kc will and Applications (ICSIMA) .
decrease, making the process curve change to the right. The nd. (n.d.). Chapter 12 Controller Tuning. Retrieved from
process response will also be increased by PB value, PV https://sites.chemengr.ucsb.edu/~ceweb/faculty/sebor
slower and the process response curve shifted to the right. The g/teaching/SEM_2_slides/Chapter_12.pdf
process response would also be slower by increasing the I REX Controls s.r.o. (n.d.). PID control lab 3.1. PID control
value, making the process response curve move to the right. laboratory: PID tuning in one minute.
We may also assume that using the Numerical Method is the Rice, R. C. (2010). PID Tuning Guide: A Best-Practices
most reliable data corresponding to the tuning rules compared Approach. 4-25.
to using the Tangent and Reformulated Tangent Method. Ziegler-Nichols Tuning Rules for PID. (nd). Retrieved from
B. Recommendations Microstar laboratory web site:
http://www.mstarlabs.com/control/znrule.html
Throughout the experiment, there are a few guidelines to
ensure reliable data and outcomes. Firstly, the tangent line
must be drawn straight and fit to the curve to prevent
measurement error in calculating the data from the method
curve.