Beruflich Dokumente
Kultur Dokumente
The Distributive Control System (in Figure 2) differs from the centralized system in
that each machine is handled by a dedicated control system.
__________________________________________________________________________________
St. Joseph's College of Engineering 1 Department of EIE
EI6702 Logic and Distributed Control System Unit III Computer Controlled Systems
Each dedicated control (PLC) is totally independent and could be removed from the
overall control scheme if it were not for the manufacturing functions it performs. Distributive
control involves two or more computers communicating with each other to accomplish the
complete control task. This type of control typically employs local area networks (LANs), in
which several computers control different stages or processes locally and are constantly
exchanging information and reporting the status on the process. Communications among
computers is done through single coaxial cables or fiber optics at very high speed.
Distributive control drastically reduces field wiring and heightens performance because
it places the controller and I/O close to the machine process being controlled. Because of their
flexibility, distributive control systems have emerged as the system of choice for numerous
batch and continuous process automation requirements.
3.1 Basic Building Blocks of Computer Controlled System
The basic functions of computer aided process control system are:
Measurement and acquisition.
Data conversion with scaling and checking.
Data accumulation and formatting.
Visual display.
Comparing with limits and alarm raising.
Recording and monitoring of events, sequence and trends.
Data logging and computation.
Control action.
__________________________________________________________________________________
St. Joseph's College of Engineering 2 Department of EIE
EI6702 Logic and Distributed Control System Unit III Computer Controlled Systems
Digital input signals refer to the ON-OFF states of various valves, limit switches, etc.
one digital input signal represents status of the limit switch or valve and is represented by on
bit of information for real-time systems. Normally digital input signals are compatible to real-
time systems and can be inputted directly.
3.1.1.1 Analog Input Module
The module continuously scans the analog inputs signals in the pre-defined order and
frequency, converts them into the digital and then sends these values to processor and memory
module for processing. The analog input module may also provide signal conditioning for some
standard transducers like thermocouples, LVDTs, strain gauges etc. in such cases, analog input
modules may be different for different types of transducers.
__________________________________________________________________________________
St. Joseph's College of Engineering 4 Department of EIE
EI6702 Logic and Distributed Control System Unit III Computer Controlled Systems
3.1.3 Display Control Module
Display control module consists of following independent sub-modules.
Manual entry sub-module
CRT controller sub-module
LED/LCD control sub-module
Alarm annunciator sub-module
Printer controller sub-module
The manual entry to the system may be via thumb wheel switches, various ON-OFF
command switches and / or keyboard. The keyboard may be a full ASCII keyboard or a
specialized numeric and task-oriented keyboard. There are both advantages and disadvantages
in using any manual entry sub modules. Basically, manual entry sub-modules have built in
buffer to store current setting of thumb wheel switches and last command/data entered through
keyboard. The processor may read these values on its own or may be interrupted whenever a
new data/command is entered.
CRT controller sub-module interfaces main processor to Visual Display Unit, which is
used to show the status of process by displaying transducers values, present set points entered
through manual entry sub-module, historical trend of various parameters, mimic diagram of
process, alarm status etc. All the above display tasks are provided in the main processor through
software. LED/LCD control sub-module interfaces array of LED/LCD to main processor. This
sub-module accepts data bytes/word from main processor and displays it on LED/LCD. Alarm
annunciator controller sub-module generates ON-OFF signal for each type of alarm. The
processor may send an alarm byte/word to the alarm annunciator controller sub-module which
decodes byte/word and sends ON-OFF signals for various types of alarms. These alarm
modules are separate and require only digital signal to light the incandescent bulbs and/or audio
alarms. Printer controller sub-module is printer interface to main processor. Generally it has
local intelligence for printer control, a data buffer to store the data for printing etc. It accepts
the data bytes/words from main processor and prints it for the benefit of operator. The
interaction with main processor may be through periodic direct memory access or under the
direct control of main processor.
3.2 Role of Computers in Measurement and Control
The figure 8 shows the Role of computer in process control. After the technological
development of digital computer system, its use for measurement and control application has
tremendously increased. The basic objective of computer-aided measurement and control is to
identify the information flow and to manipulate the material and energy flow of given process
in a desired, optimal way. The requirement in terms of response time, computing power,
flexibility and fault tolerance are stricter, since the control is to be carried out in real-time.
Other difficulties, as a result of computer technology developments are a solution to the
problem of complexity, flexibility, and geographical separation of process elements.
Digital computer control application exists today for two major areas in the process
industries passive and active applications. Passive application involves acquisition and
manipulation of process data whereas; active application involves manipulation of process as
well. The passive application deals predominantly with monitoring, alarming and data
reduction systems. The process data, after captured (measured) on-line, are sent to the data
acquisition computer through interface module. The smart instruments such as smart sensors,
smart transmitters and smart actuators (final control element), are now available which have a
microcomputer built into them. The smart instruments help the operator to get real-time process
measurement information and automatic transmission is required form for further processing
by the process control computer. The smart instruments ensure that the actuator, transmitter or
sensor function according to design.
The major application of digital computers is in process control and plant optimization.
Computer control systems, once prohibitively expensive, can now be tailored to fit most
__________________________________________________________________________________
St. Joseph's College of Engineering 5 Department of EIE
EI6702 Logic and Distributed Control System Unit III Computer Controlled Systems
industrial applications on a competitive economic basis. The advances in the use of computer
control have motivated many and changed the concepts of the operations of industrial
processes. Video display terminals now provide the four for operators to supervise the whole
plant from a control room. Large panels of instruments, knobs and switches are replaced by a
few keyboards and screens. Control rooms are now much smaller and fewer people are required
to supervise the plant.
__________________________________________________________________________________
St. Joseph's College of Engineering 6 Department of EIE
EI6702 Logic and Distributed Control System Unit III Computer Controlled Systems
__________________________________________________________________________________
St. Joseph's College of Engineering 7 Department of EIE
EI6702 Logic and Distributed Control System Unit III Computer Controlled Systems
3.3.2 Transducers
Transducers sense physical phenomena and provide electrical signals that the DAQ
system can measure. For example, thermocouples, RTDs, thermistors, and IC sensors convert
temperature into an analog signal that an ADC can measure. Other examples include strain
gauges, flow transducers, and pressure transducers, which measure force, rate of flow, and
pressure, respectively. In each case, the electrical signals produced are proportional to the
physical parameters they are monitoring.
3.3.3 Signal Conditioning
The electrical signals generated by the transducers must be optimized for the input
range of the DAQ board. Signal conditioning accessories can amplify low-level signals, and
then isolate and filter them for more accurate measurements. In addition, some transducers
require voltage or current excitation to generate a voltage output. Signal conditioning has the
following applications:
i) Amplification, ii) Isolation, iii) Filtering, iv) Excitation and v) Linearization.
3.3.3.1 Amplification
The most common type of conditioning is amplification. Low-level thermocouple
signals, for example, should be amplified to increase the resolution and reduce noise. For the
highest possible accuracy, the signal should be amplified so that the maximum voltage range
of the conditioned signal equals the maximum input range of the analog-to-digital converter
(ADC). Very high resolution reduces the need for high amplification and provides wide
dynamic range.
3.3.3.2 Isolation
Another common application for signal conditioning is to isolate the transducer signals
from the computer for safety purposes. The system being monitored may contain high-voltage
transients that could damage the computer. An additional reason for needing isolation is to
make sure that the readings from the plug-in DAQ board are not affected by differences in
ground potentials or common-mode voltages. When the DAQ board input and the signal being
acquired are each referenced to “ground,” problems occur if there is a potential difference in
the two grounds. This difference can lead to what is known as a ground loop, which may cause
inaccurate representation of the acquired signal, or if too large, may damage the measurement
system. Using isolated signal conditioning modules will eliminate the ground loop and ensure
that the signals are accurately acquired.
3.3.3.3 Filtering
The purpose of a filter is to remove unwanted signals from the signal that you are trying
to measure. A noise filter is used on DC-class signals such as temperature to attenuate higher
frequency signals that can reduce the accuracy of your measurement. AC-class signals such as
vibration often require a different type of filter known as an antialiasing filter. Like the noise
filter, the antialiasing filter is also a low pass filter; however, it must have a very steep cut off
rate, so that it almost completely removes all frequencies of the signal that are higher than the
input bandwidth of the board. If the signals were not removed, they would erroneously appear
as signals within the input bandwidth of the board.
3.3.3.4 Excitation
Signal conditioning also generates excitation for some transducers. Strain gauges,
thermistors, and RTDs, for example, require external voltage or current excitation signals.
Signal conditioning modules for these transducers usually provide these signals. RTD
measurements are usually made with a current source that converts the variation in resistance
to a measurable voltage. Strain gauges, which are very low-resistance devices, typically are
used in a Wheatstone bridge configuration with a voltage excitation source.
__________________________________________________________________________________
St. Joseph's College of Engineering 8 Department of EIE
EI6702 Logic and Distributed Control System Unit III Computer Controlled Systems
3.3.3.5 Linearization
Another common signal conditioning function is linearization. Many transducers, such
as thermocouples, have a nonlinear response to changes in the phenomena being measured.
Therefore, application software includes linearization routines for thermocouples, strain
gauges, and RTDs.
3.3.4 DAQ Hardware
Data acquisition hardware includes the following functions.
3.3.4.1 Analog Inputs
The analog input specifications can give you information on both the capabilities and
the accuracy of the DAQ product. Basic specifications, which are available on most DAQ
products, tell you the number of channels, sampling rate, resolution, and input range. The
number of analog channel inputs will be specified for both single-ended and differential inputs
on boards that have both types of inputs. Single-ended inputs are all referenced to a common
ground point. These inputs are typically used when the input signals are high level (greater than
1 V), the leads from the signal source to the analog input hardware are short (less than 15 ft.),
and all input signals share a common ground reference. If the signals do not meet these criteria,
you should use differential inputs. With differential inputs, each input has its own ground
reference. Noise errors are reduced because the common-mode noise picked up by the leads is
cancelled out.
3.3.4.2 Sampling Rate
This parameter determines how often conversions can take place. A faster sampling
rate acquires more points in a given time and can therefore often form a better representation
of the original signal.
__________________________________________________________________________________
St. Joseph's College of Engineering 9 Department of EIE
EI6702 Logic and Distributed Control System Unit III Computer Controlled Systems
__________________________________________________________________________________
St. Joseph's College of Engineering 11 Department of EIE
EI6702 Logic and Distributed Control System Unit III Computer Controlled Systems
t K I 0
Yn K P .en K D . e.t Y0 ------ (1)
Where,
Yn - valve position at time n
Yo - median valve position
KP - proportional constant = l00 / PB (where, PB - proportional band in per cent),
KI - integral constant = 1/TI (where TI - integral time constant)
KD - derivative constant =TD (where TD - derivative constant)
en - error at instant tn = (S - Vn)
Vn - value of controlled variable at instant tn
S - set-point
The PID control can be realised with a microprocessor based system, if only the above
equation is implemented in the software. Apparently, it is very difficult to write the software
for implementing the above equation for a microprocessor based system. However, the above
__________________________________________________________________________________
St. Joseph's College of Engineering 12 Department of EIE
EI6702 Logic and Distributed Control System Unit III Computer Controlled Systems
equation can be modified such that its software implementation becomes easy. The
modifications are discussed in the following section.
The integral term at any given instant tn is equal to the algebraic sum of all the control
forces generated by the integral control action from the beginning to that instant. Thus integral
term can be represented as
1 n
et .t
K I t 0
and the differential term, KI . Δe/Δt at any instant tn is proportional to the rate of change of the
error.
Thus, differential term, can be represented as
e e
K D . n n1
t
Where, en is the current error and en-1 is the previous error calculated at instant tn-1.
The integral and the differential control forces are dependent upon the interval between
the two consecutive errors. This interval is the inverse of the rate at which the value of the
controlled variable is measured i.e. the sampling rate. Hence the provision for defining the
sampling rate should be made available in the software.
The flowchart for calculating PID control output based on above equation (Eq. 2) is
shown in Figure 15.
3.5.2.2 Velocity Algorithm
In number of control loops, the final control element is stepper motor or stepper motor
driven valve. In such cases, the requirement at the computer output will be a pulse train
__________________________________________________________________________________
St. Joseph's College of Engineering 13 Department of EIE
EI6702 Logic and Distributed Control System Unit III Computer Controlled Systems
specifying the change in valve position. Thus output of position algorithm cannot be used, since
it gives the new position of the valve, in absolute term. In velocity algorithm, the computer
calculates the required change in valve position. The output is digital pulse train which can be
directly used in case valve is stepper motor driven. In case of other valves, stepper motor
combined with slide wire arrangement can be used. The same function can be performed by an
integrating amplifier.
3.6 Supervisory Control And Data Acquisition (SCADA)
SCADA stands for supervisory control and data acquisition. The SCADA system is
based on Hardware and Software. The hardware included “Master Terminal Unit (MTU),
Remote Terminal Units (RTUs)” or / and actuators, and sensors. The software included Human
Machine Interface (HMI) or other user software that provides communication interface
between SCADA hardware and software.
__________________________________________________________________________________
St. Joseph's College of Engineering 15 Department of EIE
EI6702 Logic and Distributed Control System Unit III Computer Controlled Systems
The channels can be polled
sequentially, in which case the channel
address in first step above increase by one
every time or they may be scanned in some
other order. In the latter case, a channel
Scan Array can he maintained in memory.
The scan array contains the addresses of the
channels in the order in which they should
he addressed. The ASCN array has 9, 10, 1,
2 ... as entries in sequence. Thus, the first
channel to be scanned will be channel 9,
followed by 10, 1, 2. . . pointer reaches the
last entry in the array, first entry is again
taken up (i.e. channel 9 is scanned).
If a channel number is repeated in
the array, then that particular channel will
be scanned repeatedly. Thus it is possible
to scan some channels more than others.
This gives them higher priority over others.
Figure 18. Channel scan array In Figure 18 shows the channel 9 is scanned
3 times, channel, 2 is scanned 2 times while
other channels are scanned once during a
cycle.
__________________________________________________________________________________
St. Joseph's College of Engineering 16 Department of EIE
EI6702 Logic and Distributed Control System Unit III Computer Controlled Systems
permanently in (ROM) Read Only Memory.
Thus the channels are always scanned in
that particular order. However, it may be
desirable to offer the facility of changing
the sequence at the operator level. The
operator may like to take this action
depending on the condition of the plant
being monitored. As an example, if at any
instant operator finds out that the transducer
connected to channel 9 has generated some
fault, then he might take decision to bypass
the channel 9, as otherwise its data will be
taken into analysis to produce incorrect
result. In another situation, it may become
necessary to scan some channel more
frequently for some time to observe its
response to some modifications
incorporated in the system. The operator
should be able insert new scan array at any
time. This facility may be provided through
a key switch, which may be connected to
Figure 20. Scan array with time interrupt request input of processor. The
The scan array may he decided at Interrupt Servicing Routine will accept new
the design stage of SCADA and fused scan array and store in place of the old one.
__________________________________________________________________________________
St. Joseph's College of Engineering 18 Department of EIE
EI6702 Logic and Distributed Control System Unit III Computer Controlled Systems
control decisions. This is the operation of the Master Terminal Unit (MTU) located in the
control center.
Communication between the MTU and RTU is bidirectional, however the major
difference is RTU cannot initiate the conversation, and RTU simply collects the data from the
field and stores the data. Communication between the MTU and RTUs are initiated by the
programs with in the MTU which are triggered either by operator instructions or automatically
triggered. 99% of the instructions and messages to the RTUs from MTUs are automatically
triggered. When Master Terminal Unit (MTU) asks the desired information RTU sends it.
So MTU is considered as master and RTU is the Slave. After receiving the data required MTU
communicates to the printers and CRTs which are operator interface through necessary
protocols. At this level of communication it will be of the form peer-to-peer communication
rather than master slave communication unlike communication between MTUs and RTUs.
Thus in SCADA system Master Terminal Unit (MTU) acts as heart of the system.
3.8 Remote Terminal Unit (RTU)
The Remote Terminal Units (RTUs) are basically distributed SCADA based systems
used in remote locations in applications like oil pipelining, irrigation canals, oil drilling
platforms etc. They are rugged and should be able to work unattended for a long duration.
There are two modes in which Remote Terminal Units work.
1. Under command from central computer
2. Standalone mode
Since these RTU's have to operate for a long duration unattended, the basic
requirements would be that they consume minimum power and have considerable self-
diagnostic facility. Following are the main parts of remote terminal units; Input / Output
modules, and Communication module.
3.8.1 Input / Output Modules
Input / Output modules contain analog input modules, analog output modules, digital
input modules and digital output modules.
3.8.2 Communication Module
The communication module is the most important portion of remote terminal unit and
has the interface available with 2-wire/4-wire communication line. Some of the RTUs may also
have built-in transceivers and modems. Following are the basic communication strategies that
a RTU may use depending on the application need:
3.8.2.1 Wireline communications
The wireline communication may have number of options and these options can be
selected depending upon the distance between central computer and RTU or between two
RTUs. These options are enlisted here:
(i) Option l-RS-232C/442. RTU can support communication via standard RS-
232C/442. The I/O ports can select the average levels as well as the baud rates.
(ii) Option 2-Switch line modem. When the user wants to use the existing telephone
lines for communication, the switch line modem can be effective. Such RTUs contain the
facilities like auto answer, auto dial and auto select baud rates. The modem is ideal for data
networks configured in time or event reporting RTUs and for master station polling networks.
(iii) Option 3-2-wire or 4-wire communication. The modem residents in the RTU can
be configured to 2 or 4-wire communication on dedicated lines. The same communication
protocol is used for all devices making the actual network configuration transparent to the user.
3.8.2.2 Terrestrial UHF/VHF radio with store and forward capability
The RTU may support a complete line of UHF/VHF terrestrial radios. The
communication protocol in these RTUs is transparent to the user and supports CRC
intelligence, error checking, and packet protocol for error free data transmission. The store and
Forward capability of the RTU minimizes the required input in large numbers.
__________________________________________________________________________________
St. Joseph's College of Engineering 19 Department of EIE
EI6702 Logic and Distributed Control System Unit III Computer Controlled Systems
3.8.2.3 Satellite communications
In the applications where wireline and terrestrial radio communications are impossible
or cost prohibitive, the satellite communications may be desirable. Some of the latest RTUs
provide the facility to be interfaced to one-way or two-way satellite communication using Very
Small Aperture Termina1s (VSATs). These terminals use one metre antennas and have data
rates from 50 to 60 Kbps (Kilobits per second).
3.8.2.4 Fibre-optic communications
For applications where electromagnetic interferences or hazardous electrica1 potentials
exist, the RTU can be networked using fibre-optic cables. The same communication protocols
and networking concepts available for wireline and radio are used for fibre-optic
communication.
3.9 Distributed SCADA System
In any application, if the number of channels is quite large then in order to interface
these to processor, one has to use multiplexers at different levels.
__________________________________________________________________________________
St. Joseph's College of Engineering 20 Department of EIE
EI6702 Logic and Distributed Control System Unit III Computer Controlled Systems
__________________________________________________________________________________
St. Joseph's College of Engineering 23 Department of EIE