Thursday, July 10, 2014

CHAPTER 2: CONTROLLER PRINCIPLE



Figure 1 : Controller Principle block diagram

SP  = Set point
MV = Measured value


Controller is a device which receives input from two points :
(i)            a value which is sent by transmitter
(ii)          a value which is set by set point


There are two types of controller :

1. ON OFF Controller
         -like switch

2. Analog Controller
         -Proportional controller
         -Integral controller
         -Derivative controller



TWO POSITION MODE 

A  two  position  controller  is  a  device  that  has  two  operating  conditions:    completely  on  or completely off. Figure 1 shows the input to output, characteristic waveform for a two position controller that switches from its "OFF" state to its "ON" state when the measured variable increases above these tpoint.    Conversely,  it  switches  from  its  "ON"  state  to  its  "OFF"  state  when  the  measured variable decreases below the set point.  This device provides an output determined by whether the error signal is above or below the set point.  The magnitude of the error signal is above or below the setpoint.  The magnitude of the error signal past that point is of no concern to the controller.

Figure 1 : Two position controller
Example of Two Position Control

A system using a two position controller is shown in Figure 2.The controlled process is the volume of water in the tank.  The controlled variable is the level in  the  tank.    It  is  measured  by  a  level  detector  that  sends  information  to  the  controller.    The output  of  the  controller  is  sent  to  the  final  control  element,  which  is  a  solenoid  valve,  that controls the flow of water into the tank.As the water level decreases initially, a point is reached where the measured variable drops below the set point.   This creates a positive error signal.   The controller opens the final control elementfully.   Water is subsequently injected into the tank, and the water level rises.   As soon as the water  level  rises  above  the  setpoint,  a  negative  error  signal  is  developed.   The  negative  error signal causes the controller to shut the final control element. This opening and closing of the final control element results in a cycling characteristic of the measured variable.
 Figure 2   Two Position Control System

TYPES OF CONTROLLER

There are a few types of controller used to control a process either in a form of Proportional output to the error, Proportional and Integral to the error or Proportional and Derivative output to the first error.Controller can be used in the form of single mode of Proportional, Integral, or Derivative, two mode of Proportional and Integral (P+I) and Proportional and Derivative(P+D), and three mode of Proportional, Integral and Derivative (P+I+D). 


Proportional Controller (P-Controller)

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. A proportional controller will have the effect of reducing the rise time and will reduce, but never eliminate, the steady-state error.


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.
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.


Derivative Controller (D-Controller)

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.


Proportional, Integral, Derivative Controller (PID-Controller)

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.



Control Mode Proportional and integral (P + I) 

The process uses a large space Proportional to reduce cycle are usually fixed error (offset). Another great space Proportional or more large load changes, improved error is greater still. With the integration mode is required. Use proportional integral response but reduce the return on set point is more important. When the integral is used it will continue to change as long as there is an error output until the error becomes zero. 

Control Mode Proportional and integral (P + I) are: - 


       P (t) = + Kp KpEp 

   available from Ep area under the graph (%) versus time (t



 Mod Kawalan Berkadaran + Terbitan (P+D)

Pengawal jenis ini tidak dapat menghindarkan ralat tetap.  Tetapi berguna untuk prosees yang mengalami perubahan beban  dengan pantas selagi ralat tetap yang ditimbulkan boleh diterima.

Mod kawalan nya ialah:-

   




CONTROLLER


ADVANTAGES

DISADVANTAGES
Proportional
Faster response when load is changing
Offset exist
Integral
Eliminate offset
Longer recovery time
Derivative
Reduce offset
No output when no error
Proportional + Derivative
Reduce recovery time and offset
Offset still occurs
Proportional + Integral
Can eliminate offset
Longer recovery time





QUESTION

1. Design the schematic circuit for controller action types below.
            (i)         Proportional controller (P)
            (ii)        Integral controller (I)
            (iii)       Derivative controller (D)

2. Give the advantages and disadvantages of Proportional, Integral, Derivative, Proportional + Derivative and Proportional + Integral.

3. Explain the operation of three mode controller system (P+I+D)

4. Sebuah pengawal numat jenis berkadaran digunakan untuk mengawal suhu dalam proses melebur.  Suhu titik set ialah 750°C dan julat alat suhu ialah 0 - 1000°C. Ruang berkadaran ditentukan pada 15%.  Julat keluaran tekanan dari pengawal ialah 20 –100 kN/m2 dan nilai keluaran tekanan meningkat apabila suhu meningkat.  Jika nilai keluaran keluaran tekanan diset pada 60kN/m2 untuk titik set suhu, cari:

a)             Nilai suhu untuk keluaran tekanan 20 kN/m2
b)            Nilai suhu untuk keluaran tekanan 100 kN/m2
c)             Nilai tekaaaanan bila suhu 735°C




       




Sunday, June 29, 2014

CHAPTER 1 : INTRODUCTION TO CONTROL SYSTEM


 WHAT IS CONTROL SYSTEM ?

Nowadays a lot of control systems lead to Automation Control System. Where have we gone, we are surrounded by such systems in the home, on the street, in vehicles and buildings. In industry, the automation control system is very necessary because it can improve the quality and increase productivity. Therefore, this automation control systems greatly affect the future way of life.



1.  ELECTRICAL CONTROL
          Electric control system is a control system which uses electric current whether direct current (DC) or current shuttle as supply source. Electrical control system is current law and Kirchoff voltage law. Kirchoff current law (the law of nodes) states that the algebraic sum of all currents entering and leaving a node is zero. Kirchoff's Law (Law loop) state in any instant the algebraic sum of the voltages around any loop in a circuit is zero. A mathematical model of the electrical circuit can be obtained using one or both of the Kirchoff laws. The studied electrical control system involves a resistor, capacitor, inductor and amp.


Figure1.1: Electrical control system Block diagram

2.  PNEUMATIC CONTROL
          Pneumatic system is deployed using pressurized air media. Continuous development of technology has seen a drastic development in low-pressure pneumatic control systems for industrial control systems. In between is included blast-resistant features, simplification and easy maintenance. Today, planning and development in the field of automation allows the system to operate to replace human labor. 

Use of Pneumatic Systems 
i. industrial processes 
ii. Position and speed control system 
iii. The braking system of vehicles, horns and stamping 
iv. Water spraying systems, elevators and automatic doors

Figure1.2: Pneumatic control system Block diagram

3.  HYDRAULIC CONTROL
           Compressed air is rarely used for continuous control of movement of the device that has mass range due to the load from the outside, except for the low-pressure pneumatic controller. In this case the hydraulic control system is usually preferred. In engineering, the term describes the hydraulic fluid systems that use oil.

Hydraulic control system is a system which uses fluid to generate force / energy to carry out work. Hydraulic system many in use in automobile industry like power system, system brake, crane, jack car,satellite and so on. Fluid that commonly used is oil.
The use of hydraulic circuits in machine tools, aircraft control systems and similar operations occur because of factors such as positivity, accuracy, flexibility, weight ratio of high horsepower fast start, stop and reverse the lancardan accurate and facilitate operations. The combination of electronic and hydraulic systems are widely used because it combines the advantages of both control and hydraulic power. 

Use of Hydraulic Systems 
i. Power steering and braking systems on vehicles 
ii. The mechanism driving the big ships 
iii. Machine control system


GENERAL TERMS USED IN CONTROL PROCESS
 In this section we will give focus on terms that commonly used inprocess control.



1.  System : An interconnection of elements and devices for a desired purpose

2.  Process : The device, plant, or system under control.

3.  Feedback control system : Feedback control system is a system where product always compared with entry set point and difference between value made foundation for control.

4.  Servo control : Servo control is a feedback control system where the product is position, velocity or acceleration.

5.  Dynamic variable : Dynamic variable is physical any parameter that variable the value spontaneously or through external influences.

6.  Error signal : Difference between entry signal and feedback signal/product.

7.  Process compound variable : process compound variable is process which contains more than one variable. 

8.  Controller : Device which control process certain system and acts against error signal to reduce error to product like is wanted.

 

 
General Terms in Block diagram
Figure 2.1 : General Terms in Block diagram


Basic Process Control System 

It is a system which handles process control and monitoring for the facility. It will take inputs from sensor and process instruments and provide output based on control functions in accordance with approved design control strategy.

Typically, Basic Process Control System  performs the following functions:
§  Control the process within pre-set operating condition, optimize plant operation to produce a good quality product and attempt to keep all process variables within its safety limit. 
§  Provide operator interface for monitoring and control via operator console (Human Machine Interface) .
§  Provide alarm/event logging and trending facilities.
§  Generate production data report.




LEVEL CONTROL SYSTEM IN  WATER TANK 

Float liquid level switch are based on the principle of buoyancy and static magnetic fieldThe position of floating ball 
with magnets (float) in the measured medium is affected by buoyancy effect.The change of liquid level lead to the change of the magnetic float position.
The magnet in the float ball and sensors (magnetic reed switch) interact and product switch signal.
application:
Used in petroleum, chemical industry, electric power, textile printing, environmental protection, civil construction 
and so on all sorts of exposure or airtight container liquid level control and alarm.


Block Diagram of the modal above :


OPEN LOOP SYSTEM:
An Open loop System is athe control system without feedback . These systems do not have any any portion of output feedback to the input for comparison and measurement. The components of these system are: input, processing system and output.

Open Loop Control System
Block Diagram Of Open Loop System

CLOSED LOOP SYSTEM:
These system are also known as the system with feedback.In this system a portion of output is feedback to the input side which is compared with the reference element and thus the error occurred at that time is filtered out and output is desire output. The components of these system are: input, reference element,controller, processing system and output.

Closed Loop Control System
Block Diagram Of Closed looop system 


ADVANTAGES OF OPEN LOOP SYSTEM AND CLOSED LOOP SYSTEM

OPEN LOOP SYSTEM
CLOSED LOOP SYSTEM

They Reduces the effect of non linearities
They reduces the effect of non linearities

They are economical in nature
They are less economical in nature

Have stability problem
These system are highly stable