Automation Systems
Lecture 6 - Place and role of controller in control system
Jakub Mozaryn
Institute of Automatic Control and Robotics, Department of Mechatronics, WUT
Warszawa, 2016
Jakub Mozaryn Automation Systems
Role of the controller
The controller generates the control signal change u(CV ) (Control Value) based on the comparison of output signal ym(PV )(Process variable), generated by the sensor that represents the controlled variable, with the reference signal yr(SP) (Set Point). The result of this
comparison - called deviation of the process variable e - in control systems is defined as:
e = ym− w ; e = PV − SP (1)
Regulatory
controlled value y process variable ym(PV ) set point w (SP) control error e
control variable u - (CV )
Jakub Mozaryn Automation Systems
Controller
In the steady state of the system, when control deviation e is zero, the controller should generate a control signal which causes activation of actuator ensurinh achievement of predetermined value of the controlled variable (CV).
The occurencee of the positive value of the deviation e (by
increasing the setpoint yr or decrease of the controlled variable due to disturbances) causes an increase of the control value u and, consequently, the expected increase in the value of the controlled variable (y ) or increase the value of the controlled variable thet compensates the impact of dusturbances (z) on the process.
Analogously it works, when a negative value of deviation e occurs.
Structures of the control systems
Rysunek :Controlled object structure
Rysunek :Scheme of the control system with object described by negative transfer fuction
Jakub Mozaryn Automation Systems
Structures of the control systems
Rysunek :Transformed scheme of the control system with object described by negative transfer fuction
Structures of the control systems
In engineering practice, one can find objects, where increase of the control signal u is connected with decrease of the output signal (transfer function Gr(s) is negative).
Rysunek :A block diagram of the control system, where object is described by the negative transfer function and controler in normal mode (NL).
e = ym− w (2)
Jakub Mozaryn Automation Systems
Structures of the control systems
In the case of controlled objects, in which increase of the control signal u causes an increase in output (transfer function Gob(s) is positive), the other action the regulator shall be used to obtain negative feedback.
Rysunek :A block diagram of the control system, where object is described by the positive transfer function and controller is in reverse mode (NL) (reverse deviation).
e = w − ym (3)
Role of the controller
The increase in signal from the controller closes the valve - normal mode
The increase in signal from the controller opens the valve - reverse
mode Jakub Mozaryn Automation Systems
Control process
Rysunek :Technical realization of controllers
Classification of the controllers
continous discrete linear nonlinear direct action indirect action
pneumatic hydraulic electric specialized universal
Jakub Mozaryn Automation Systems
Classification of the controllers
Ctiteria Controller type
Type of the processed signals: analogous digital The way of influence on the object: continous
non-continous Compliance with the law of
superposition: nonlinear
Destination: specialized
universal Type of implementation:
mechanical pneumatic hydraulic electrical Algorithm of control action:
PID controllers other (LQR, state-space, predictive)
The energy required for operation: direct action indirect action
Classification of the controllers
Hydraulic controller - the controller with indirect action (requires the energy supply)
Temperature controller - direct action controller (retrieves energy from the process)
Jakub Mozaryn Automation Systems
Transfer functions of PID controllers
Algorithm of the controllers
The dynamic properties of controllers are referred to as control algorithm . The most commonly used control algorithm is called PID algorithm (Proportional - Integral - Derivative). By setting it’s parameters, it can realize a simpler algorithm: P, PI, PD.
P controller
Gr(s) = ∆u(s)
e(s) = kp (4)
I controller
Gr(s) = ∆u(s) e(s) = 1
Tis (5)
PI controller
Gr(s) = ∆u(s) e(s) = kp
1 + 1
Tis
(6)
Transfer functions of PID controllers
PD controller - ideal
Gr(s) = ∆u(s)
e(s) = kp(1 + Tds) (7) PD controller - real
Gr(s) = ∆u(s) e(s) = kp
1 + Tds Td kd
s + 1
(8)
Jakub Mozaryn Automation Systems
Transfer functions of PID controllers
PID controller - ideal
Gr(s) = ∆u(s)
e(s) = kp(1 + 1
Tis + Tds) (9)
PID controller - real
Gr(s) = ∆u(s) e(s) = kp
1 + 1
Tis + Tds Td
kd
s + 1
(10)
Block diagram of PID controller
PID controller - real
Gr(s) = ∆u(s) e(s) = kp
1 + 1
Tis + Tds Td
kd
s + 1
(11)
Rysunek :Block diagram of PID controller - paralell realization
Jakub Mozaryn Automation Systems
P controller
Dynamics equation of P controller
∆u(t) = kpe(t) (12)
u(t) = kpe(t) + up (13)
where: kp - proportionl gain, up - operating point.
Proportional range
xp= 1 kp
100% (14)
The proportional range descibes percentage, in relation to the full range of the signal, the change in deviation e that is required to induce changes of the control signal u of the full range.
Regulator P
Rysunek :Examples of static characteristics of the P controller (normal and reverse modes) - static algorithm
Jakub Mozaryn Automation Systems
Regulator P
I controller
Transfer function
Gr(s) = ∆u(s) e(s) = 1
Tis (15)
Ti
d ∆u(t)
dt = e(t) (16)
where
∆u(t) = u(t) − u(0) (17)
∆u(t) = u(0) + 1 Ti
t
Z
0
e(τ )d τ (18)
Step response
u(t)|e(t)=e01(t)= u(0) + 1 Ti
t
Z
0
e(τ )d τ = u(0) + e0
t Ti
(19)
Static characteristic
e = 0 (20)
Jakub Mozaryn Automation Systems
I controller
Rysunek :Step response of I controllerRysunek :Static characteristic of I controller - astatic algorithm
PI controller
Transfer function
Gr(s) = ∆u(s)
e(s) = kp(1 + 1
Tis) (21)
∆u(t) = u(0) + kpe(t) + 1 Ti
t
Z
0
e(τ )d τ (22)
Step response (2 components)
∆u(t)|e(t)=e01(t)= e0kp1(t) + e0kp t
Ti (23)
u(t)|e(t)=e01(t)= ∆u(t) + u(0) = e0kp1(t) + e0kp
t Ti
+ u0 (24) Static characteristics (astatic algorithm)
e = 0 (25)
Jakub Mozaryn Automation Systems
PI controller
Rysunek :Step response of PI controller
Integral time constant Ti
Component thet describes integral action of the response increases with time from an initial value of zero, reaching in time t = Ti a value of a proportional component, which means doubling the gain in the output signal relative to the proportional component.
PD controller - ideal
Transfer function Gr(s) = ∆u(s)
e(s) = kp(1 + Tds) (26) Step response
∆u(t)|e(t)=e01(t)= kpe0[1 + δ(t)]
(27)
REMARKS:
PD algorithm doesn’t have technical realisation because kd= 1
Td
→ ∞.
There is no use of it because of the the dynamics of the actual devices that require a specific signal duration to be able to react to change
Rysunek :Step response of PD controller (ideal)
Jakub Mozaryn Automation Systems
PD controller - real
Transfer function
Gr(s) = kp
1 + Tds Td
kds + 1
(28) Step response
∆u(t)|e(t)=e01(t)= kpe0[1+kde−kdTd ] (29) PD algorithm (ideal/real) are static algorithms.
Rysunek :Step response of PD controller (real)
PD controller
Rysunek :Ramp response of PD controller - (a) ideal and (b) real
Derivative time constant - Td
Ramp response of PD controller (ideal / real) explains the name of the lead time of Td - in the case of ramp input, textbf value of the controller output as the sum of the components P and D is achieved earlier by the time Td in relation to the component P.
Jakub Mozaryn Automation Systems
PID controller - ideal
Transfer function Gr(s) = ∆u(s)
e(s) = kp
1 + 1
Tis + Tds
(30) Step response - astatic algorithm
∆u(t)|e(t)=e01(t)= kpe0[1+ t Ti+δ(t)]
(31) Rysunek :Step response of PID controller (ideal)
PID controller - real
Transfer function
Gr(s) = kp
1 + t
Ti
+ Tds Td
kds + 1
(32) Step response
∆u(t)|e(t)=e01(t)= kpe0[1+ t Ti
+kde−kdTd ] (33)
Rysunek :Step response of PID controller (real)
Jakub Mozaryn Automation Systems
PID controller - real
Technical realization of PID controllers
Rysunek :A diagram illustrating the functional characteristics of the industrial PID controller
Jakub Mozaryn Automation Systems
Automation Systems
Lecture 6 - Place and role of controller in control system
Jakub Mozaryn
Institute of Automatic Control and Robotics, Department of Mechatronics, WUT
Warszawa, 2016