0 L Unit - 9 Module-2 Book
0 L Unit - 9 Module-2 Book
Terminal Objective
Terminal Objective
9.2.1 Given access to manufacturer's
Given access to manufacturer's documentation, the trainee will
documentation, the trainee will correctly describe the operation of
correctly describe the operation of Distributed Control System
Distributed Control System
1. Historical Review
To fully appreciate and select the current status of affairs in
industrial practice it is of interest to understand the historical perspective
on the evolution of control systems implementation philosophy and
hardware elements. The evolution concerns the heart of any control
system which is how information flow and decision making advanced.
1 PCSTP
• Transmission: the signals transmitted pneumatically
(via air pressure) are slow responding and susceptible
to interference.
• Calculation: Mechanical computation devices must be
relatively simple and tend to wear out quickly.
2 PCSTP
2. Modes of Computer control
signals from
digital
computer
Local PID
FC
controller
3 PCSTP
Computer Control Networks
The computer control network performs a wide variety of tasks:
data acquisition, servicing of video display units in various laboratories
and control rooms, data logging from analytical laboratories, control of
plant processes or pilot plant, etc. The computer network can be as simple
as an array of inexpensive PC's or it could be a large commercial
distributed control system (DCS).
4 PCSTP
All computers operate with a multitasking operating system. They
would be normally configured with local memory, local disk storage, and
often have shared disk storage with a server.
Multiple Display
Main Computer
Local
Data control
acquisitio Display
n Display l
PROCESS
Data Data
acquisition acquisition
Local
control
Display Display
Figure 2: PC network
5 PCSTP
The outputs from the computer are a set of relays energized
(activated) by the computer that can turn a pump on or off, activate lights
on a display panel, operate solenoid valve, and so on.
PLCs are not typical in a traditional process plant, but there some
operations, such as sequencing, and interlock operations, that can use the
powerful capabilities of a PLC. They are also quite frequently a cost-
effective alternative to DCSs (discussed next) where sophisticated process
control strategies are not needed. Nevertheless, PLCs and DCSs can be
combined in a hybrid system where PLC connected through link to a
controller, or connected directly to network.
6 PCSTP
The data highway is thus the backbone for the DCS system. It
provides information to the multi-displays on various operator control
panels sends new data and retrieve historical data from archival storage,
and serves as a data link between the main control computer and other
parts of the network.
Supervisory
(host)
Computer
Data
To other highway To other
Processes Processes
Local data acquisition
Local Computer Local and Control
Local Display Computer computers
Local
Display
PROCESS
A DCS is then a powerful tool for any large commercial plant. The
engineer or operator can immediately utilize such a system to:
• Access a large amount of current information from
the data highway.
7 PCSTP
• Readily install new on-line measurements together
with local computers for data acquisition and then
use the new data immediately for controlling all
loops of the process.
The typical DCS system shown in Figure 3 can consists of one or more of
the following elements:
8 PCSTP
• General Purpose Computer. This unit is programmed by a
customer or third party to perform sophisticated functions
such as optimization, advance control, expert system, etc.
• Central Operator Display. This unit typically will contain
one or more consoles for operator communication with
the system, and multiple video color graphics display
units.
• Data Highway. A serial digital data transmission link
connecting all other components in the system may
consist of coaxial cable. Most commercial DCS allow for
redundant data highway to reduce the risk of data loss.
• Local area Network (LAN). Many manufacturers supply a
port device to allow connection to remote devices through
a standard local area network.
9 PCSTP
• Digital systems are more precise.
• Digital systems are more flexible. This means that
control algorithms can be changed and control
configuration can be modified without having rewiring
the system.
• Digital system cost less to install and maintain.
Digital data in electronic files are easier to deal with. Operating
results can be printed out, displayed on color terminals, stored in
highly compressed form.
10 PCSTP
The basic units of a digital computer
The digital computer used in DCS systems is a regular microcomputer
with the simplified components shown in Figure 5. It includes the
arithmetic unit, which carry out arithmetic and logic commands. The
control unit is the part of the computer responsible for reading program
statements from memory, interpreting them, and causing the appropriate
action to take place. The memory unit is used for storing data and
programs. Typical computers have Random-Access-Memory (RAM) and
Read-Only-Memory (ROM). The final unit is the input/output interface. The
I/O interface is necessary for the computer to communicate with the
external world. This interface is the most important in the control
implementation. The process information is fed to the computer through
the I/O interface and the commands made by the computer are sent to
the final control element through the I/O interface.
computer
Arithmetic
Unit
Control Memory
unit Unit
Input/output
Interface
I/O devices
I/O devices
11 PCSTP
Information presentation and accuracy.
The modern digital computer is a binary machine. This means that
internal data and arithmetic and logic must be represented in binary
format. Therefore all process information flowing into and out of the
computer must also be converted to that form. Traditionally, the computer
memory location is made up of a collection of bits called a word (register).
A typical computer word consists of 16 bits (new computers carry 32-bits
word). Consider, for example, the following machine number:
The base for this word is 2. Therefore, each bit has the following decimal
equivalent:
Bit
16 … 4 Bit 3 Bit 2 Bit 1 Bit
0 … 0 0 0 0 Machine number
Decimal
216 … 23 22 21 20 equivalent
Each single bit consists of binary elements, i.e. 0 or 1. Therefore, any
integer number from 0 to 7 can be represented by a three-bit word as
follows:
Contents of a 3-bit
Digital Equivalent word
0(20)+0(21)+0(22) = 0 000
1(20)+0(21)+0(22) = 1 001
0(20)+1(21)+0(22) = 2 010
1(20)+1(21)+0(22) = 3 011
0(20)+0(21)+1(22) = 4 100
1(20)+0(21)+1(22) = 5 101
0(20)+1(21)+1(22) = 6 110
1(20)+1(21)+1(22) = 7 111
1
resolution = [full scale range] × /2m−1
12 PCSTP
where m is the number of bits in the representation. Obviously, higher
resolution can be obtained at higher number of bits. For example,
consider a sensor sends an analog signal between 0 and 1 volt and
assume only a three- bit computer word is available, and then the full
range of the signal can be recognized as follows:
This means that eight specific values for the analog signal can be exactly
recognized. Any values interim values will be approximated according to
the covered analog range shown in the fourth column of Table 1. In this
way, the error in resolution is said to be in the order of 1/14. Assume now
a 4-bit word is available for the same analog signal. Then the full range
will be divided over 15 points, i.e. sixteen equally spaced values between
0 and 1 can be recognized, and the error in resolution will be in the order
of 1/30. Most current control-oriented ADC and DAC utilize a 10 to 12 bit
representation (resolution better than 0.1%). Since most micro- and
minicomputers utilize at least a 16-bit word, the value of an analog
variable can be stored in one memory word. New computers are capable
of using 32-bit word. Therefore, new generation of ADC and DAC with
higher resolution (up to 16 to 20 bit) are emerging.
13 PCSTP
Process interface
A typical plant with large number of variables contains abundance
of process information (data). Therefore, process information can be
classified under several classes (groups). Then a specialized device can be
used to transfer all information of a specific class into and out of the
computer. This way designing different I/O interface for each I/O device
to be connected to the computer is avoided. In fact, most process data
can be grouped into four major categories as listed in Table 2.
The generalized digital information usually uses binary coded decimal and
ranges from 0000 to 9999. Hence, a 16-bit register can be used as
interface device to transmit 4 digits of result because four-bits are
necessary to represent one digit (0-9) of binary coded decimal.
14 PCSTP
In the input pulse information case, a single register (interface
device) is designed for each input line. The register ordinarily consists of
pulse counter. The accumulated pulses over a specified length of time are
transferred to the computer in binary or BCD count. The output pulse
interface consists of a device to generate a continuous train of pulses
followed by a gate. The gate is turned on and off by the computer.
Timing
The control computer must be able to keep track of time (real time)
in order to be able to initiate data acquisition operations and calculate
control outputs or to initiate supervisory optimization on a desired
schedule. Hence, all control computers will contain at least one hardware
timing device. The so-called real-time clock represents one technique.
This device is nothing more than a pulse generator that interrupts the
computer on a periodic basis and identifies itself as interrupting device.
Operator interface.
The operator interface is generally a terminal upon which the
operator can communicate with the system. Such terminals usually permit
displaying graphical information. Often these display consoles are color
terminals for better visibility and recognition of key variables. The
operator will use the keyboard portion of the terminal to perform specific
tasks. For example, the operator can type in requests for information or
displaying trends, changing controller parameters or set points, adding
new control loop, and so on.
15 PCSTP
Digital control software
To make the best use of a DCS system, an advance control strategy
or supervisory optimization can be incorporated in the main host
computer. In the past, computer control projects are written in assembly
language, an extremely tedious procedure. Nowadays most user software
is written in higher-level languages such as BASIC, FORTRAN, C etc. In
many cases, the user is able to utilize the template routines supplied by
the vendor, and is required only to duplicate these routines and
interconnect them to fit his own application purposes. Another way is to
write his own complete control program and implement it.
Conclusion
16 PCSTP