Module 7 Distributed Control Systems
Module 7 Distributed Control Systems
In a DCS, the data acquisition and control functions are performed by a number of
distributed microprocessor-based units, situated near to the devices being
controlled or, the instrument from which data is being gathered. DCS systems have
evolved into providing very sophisticated analogue (e.g. loop) control capability. A
closely integrated set of operator interfaces (or man machine interfaces) is
provided to allow for easy system configurations and operator control. The data
highway is normally capable of high speeds - typically 1 Mbps up to 10 Mbps.
Configuration and maintenance of DCS
A DCS controller is a high-performance device capable of handling hundreds of
discrete or regulatory control loops per second. The control performance
capability of a DCS controller varies from manufacturer to manufacturer. But a
user can customize his control configuration to meet the application
requirements.
For configuring a DCS controller, it is important to understand the types of
controller slots and control functions and algorithms the DCS controller offers.
Control modes:
A basic DCS controller has the following operating modes:
• Manual mode
• Automatic mode.
• Cascade mode.
• Backup cascade mode.
Figure 1Typical mode structure of a basic DCS controller
Control functions
The DCS controller provides a variety of control tools that can be customized to
address a wide range of process automation needs.
Functions from I/O scanning through regulatory and logic control to more
advanced control strategies can be easily implemented through the DCS advanced
controller. Control strategies include; a sophisticated regulatory control package,
fully integrated interlock logic functions, and an advanced high level, process
engineer-oriented control programming language.
Conceptually, a DCS controller can be thought of as partitioned into ‘slots’ of
various types. These slots provide an allocated resource of processing power and
money that can be user-configured, including the assignment of a tag name.
A tagged slot is referred to as a ‘data point’ or ‘point’ in some DCS systems.
Predefined groups, detail displays as well as custom graphics support this data
point structure.
Following are some of the different types of data points that can be configured
into a DCS controller slot:
• Regulatory PV
• Regulatory control
• Digital composite
• Logic
• Device control
• Array
• Flag
• Numeric
• Timer
• String, etc
Control algorithms
For different DCS system controllers, different control algorithms are available.
Some common control algorithms follow.
• Proportional, integral, derivative (PID): The PID algorithm operates as a 3-mode
(proportional, integral and derivative) controller. One can choose from one of the
two forms of this algorithm; the interactive (real) form, and the non-interactive
(ideal) form.
• PID control algorithm equations for the interactive form
• PID control algorithm equations for the non-interactive form
• PID with feed-forward (PIDFF) control algorithm
• PID with external reset-feedback (PIDERFB)
• Position proportional control algorithm
DCS versus PLC: benefits and trade-offs
Programmable Logic Controllers (PLCs) and Distributed Control Systems (DCSs) are
both fundamental components of industrial automation, designed to monitor and
control processes. While their functionalities have converged somewhat due to
technological advancements, they retain distinct architectures, strengths, and
ideal applications. Understanding their benefits and trade-offs is crucial for
selecting the appropriate control system for a given industrial process.
Programmable Logic Controllers (PLCs)
Benefits of PLCs:
Cost-Effectiveness for Smaller Systems: PLCs are generally less expensive in
terms of initial investment, making them highly suitable for standalone
machines, smaller processes, or individual control loops.
Rapid Scan Times and Response: PLCs are designed for high-speed,
deterministic control. Their centralized architecture allows for very quick
execution of logic and rapid response to inputs, which is critical for discrete
manufacturing processes like assembly lines, packaging, and robotics.
Ruggedness and Reliability: PLCs are built to withstand harsh industrial
environments, including extreme temperatures, vibration, electrical noise,
and humidity.
Intuitive Programming (Ladder Logic): Historically, PLCs have been
programmed using Ladder Logic, which mimics electrical relay circuits,
making it relatively intuitive for electricians and technicians to understand
and troubleshoot. Modern PLCs also support other IEC 61131-3 languages
like Structured Text, Function Block Diagram, and Sequential Function Chart.
Flexibility and Modularity: PLCs are highly modular, allowing for easy
expansion by adding I/O modules as needed. Their software-based nature
also makes them flexible for reprogramming and adapting to changing
process requirements.
Ease of Troubleshooting: With built-in diagnostics and the visual nature of
ladder logic, troubleshooting issues in a PLC system can often be
straightforward.
Trade-offs of PLCs:
Limited Scalability for Large Processes: While PLCs can be networked, their
centralized architecture can become a bottleneck when trying to control
very large, complex processes with thousands of I/O points and intricate
interdependencies.
Less Suitable for Complex Continuous Process Control: While modern PLCs
have enhanced analog and PID capabilities, they may struggle with the
advanced control algorithms, complex process optimization, and large-scale
data handling required for continuous processes in industries like refining or
chemicals.
Higher Engineering Effort for Integration: When multiple PLCs are used
across a large plant, integrating them into a cohesive supervisory system
(like SCADA) or higher-level systems (MES, ERP) often requires additional
middleware, custom programming, and significant engineering effort.
Limited Built-in Functionality: PLCs are often considered a "blank slate."
While flexible, many advanced functions (e.g., advanced alarm
management, historical data trending, complex recipe management) may
need to be programmed from scratch or added via external software.
Less Redundancy as Standard: While redundancy options exist for high-end
PLCs (e.g., redundant CPUs, I/O), it's not as inherently integrated or as
comprehensive as in a DCS, and it adds significant cost and complexity.
Distributed Control Systems (DCSs)
Benefits of DCSs:
Designed for Large-Scale, Complex Processes: DCSs excel in managing
continuous or batch processes across entire plants or facilities, such as
power generation, oil and gas, chemical production, and pharmaceuticals.
They are built to handle thousands of I/O points and complex control loops.
Inherently Distributed and Redundant Architecture: The core strength of a
DCS is its distributed control. Multiple controllers are spread across the
facility, each responsible for a specific process area. This provides high fault
tolerance; if one controller fails, only a localized section of the plant is
affected, significantly improving overall system reliability and preventing
catastrophic shutdowns. Redundancy is often built-in at multiple levels
(controllers, I/O, networks, servers).
Integrated Software Package and Centralized Management: DCSs typically
come as a complete, integrated hardware and software package. This
includes robust HMI capabilities, advanced alarm management, historical
data collection (historians), reporting tools, and sophisticated control
strategies. This integrated environment simplifies system configuration,
management, and troubleshooting for large systems.
Advanced Process Control Capabilities: DCSs are well-suited for
implementing complex PID loops, advanced process control (APC), fuzzy
logic, neural networks, and multivariable control, optimizing plant efficiency
and product quality.
Seamless Integration and Scalability: DCS platforms are designed for easy
expansion by adding more controllers or I/O modules without disrupting
ongoing operations. They also offer robust networking capabilities (often
redundant) for high data volumes and seamless integration with MES, ERP,
and other enterprise-level systems.
Enhanced Cybersecurity: Given their application in critical infrastructure,
DCSs often have built-in, multi-layered cybersecurity features.
Trade-offs of DCSs:
Higher Initial Investment: DCSs typically have a significantly higher upfront
cost due to their integrated nature, specialized hardware, comprehensive
software, and built-in redundancy.
Slower Response Times for Discrete Control: While excellent for
continuous processes, the inherent network latency and overhead of a
distributed system mean that DCSs may have slower response times
compared to PLCs for high-speed discrete control applications.
Complexity of Engineering and Maintenance: Configuring and maintaining
a DCS requires specialized expertise due to its intricate architecture and
advanced features. Finding skilled personnel can be a challenge, especially
in remote locations.
Proprietary Nature: Many DCS platforms have proprietary hardware and
software, which can lead to vendor lock-in, limiting flexibility and potentially
increasing long-term costs for upgrades and support. (Though there's a
growing trend towards "open DCS" architectures).
Less Flexible for Frequent Small Changes: While highly scalable, making
small, frequent modifications to control logic or adding minor
functionalities can sometimes be more complex and involve more rigorous
testing procedures in a DCS compared to a standalone PLC.
Key Differentiating Factors and When to Choose Which
Distributed (multiple
Control Centralized (one or few
autonomous controllers
Architecture controllers for a process)
spread out)
Discrete manufacturing,
Continuous process control,
Primary machine control, sequential
large-scale batch processes,
Application logic, batch control (smaller
plant-wide control
scale), safety systems (SIS)
Built-in, comprehensive,
Optional, added as needed; can
Redundancy multi-level (controllers, I/O,
be costly
network, servers)
The choice between a PLC and a DCS hinges on the specific requirements of the
application, particularly its scale, complexity, criticality, and the nature of the
process (discrete vs. continuous).
Choose a PLC when: The application involves control of individual machines
or smaller, discrete processes, requires high-speed deterministic control,
has a limited number of I/O points, and budget is a significant constraint for
smaller systems.
Choose a DCS when: The application involves large-scale, complex
continuous or batch processes, requires extensive plant-wide integration,
demands high availability and redundancy, needs advanced process control
strategies, and comprehensive data management and reporting are
essential.
In many modern industrial facilities, a hybrid approach is common, where PLCs
are used for localized, high-speed control of specific machines or discrete parts of
the process, and then integrated into a supervisory DCS for overall plant-wide
monitoring, control, and data management. This leverages the strengths of both
systems to create an optimized automation solution.
Integration strategies for complex systems
Every DCS controller is a computer, although not endowed with all the peripherals
of a computer system, images of which one tends to conjure up when the word
“computer” is mentioned. The controllers therefore need instructions to execute
the control actions. Two distinct terms must be distinguished here – programming
and configuration. Every controller comes with inbuilt firmware. In addition, an
application program is downloaded into another partition of the controller
memory. In some cases, manufacturers provide the application programs also and
a way to set certain parameters to make the generic logic work in the particular
plant.
For example, a DCS manufacturer may provide an application program to control a
set of three compressors. The same controller might be sold by the same vendor
with another application program say for control of a set of pumps. At the field, it
is just a matter of defining the minimum and maximum pressures, the number
and type of relay contacts to be operated, and the measurement range for field
signals. This process is called configuration.
Consider the case where the DCS vendor provides the controller with the
application program memory in a blank state. DCS users can write custom
application programs to cater to specific logic; this process is termed as
programming. Engineering tools enable configuration programming of controllers,
depending on the applications. The actual features might be controlled by
licensing mechanisms. The engineering tools also hide the complexities of
programming the microcontrollers (which have their own specific instruction sets)
by providing a common programming language with suitable user interfaces.
Therefore, application and process engineers describe the control logic mostly
graphically, which are translated into the instruction set of the microcontrollers.
Typically, the control strategies are made up of interconnected FBs, sequential
function charts (SFC), and equipment and unit representations, which perform
functions within the control scheme based on inputs. The FBs also provide
outputs to other FBs and/or physical I/O within the control scheme. The set of FBs
are invariably provided by the DCS vendor as libraries. This eliminates the need for
any special software language to program the microprocessors used in the system.
In addition, the users can create custom FBs by combining the predefined FBs to
more complex library of functions. The vendor pretested FBs enable a DCS to be
applied to any plant very quickly, cutting down on the debugging necessary on
programmed software. The engineering tools invariably follow ISO standards on
the types of FBs, the representation of the blocks and the accepted form of
interconnection. The programmed control schemes are stored as files/control
programs in a configuration database. The engineering tool is used to download
these strategies via the control network to distributed controllers, consoles, and
devices.
In addition to software configuration, some hardware configuration is also
solicited, like setting the addresses of the IO modules and controllers. Sometimes
depending upon the type of connections, different links might have to be
connected to adopt the same card to suit different field interfaces. While the
hardware configuration needs the actual hardware in the field, software
programming can be accomplished remotely and downloaded to the controllers at
the plant.
The configuration/engineering application also allows a designer to create or
change operator interfaces, such as plant schematics and process control
diagrams viewed on the operator displays through a viewing application. These
diagrams displayed on the screen enable the operator to change settings within
the PCS. Many DCS can also be reconfigured without need to take the system off-
line which enables plant modification, and so on with minimum down-time,
provided the necessary precautions are taken to ensure integrity of the running
process. This capability is particularly useful in applications where the process is
continuous and shutdown maintenance periods are short or limited.
Safety and redundancy in DCS
The inherent design of a DCS prioritizes fault tolerance and safe operation, making
it ideal for industries where downtime or failures can lead to significant economic
losses, environmental damage, or human injury.
1. Redundancy Strategies: Redundancy in a DCS is implemented at multiple levels
to eliminate single points of failure:
Controller Redundancy: This is perhaps the most critical form of
redundancy.
o Hot Standby: A primary controller actively manages the process
while a secondary (backup) controller runs in parallel, continuously
monitoring the primary's state and data. If the primary fails, the
backup takes over instantly and seamlessly (in milliseconds), without
operator intervention or process disruption.
o Cold Standby: A backup controller is powered off or in a minimal
state until a primary failure occurs. Manual intervention is typically
required for switchover, leading to a delay.
o 1:1 vs. 1:N Redundancy: 1:1 redundancy dedicates one backup
controller to each primary, while 1:N allows one backup to serve
multiple primary controllers, optimizing hardware costs.
Network Redundancy: The "data highway" or process control network is
vital for communication.
o DCS networks often use dual, redundant communication paths (e.g.,
redundant industrial Ethernet utilizing protocols like Rapid Spanning
Tree Protocol (RSTP) or Parallel Redundancy Protocol (PRP)). This
ensures zero packet loss during a network component failure.
o Dual routers and gateways are employed to prevent single points of
failure in complex or cloud-connected architectures.
Power Supply Redundancy: Critical DCS components (controllers, network
devices) are typically powered by redundant power supply units (PSUs). This
often involves dual PSUs for each device, with automatic transfer switches
between separate power sources (e.g., utility grid and generator) to ensure
continuous power.
I/O Module Redundancy: In some critical applications, I/O modules
themselves can be redundant, ensuring that even if a module fails, sensor
inputs or actuator outputs are maintained.
2. Distributed Architecture for Safety: The "distributed" nature of a DCS
inherently enhances safety:
Localization of Faults: If a controller fails, only the specific process area it
manages is affected, preventing a plant-wide shutdown. This creates
"islands of automation" where local units can continue operating.
Decoupling of Control and Safety: While DCSs contain interlocks for process
control (e.g., preventing equipment damage), they are often designed to
integrate with or remain separate from Safety Instrumented Systems (SIS).
o Safety Instrumented Systems (SIS): These are independent,
dedicated systems with the sole purpose of preventing hazardous
events and bringing a process to a safe state in an emergency. They
operate autonomously and have higher Safety Integrity Levels (SILs).
While DCSs manage normal operation and process optimization, SISs
act as an independent layer of protection, taking over in critical
conditions (e.g., emergency shutdown, fire and gas detection). The
independence ensures that a failure in the DCS does not compromise
the SIS's safety functions.
3. Control Performance for Reliability: DCSs prioritize repeatable and reliable
execution of control strategies on fixed clock cycles, ensuring stability and
predictability, which are crucial for safe operation.
Benefits of Safety & Redundancy in DCS:
Minimized Unplanned Downtime: Critical processes continue to run even
during component failures.
Enhanced Safety: Prevents loss of control in hazardous environments,
protecting personnel, equipment, and the environment.
Reduced Economic Losses: Avoids production losses, equipment damage,
and regulatory fines.
Improved System Availability and Reliability: Guarantees continuous
monitoring and control.
Regulatory Compliance: Helps meet stringent industry standards (e.g., ISA-
95, IEC 62443 for cybersecurity, relevant safety standards).
20 MCQs