Professional Documents
Culture Documents
Unit - 1 Icpc29
Unit - 1 Icpc29
Unit - 1 Icpc29
Unit - 1
Course Objectives
1
8/27/2021
COURSE CONTENT
Review of PC based control design for process automation: Functional Block diagram
of Computer control of process - Mathematical representation – Sampling
Consideration- Data Acquisition system and SCADA, Hybrid, Direct Digital Control
System, Distributed Control system architecture and Comparison with respect to
different performance attributes.
3
ICPC29 Logic and Distributed Control Systems
COURSE CONTENT
4
ICPC29 Logic and Distributed Control Systems
2
8/27/2021
Course Outcomes
5
ICPC29 Logic and Distributed Control Systems
TEXT BOOKS
6
ICPC29 Logic and Distributed Control Systems
3
8/27/2021
REFERENCE BOOKS
7
ICPC29 Logic and Distributed Control Systems
SYLLABUS
Unit-1
4
8/27/2021
5
8/27/2021
11
Krishna Kant, 2011 Distributed digital computer system
12
6
8/27/2021
Computers
Controllers
Actuators
Sensors
Software
13
14
7
8/27/2021
15
16
8
8/27/2021
17
9
8/27/2021
20
10
8/27/2021
21
22
11
8/27/2021
PLC-Based Controls
• A programmable logic controller (PLC) is a small computer,
often located inside a larger electrical control panel,
programmed to run an entire system or specific equipment.
• Unlike a typical computer, a PLC can only be used to handle
programming language for machine automation.
23
24
12
8/27/2021
25
26
13
8/27/2021
27
SYLLABUS
Unit-1
14
8/27/2021
15
8/27/2021
31
Computer control
32
Distributive control
16
8/27/2021
33
34
17
8/27/2021
35
36
Analog input module
18
8/27/2021
37
38
Digital input module
19
8/27/2021
39
Analog output module
40
Timer/counter module
20
8/27/2021
• The processor may read the current counter value at any instant
by stopping the counter using gate signal or read it on the Fly, i.e.,
without stopping the counter.
41
42
21
8/27/2021
43
44
22
8/27/2021
46
23
8/27/2021
47
Computer based controlled system
24
8/27/2021
• The status of fully open or fully closed position of the fan inlet
valve is obtained in the form of digital signals.
25
8/27/2021
26
8/27/2021
53
SYLLABUS
Unit-1
27
8/27/2021
Sampling consideration
Introduction:
• Digital computer used – controller, process of signal
conversion is essential
• Analog / Digital (A/D) – Output of analog device.
• Digital / Analog (D/A) – coded signal from controller
• Sample and Hold (S/H) device
55
Sampling consideration
56
Sampled data control system
28
8/27/2021
Sampling consideration
Introduction:
• Generally signals are analog in nature (eg: speech,weather
signals).
• To process the analog signal by digital means, it is essential
to convert them to discrete-time signal, and then convert
them to a sequence of numbers.
• The process of converting an analog to digital signal is
– Analog-to-Digital Conversion
• The ADC involves three steps which are:
– Sampling
– Quantization
– coding
57
Sampling consideration
Types of signals:
• Analog signals: continuous in time and amplitude
– Example: voltage, current, temperature,..
58
29
8/27/2021
Sampling consideration
Sample and hold device:
• Sampler – converts an analog signal into train of amplitude
demodulated pulses.
59
Sample and hold device
Sampling consideration
Sample and hold device:
• S-H circuit – capacitor, electronic switch, op-amp.
60
30
8/27/2021
Sampling consideration
Hold process :
• inverse of sampling process i.e conversion of sequence to a
continuous time function.
• Extracting the samples
• Holding the result fixed for one period.
61
Sample and hold operation
Sampling consideration
Sampling :
• During sampling process, a continuous-time signal (analog)
is converted into discrete -time signals by taking samples of
continuous-time signal at discrete time intervals.
• x(nTs) = x(t)
T - Sampling Interval
x (t) - Analog input signal
Fs =1/T , sampling rate or samples per second
62
31
8/27/2021
Sampling consideration
Sampling theorem:
• Sampling theorem gives the criteria for minimum number of
samples that should be taken.
• Sampling criteria:- Sampling frequency must be twice of the
highest frequency.
Fs>2Fm
– Fs=sampling frequency
– Fm=higher frequency content
Sampling consideration
Ideal Sampling :
64
32
8/27/2021
Sampling consideration
Ideal Sampling:
• In Time domain: Sampling results in conversion of continuous time
signal into discrete time signal.
65
Sampling consideration
Ideal Sampling : Reconstruction
66
33
8/27/2021
Sampling consideration
Aliasing :
• In case of under sampling
( s<2 m ), shifted versions of
signal spectrum shall overlap
resulting in spectral distortions.
67
Sampling consideration
Types of sampling:
• Periodic sampling
• Multiple-order sampling
• Multiple rate sampling
• Random sampling
• Shannon’ sampling theorem
68
34
8/27/2021
Sampling consideration
Types of sampling:
• Periodic sampling – samples are obtained uniformly at
interval of T seconds.
Sampling consideration
Shannon’s sampling theorem :
• A band limited continuous time signal with highest frequency
(fm) hertz can be recovered from its samples. Sampling rate
is greater than or equal to 2 fm samples per second.
70
35
8/27/2021
Sampling consideration
Shannon’s sampling theorem :
71
72
36
8/27/2021
73
37
8/27/2021
75
76
38
8/27/2021
77
78
Impulse response of ZOH
39
8/27/2021
79
80
40
8/27/2021
SYLLABUS
Unit-1
41
8/27/2021
84
42
8/27/2021
86
43
8/27/2021
87
44
8/27/2021
89
Why Isolation?
90
45
8/27/2021
• To make sure that the readings from the plug-in DAQ board are not
affected by differences in ground potentials or common-mode voltages.
• It will eliminate the ground loop and ensure that the signals are accurately
acquired.
91
• Antialiasing filter (low pass filter) - removes all frequencies of the signal
that are higher than the input bandwidth of the board.
92
46
8/27/2021
93
94
47
8/27/2021
95
96
48
8/27/2021
97
• Amplification
• Filtering
• Differentiation
• Integration
• Linearization
• Combining a measured signal with a reference signal
• Converting a resistance to a voltage signal
• Converting a current signal to a voltage
• Converting a voltage signal to a current signal
• Converting a frequency signal to a voltage signal
98
49
8/27/2021
99
• Analog input
• Sampling rate
• Multiplexing
• Resolution
100
50
8/27/2021
• Analog input - give you information on both the capabilities and the
accuracy of the DAQ product such as number of channels, sampling rate,
resolution, and input range.
• 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),
101
• Nyquist sampling theorem - sample at more than twice the rate of the
maximum frequency component. Sampling rate greater than 40 kS/s is
needed to properly acquire this signal.
102
Effect of sampling rate
51
8/27/2021
• ADC samples one channel, switches to the next channel, samples it,
switches to the next channel, and so on.
• Because the same ADC is sampling many channels instead of one, the
effective rate of each individual channel is inversely proportional to the
number of channels sampled.
103
• Higher the resolution, the higher the number of divisions the range is
broken into, and therefore, the smaller the detectable voltage changes.
52
8/27/2021
• Driver software
• Application software
105
• Driver functions for controlling DAQ hardware can be grouped into analog
I/O, digital I/O, and timing I/O.
53
8/27/2021
107
SYLLABUS
Unit-1
54
8/27/2021
SCADA
Introduction:
• Industrial control system (ICS) is a general term that has several
types of control systems, including
SCADA
Why SCADA?
110
55
8/27/2021
SCADA
Technology Evolution
SCADA
56
8/27/2021
SCADA
What is SCADA ?
• SCADA - Supervisory Control And Data Acquisition.
SCADA
114
57
8/27/2021
SCADA
SCADA System consists of
• One or more field data interface devices, usually RTUs, or PLCs, which
interface to field sensing devices and local control switchboxes and valve
actuators .
• HMI or MMI systems used to provide the SCADA central host and
operator terminal application, support the communications system, and
monitor and control remotely located field data interface devices.
115
SCADA
58
8/27/2021
SCADA
SCADA System perform functions
• Data acquisition
• Networked data communication
• Data presentation
• Control
• Telemetry system
• Data acquisition server
• Human-machine interface (HMI)
• Supervisory (computer) system
117
SCADA
Components of SCADA System
• Telemetry system - used to connect PLCs and RTUs with control centers
data ware houses, and the enterprise.
• Examples of wired telemetry media - telephone lines and WAN circuits.
• Examples of wireless telemetry media - cellular and microwave and other
communication medium.
118
59
8/27/2021
SCADA
Components of SCADA System
• Human machine interface (HMI) – which presents processed data to a
human operator, and through this, the human operator monitors and
interacts with the process.
119
SCADA
Components of SCADA System
• Human machine interface (HMI) – is a client that requests data from a
data acquisition on server.
120
60
8/27/2021
SCADA
SCADA Architecture
Monolithic
Networked 121
Distributed
SCADA
Monolithic SCADA System
• Connectivity to the SCADA master station itself was very limited by the
system vendor.
122
61
8/27/2021
SCADA
123
First Generation SCADA Architecture - Monolithic
SCADA
Distributed SCADA System
124
62
8/27/2021
SCADA
SCADA
Networked SCADA System
• Third generation SCADA systems comes from the use of WAN protocols
such as the Internet Protocol (IP) for communication between the master
station and communications equipment.
• Vendors are now producing RTUs that can communicate with the master
station using an Ethernet connection.
126
63
8/27/2021
SCADA
127
Third Generation SCADA Architecture - Networked
SCADA - Architecture
Master station area
• Scada Server, Network &
Operating System Software,
• Engineering Software
• Application development platform
• Performs calculations, logs and
archives historical data
• provides I/O server functionality and
switching
64
8/27/2021
SCADA - Architecture
Master station area – Scada server
SCADA - Architecture
Field station area – Field devices
• These devices transmit data to the RTUs, regarding parameters that are
monitored, such as flow, level or temperature.
• RTUs in turn transmit the data to the SCADA server for monitoring and
controlling purpose.
Field devices
130
65
8/27/2021
SCADA - Architecture
Communication Infrastructure
• It enables communication between the various components in a scada
system.
Communication
devices
131
SCADA - Architecture
Communication interface – Bus topology
• For increased traffic, the network can become overloaded, and the result is
a slowing down of the transfer of data from one node to another.
132
Bus Topology
66
8/27/2021
SCADA - Architecture
Communication interface – Star topology
• This master node would typically consist of one or two master SCADA
workstation functioning as masters of the system. All data collection from
the various RTU/PLC nodes is done through individual connections in a
star configuration.
• It does require that the information be passed first from the source node,
then through the host node, and then out to the destination node.
133
Star Topology
SCADA - Architecture
Communication interface – Token ring topology
• Works like a ring in which all nodes are interconnected by two network connections.
All nodes in the topology are of equal value, and data is passed via this ring from
one node to the next.
• It is predictive in that the speed is constant and the time to transfer data is always
at a fixed rate.
• As the number of nodes in the network increases, the overall data transfer rate
drops since there are more nodes through which data must pass to travel from the
source node to the destination node.
134
Token Ring Topology
67
8/27/2021
SCADA - Architecture
Remote terminal unit - RTU
• To connect to field devices like sensors, flow meter.
• Microprocessor based controlled device, extreme temp environment,
rugged, remote location.
• Converts field level signal in to data and transfer data to supervisory
system.
• Added advantages is in environment tolerances, backup power options,
and autonomy.
• Visual Basic, C+, Ladder logic, IEC and DNP3 protocol compatible.
135
RTU
SCADA - Architecture
PLC
• A solid state device that controls output devices based on input status and
a user developed program.
• Microprocessor based controlled device , receives information from input
devices, processes the data, and triggers outputs based on pre-
programmed parameters.
• Unlike an RTU, a PLC is configurable, economical and flexible
• Human body is the biggest example of PLC.
136
PLC
68
8/27/2021
SCADA
Advantages of SCADA :
137
SCADA
Applications of SCADA System
138
69
8/27/2021
SCADA
Applications of SCADA System
• Load management
139
SCADA
Applications of SCADA System
• Water distribution
140
70
8/27/2021
SCADA
Applications of SCADA System
141
SCADA
Applications of SCADA System
142
71
8/27/2021
SCADA
Applications of SCADA System
• Refining and petrochemical
143
SYLLABUS
Unit-1
72
8/27/2021
Hybrid System
Introduction:
• A hybrid control system is a control system with both analog and digital
parts.
145
Hybrid System
What is Hybrid system?
146
73
8/27/2021
Hybrid System
Hybrid system:
• Computer also used to drive its own operator interface, usually consisting
147
of one or more video display units (VDUs).
Hybrid System
148
Lukcas, 1986 Hybrid System Architecture
74
8/27/2021
Hybrid System
Hybrid system:
• The main idea in integrating the neuro and fuzzy control techniques is to
use the strength of each, resulting in neuro-fuzzy Control Systems.
149
Hybrid System
Neuro Fuzzy system:
• The integration of neuro and fuzzy controller will thus enable the automatic
design and fine-tuning of membership function used in fuzzy control
through learning of neural networks.
150
75
8/27/2021
Hybrid System
Hybrid System
Neuro Fuzzy system:
• Both AEN and ASN neural networks employ reinforcement learning with
hidden layer, using modified error backpropagation scheme.
152
76
8/27/2021
Hybrid System
Example of Hybrid system:
153
Hybrid control system
Hybrid System
Example of Hybrid system:
• When the thermostat turns on the radiator, the hybrid system jumps from
the off to the on state through the discrete transition turn on.
• It jumps back again when the thermostat turns off the radiator.
154
77
8/27/2021
Hybrid System
Example of Hybrid system:
155
Evolution of Hybrid control system
Hybrid System
Control Design:
156
78
8/27/2021
Hybrid System
Supervisory Control:
157
Supervisory control
Hybrid System
Supervisory Control:
• The purpose of the supervisor can be to stabilize the plant despite large
uncertainties or disturbances.
• Controllers are designed for a few operating conditions and then during
operation, the supervisor chooses the controller closest to the current
condition as defined by the state of the system.
158
79
8/27/2021
Hybrid System
Optimal Control:
• Example of a control problem utilizing both continuous and discrete control
is provided by a car with a gear box having four gears.
• The longitudinal position of the car along the road is denoted by x1 and its
velocity by x2 (lateral dynamics are ignored).
• The model has the control u = (gear, v), where gear ε [1,...,4] denotes the
gear position and v ε [vmin,vmax] the throttle position. Gear shift is necessary
because little power can be generated by the engine at very low or very
high engine speed.
159
Hybrid system modeling a car with four gears
Hybrid System
Applications of Hybrid system:
• Hybrid system applications studied with some depth in the literature include
160
80
8/27/2021
Hybrid System
Applications of Hybrid system:
161
Hybrid System
Applications of Hybrid system:
162
81
8/27/2021
SYLLABUS
Unit-1
• Computer was not directly connected to the process but was used for
supervision of analog controllers.
• Analog controllers and specialized controllers were called level 2 and level
1 control respectively.
164
82
8/27/2021
165
Krishna Kant, 2011 Supervisory Computer Control
• It directly interfaces to the process for data acquisition and control purpose.
166
83
8/27/2021
• It determines the error for each control loop and executes control strategy
for each loop.
168
84
8/27/2021
• There are two algorithms for programming a three-mode PID control loop:
– Position algorithm
– Velocity algorithm
169
• Where,
Yn - valve position at time n
Yo - median valve position
85
8/27/2021
• PID control can be realized with a microprocessor based system, if only the
above equation is implemented in the software.
• Integral term: 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.
171
• Where,
– en is the current error
– and en-1 is the previous error calculated at instant tn-1.
• Thus, with this modification the three mode controller will become
172
86
8/27/2021
• 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.
• Provision for defining the sampling rate should be made available in the
software.
• ‘Sampling interval counter’, the set-point, the proportional constant KP, the
integral constant KI and the derivative constant KD are defined by the user.
173
87
8/27/2021
• Recalculates the full valve of the valve setting at each sampling interval.
Advantages
Disadvantages
175
• Integral and the differential control forces are dependent upon the interval
between the two consecutive errors.
176
88
8/27/2021
178
89
8/27/2021
179
Krishna Kant, 2011
90
8/27/2021
SYLLABUS
Unit-1
182
91
8/27/2021
92
8/27/2021
93
8/27/2021
94
8/27/2021
190
95
8/27/2021
96
8/27/2021
97
8/27/2021
195
196
98
8/27/2021
• The devices in this (DCS) architecture are grouped into three categories
that interface directly to the process to be controlled or monitored.
197
99
8/27/2021
200
100
8/27/2021
• Data Input / Output Unit (DI/OU) : interfaces to the process alone for the
purpose of acquiring or outputting data. It performs no control functions.
202
101
8/27/2021
204
102
8/27/2021
206
103
8/27/2021
207
SYLLABUS
Unit-1
104
8/27/2021
Comparison of Architectures
FEATURES HYBRID CENTRAL COMPUTER DISTRIBUTED
1. Scalability and Good - due to Poor – very limited range Good - due to modularity.
expandability modularity. of
system size.
2. Control capability Limited – analog and Full - digital control Full - digital control
sequential control capability. capability.
hardware.
3.Operator Limited by panel Digital hardware provides Digital hardware provides
interfacing capability board instrumentation. significant improvement for improvement for full range of
large systems. system sizes.
210
105
8/27/2021
211
212
106
8/27/2021
213
214
107