Professional Documents
Culture Documents
Chapter 2 - Discrete-State Control Part I
Chapter 2 - Discrete-State Control Part I
Chapter 2 - Discrete-State Control Part I
Discrete-State Control
Part I
Content
Definition of Discrete-State Process
Control
Characteristic of the System
Objectives
To understand the nature of discretestate process-control system.
Describe a discrete-state process in
terms of the objectives and hardware.
Prepared by Wong Chee
Woon
Introduction
Frost Free
Refrigerator/Freezer
Discrete-State Variables
It is important to be able to distinguish
between the nature of variables in a
discrete-state system and continuous
control system.
An example that constrasting a continuous
varible situation with a discrete-state
variable situation for the same application
will be considered.
It will be shown that continuous variable
regulation can be itself a part of a discretestate system.
Prepared by Wong Chee
Woon
10
Continuous
Control
A transducer measures
the
Instrumentation
11
Discrete-State Control
For the same problem shown
here; the variables, level and
valve settings, are discrete.
They can take on only two
values.
The valves can only be
opened or closed, and the
level is either above or below
the specified value.
The objective is to fill the tank
to a certain level with no
outflow. The event of
sequence:
Instrumentation
12
Discrete-State Control
The level is certainly not
going to change until, at
some later time, the
output valve is opened
to let the liquid flow out.
Notice that the variables
(level measurement,
input valve setting, and
output valve setting)
are two-state quantities.
There is no continuous
measurement or output
over a range.
Prepared by Wong Chee
Woon
13
Composite
Discrete/Continuous Control
14
15
Process Specification
Specification of the sequence of
events in some discrete-state
process is directly tied to the
process itself
The process is specified in two parts:
1. process objectives
2. process hardware
16
Process objectives
A statement of what the process is supposed to
accomplish.
Global objective is the end result. It is broken in
to many secondary objectives.
Each sub objective may be independent in the
whole operation.
A discrete-state control system then be applied
to each independent part.
17
Process Hardware
Design the hardware such as conveyor system,
mixing tank, oven, etc. so that these hardware can
carry out the designed process in order to achieve
the objectives.
Determination type of components such as sensor,
relay, motor, etc. used in the hardware design.
18
Hardware analysis
Two basic categories:
a)Input devices limit
switches,comparators,
push
button
b)Output devices Light, Motor, Solenoid
Study the pictorial process of feed
hopper. Identify the input and output
devices.
All Switches
1. Hopper valve solenoid
Input
Devices Output
1. Right
box present
2. Feed Devices
stock conveyor motor
19
20
Narrative Statements
Narrative statements specifying the
sequence of events start with
descriptions of what events must occur
to achieve the objective.
This specification describes in narrative
form what must happen during the
process operation.
In systems that run continuously, there
are typically a startup, or initialization
phase and a running phase.
Prepared by Wong Chee
Woon
21
22
Initialization Phase
A. All motors off, feed valve solenoid off.
B. Test for right limit switch
1. If engaged, go to C.
2. If not, set feed motor for right
motion.
3. Start feed-conveyor motor.
4. Test for right limit switch.
a. If engaged, go to C.
b. If not, go to 4.
C. Set feed motor for left motion and
start.
D. Test for center switch
1. If engaged, go to E.
2. If not, go to D.
Prepared by Wong Chee
Woon
23
Initialization Phase
E. Open hopper-feed valve.
F. Test for left limit switch:
1. If engaged, go to G.
2. If not. go to F.
G. All motors off, hopper-feed valve closed.
H. Go to running phase.
Completion of the initialization phase means
that the feed conveyor is positioned at the left
limit position and the right half of the
conveyor has been filled from the feed
hopper.
Prepared by Wong Chee
Woon
24
25
26
Running phase
A. Start right box conveyor.
B. Test right box present switch:
1. If set, go to C.
2. If not, go to B.
C. Start feed-conveyor motor, right
motion.
D. Test center switch:
1. If engaged, g to E.
2. If not, go to D.
E. Open hopper-feed valve.
F. Test right limit switch:
1. If engaged, go to G.
2. If not, go to F.
Prepared by Wong Chee
Woon
27
Running phase
28
Example
Construct a narrative statement outline of the
2.1
event sequence for the system shown, the
objective is to fill bottles moving on a conveyor.
I. Initialization (prefill of tank)
A. Converyor stopped, output valve closed
B. Start the level control system
1. Operate for a sufficient time to reach the
setpoint, or
2. Add another sensor so that the system
knows when the setpoint has been reach
II. Running
A. Start the bottle conveyor
B. When a bottle is in position (BP true)
1. Stop the conveyor (M1 off)
2. Open the output valve
C. When the bottle is full (BF true)
1. Close the output valve
D. Go to step II.A and repeat UEEA2413 Process Control and
Prepared by Wong Chee
Woon
Instrumentation
29
30
31
32
Example
2.2
Input:
(LA, LB, LE, TU)
Output:
(VA, VB, VC, TM, S, H)
33
Solution
Because each variable is a two-state variable, we
use a binary representation: true = 1 and false =
0.
Thus, for input, if level A has not been reached,
then LA = 0, and vice versa.
Let us take the binary word describing the state
of the system to be defined by bits in the order:
LA,LB,LE,TU,VA,VB,VC,TM,S,H
34
Input
(LA)(LB)(LE)(TU)
(VA)(VB)(VC)(TM)(S)(H)
0000
100000
0010
100000
1010
010000
1110
000111
1111
001100
1011
001100
0011
001100
0001
000000
35
Logic gates
36
Boolean algebra
A
Complement: If A = 1, then
= 0.
B, t
OR, + : If C = A + B, C = 1 if A or B or both A
DeMorgan:
A B A B
A B AB
37
Example
Simplify the expression
D A B C (A B C )
A B A B C C.C
A B A B C 0
A B (1 C )
A B
38
Boolean Equations
We may use Boolean algebra
techniques to represent the process
flow since the variables are binary.
The equation will then determine when
that variable is taken to its true state.
The equation may depend not only on
the set of input variables, but on some
of the output variables.
Prepared by Wong Chee
Woon
39
Example 2.3
Figure beside shows a
pictorial view of an oven. All
the inputs and outputs are
two-state variables.
Construct Boolean
equations that implement
the following events:
Instrumentation
40
Q&A
41