Process Cont. CH_1
Process Cont. CH_1
By Geremu G. 2
Revision on Control Systems
Classical Control Modern Control
System Modelling System Modelling
Transfer Function State Space Modelling
Block Diagrams
System Analysis
Signal Flow Graphs
Eigenvalue Analysis
System Analysis
Observability and
Time Domain Analysis Controllability
Frequency Domain Analysis State Transition Matrix Method
Bode Plots, Nyquist Plots,
Nichol‟s Chart System Design
Root Locus State Variable Feedback
techniques
System Design
Optimization techniques
Compensation Techniques
PID Control By Geremu G. 3
Introduction to process dynamics and control
A system is an interconnection of elements and devices for a certain purpose.
A Control System is a device, or set of devices that can able to manage, command,
direct or regulate itself or another system to achieve a desired objective.
System + Control = Control System
A control system can also be defined as an interconnection of components forming
a system configuration that will provide a desired system response.
Some of the basic components of control system includes:
The plant (or process) to be controlled
The controller (either hardware or software)
Actuator
Feedback element or sensor
By Geremu G. 4
Cont.
A process is a series of interrelated tasks that, together, transform inputs into a given output.
These tasks (processes) may be carried out by people, nature or machines using various resources
(inputs)
Input Process Output
Process is also defined as a device, plant, or system under control.
How does the control mechanism works?
Driver: controller
Steering mechanism: final control element
capable of changing the course of travel
Driver‟s hand: (actuator) that act upon the
steering mechanism (final control element)
Automobile: plant (process)
Actual course of travel (path): controlled variable
(controller output or measured variable)
Desired course of travel (path): reference input
(command input)
Driver estimation: measurement output
Error: the difference between reference input and
measurement output
By Geremu G. 5
Basic components and variables in a process
The plant (process) to be controlled: is the device under control that is expected to
produce the desired output.
The controller: is the device that evaluate the system performance and decide the
corrective action to be taken (i.e. it guides the behavior of the system).
Actuator: a device that act upon the final control element in order to manipulate
(vary) the manipulated variable.
feedback elements (sensor or transducer): measure the controlled output and
convert or transform it to a suitable value so that it can be compared with the
reference input.
Controlled Variable (actual output): It is the quantity that is Controlled. usually,
controlled variable is the output of the control system.
Manipulated Variable: It is the quantity or the condition that is varied by the final
control element and has a direct effect on the value of controlled variable.
Disturbances: A signal that tends to adversely affect the value of the controlled
variable. It is an unwanted input of the system.
By Geremu G. 6
Review on Basic control Concepts
Manual control Example.
This shows a process with one
controlled quantity.
On the stream leaving the process,
there is an indicator to provide the
operator With information on the
current actual value of the controlled
variable.
The operator is able to inspect this indicator visually and, as a result, manipulate a
flow into the process to achieve some desired value or set point of the controlled
variable.
The set point is in the operator‟s mind, and the operator makes all of the control
decisions.
By Geremu G. 7
Cont..
Feedback control Example.
Here measuring devices are installed to measure
the actual values of the controlled variables.
These actual values are then transmitted to
feedback control hardware, and the hardware
makes an automatic comparison between the
Set points (or desired values) of the controlled
variables and the measured (or actual) values of
these same variables.
Based on the differences (“errors”) between the actual values and the desired values of
the controlled variables, the feedback control hardware calculates signals that reflect the
needed values of the manipulated variables.
These are then transmitted automatically to adjusting devices (final control elements) to
manipulate proper inputs to the process.
By Geremu G. 8
Cont..
Manual feedforward control Example.
In this case, as a disturbance enters the process
the operator observes an indication of the nature
of the disturbance entering, and based on the
entering disturbance the operator adjusts the
Manipulated variable so as to prevent any
ultimate change or variation in the controlled variable caused by the disturbance.
Here, the operator is an expert who knows the relationship between the nature (or type of
disturbance) and the manipulated variable in detail in order to provide a proper
manipulation of the variables.
The conceptual improvement offered by feedforward control is apparent. Feedback
control worked to eliminate errors, but feedforward control operates to prevent errors
from occurring in the first place.
By Geremu G. 9
Cont..
Automatic feedforward control Example.
In this case disturbances are shown entering
the process, and sensors are available to measure
these disturbances.
Based on the sensed or measured values of
the disturbances, the feedforward controllers
then calculate the needed values of the manipulated variables.
Set points that represent the desired values of the controlled variables are provided to the
feedforward controllers.
It is clear that the feedforward controllers must make very sophisticated calculations.
These calculations must reflect an awareness and understanding of the exact effects that
the disturbances will have on the controlled variables.
With such an understanding, the feedforward controllers are able to calculate the exact
amount of manipulated quantities required to compensate for the disturbances.
By Geremu G. 10
Process modeling..
Mathematical modeling
Any processes in a complex systems can be represented with a set of mathematical
equations known as mathematical model.
These models are useful for analysis and design of control systems for the process.
Design of control system involves developing a mathematical models for the system at
hand and performing cause and effect analysis between various variables of the process.
Analysis means finding the detailed relationship between different variables and
parameters within the process.
Modeling is the process of representing the behavior of a real system by a collection of
mathematical expressions and logics.
Models can be broadly categorized as either static or dynamic.
In static model there is no energy transfer
Systems that are static produce no motion, heat transfer, fluid flow, etc.
On the other hand a dynamic model has energy transfer that results in power flow.
By Geremu G. 11
Different kinds of models
The following mathematical models are mostly used.
Differential/ difference equation model
Transfer function model
State space model
Differential equation model
Differential equation model is a time domain mathematical model of process control
systems. It can be represented by the derivatives of system variables.
Follow these steps for differential equation model.
Apply basic laws to the given process of the system.
Get the differential equation in terms of input and output by eliminating the
intermediate variable(s).
Example: Consider the following electrical system as shown in the following figure
(next slide). The circuit consists of resistor, inductor and capacitor. All these electrical
elements are connected in series. The input voltage applied to this circuit is „vi‟ and the
voltage across the capacitor is the output voltage „vo‟.
By Geremu G. 12
Cont..
Which shows the process of obtaining the output (vo) from the input (vi) is
represented by a second order differential equation.
By Geremu G. 13
Transfer function model
Transfer function model is an s-domain mathematical model of a systems.
The Transfer function of a Linear Time Invariant (LTI) system is defined as the
ratio of Laplace transform of output to Laplace transform of input by assuming all
the initial conditions are zero.
If x(t) and y(t) are the input and output of an LTI system, then the corresponding
Laplace transforms are X(s) and Y(s).
By Geremu G. 14
Laplace transform of basic signals
By Geremu G. 15
Cont..
Example
Previously, we got the differential equation of an electrical system as
Where,
vi(s): is the Laplace transform of the input voltage vi
vo(s): is the Laplace transform of the output voltage vo
The above equation is a transfer function of the second
order electrical system.
The transfer function model of this system is shown
below
By Geremu G. 16
Mechanical Systems Modelling
There are two types of mechanical systems based on the type of motion.
I. Translational mechanical systems
II. Rotational mechanical systems
Translational mechanical systems: Translational mechanical systems move along
a straight line and mainly consist of three basic elements. Those are mass, spring
and dashpot or damper.
Mass: is the property of a body, which stores kinetic energy. If a force is applied on
a body having mass M, then it is opposed by an opposing force due to mass. This
opposing force is proportional to the acceleration of the body
Spring: is an element, which stores potential energy. If a force is applied on spring
K, then it is opposed by an opposing force due to elasticity of spring. This opposing
force is proportional to the displacement of the spring
Dashpot: If a force is applied on dashpot B, then it is opposed by an opposing force
due to friction of the dashpot. This opposing force is proportional to the velocity of
the body By Geremu G. 17
Force balance
By Geremu G. 18
Example
By Geremu G. 19
Rotational mechanical system modeling
Rotational mechanical system modeling: Rotational mechanical systems move about a
fixed axis. These systems mainly consist of three basic elements. Those are moment of
inertia, torsional spring and dashpot.
moment of inertia: is the property a body to stores kinetic energy in rotational system. If a
torque is applied on a body having moment of inertia J, then it is opposed by an opposing
torque due to the moment of inertia. This opposing torque is proportional to angular
acceleration of the body.
Torsional spring: is the property a body to stores potential energy in rotational system. If a
torque is applied on torsional spring K, then it is opposed by an opposing torque due to the
elasticity of torsional spring. This opposing torque is proportional to the angular
displacement of the torsional spring.
Dashpot: If a torque is applied on dashpot B, then it is opposed by an opposing torque due
to the rotational friction of the dashpot. This opposing torque is proportional to the angular
velocity of the body.
By Geremu G. 20
Torque balance
By Geremu G. 21
Electromechanical Systems modeling
Electromechanical system: consists of both electrical and mechanical systems.
Consider the armature controlled dc motor shown below.
Solution :
By Geremu G. 22
Dynamic process modeling
By Geremu G. 23
Conservation laws
Theoretical models of chemical processes are based on
conservation laws.
Conservation of Mass
rate of mass rate of mass rate of mass
accumulation in out
Conservation of Component i
rate of component i rate of component i
accumulation in
U tot U int U KE U PE
By Geremu G. 25
The Blending Process
For a blending process shown in the figure below, total mass conservation equation is:
rate of accumulation rate of rate of
of mass in the tank mass in mass out
dV
w1 w2 w
dt
d Vx
w1x1 w2 x2 wx
dt
Expanding the accumulation term using the “chain rule” for
differentiation of a product:
d Vx dx dV
V x Which gives:
dt dt dt
dx dV
V x w1x1 w2 x2 wx
By Geremu G.
dt dt 26
Cont..
Substitution of the mass balance in for dV/dt in gives:
dx
V x w1 w2 w w1x1 w2 x2 wx
dt
After canceling common terms and rearranging, more convenient model form is
obtained:
dV 1
w1 w2 w
dt
dx w1 w2
x1 x x2 x
dt V V
This equation is the differential equation model of stirred thank blending process.
Here x1 and x2 >> percentage composition of component (1 && 2) respectively
w1 and w2 >> mass inflow rates of component (1 && 2) respectively
w and x >> are mass outflow rate and percentage composition of the solution
v >> volume of the total liquid in the tank.
By Geremu G. 27
Fluid Level System
The resistance R for liquid flow in such a pipe or restriction is defined
as the change in the level difference (the difference of the liquid
levels of the two tanks) necessary to cause a unit change in flow rate;
that is,
By Geremu G. 29
Cont..
Since the inflow minus outflow during the small time interval dt is
equal to the additional amount stored in the tank, we see that
By Geremu G. 35
Cont..
I Impulse Response of First Order System (1st order differential equation)
Consider the unit impulse signal as an input to the first order system.
So, r(t)=δ(t)
Apply Laplace transform on both the sides.
By Geremu G.
Figure: step response 37
Response of second order system
Consider the following block diagram of closed loop control system
2
𝜔𝑛
Here, an open loop transfer function, is connected with a unity negative
𝑠 𝑠+2𝛿𝜔𝑛
feedback.
As we know that the transfer function of the closed loop control system having unity
negative feedback given by:
,
=> ……. (*)
By Geremu G. 38
Cont..
The power of „s‟ is two in the denominator of the above transfer function eq(*)
Hence, the system is second order system.
The characteristic equation is:
The roots of characteristic equation are found by quadratic formula as follow:
The above four cases show respectively the characteristic equations of undamped,
critically damped, over damped and under damped systems
By Geremu G. 39
Step Response of second Order System
Consider the unit step signal as an input to second order system.
So, r(t)=u(t)
Apply Laplace transform on both the sides.
1 1
R(s)= and = . Rearranging gives:
𝑠 𝑠
By Geremu G. 41
Rearranging the above equation will give:
By Geremu G. 42
Time domain specifications of 2nd order system
The performance of a system is usually evaluated in terms of the following qualities.
1. How fast it is able to respond to the input,
2. How fast it is reaching the desired output,
3. What is the error between the desired output and the actual output, once the
transients is died out and steady state is achieved,
4. Does it oscillate around the desired value, and
5. Is the output continuously increasing with time or is it bounded.
The last aspect is concerned with the stability of the system and we would require
the system to be stable
By Geremu G. 43
Cont..
By Geremu G. 44
Cont..
2. Rise time 𝑡𝑟 :- It is the time required for the response to reach 100% of the steady
state value for under damped systems. However, for over damped systems, it is
taken as the time required for the response to rise from 10% to 90% of the steady
state value.
3. Peak time 𝑡𝑝 :- It is the time required for the response to reach the maximum or
Peak value of the response.
4. Peak overshoot 𝑀𝑝 : It is defined as the difference between the peak value of the
response and the steady state value. It is usually expressed in percent of the steady
state value. If the time for the peak is „tp‟ percent peak overshoot is given by,
=
By Geremu G. 45
Cont..
5. Settling time 𝑡𝑠 : It is the time required for the response to reach and remain
within a specified tolerance limits (usually ± 2% or ± 5%) around the steady state
value.
6. Steady state error (ess): - is the error between the desired output and the actual
output as 𝑡 → ∞ or under steady state condition
ess = lim (𝑟 𝑡 − 𝑐(𝑡)) = lim 𝑒(𝑡)
𝑡→∞ 𝑡→∞
By Geremu G. 46
Example
The open loop transfer function of servo system with unity feed back is given by
By Geremu G. 47
Cont..
By Geremu G. 48
Steady state error
Consider the following block diagram of closed loop control system, which is
having unity negative feedback.
transfer function of the unity negative feedback closed loop control system as:
By Geremu G. 49
Cont..
By Geremu G. 50
Reading Assignment
Use the following numerical methods to solve the ordinary differential equations:
Euler Method,
Runge- Kutta Method
By Geremu G. 51