Unit - 1 ICPC29 - Merged
Unit - 1 ICPC29 - Merged
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
9/24/2021
Unit - 2
Course Objectives
1
9/24/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
9/24/2021
Course Outcomes
5
ICPC29 Logic and Distributed Control Systems
TEXT BOOKS
6
ICPC29 Logic and Distributed Control Systems
3
9/24/2021
REFERENCE BOOKS
7
ICPC29 Logic and Distributed Control Systems
SYLLABUS
Unit-2
4
9/24/2021
• The advent of the PLC began in the 1970s, and has become
the most common choice for manufacturing controls.
PLC 10
Petruzella, 2005
5
9/24/2021
11
12
6
9/24/2021
• Applications:
– First PLC was installed primarily in automotive plants.
• Drawbacks:
– Programs were complicated and required a highly trained programmer
to make the changes.
– Reprogramming procedures are more difficult.
13
• Applications:
– PLC was installed in Robotics and Automation devices.
• Advantages:
– PLC programs written in high level languages became more
understandable to more people.
– PLCs became more affordable.
14
7
9/24/2021
• Applications:
– Medical equipment, security control system, etc.
15
• nano,
• micro,
• small,
• medium and
• large.
Size of PLC 16
8
9/24/2021
18
9
9/24/2021
19
PLC vs PC 20
Petruzella, 2005
10
9/24/2021
• Increased reliability
• More flexibility
• Communications capability
• Faster response time
• Easier to troubleshoot
• Maintainability
• Visual observation
• Security
• Documentation
• Ease of Changes by Reprogramming
21
22
11
9/24/2021
• Newer technology
• Fixed circuit operation
• Fail-safe operation
• Limited design and cost option.
• PLCs manufacturers offer only closed architectures.
• PLC devices are proprietary it means that part or software of one
manufacturer can’t be used in combination with parts of another
manufacturer.
23
24
12
9/24/2021
SYLLABUS
Unit-2
• Power supply
• Central processing unit (CPU)
• Input / Output module
• Programming devices
26
13
9/24/2021
27
Components of a PLC 28
Petruzella, 2005
14
9/24/2021
• For small and micro PLC systems, the power supply is also used to
power field devices.
29
15
9/24/2021
31
32
PC with software
16
9/24/2021
33
Handheld units with display
Architecture of a PLC 34
Bolton, 2009
17
9/24/2021
Fixed type 35
Petruzella, 2005
• It greatly increases your options and the unit’s flexibility. You can
choose from all the modules available and mix them in any way
you desire.
• When a module slides into the rack, it makes an electrical
connection with a series of contacts - called the backplane. The
back plane is located at the rear of the rack.
Modular type 36
Petruzella, 2005
18
9/24/2021
37
• I/O Rack - used to connect the CPU to the out side world. It
contains input modules that carry information from control sensor
devices to the CPU and output modules that carry instructions from
the CPU to output devices in the field.
• Input and output modules contain more than one input or output.
19
9/24/2021
39
Petruzella, 2005 Input / Output section
• Input section: Forms the interface by which input field devices are
connected to the controller. Input devices such as pushbuttons,
limit switches, sensors, selector switches, and thumbwheel
switches are hardwired to terminals on the input modules.
40
20
9/24/2021
41
42
21
9/24/2021
43
Petruzella, 2005 PLC Input / Output system connection
• Composed of two basic sections: the power section and the logic
section.
• Power and logic sections are normally coupled together with a
circuit that electrically separates the two.
22
9/24/2021
• Zener diode (ZD) voltage rating sets the minimum level of voltage
that can be detected.
• Light from the LED strikes the photo transistor, it switches into
conduction and the status of the pushbutton is communicated in
logic or low level dc voltage to the processor.
45
46
Petruzella, 2005 Circuit diagram of AC discrete input module
23
9/24/2021
• Optical isolator not only separates the higher ac input voltage from
the logic circuits but also prevents damage to the processor due to
line voltage transients. It helps reduce the effects of electrical
noise, common in the industrial environment, which can cause
erratic operation of the processor.
47
• Composed of two basic sections: the power section and the logic
section coupled by an isolation circuit.
24
9/24/2021
50
Petruzella, 2005 Circuit diagram of AC discrete output module
25
9/24/2021
51
Petruzella, 2005 Discrete input and output devices
52
26
9/24/2021
54
Petruzella, 2005 Analog input and output to a PLC.
27
9/24/2021
55
56
Petruzella, 2005 Analog input module with Thermocouple
28
9/24/2021
57
Petruzella, 2005 Analog input module circuit
29
9/24/2021
30
9/24/2021
• It receives from the processor digital data which are converted into
a proportional voltage or current to control an analog field device.
62
Petruzella, 2005 Analog I/O system
31
9/24/2021
63
Petruzella, 2005 Measuring temperature
64
32
9/24/2021
65
66
33
9/24/2021
67
68
Petruzella, 2005 High-speed counter module
34
9/24/2021
Encoder module 69
Petruzella, 2005 Thumbwheel
BCD module 70
Petruzella, 2005 Stepper motor
35
9/24/2021
71
Petruzella, 2005 PID module
72
Petruzella, 2005 PLC servo module
36
9/24/2021
73
Petruzella, 2005 Communication module
74
37
9/24/2021
SYLLABUS
Unit-2
38
9/24/2021
78
39
9/24/2021
79
40
9/24/2021
81
Scan Process
82
41
9/24/2021
42
9/24/2021
85
43
9/24/2021
44
9/24/2021
89
Petruzella, 2005
45
9/24/2021
1) Self test: Testing of its own hardware and software for faults.
2) Input scan: If there are no problems, PLC will copy all the
inputs and copy their values into memory.
92
46
9/24/2021
93
94
Petruzella, 2005
47
9/24/2021
Wiring connections for a 120 VAC Wiring connections for a 120 VAC
modular configured input module modular configured output module
96
Petruzella, 2005
48
9/24/2021
97
49
9/24/2021
• The term binary principle refers to the idea that many things
can be thought of as existing in only one of two states. These
states are 1 and 0.
• A logic gate is a circuit with several inputs but only one output
that is activated by particular combinations of input
conditions. 99
• Each function has a rule that will determine the outcome and
a symbol that represents the operation.
50
9/24/2021
101
Petruzella, 2005
51
9/24/2021
Logical OR 103
Logical NOT
52
9/24/2021
NOR gate
106
53
9/24/2021
• The output of this circuit is HIGH only when one input or the
other is HIGH, but not both.
• Used for the comparison of two binary numbers.
XOR gate
Logic gates
107
108
Boolean algebra as related to AND, OR, and NOT functions
54
9/24/2021
109
Logic gate circuit developed from the Boolean expression
Two limit switches connected in series and used to control a solenoid valve
Two limit switches connected in parallel and used to control a solenoid valve
110
55
9/24/2021
Two limit switches connected in parallel with each other and in series with a
pressure switch
Two limit switches connected in parallel with each other and in series with
two sets of flow switches (that are connected in parallel with each other), and
111
used to control a pilot light
Two limit switches connected in series with each other and in parallel with a
third limit switch, and used to control a warning horn
Two limit switches connected in series with each other and in parallel with
two other limit switches (that are connected in series with each other), and
112
used to control a pilot light.
56
9/24/2021
One limit switch connected in series with a normally closed pushbutton and
used to control a solenoid valve
Exclusive-OR circuit. The output lamp of this circuit is ON only when 113
pushbutton A or B is pressed, but not both
SYLLABUS
Unit-2
57
9/24/2021
Mode of operation:
• Off position
• Manual mode
• Automatic mode
• Off position - Pump will stop if it is running and will not start
if it is stopped.
116
58
9/24/2021
59
9/24/2021
• Normally closed (NC) contacts are closed when the coil is de-
energized and open when the coil is energized. Each contact
is usually drawn as it would appear with the coil de-
energized.
120
60
9/24/2021
121
Relay normally open and normally closed contacts Control relay
122
Petruzella, 2005 Motor stop/start ladder logic program
61
9/24/2021
SYLLABUS
Unit-2
124
62
9/24/2021
125
126
63
9/24/2021
127
128
64
9/24/2021
129
65
9/24/2021
131
132
66
9/24/2021
133
134
67
9/24/2021
135
ON-Delay Timer Sequence
68
9/24/2021
ON-Delay Timer
Timing diagram
137
SYLLABUS
Unit-2
69
9/24/2021
139
140
70
9/24/2021
Start-Up Warning
Signal
141
142
71
9/24/2021
144
72
9/24/2021
145
Off-Delay Timer
Timing diagram
146
73
9/24/2021
147
Off-Delay Timer to switch motor off
• When power is first applied (limit switch LS1 open), motor starter coil M1
is energized and the green pilot light is on. At the same time, motor starter
coil M2 is de-energized, and the red pilot light is off.
• When limit switch LSl closes, off-delay timer coil TD1 energizes. As a
result, timed contact TD1-1 opens to de-energize motor starter coil M1,
timed contact TD1-2 closes to energize motor starter coil M2.
Instantaneous contact TD1-3 opens to switch the green light off, and
instantaneous contact TD1-4 closes to switch the red light on.
• The circuit remains in this state as long as limit switch LS1 is closed.
• When limit switch LS1 is opened, the off-delay timer coil TD1 de-
energizes. As a result, the time-delay period is started, instantaneous
contact TD1-3 closes to switch the green light on, and instantaneous
contact TD1-4 opens to switch the red light off.
• After a 5s time-delay period, timed contact TD1-1 closes to energize
motor starter M1, and timed contact TD1-2 opens to de-energize motor
starter M2.
148
74
9/24/2021
150
75
9/24/2021
151
Fluid pumping process
152
76
9/24/2021
153
Retentive Timer On
Retentive On delay Timer
154
77
9/24/2021
155
Timing diagram
78
9/24/2021
157
158
79
9/24/2021
159
Sequential Time-Delayed
Motor Starting
160
80
9/24/2021
161
• When power supply is on, timer T4:0 is a energized and the EN bit is
activated, at the same red is on.
• After 30s delay, the timed contact T4:0 DN bit open to switch the red light
off.
• At the same time, timer T4:0 DN bit is directly connected to second timer
T4:1 input. The timer T4:1 EN bit is activated and the green light is on.
• After 25s delay, the timed contact T4:1 DN bit is open to switch the green
light off.
• Timer T4:1 DN bit is directly connected to the third timer T4:2 input. The
timer T4:2 EN bit is activated and the amber light is on.
• After 5s delay, the timed contact T4:2 DN bit is open to switch the amber
light off. The sequence then repeats itself.
162
81
9/24/2021
SYLLABUS
Unit-2
82
9/24/2021
166
83
9/24/2021
167
Coil formatted counter
168
Coil formatted counter
84
9/24/2021
169
Block formatted counter
170
Up-Counter Down-Counter
85
9/24/2021
• Count-Up (CU) Enable Bit: The count-up enable bit is used with the
count-up counter and is true whenever the count-up counter instruction is
true. If the count-up counter instruction is false, the CU bit is false.
• Count-Down (CD) Enable Bit: The count-down enable bit is used with
the count-down counter and is true whenever the count-down counter
instruction is true. If the count-down counter instruction is false, the CD bit
is false.
• Done (DN) Bit: The done bit is true whenever the accumulated value is
equal to or greater than the presetvalue of the counter, for either the
count-up or the count-down counter.
172
86
9/24/2021
• Overflow (OV) Bit: The overflow bit is true whenever the counter counts
past its maximum value, which is 32.767. On the next count, the counter
will wrap around to -32,768 and will continue counting from there toward 0
on successive false-to-true transitions of the count-up counter.
• Preset Value: Specifies the value, which the counter must reach before
the controller sets the done bit. When the accumulated value becomes
equal to or greater than the preset value, the done status bit is set. You
can use this bit to control an output device.
173
• Application is designed to turn the red pilot light on and the green
pilot light off after an accumulated count of 7.
• Operating pushbutton PBl provides the off-to-on transition pulses that are
counted by the counter.
• The preset value of the counter is set for 7. Each false-to-true transition of
rung 1 increases the counter's accumulated value by 1. After 7 pulses, or
counts, when the preset counter value equals the accumulated counter
value, output ON is energized.
• As a result, rung 2 becomes true and energizes output O:2/0 to switch the
red pilot light on. At the same time, rung 3 becomes false and de-
energizes output O:2/ 1 to switch the green pilot light off.
• The counter is reset by closing pushbutton PB2, which makes rung 4 true
and resets the accumulated count to zero. Counting can resume when
rung 4 goes false again.
174
87
9/24/2021
175
Block formatted counter
176
Timing diagram
88
9/24/2021
177
178
Parts Counting
89
9/24/2021
179
Down Counter
• Assuming the preset value of the counter is 3 and the accumulated count
is 0, pulsing the count-up input (PB1) three times will switch the output
light from off to on.
• PLC counter keeps track of the number of counts received above the
preset value. As a result, three additional pulses of the count-up input
(PB1) produce an accumulated value of 6 but no change in the output.
• If the count-down input (PB2) is now pulsed four times, the accumulated
count is reduced to 2 (6 - 4).
• Accumulated count drops below the preset count and the output light
switches from on to off. Pulsing the reset input (PB3) at any time will reset
the accumulated count to 0 and turn the output light off.
180
90
9/24/2021
181
Timing diagram
• All three instructions will be looking at the same address in the counter
file. When input A goes from false to true, one count is added to the
accumulated value. When input B goes from false to true, one count is
subtracted from the accumulated value.
182
91
9/24/2021
• When the CTU instruction is true, C5:2/CU will be true, causing output A
to be true.
• When the CTD instruction is true, C5:2 /CD will be true, causing output B
to be true.
• When the accumulated value is greater than or equal to the preset value,
C5:2/DN will he true, causing output C to be true.
• Input C going true will cause both counter instructions to reset. When
reset by the RES instruction, the accumulated value will be reset to 0 and
the done bit will be reset.
183
184
Up/Down counter
92
9/24/2021
SYLLABUS
Unit-2
186
93
9/24/2021
187
Parking Garage Counter
188
94
9/24/2021
• Output of the first counter is programmed into the input of the second
counter. The status bits of both counters are programmed in series to
produce an output. These two counters allow twice as many counts to be
measured.
189
Counting Beyond the Maximum Count
190
95
9/24/2021
191
Cascading two counters
96
9/24/2021
193
24 hour clock
97
10/14/2021
Unit - 3
Course Objectives
1
10/14/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
10/14/2021
Course Outcomes
5
ICPC29 Logic and Distributed Control Systems
TEXT BOOKS
6
ICPC29 Logic and Distributed Control Systems
3
10/14/2021
REFERENCE BOOKS
7
ICPC29 Logic and Distributed Control Systems
SYLLABUS
Unit-3
4
10/14/2021
10
Petruzella, 2016
5
10/14/2021
6
10/14/2021
13
Data transfer concept
14
7
10/14/2021
16
Petruzella, 2016
8
10/14/2021
• Where there is a 1 in the mask, data will pass from the source to
the destination.
• Where there is a 0 in the mask, data in the destination will remain
in their last state.
• Status in bits 4–7 are unchanged due to zeroes in the mask
(remained in their last state). status in bits 0–3 and 8–15 were
copied from the source to destination when the MVM instruction
went true.
• The mask must be the same word size as the source and
destination.
17
18
Petruzella, 2016
9
10/14/2021
10
10/14/2021
21
11
10/14/2021
• File-to-file shifts are used when the data in one file represent a
set of conditions that must interact with the programmable
controller program several times and, therefore, must remain intact
after each operation.
23
24
12
10/14/2021
• File arithmetic and logic (FAL) instruction is used to copy data from
one file to another and to do file math and file logic. This instruction
is available on Allen- Bradley PLC-5 and ControlLogix platforms.
13
10/14/2021
Control - Is the first entry and the address of the control structure in
the control area (R) of processor memory.
• The processor uses this information to run the instruction.
• The default file for the control file is data file 6.
Position - Is the third entry and represents the current location in the
data block that the processor is accessing.
• It points to the word being operated on. The position starts with 0
and indexes to 1 less than the file length.
27
All Mode - For this mode you enter the letter A. In the all mode, the
instruction will transfer the complete file of data in one scan.
Enable (EN) bit will go true when the instruction goes true and will
follow the rung condition. When all of the data have been
transferred, the done (DN) bit will go true. This change will occur
on the same scan during which the instruction goes true.
28
14
10/14/2021
Incremental mode - For this mode you enter the letter I. In the
incremental mode, one element of data is operated on for every
false-to-true transition of the instruction.
30
15
10/14/2021
• With each false-to-true rung transition of input A, the processor reads one
word of integer file N29.
• The processor starts reading at word 0, and writes the image into word 5
of integer file N29.
• The instruction writes over any data in the destination.
Petruzella, 2016 32
16
10/14/2021
• File copy (COP) instruction and the fill file (FLL) instruction are
high-speed instructions that operate more quickly than the same
operation with the FAL instruction.
34
17
10/14/2021
36
18
10/14/2021
SYLLABUS
Unit-3
19
10/14/2021
39
20
10/14/2021
41
Petruzella, 2016
42
21
10/14/2021
43
Petruzella, 2016 SLC 500 CPT (compute) instruction
22
10/14/2021
45
Petruzella, 2016 SLC 500 ADD (addition) instruction
23
10/14/2021
47
Petruzella, 2016 Counter program that uses the ADD instruction
• Zero Bit (Z) - Address S2:0/2, is set to 1 when the result of the
subtract instruction is zero.
24
10/14/2021
49
Petruzella, 2016 SLC 500 SUB (subtract) instruction
25
10/14/2021
51
Petruzella, 2016 Vessel overfill alarm program (SUB)
52
Petruzella, 2016 SLC 500 MUL (multiply) instruction
26
10/14/2021
53
Petruzella, 2016 MUL instruction used to calculate the product of two sources.
27
10/14/2021
55
Petruzella, 2016 MUL instruction used as part of a temperature control
56
Petruzella, 2016 SLC 500 DIV (Divide) instruction
28
10/14/2021
57
Petruzella, 2016 SLC 500 DIV (Divide) instruction
29
10/14/2021
SYLLABUS
Unit-3
30
10/14/2021
61
Basic PLC data compare instructions
31
10/14/2021
63
Petruzella, 2016
64
Petruzella, 2016 EQU logic rung
32
10/14/2021
65
Petruzella, 2016 NEQ logic rung
66
Petruzella, 2016 GRT logic rung
33
10/14/2021
67
Petruzella, 2016 LES logic rung
68
Petruzella, 2016 GEQ logic rung
34
10/14/2021
69
Petruzella, 2016 LEQ logic rung
35
10/14/2021
36
10/14/2021
• High limit has a value of 50, and the low limit has a value of 25.
• Instruction is true for values of the test from 25 through 50.
• Instruction is false for test values less than 25 or greater than 50.
• Instruction is true because the test value is 48.
• High limit has a value of 50, and the low limit has a value of 100.
• Instruction is true for test values of 50 and less than 50 and for test
values of 100 and greater than 100.
• Instruction is false for test values greater than 50 and less than 100.
• Instruction is true because the test value is 125.
37
10/14/2021
75
Petruzella, 2016 Control Logix program with the Limit Test (LIM)
38
10/14/2021
Petruzella, 2016
Masked comparison for equal (MEQ) logic rung 77
78
Petruzella, 2016 Three electromechanical time-delay
39
10/14/2021
79
40
10/14/2021
• When the switch (S1) is closed, timer T4:1 will begin timing.
• Both EQU instructions’ source As are addressed to get the accumulated
value from the timer while it is running.
• EQU instruction of rung 2 has the value of 5 stored in source B.
• When the accumulated value of the timer reaches 5, the EQU instruction of
rung 2 will become logic true for 1 second.
• Latch output will energize to switch the pilot light PL1 on. When the
accumulated value of the timer reaches 15, the EQU instruction of rung 3
will be true for 1 second.
• As a result, the unlatch output will energize to switch the pilot light PL1 off.
• When the switch is closed, the pilot light will come on after 5 seconds, stay
on for 10 seconds, and then turn off.
81
41
10/14/2021
42
10/14/2021
SYLLABUS
Unit-3
86
Petruzella, 2016 Program Control menu tab
43
10/14/2021
87
Petruzella, 2016
88
44
10/14/2021
• Enable line of the function is energized when the skip of one or more
subsequent lines is desired. In addition to programming a coil number
in the usual manner, the number of lines to be skipped is also
specified.
SKIP function
89
Webb & Resis, 2016
• When the seven lines corresponding to inputs are on, their outputs
are on, and when inputs are off, outputs are off. For this illustration,
the value for number of lines to be skipped will be set at 3.
• When the SKIP function (set at 3) is turned on. the first two lines will
function as usual. However, the next three lines, 4 through 6, will stay
on or off in their previous state. With SKIP on, changing the input on-
off status feeding the coils on lines 4 through 6 will have no effect on
output coils 4 through 6.
90
45
10/14/2021
• Sensor causes register contents to turn each of the eight setup switch
contacts (the BP/IR contacts) on or off.
92
46
10/14/2021
93
Webb & Resis, 2016 SKIP function Application Layout
94
47
10/14/2021
95
Webb & Resis, 2016 SKIP Application Program
SYLLABUS
Unit-3
48
10/14/2021
• When MCR is not enabled, a specified number of coils and functions are
frozen in the off position.
• Coils in the frozen section will then stay off even if their individual enable
lines are turned on. In some systems, MCR means Master Control Reset (no
Relay).
• MCR turns the next specified number of ladder lines to the off state.
97
98
Petruzella, 2016 Hardwired master control relay
49
10/14/2021
• In contrast to the SK operation, where lines were skipped, the MCR following
specified number of lines to the off state.
• In many PLCs, the MCR function turns off only the non-retentive outputs in
the zone. All retentive functions are unaffected.
MCR function
99
Webb & Resis, 2016
• There are eight lines. The third line is the MCR function. The other seven
lines are contact-coil functions.
• When MCR is on, the other seven lines operate normally. When MCR is off,
the next three lines, 4 through 6, are turned off.
100
50
10/14/2021
• There are again eight production stations. Whether each station operates
for a given part number as the part goes past depends on the setup (not
shown) Each station's operation is initiated by proximity switches at each
station. Proximity switches are INOO8I through INOO88.
• First five steps are therefore not repeated for the part, because the first five
operations are prevented by the MCR. When the part gets to station 5, the
MCR is unsealed. The part then continues through stations 6, 7, and 8.
These last three steps were not performed the first time through, but are
now performed to complete the process.
102
51
10/14/2021
103
Webb & Resis, 2016 MCR function Application Layout
104
Webb & Resis, 2016 MCR Application Program
52
10/14/2021
• Section or zone being controlled begins with the first MCR instruction and
ends with the second MCR.
• When the first MCR instruction is false, or disabled, all non-retentive rungs
below it, in this case, outputs M and PL1, will be de-energized even if the
programmed logic for each rung is true.
• All retentive rungs, in this case SOL, will remain in their last state. Assume
the motor M is running and the MCR instruction becomes disabled. The
motor will immediately become de-energized and stop operating. When the
MCR instruction then becomes enabled, the motor will not revert back to its
previous running state but will have to be restarted via the start pushbutton.
105
53
10/14/2021
• Input A of the start rung is true so all outputs act according to their rung logic
as if the zone did not exist.
107
54
10/14/2021
• When the MCR in the start fence is false, all rungs within the zone are
treated as false. The scan ignores the inputs and de-energizes all
nonretentive outputs (that is, the output energize instruction, the on-delay
timer, and the off-delay timer).
• Input A of the start rung is false so output A and T4:1 will be false and output
B will remain in its last state.
• The input conditions in each rung will have no effect on the output
conditions.
109
55
10/14/2021
• It is an output instruction used for this purpose. When the jump instruction is
used, the PLC will not execute the instructions of a rung that is jumped.
• Jump instruction is often used to jump over instructions not pertinent to the
machine’s operation at that instant.
111
Jump to subroutine
Jump operation
operation
112
Petruzella, 2016
56
10/14/2021
• Addresses Q2:0 through Q2:255 are the addresses used for the jump (JMP)
instructions. The Q2 is internal and provided by the software as you
program the JMP instruction. The Q2 simply identifies this as ladder file 2. A
JMP instruction in ladder file 3 would be Q3.
113
Petruzella, 2016 Jump instruction
SYLLABUS
Unit-3
57
10/14/2021
PID instruction
PID instruction:
• Proportional-integral-derivative (PID) control is the most
sophisticated and widely used type of process control.
115
Petruzella, 2016 Typical PID control loop
PID instruction
PID instruction:
• It measures the process, compares it to a set-point, and then
manipulates the output in the direction which should move the
process toward the set-point.
• Input from the operator that tells the controller the desired operating
point is called the set-point (SP).
116
58
10/14/2021
PID instruction
PID instruction:
• Output from the loop is called the control variable (CV), which is
connected to the controlling part of the process.
• Control Block is the file that stores the data required to operate the
instruction.
PID instruction
PID instruction:
• Programmable controllers are either equipped with PID I/O modules
that produce PID control or have sufficient mathematical functions of
their own to allow PID control to be carried out.
118
Petruzella, 2016 SLC 500 PID instruction
59
10/14/2021
Other instruction
Set-point control:
• Set-point control in its simplest form compares an input value, such
as analog or thumbwheel inputs, to a set-point value. A discrete
output signal is provided if the input value is less than, equal to, or
greater than the set-point value.
119
Other instruction
60
10/14/2021
Other instruction
BCD input :
• BCD input module allows the processor to accept the 4-bit digital
codes and input their data into specific register or word locations in
memory to be used by the control program.
121
Other instruction
61
10/14/2021
Other instruction
BCD output:
123
Other instruction
62
10/14/2021
Other instruction
BCD input and BCD output:
• Uses a BCD input interface module connected to a thumbwheel
switch and a BCD output interface module connected to an LED
display board.
Other instruction
63
10/14/2021
SYLLABUS
Unit-3
PLC - Installation
Installation:
• Programmable logic controllers (PLCs) require protection against
temperature extremes, humidity, dust, shock, and vibration or
corrosive environments. PLCs are generally mounted within a
machine or in a separate enclosure.
128
PLC control panel enclosure
64
10/14/2021
PLC - Installation
PLC installation:
• PLC installation will dissipate heat from its power supplies, local I/O
racks, and processor.
129
PLC - Installation
PLC installation:
• Temperature inside the enclosure must not exceed the maximum
operating temperature of the controller (typically 60°C maximum).
130
PLC mounted horizontally
65
10/14/2021
PLC - Installation
PLC installation:
131
PLC - Installation
PLC installation - MCR:
132
66
10/14/2021
PLC - Installation
PLC - Installation
Electrical Noise:
• Electrical noise, called electromagnetic interference, or EMI, is
unwanted electrical signals that produce undesirable effects and
disrupt the control system circuits. It may be either radiated or
conducted.
• Radiated noise originates from a source and travels through the air
while conducted noise travels on an actual conductor, such as a
power line.
• Noise suppression circuit - to suppress the high voltage spikes
generated when a motor starter coil is de-energized.
134
Motor starter noise suppression
67
10/14/2021
PLC - Installation
Electrical noise – Reduce the effect of electrical interference:
135
PLC - Installation
Electrical noise – Guidelines for PLC wire routing:
136
68
10/14/2021
PLC - Installation
Electrical noise – Labeling method:
137
Heat-shrinkable wire identification sleeves
PLC - Installation
Leaky inputs and outputs:
• Electronic devices - exhibit a small leakage current even when in the
off state that may need to be considered when they are connected to
PLC input modules.
• Bleeder resistor (10 to 20 kΩ) - additional lower resistance load,
which allows the leakage current to flow through the lower resistance
path.
• Leakage current may also occur with the solid-state switch used in
many output modules.
138
Bleeder resistor connection for input and output module
69
10/14/2021
PLC - Installation
Grounding:
• Proper grounding is an important safety measure in all electrical
installations.
• National Electrical Code (NEC) specifies the types of conductors,
color codes, and connections necessary for safe grounding of
electrical components.
• Manufacturers provide detailed information on the proper grounding
methods to use in an enclosure. It will provide a low impedance path
to earth ground.
• Central ground bus bar is provided as a single point of reference
inside the enclosure to which all chassis and power supply
equipment grounding conductors are connected. Ground bus is then
connected to the building’s earth ground.
• Connection - Star washer between the grounding wire and lug and
metal enclosure surface.
139
PLC - Installation
70
10/14/2021
PLC - Installation
Grounding:
• Ground loop circuit can develop when each device’s ground is tied to
a different earth potential thereby allowing current to flow between
the grounds.
Ground loop
141
PLC - Installation
Voltage Variations and Surges:
• Voltage fluctuations exceed this range, then a system shutdown will
occur.
• Constant voltage (CV) transformer - to minimize shutdowns of the
PLC.
• Isolation transformers – to isolate the PLC from electrical
disturbances generated by other equipment connected to the
distribution system.
• Suppression device - to control devices such as relays, solenoids,
motor starters, or motors.
142
Suppress DC loads Suppress AC loads
71
10/14/2021
PLC - Installation
Program Editing and Commissioning:
143
PLC - Installation
Programming and Monitoring:
• Offline programming - writing and storing the program in the
personal computer without its being connected to the PLC and later
downloading it to the PLC.
• Online programming - program can be modified, the modifications
can be tested, and finally they can be accepted or rejected while the
PLC is running.
144
72
10/14/2021
PLC - Installation
Data Monitoring:
• To monitor and/or modify specified program variables. Cross
reference function - to search each instance of a particular address.
• To display data from any place in the data table.
• View data within an instruction, store data or values for an instruction
prior to use
• Set or reset values and/or bits during a debug operation for control
purposes. Change the radix or data format.
• Data file folder – to determine status
145
Data file folder
PLC - Installation
Documentation for a PLC installation should include the
following:
• A description of the plant
• Specification of the control requirements
• Details of the programmable logic controller
• Electrical installation diagrams
• Lists of all input and output connections
• Application program with full commentary on what it is achieving
Software backups
• Operating manual, including details of all start up and shut down
procedures and alarms.
146
73
10/14/2021
SYLLABUS
Unit-3
PLC - Troubleshooting
PLC Troubleshooting:
• RUN (Green)
• FLT (Red)
• BATT (Red)
148
74
10/14/2021
PLC - Troubleshooting
PLC Troubleshooting:
• RUN (Green)
– On steady indicates that the process is in the RUN mode.
– Flashing during operation indicates that the process is transferring a
program from RAM to the memory module.
– Off indicates that processor is in a mode other than RUN.
• FLT (Red)
– Flashing at power-up indicates that the processor has not been
configured.
– It indicates a major error either in the processor, chassis, or memory.
– On steady indicates that a fatal error is present (no communications).
– Off indicates there are no errors.
• BATT (Red)
– On steady indicates the battery voltage has fallen below a threshold
level, or the battery is missing or not connected.
– Off indicates that the battery is functional.
149
PLC - Troubleshooting
Input malfunctions:
• Controller is operating in the RUN mode but output devices do not
operate as programmed, the faults could be associated with any of
the following:
• Input and output wiring between field devices and modules
• Field device or module power supplies
• Input sensing devices
• Output actuators
• PLC I/O modules
• PLC processor
150
input malfunctions
75
10/14/2021
PLC - Troubleshooting
Output malfunctions:
• If the blown fuse indicator is not illuminated (fuse OK), then check to
see if the output device is responding to the LED status indicator.
• When it is on, the status LED indicates that the module’s logic
circuitry has recognized a command from the processor to turn on.
• Check voltage at output; if incorrect, power supply, wiring, or output
device may be faulty.
151
Electronic output module
PLC - Troubleshooting
152
Petruzella, 2016
76
10/14/2021
PLC - Troubleshooting
153
Petruzella, 2016
PLC - Troubleshooting
Input troubleshooting guide
154
Petruzella, 2016
77
10/14/2021
PLC - Troubleshooting
output troubleshooting guide
155
Petruzella, 2016
SYLLABUS
Unit-3
78
10/14/2021
PLC - Maintenance
Preventive Maintenance:
Preventive measures that should be looked at regularly.
• Filters - should be cleaned or replaced to ensure that clear air
circulation is present inside the enclosure.
PLC - Maintenance
Preventive Maintenance:
Preventive measures that should be looked at regularly.
• Check the condition of the battery that backs up the RAM memory in
the CPU.
• Input and output modules are the PLC components that fail most
often.
79
10/14/2021
PLC - Maintenance
Preventive Maintenance:
Preventive measures that should be looked at regularly.
159
PLC - Maintenance
80
10/14/2021
SYLLABUS
Unit-3
• Alarms, Faults, and Warning play a critical role within every PLC
Program.
162
81
10/14/2021
163
Alarms in PLC
164
82
10/14/2021
165
166
Interlocks in PLC
83
10/14/2021
SYLLABUS
Unit-3
PLC - Networking
Networking in PLC:
PLC networks provide you with a variety of networking options to meet
specific control and communications requirements.
84
10/14/2021
PLC - Networking
169
Communication Levels
PLC - Networking
Networking in PLC:
• The major difference is that PLC does not need extra cabling, it re-
uses existing wiring.
• Typically, remote I/Os are connected to the CPU via twisted pair or
fiberoptic cables.
170
85
10/14/2021
PLC - Networking
PLC - Networking
Communication Protocol:
• Types of communication protocols used for the automation of
processes in PLC.
• EtherNet/IP
• Profibus
• Modbus
• Interbus
• ProfiNet
• DeviceNet
• AS-i- Actuator Sensor Interface
• Recommended Standard (RS-232, RS- 422, and RS-485) Protocol
• HART- Highway Addressable Remote Transducer Protocol
• DH- Data Highway
172
86
10/14/2021
PLC - Networking
173
PLC - Communication
PLC - Networking
174
PLC - Communication
87
10/14/2021
PLC - Networking
Physical Topology
• Physical topology refers to the way in which a network is laid
out physically. Two or more devices connect to a link; two or
more links form a topology.
PLC - Networking
Bus Ring
Mesh 176
Star
88
10/14/2021
PLC - Networking
RS232 - Recommended Standard
• Standard for serial communications that define the pin outs,
cabling, signal levels, transmission baud rates.
177
PLC - Networking
RS-485
• In 1983, Electronics Industries Association (EIA), approved a
new balanced transmission called RS-485.
89
10/14/2021
PLC - Networking
Actuator Sensor Interface
• AS-Interface (Actuator Sensor Interface, AS-i) is an industrial
networking solution (physical layer, data access method and
protocol) used in PLC, DCS and PC-based automation
systems.
• It is designed for connecting simple field I/O devices in
discrete manufacturing and process applications using a
single 2-conductor cable.
• (e.g. binary ON/OFF devices such as actuators, sensors,
rotary encoders, analog inputs and outputs, push buttons, and
valve position sensors)
179
PLC - Networking
180
90
10/14/2021
PLC - Networking
Fieldbus
• Fieldbus is a generic term that describes a new digital
communications network that is being used in industry to
replace the existing 4-20 mA analog signal standard.
18
1
PLC - Networking
91
10/14/2021
SYLLABUS
Unit-3
184
92
10/14/2021
• Start push button is pushed, the outfeed motor (output 031) will turn
ON until the stop push button is pushed.
• Feed motor M1 will be energized once the system starts (M2 ON); it
will stop when the limit switch detects a correct bottle position.
• When the bottle is in position and 0.5 seconds have elapsed, the
solenoid (032) will open the filling valve and remain ON until the
photoeye (PE) detects a proper level.
• Bottle will remain in position for 0.7 seconds, then the energized
internal 1003 will start the feed motor. Feed motor will remain ON
until the limit switch detects another bottle.
185
186
Petruzella, 2016 Bottle filling system
93
10/14/2021
187
Petruzella, 2016 Ladder diagram for bottle filling system
188
94
10/14/2021
189
Petruzella, 2016 Box filling system
190
Petruzella, 2016 Ladder diagram for box filling system
95
10/14/2021
192
Petruzella, 2016 Batch Mixing system
96
10/14/2021
193
Petruzella, 2016 Ladder diagram of Batch Mixing system
97
10/29/2021
Unit - 4
Course Objectives
1
10/29/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
10/29/2021
Course Outcomes
5
ICPC29 Logic and Distributed Control Systems
TEXT BOOKS
6
ICPC29 Logic and Distributed Control Systems
3
10/29/2021
REFERENCE BOOKS
7
ICPC29 Logic and Distributed Control Systems
SYLLABUS
Unit-4
4
10/29/2021
5
10/29/2021
6
10/29/2021
7
10/29/2021
8
10/29/2021
17
9
10/29/2021
10
10/29/2021
22
11
10/29/2021
23
• The devices in this (DCS) architecture are grouped into three categories
that interface directly to the process to be controlled or monitored.
24
12
10/29/2021
13
10/29/2021
27
14
10/29/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.
29
15
10/29/2021
31
16
10/29/2021
33
34
17
10/29/2021
SYLLABUS
Unit-4
18
10/29/2021
37
19
10/29/2021
• After the controller was turned on, it would read inputs, execute the
control algorithms, and generate control inputs in a fixed cycle
indefinitely.
39
40
20
10/29/2021
• Even for a particular strategy, the user usually wants the flexibility of
changing the control system tuning parameters without changing the
controller hardware.
42
21
10/29/2021
• Shutting down the process is very expensive and undesirable for the
control system, user.
43
44
22
10/29/2021
• Size of controller
• Functionality of controller
• Performance of controller
• Communication channels out of controller
• Controller output security
45
23
10/29/2021
47
• Configuration A
• Configuration B
• Configuration C
48
24
10/29/2021
25
10/29/2021
51
• Two different types of LCU’s are used to provide the full range of
required controller functionality. In general, increasing the number of
types of controllers in the system has both positive and negative
effects.
26
10/29/2021
54
27
10/29/2021
55
56
28
10/29/2021
57
Lukas, 1986 LCU Architecture - Configuration C
58
29
10/29/2021
59
SYLLABUS
Unit-4
30
10/29/2021
1. Controller size Single PID loop or motor 8 control loops Small DDC system
controller Small logic controller
2. Controller Both continuous and Split between controllers Can support high-level
functionality logic blocks languages
3.Controller Small to large systems Both even in small systems Not very small systems
scalability
4. Controller Simple & Inexpensive Requirements not High performance to execute
performance microprocessor based excessive large no. of functions
hardware
5. Communication Need inter module Close interface between Large- human interface,
channels communications for controller types min- bet controllers
control; min. need for
human interface
6. Controller output Controller has single loop Lack of single loop Requires redundancy in all
security integrity; Only manual integrity; requires application
backup redundancy in critical
application
61
31
10/29/2021
63
Lukas, 1986 Cost-per-loop Relationships (Continuous Functions only)
64
Lukas, 1986 Cost-per-function Relationships (Continuous Functions only)
32
10/29/2021
65
Lukas, 1986 Cost-per-loop Relationships (Mixed Functions)
66
Lukas, 1986 Cost-per-function Relationships (Mixed Functions)
33
10/29/2021
SYLLABUS
Unit-4
68
34
10/29/2021
69
70
Lukas, 1986 LCU Interfaces to Distributed System Elements
35
10/29/2021
• Allowing the plant operator to select control set points and controller
modes.
72
36
10/29/2021
SYLLABUS
Unit-4
• First priority of the user of any process control system is to keep the
process running under safe operating conditions.
74
37
10/29/2021
75
76
38
10/29/2021
• Control output is fed back to the manual backup station and to the
computation section of the controller so that inactive element can
synchronize its output with the active element.
• It ensures that the out to the process will not be bumped when a
switchover from the active to the inactive device occurs.
77
Lukas, 1986 Manual Backup Approach
78
Lukas, 1986 Standby Redundancy Approach
39
10/29/2021
79
Lukas, 1986 Multiple active redundant controller
• LCU should be able to alarm or report the failure to both the low-
level human interface and to the higher-level interface and
computing elements. If possible, both the existence and the type of
failure should be reported.
• LCU should be able to switch contact output to provide an external
hardware indication of failure.If the failure affects only a portion of
the LCU, the internal application logic of the LCU should be able to
drive a failure indicator. The LCU’s logic then can trigger the
appropriate process trip sequence or cause the control logic to back
off to a simpler level of control.
• LCU should be able to shut itself down in an orderly way, if
necessary.
80
40
10/29/2021
SYLLABUS
Unit-4
82
41
10/29/2021
• Processor uses this capability to verify that the control output has
been generated correctly. In some systems, a known reference
voltage is switched into the A/D converter and the processor checks
the output value of the converter.
• Processor can then take into account and correct any errors that
occur in the process of reading the A/D converter output and
generating the control output values to the D/A converter.
83
84
Lukas, 1986 Secure Control Output Configuration
42
10/29/2021
• The fail safe output selection section is much simpler in the digital
output case than in analog one.
• In the digital case, there are only two states (0 or 1) and selecting
and generating the safe state is a relatively straight forward process.
85
86
Lukas, 1986 Secure Digital Output Configuration
43
10/29/2021
87
88
Lukas, 1986 Pulsed Control Output Configuration
44
10/29/2021
89
90
Lukas, 1986 Multiplexed Control Output Configuration
45
10/29/2021
• Hold circuit is an analog memory that stores the output value and
causes the current driver to generate the appropriate output current,
usually in the 4-20 mA range.
• Processor writes the next output value into the register and directs
the D/A converter output to the next hold circuit through the MUX.
91
SYLLABUS
Unit-4
46
10/29/2021
• Configuration 1
• Configuration 2
• Configuration 3
93
94
Lukas, 1986 Manual Backup - Configuration 1
47
10/29/2021
95
Lukas, 1986 Manual Backup - Configuration 2
96
Lukas, 1986 Manual Backup – Configuration 3
48
10/29/2021
97
• CPU redundancy
• One-on-one redundancy
• One-on-many redundancy
• Multiple active redundancy
98
49
10/29/2021
100
Lukas, 1986 CPU redundancy configuration
50
10/29/2021
101
51
10/29/2021
103
Lukas, 1986 One-on-one redundancy
• Advantages
104
52
10/29/2021
• It is loaded into the backup LCU from the primary LCU only after the
primary has failed. When an LCU failure occurs, the arbitrator could
then load the proper configuration into the backup LCU. 105
106
Lukas, 1986 One-on-many redundancy
53
10/29/2021
107
108
Lukas, 1986 Multiple active redundancy
54
10/29/2021
• An output voting device selects one of the valid control outputs from
the controllers and transmits it to the control process.
Advantage
• Providing cost effective I/O hardware is the wide range of input and
output performance specifications that are imposed to facilitate
interfacing with various types of field equipment.
55
10/29/2021
111
56
11/18/2021
Unit - 5
Course Objectives
1
11/18/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
11/18/2021
Course Outcomes
5
ICPC29 Logic and Distributed Control Systems
TEXT BOOKS
6
ICPC29 Logic and Distributed Control Systems
3
11/18/2021
REFERENCE BOOKS
7
ICPC29 Logic and Distributed Control Systems
SYLLABUS
Unit - 5
LCU communication Facilities - Communication system
requirements – Architectural Issues – Operator Interfaces –
Engineering Interfaces. Development of Field Control Unit
(FCU) diagram for simple control applications. Introduction to
HART and Field bus protocol. Interfacing Smart field devices
(wired and wireless) with DCS controller. Introduction to Object
Linking and Embedding (OLE) for Process Control, Automation
in the cloud with case studies.
4
11/18/2021
10
5
11/18/2021
11
Lukas, 1986 Conventional Point-to-Point Wiring
• It takes less time to implement a large system, since the wiring labor
is nearly eliminated configuration errors are reduced and less time is
required to check out the interconnections.
6
11/18/2021
• When DCS were introduced in the late 1970s; the use of digital
communications was extended to control-oriented systems as well.
13
14
Lukas, 1986 Communication Facility as a “Black Box”
7
11/18/2021
Advantage:
• Cost of plant wiring is reduced because 1000 of wires are replaced
by the few cables or buses used to implement shared
communication system.
• Less time to implement large system since the wiring labor is nearly
eliminated, Configuration error reduced.
Disadvantage:
16
8
11/18/2021
SYLLABUS
Unit - 5
LCU communication Facilities - Communication system
requirements – Architectural Issues – Operator Interfaces –
Engineering Interfaces. Development of Field Control Unit
(FCU) diagram for simple control applications. Introduction to
HART and Field bus protocol. Interfacing Smart field devices
(wired and wireless) with DCS controller. Introduction to Object
Linking and Embedding (OLE) for Process Control, Automation
in the cloud with case studies.
9
11/18/2021
20
10
11/18/2021
21
22
11
11/18/2021
System scalability:
• Communication facilities should be designed to be cost-effective for
a small monitoring or control application but also expandable to
larger applications without repairing a major restructuring.
12
11/18/2021
25
• The message delay time and undetected error rate of the network
must not degrade in any significant way during these conditions.
26
13
11/18/2021
Interfacing requirements
Interfacing requirements
28
14
11/18/2021
Interfacing requirements
Ease of application and maintenance:
• To maximize - the communication facility should be designed in
such a way that the user can view it as a simple “black box” to which
elements of the distributed control system can be connected.
• Application tools that assist the user in configuring the system and
automatically checking for potential overloading conditions.
Environmental specifications:
• It is much more stringent for the communication facility than for the
other elements of the distributed control system, since the former is
the least likely to be enclosed in a protective physical environment. 29
SYLLABUS
Unit - 5
LCU communication Facilities - Communication system
requirements – Architectural Issues – Operator Interfaces –
Engineering Interfaces. Development of Field Control Unit
(FCU) diagram for simple control applications. Introduction to
HART and Field bus protocol. Interfacing Smart field devices
(wired and wireless) with DCS controller. Introduction to Object
Linking and Embedding (OLE) for Process Control, Automation
in the cloud with case studies.
15
11/18/2021
Architectural Issues
Architectural Issues:
• Channel Structure
• Levels of Sub networks
– Local sub-network
– Plant level sub-network
• Network topology
31
Architectural Issues
Channel structure:
• Serial
• Parallel
32
16
11/18/2021
Architectural Issues
Channel structure:
• Serial - Uses only a single coaxial cable, fibre optic link, or pair of
wires.
Advantages:
• Cable cost is less.
• Long distance.
• Use baseband signal.
Architectural Issues
Level of subnetworks:
34
17
11/18/2021
Architectural Issues
Level of subnetworks:
35
Architectural Issues
Communication Partitioning:
• Local subnetwork in the central control room area allows the high
level devices to intercommunicate.
36
18
11/18/2021
Architectural Issues
37
Lukas, 1986 Communication system partitioning
Architectural Issues
Communication Partitioning:
38
19
11/18/2021
Architectural Issues
39
Lukas, 1986 Communication system partitioning
Architectural Issues
Level of sub-networks:
40
20
11/18/2021
Architectural Issues
Topology:
• Star
• Ring or loop
• Mesh
• Bus
41
Architectural Issues
42
Lukas, 1986 Communication sub-network topologies
21
11/18/2021
Architectural Issues
Protocol:
43
Architectural Issues
ISO Protocol:
22
11/18/2021
Architectural Issues
45
Lukas, 1986 ISO Protocol
Architectural Issues
ISO Protocol:
46
23
11/18/2021
Architectural Issues
47
Lukas, 1986 Network Access Protocol
SYLLABUS
Unit - 5
LCU communication Facilities - Communication system
requirements – Architectural Issues – Operator Interfaces –
Engineering Interfaces. Development of Field Control Unit
(FCU) diagram for simple control applications. Introduction to
HART and Field bus protocol. Interfacing Smart field devices
(wired and wireless) with DCS controller. Introduction to Object
Linking and Embedding (OLE) for Process Control, Automation
in the cloud with case studies.
24
11/18/2021
Operator Interfaces
Introduction:
49
Operator Interfaces
Levels:
50
25
11/18/2021
Operator Interfaces
Low Level Human Interface (LLHI) :
51
Operator Interfaces
High Level Human Interface (HLHI) :
52
26
11/18/2021
Operator Interfaces
Examples
53
Operator Interfaces
Stand-Alone Control Configuration:
• Single LCU located in the plant equipment room performs all of the
required control functions.
54
27
11/18/2021
Operator Interfaces
55
Lukas, 1986 Stand-Alone Control Configuration
Operator Interfaces
Geographically Centralized Control Configuration:
28
11/18/2021
Operator Interfaces
Operator Interfaces
Geographically Distributed Control Configuration:
• Each LCU is located in the plant area closest to the portion of the
process that it controls.
• Low-level units are used only as manual backup controls in case the
high-level equipment fails or needs maintenance.
58
29
11/18/2021
Operator Interfaces
Operator Interfaces
Geographically Distributed Control Configuration:
Advantages:
Applications:
30
11/18/2021
Operator Interfaces
Operator interface requirements
• Process monitoring,
• Alarming
• Trend in time
• Process control,
• Process diagnostics and
• Process record keeping
61
Operator Interfaces
Operator interface Requirements:
62
31
11/18/2021
Operator Interfaces
Operator interface Requirements:
• Must allow the operator to have rapid access to all of the continuous
control loops and logic sequences in the process control system
• Interface must allow the operator to perform all of the normal control
functions: changing control modes.
63
Operator Interfaces
Operator interface Requirements:
64
32
11/18/2021
Operator Interfaces
Operator interface Requirements:
65
SYLLABUS
Unit - 5
LCU communication Facilities - Communication system
requirements – Architectural Issues – Operator Interfaces –
Engineering Interfaces. Development of Field Control Unit
(FCU) diagram for simple control applications. Introduction to
HART and Field bus protocol. Interfacing Smart field devices
(wired and wireless) with DCS controller. Introduction to Object
Linking and Embedding (OLE) for Process Control, Automation
in the cloud with case studies.
33
11/18/2021
Engineering Interfaces
Introduction:
67
Engineering Interfaces
Engineering Interface Requirements:
• System Configuration
• Operator Interface Configuration
• System Documentation
• System Failure Diagnosis
68
34
11/18/2021
Engineering Interfaces
Engineering Interface Requirements:
69
Engineering Interfaces
Engineering Interface Requirements:
70
35
11/18/2021
Engineering Interfaces
Low level Engineering Interface (LLEI):
Example of LLEI 71
Engineering Interfaces
Low level Engineering Interface (LLEI):
• LLEI must connect directly to and communicate with only one local
control unit or data input / output unit at a time. It can be
connected or disconnected while the LCU or DI/OU is powered and
in operation; it is not necessary to shut down the process.
72
36
11/18/2021
Engineering Interfaces
High level Engineering Interface (HLEI):
• It allows a user to reap the full benefits of the flexibility and control
capabilities of a DCS while minimizing the system engineering costs
associated with such a system.
73
Engineering Interfaces
High level Engineering Interface (HLEI):
37
11/18/2021
Engineering Interfaces
Interface Configuration:
• HLHI – device allows the engineer to change the layout of the series
of displays that make up the "panel board" used to control plant
operations. Specifying following information:
• Number of areas in the plant and their identifying tag. names and
descriptors.
• Number of groups in each area and the tag names and descriptors
for each area.
• Assignment of control Ioop and inputs points to a group or to
multiple group.
• Types of displays to be used at each level.
• Linkages between displays in the hierarchy.
75
Engineering Interfaces
Interface Configuration:
• Graphic Symbols
• Static background elements
• Dynamic graphics elements
• Dynamic alphanumeric elements
• Control stations
• Poke Points
76
38
11/18/2021
Engineering Interfaces
Interface Configuration:
77
SYLLABUS
Unit - 5
LCU communication Facilities - Communication system
requirements – Architectural Issues – Operator Interfaces –
Engineering Interfaces. Development of Field Control Unit
(FCU) diagram for simple control applications. Introduction to
HART and Field bus protocol. Interfacing Smart field devices
(wired and wireless) with DCS controller. Introduction to Object
Linking and Embedding (OLE) for Process Control, Automation
in the cloud with case studies.
39
11/18/2021
79
40
11/18/2021
81
41
11/18/2021
SYLLABUS
Unit - 5
LCU communication Facilities - Communication system
requirements – Architectural Issues – Operator Interfaces –
Engineering Interfaces. Development of Field Control Unit
(FCU) diagram for simple control applications. Introduction to
HART and Field bus protocol. Interfacing Smart field devices
(wired and wireless) with DCS controller. Introduction to Object
Linking and Embedding (OLE) for Process Control, Automation
in the cloud with case studies.
42
11/18/2021
INTRODUCTION-HART
• Smart (or intelligent) instrumentation protocols are designed
for applications where actual data is collected from
instruments, sensors, and actuators by digital communication
techniques.
85
INTRODUCTION-HART
• Field networks are not only the solution when plant operators
want to use the advantages of smart field devices.
86
43
11/18/2021
HART
HART
HART
• HART - Highway Addressable Remote Transducer
88
44
11/18/2021
HART
HART
HART
• It is a proprietary digital communication protocol for their
smart field instruments.
45
11/18/2021
HART
HART
HART - SIGNAL
• HART is a hybrid analog and digital protocol, as opposed to
most fieldbus systems, which are purely digital.
• The average value of the sine wave (at the 1200 and 2200 Hz
frequencies), which is superimposed on the 4–20 mA signal,
is zero.
46
11/18/2021
HART - SIGNAL
HART
93
HART - SIGNAL
HART
94
47
11/18/2021
HART - SIGNAL
HART - SIGNAL
48
11/18/2021
49
11/18/2021
100
50
11/18/2021
• Burst Mode
101
HART COMMUNICATION
Master Slave mode
• It is master-slave communication protocol, which means that
during normal operation, each slave (field device)
communication is initiated by a master communication device.
51
11/18/2021
HART COMMUNICATION
HART COMMUNICATION
Burst mode
• It enables faster communication (3-4 data updates per
second).
104
52
11/18/2021
HART COMMUNICATION
HART COMMUNICATION
53
11/18/2021
HART COMMUNICATION
HART COMMUNICATION
Micromachining
108
54
11/18/2021
HART NETWORKS
• It can operate in one of two network configurations.
• Multi-drop
• Multiplexer mode
109
55
11/18/2021
111
112
56
11/18/2021
57
11/18/2021
58
11/18/2021
118
59
11/18/2021
60
11/18/2021
122
61
11/18/2021
Multiplexer Mode
124
62
11/18/2021
HART APPLICATIONS
125
• Pipeline monitoring
• Custody transfer
• Inventory and tank farm management
• Automated meter reading
• Monitoring of remote petroleum production platforms
126
63
11/18/2021
64
11/18/2021
129
130
65
11/18/2021
• HART network digital update rate for two PVs per second is
sufficient for many tank-level applications
131
66
11/18/2021
67
11/18/2021
oil caverns
Steve et al. 2004 135
oil caverns
Steve et al. 2004 136
68
11/18/2021
BENEFITS OF HART
137
SYLLABUS
Unit - 5
LCU communication Facilities - Communication system
requirements – Architectural Issues – Operator Interfaces –
Engineering Interfaces. Development of Field Control Unit
(FCU) diagram for simple control applications. Introduction to
HART and Field bus protocol. Interfacing Smart field devices
(wired and wireless) with DCS controller. Introduction to Object
Linking and Embedding (OLE) for Process Control, Automation
in the cloud with case studies.
69
11/18/2021
139
140
70
11/18/2021
FIELD BUS
• Is technological evolution to digital communication in
instrumentation and process control
FIELD BUS
• Fieldbus is a generic term that describes a new digital
communications network that is being used in industry to
replace the existing 4-20 mA analog signal standard.
142
71
11/18/2021
FIELD BUS
• Multi-drop is also referred to as multi-access and it can be
interpreted as a single bus with many nodes connected to it.
143
FIELD BUS
• To resolve process control applications instead of just transfer
data in digital mode.
144
72
11/18/2021
FIELD BUS
FIELD BUS
73
11/18/2021
FIELD BUS
• Device level
• Cell level
• Plant level
148
74
11/18/2021
149
150
75
11/18/2021
151
152
76
11/18/2021
153
• Sends the output signals to the actuators and reads the input
signals from the sensors
• Producer/consumer based
154
77
11/18/2021
155
156
78
11/18/2021
157
Field level
• Sensors
• Actuators
• Valves
• Transmitter
158
79
11/18/2021
FIELD BUS
FIELD BUS
80
11/18/2021
FIELD BUS
FIELD BUS
81
11/18/2021
• Maximum distance
– 9500m with 4 repeaters
163
82
11/18/2021
165
166
83
11/18/2021
168
84
11/18/2021
FIELD BUS
85
11/18/2021
171
172
86
11/18/2021
173
SYLLABUS
Unit - 5
LCU communication Facilities - Communication system
requirements – Architectural Issues – Operator Interfaces –
Engineering Interfaces. Development of Field Control Unit
(FCU) diagram for simple control applications. Introduction to
HART and Field bus protocol. Interfacing Smart field devices
(wired and wireless) with DCS controller. Introduction to Object
Linking and Embedding (OLE) for Process Control, Automation
in the cloud with case studies.
87
11/18/2021
175
• Regarding the field devices, the non – routing ones are the
I/O devices (sensor and actuators), while routing devices,
besides the routing capability.
88
11/18/2021
178
89
11/18/2021
90
11/18/2021
182
91
11/18/2021
184
92
11/18/2021
185
93
11/18/2021
188
94
11/18/2021
SYLLABUS
Unit - 5
LCU communication Facilities - Communication system
requirements – Architectural Issues – Operator Interfaces –
Engineering Interfaces. Development of Field Control Unit
(FCU) diagram for simple control applications. Introduction to
HART and Field bus protocol. Interfacing Smart field devices
(wired and wireless) with DCS controller. Introduction to Object
Linking and Embedding (OLE) for Process Control, Automation
in the cloud with case studies.
190
95
11/18/2021
191
• The OPC client uses the OPC server to get data from or send
commands to the hardware.
192
96
11/18/2021
193
194
97
11/18/2021
• There are also standards for alarms & events, historical data,
batch data, and XML.
195
196
98
11/18/2021
197
• Users need not know the intracies of how e.g. field bus
communication works
198
99
11/18/2021
OPC 199
200
100
11/18/2021
ADVANTAGES OF OPC
• Simpler integration and increased information
• Much faster than manual data collection and entry has many
few errors
201
ADVANTAGES OF OPC
• Up to date information can be used in production planning
202
101
11/18/2021
SYLLABUS
Unit - 5
LCU communication Facilities - Communication system
requirements – Architectural Issues – Operator Interfaces –
Engineering Interfaces. Development of Field Control Unit
(FCU) diagram for simple control applications. Introduction to
HART and Field bus protocol. Interfacing Smart field devices
(wired and wireless) with DCS controller. Introduction to Object
Linking and Embedding (OLE) for Process Control, Automation
in the cloud with case studies.
CLOUD AUTOMATION
204
102
11/18/2021
CLOUD AUTOMATION
205
CLOUD AUTOMATION
206
103
11/18/2021
CLOUD AUTOMATION
207
CLOUD AUTOMATION
208
104