Professional Documents
Culture Documents
Control Engineering R S SHEHU
Control Engineering R S SHEHU
Shehu 1
Instr & Control Lab, EEED, Kadpoly, 2019
Industrial control systems (ICS) are pieces of equipment along the production line that
test the process in a variety of ways, and return data for monitoring and troubleshooting.
Industrial control systems can also be referred to as the Process control systems.
Engr. R. S. Shehu 2
Instr & Control Lab, EEED, Kadpoly, 2019
Process control systems gather and transmit data obtained during manufacturing process.
ii. Programmable logic controllers (PLC):- is a digital computer used for the
automation of various electro-mechanical processes in industries.
Example, a plant in which motor speed, temperature, pressure are involved, instead of
using central controller controlling the whole process, each quantity is assigned separate
controller.
A DCS is commonly used in manufacturing equipment and utilizes input and output
protocols to control a machine.
DCS
Industrial physical control systems can be classified into two main forms:
Definition: When output of a system is desired to have a specific value, the system is said to be a
set point control.
Definition: When output of a control system is desired to be at a location or flow a particular path
the system is said to be a position control system.
Position control systems when actuator function is emphasized can also be referred to as Servo
control systems
Servo is used to move object from one place to another. Example of a servo is servo motor
i. Robot system
ii. Airplane wing angle control
iii. Satellite position control
iv. Solenoid valve control
v. Antenna angle control
vi. Radar tracking system control
vii. PC, DVD ROM drive mechanism control, etc.
Set Point Control: Thermal Control: Computer based control of Electric Furnace
where J is inertia constant of load wheel and shaft, B is viscous friction constant around the load
shaft, T is developed motor torque, if is field current, is shaft angular speed.
Solution:
(i) The purpose of the system is to control the motor shaft angular speed (rad/s) by
adjusting input field circuit parameters (e.g. Vf or Iref) while keeping the armature
circuit parameters constant (Va or ia). If Vf is applied, If will produce flux lines, these
lines interact with constant flux lines generated by Ia, this will yield Torque that will act
on the shaft and the shaft will rotate at an angular speed , the speed is directly
proportional to the input voltage Vf
(ii) Working in Laplace transform, the motor equations and units block diagrams are as
follows
Field circuit:
Circuit-Shaft:
Engr. R. S. Shehu 8
Instr & Control Lab, EEED, Kadpoly, 2019
Shaft-Load wheel:
(iii) Giving the parameters: J = 0.1, B = 0.03, KT = 1, Lf = 0.2, Rf = 0.5, the transfer
function is
( )
=
= (S.9)
Recalling the general 2nd order characteristic equation q(s) = , comparing the
coefficients of q(s) and coefficients of denominator of equation (S.9):
Example: A closed loop armature connected dc motor speed control system is shown below.
Solution:
(i)
Exercise: Repeat (b) and (c) above for the closed loop speed control system below
Engr. R. S. Shehu 10
Instr & Control Lab, EEED, Kadpoly, 2019
Gear assemblies are widely found in servo systems. They are used as coupling device in order to
transmit torque between moving parts. A simple gear system is shown below.
The equation model relating input Tm and gear 1 parameters is obtained by referring gear 2
parameters to gear 1 side; written as
̈ ̇ (S.1)
where and are the equivalent inertia and friction constants expressed as
= (S.2)
= (S.3)
̈ ̇ (S.4)
where
= (S.5)
Engr. R. S. Shehu 12
Instr & Control Lab, EEED, Kadpoly, 2019
= (S.6)
also
(S.7)
Example: Consider the open loop servo system shown in Fig.S1 above,
Solution:
(i) The system aims at positioning or rotating the load wheel to an angular position by
turning the steering to an input angular position, .
If the steering is moved by an angle in radian (or degrees), the input POT will
convert the angle into an equivalent e.m.f. eref , this voltage will be amplified by the
amplifier and drives the servo motor to position the wheel by an angle via a gear
train. Output POT now converts into an e.m.f. eL, this output e.m.f. is directly
proportional to the input e.m.f. or input angle .
(ii) The equations (in Laplace transform) of the system components and their block
diagrams are given below:
Input POT:
Amplifier:
Armature circuit:
.Where Eb is back e.m.f., is directly proportional to the motor shaft angular position written as
Elect-Mechanical link:
Output POT:
The system transfer function of the open loop position control system relating output e.m.f. and
input angle is obtained by reducing the blocks as shown below
( )
Engr. R. S. Shehu 15
Instr & Control Lab, EEED, Kadpoly, 2019
Example-Assignment: Consider the closed loop servo system shown in Fig. S2 above.
Definition: State of a dynamical system is a minimal set of variables, known as state variables (
denoted ; such that knowledge of these variables at initial time ( together with
the knowledge of the inputs for , completely determine the behaviour of the system in future
time ( .
Example: In the RLC circuit shown below, identify the states of the network.
Solution:
Step 2: . current pass through the inductor, voltage develop across the capacitor, thus IL and VC are
the states of the network.
Example: Consider the circuits below. Identify the states of the circuits.
Solution:
Figure below shows a multi input multi output system, where m is number of inputs, p number of
output, n is number of states.
From the figure above, the state and output equations are
Engr. R. S. Shehu 18
Instr & Control Lab, EEED, Kadpoly, 2019
State equations:
̇
̇
. . .
. . .
. . .
. . .
̇
Where , are constant coefficients. The state equation is written in vector matrix form as
follows:
= [ ], B = [ ]
Output equation:
. . .
. . .
. . .
. . .
In matrix form:
(2)
̇ = x(t) + Bu(t)
(3)
In most systems no direct connections between output and input, thus the matrix D = 0.
⃛ = -2 ̈ -3 ̇ -4y+r(t)
= y
= ̇
= ̈
First derivative of the states (state evolution),
̇ =
̇ =
̇ = -2 -3 -4 + r(t)
The evolution (state or system) matrix A, input matrix B, output matrix and transmission matrix are
An x n = [ ], Bn x m = [ ], Cp x n = [ ], Dp x m = [0].
Solution:
̈ ̇ .
= v(t)
Engr. R. S. Shehu 20
Instr & Control Lab, EEED, Kadpoly, 2019
= ̇ .
̇
̇ =
Example: Obtain state space model for the RC network shown below. Take vo as the output
variable.
̇
To find dvc/dt , KCL is applied at node n:
or
(1)
Note: Any variable not a state or primary input should be define in terms of one of the states
(2)
Equations (1) and (2) are written in state variable forms as follows:
Engr. R. S. Shehu 21
Instr & Control Lab, EEED, Kadpoly, 2019
From (1): ̇
From (2): ̇
A = [ ] B=[ ],
C=[ ], D = 0.
Example: The voltage across R2 as shown in the network below is considered as the output
variable of the network. Obtain state space model matrices of the network.
̇ =
̇ =
̇ =
To find KVL is applied to the first loop as follows: Taking source u (+) as forward
Loop 1:
+ +
= (1)
Engr. R. S. Shehu 22
Instr & Control Lab, EEED, Kadpoly, 2019
= 0
= (2)
=0
= - (3)
=
=
= -
A = , B = [ ], C = [ ], D = [0]
[ ]
Assignments
1. Obtain state space matrices for the circuit below. Take voltage across R 2 as the output
variable.
2. Derive state space model for the network below. Take voltage across C as output.
Engr. R. S. Shehu 23
Instr & Control Lab, EEED, Kadpoly, 2019
Exercise
1. (a) Obtain all equations describing the closed
loop speed control system shown below
(b)Obtain state space model of the system
2. (a) Obtain equations describing the closed loop speed control system shown below
(b)Obtain state space model of the system.
Introduction
Control engineering has evolved over time. In the distance past humans were mainly the agents of
control. More recently electricity became the means of control and electrical control was based on
relay.
Control of industrial systems are designed and configured to operate in sequence and repetitive
manner. Prior to 1970, industrial processes employed networks of electromechanical relays to
logically control the systems. The approach was termed Relay Logic Control (RLC).
In 1970s, programmable Logic Controller (PLC) was developed. PLC is a small microprocessor
based controller that can be connected to switches and can drive loads such as motors, relay, or
solenoids.
Conveyor system
Packaging machine
Pick and place robot control
Pump control
Water treatment
Chemical process plant
Cement manufacturing
Power station plant
Petro-chemical plant
Generator control
Semiconductor manufacturing
Relay Switch
Relay is an electromechanical device that allows power to be turn on and off to the load. It uses
magnetic field to control a switch. A number of relays are connected to perform logical control
decisions.
A simple relay may have a total of five terminals (two for input coil, three for output contacts) as
shown in figure below.
Latching or Sealing refers to the process of maintaining power flow to a load despite removal of the
initial supply line. Latching a relay is shown below
When the switch SW is closed, terminal X is high, at the same time the coil is magnetized,
attracting the pole to close the switch B, thus maintain high at X terminal from the 12V source,
even if the switch SW is opened.
Time delay relay would open or close its contacts after some time has elapsed. This type of relay is
known as the Time Delay Relay (TDR). There are two forms:
i. On-delay relay: - is a normally open relay. When its coil gets energized, it closes
its contacts after some time elapses.
ii. Off-delay relay: - it is a normally close relay. It waits for some time before it
opens its constants when it coil is de-energized.
Practical TDR
Pneumatic TDR: - when the coil is energized, a spring loaded bellow is squeezed. Air is pumped
out of the check valve hole slowly till contact is made. The time taken to make the contact is the
delay characteristic of the relay.
Thermally TDR: - In thermal based type, a heat produce by a small heater causes a bimetallic strip
to bend and thus, make a contact, based on the switch setting, some delay is created before contact
is made.
Solid state: - this is the widely used TDR. The knob on top is used for setting the time delay. The
systems work on the principle of charging a capacitor or counting high speed clock pulses with a
digital counter: The higher the count the longer the delay.
TDR Application:
On-delay relay:
i. In voltage stabilizers
ii. In lift control mechanism
Off-delay relay
i. used in car light switch control: where the relay will delay to allow occupants leave
before opening its contacts.
Ladder diagram is a form of wiring diagram used in logic control. It has two vertical lines called
Power rails and a lines connecting the vertical line, referred to as Rungs as shown below.
Engr. R. S. Shehu 29
Instr & Control Lab, EEED, Kadpoly, 2019
Ladder diagram is made up of a power rails and a Rung. A rung may carry one or more switches,
but must carry only one load. Figures below showed symbols of switches, relay contacts and relay
coil.
Input elements: on-off contact, push button switch, normally open and closed contacts.
Output elements: Loads e.g., relay coil, lamp, lamp solenoids coil etc.
Example: A solenoid valve is to be operated by a relay contact. Six push button switches are
involved. If two switches must close at same time to energized the relay coil, draw a ladder diagram
of the logic control system.
Solution: If two switches are pressed at a time to turn on the motor solenoid valve, the ladder
diagram is drawn below.
Example: Draw a relay ladder diagram that turns on a lamp using a push button switch.
Solution: to turn on a load using a push button switch requires the function of sealing a relay. The
ladder diagram is drawn below.
Engr. R. S. Shehu 31
Instr & Control Lab, EEED, Kadpoly, 2019
Example: A push button switch starts a motor driving a conveyor belt for 5 seconds then stopped.
Draw a relay ladder diagram of the operation.
Solution: (i) with a push button switch, sealing is required (ii) with 5 seconds initial duration, off
delay TDR is required. The ladder diagram is drawn below.
Example: A push button switch starts a motor. The motor runs for 5 seconds then stopped. Seven
seconds after the motor was turn on, the motor runs again for 3 seconds. Draw a relay logic ladder
diagram of the system.
Solution:
(i) with 5 seconds initial turn on; off TDR is required.
(ii) 7 seconds next turn on; On-delay TDR is required.
Example: In a tank filling system shown below, the motor-2 is turn on 5 minutes after motor-1 has
started.
At 12 minutes into the process, the two motors are shut down. Draw a relay ladder diagram of the
operation.
Solution:
(i) Motor-1 is turn on when input switch is turn on
(ii) Motor-2 turns on after 5 minutes; On-delay TDR is required.
(iii) 12 minutes shut down; Off-delay TDR is required.
Rack type (see Fig (a)). It is flexible and easy to maintained, but it is very expensive.
Mini type (see Fig. (b)). It has similar function as the rack type, but about half the size
Mini type (see Fig. (c)). It is much smaller than the above two. Less cost but has limited
abilities.
Software based type (see Fig.16 (d)). It requires computer (PC) with an interface card, but
allows the PLC to be connected to sensors and other PLCs across a network.
Engr. R. S. Shehu 34
Instr & Control Lab, EEED, Kadpoly, 2019
In PLC memory, two things are stored: program file and data file. Program file is the instruction
(rung in the ladder diagram), the data file consist of the values or states of the elements in PLC
program. Table below shows a typical data files.
Switch and relay instruction symbols are represented using different standards. The Allen-Bradley
standards are shown in the Table below
Table:
Switch/Contact Symbol Instruction (by Allen-Bradley)
1) Normally open switch
(NO) EXAMINE IF ON
Note: when using external NC switch to drive internal NC, inversion takes place. If the external
switch is TRUE, the internal switch will invert to FALSE.
Memory Addresses
a:- I stands for type of data file, which is input for this case, 1 stands for the first word in the input
data file of the RAM. 0 stands for the bit position within the word. I:1/0 simply means that the
status of the switch is found in the first word, at zero-bit position of the word.
b: O stands for output data file, 2 refers to the 2nd word and 4th bit position of output data file of
the RAM.
Example: Draw a RAM to show the status of the ladder diagram shown below
Timers are input elements or instructions used to delay processes. Figure below shows the Allen-
Bradley standard for a timer.
Where T is nth timer in the rung, Time base will is time multiplier, Preset is preset time,
accumulator shows the time count up or down. EN is enable coil output, DN is de-enable coil
output.
Operation
If sw is close, enable output coil (EN) is energized for the period set as
. When the time elapsed, EN is off (de-energize) and DN coil is energized and will
remain high.
Example: A motor load-1 is operated for a period of 6 seconds, then a second motor load-2 is turns
on. Draw a PLC ladder diagram using Allen & Bradley standard.
Example: In the Vat process shown below, operating the empty switch turns on a fill valve. While
operating the Full switch shut off the fill valve.
(i) Re- sketch the system to show the addresses of the switches and the loads.
(ii) Use Allen & Bradley instructions to draw the ladder diagram of the system.
Solution:
(i) The Vat system is sketched in (a) below
(a) (b)
Example: If in the Vat process shown above, the fill valve is to be turn on for 20 seconds, the
content then stirred for 30 seconds, draw an PLC ladder diagram of the control function using Allen
& Bradley timer instruction standard.
Engr. R. S. Shehu 38
Instr & Control Lab, EEED, Kadpoly, 2019
Example: In the Vat process, the fill valve is ON, as the liquid level reaches desired point the float
switch turns off the valve. The content is then mixed by the stirrer for 3minutes. Draw a PLC ladder
diagram of the logic control.
Exercise: In the Vat process above, after stirring, the content is removed by opening a drain valve
for 10 seconds. Draw the complete ladder diagram.
Using Allen & Bradley standard draw a ladder diagram of the 1st step.
Solution: Two valves are to be open for 2 minutes. The ladder diagram is drawn below.
Example: Modify the above ladder diagram to implement step 2 of the problem.
Example: Modify the above ladder diagram to implement step 3 of the logic function.
Solution: The ladder diagram can be drawn as shown in the figure below
Sequencer (Drum)
Sequencer or drum is an element that is programed to operate loads sequentially and repeatedly.
Some sequential loads are the dish washing machine, traffic light, e.t.c
PLC Sequencer
Use Allen & Bradley sequencer instruction to implement the control sequence.
Solution:
Steps:
i. Open the sequencer file and fill in the control states.
ii. Construct the ladder diagram involving sequencer instruction to implement
the system.
Example: If 2 seconds interval is inserted between the steps in the problem above, draw a ladder
diagram for the control system.
The ladder diagram with 2 seconds delay between the steps is shown below.
Engr. R. S. Shehu 43
Instr & Control Lab, EEED, Kadpoly, 2019
Cell memory is used for storing energy. A normally cell memory coil when energized would close
its cell memory contact. Cell memory elements can be used for sealing processes.
Example: A motor and a lamp are turn on using a push button switch. Using the TPS-3071 draw a
ladder diagram of the system.
PLSES has two types of timer instructions, the delay timer (TI) and one short timer (OS).
Delay Timer
The delay timer is shown below. Terminal E is input, Q is output, R is the reset. The tab 0000 is
preset time
.
Operation
Once E is high, after elapse of the present time, the output Q will come high. The output stays
high even if E is de-enabled. The output can be cleared by inputting high at R terminal.
Application: It is used as on-delay relay function, i.e. turns on a load after elapse of preset time.
Example: In Vat control process, a stirrer is turn on after 50 seconds delay time. Use a PLSES
timer to draw a ladder diagram of the system.
Example: A push button switch connects a circuit breaker CA to a power network. After a delay of
20 minutes, a second circuit breaker CB is connected. If PLC was used in the control process, draw
a ladder diagram of the system using PLSES delay timer standard.
Example: In the solution above, the two circuit breakers are opened 100 seconds after the process
initiation, modify the diagram to reflect the changes.
Example: A robot arm is turn on after 20 minutes’ delay. Exactly in next 10 minutes its shut down
with LED indicator lighting up. Draw the ladder diagram using PLSES timer.
Solution: The lamp can just be connected at the timer’s output as shown below.
Example: A lamp is turn on after 20 seconds. It is shut down after another 20 seconds. If this is
repeated, draw a ladder diagram for the system.
Solution: On-off switch is required to implement repetition after output clearing. The ladder
diagram is shown below.
Engr. R. S. Shehu 46
Instr & Control Lab, EEED, Kadpoly, 2019
The one short timer instruction is shown below. C is input, R is reset input, Q is output, 00A is the
preset time.
Operation
Once C is high, Q will come high. The output Q will shut down after the preset time reaches zero.
Example: A lamp is turn on, and after 30 seconds it is shut down. Using OS timer draw a ladder
diagram of the control system.
Example: A robot ran for 20 seconds. At the 20th seconds a lamp indicator is turns on for 30
seconds.
Draw a ladder diagram of the system using one short timer.
Example: In a Vat process, a fill valve is turn on for 20 seconds, then a stirrer is operated for 30 seconds.
Using PLSES instructions, draw a ladder diagram of the system.
Solution: Using one short and delay timers, the system is shown below
PLSES Counter
The counter is used in processes to count events happening. There are two types: (i) Up counter (ii)
Down counter.
Example: A light bulb is turn off after the of 10. Draw a ladder diagram of the light system control.
Exercise : Explain the operational principle of the control system drawn below.
Lane 1 Lane 2
Red A Red A ON for 40s
Yellow B Yellow B “ “ 10s
Green C Green C “ “ 60s
Using the PLSES sequencer instruction draw a ladder diagram of the system.
With 0.1 second multiplier, the sequencer file is set as shown below.
Engr. R. S. Shehu 50
Instr & Control Lab, EEED, Kadpoly, 2019