Adv Instr Lecture 3
Adv Instr Lecture 3
Adv Instr Lecture 3
3
Primitive Form of SCADA
Panel to Sensor Connection
Primitive Form of SCADA-Pros
• It is simple, no CPUs, RAM, ROM or software
programming needed
• The sensors are connected directly to the
meters, switches and lights on the panel
• It could be (in most circumstances) easy and
cheap to add a simple device like a switch or
indicator
Primitive Form of SCADA-Cons
• The amount of wire becomes unmanageable after the
installation of hundreds of sensors
• The quantity and type of data are minimal and rudimentary
(primitive type)
• Installation of additional sensors becomes progressively harder
as the system grows
• Re-configuration of the system becomes extremely difficult
• Simulation using real data is not possible
• Storage of data is minimal and difficult to manage
• No off site monitoring of data or alarms
• Someone has to watch the dials and meters 24 hours a day
One Step Ahead
PC to PLC or DCS with a fieldbus and sensor
PC to PLC or DCS with a fieldbus and sensor-Pros
• Hardware Architecture
• Software Architecture
• Communication
• Interfacing
• Scalability
• Redundancy
Hardware Architecture
Two Layered
• client layer: caters for the man machine interaction and
• data server layer: handles most of the process data control
activities.
– Data servers communicate with devices in the field through
process controllers.
– Process controllers, e.g. PLC's, are connected to the data
servers either directly or via networks or fieldbuses that are
proprietary (e.g. Siemens H1), or nonproprietary (e.g.
Profibus).
– Data servers are connected to each other and to client
stations via an Ethernet LAN.
SCADA-Hardware Architecture
SCADA-Software Architecture
• Multitasking feature
• Based upon a real-time database (RTDB) located
in one or more servers.
• Servers are responsible for data acquisition and
handling
– e.g. polling controllers, alarm checking, calculations,
logging and archiving on a set of parameters, typically
those they are connected to.
• However, it is possible to have dedicated servers
for particular tasks, e.g. historian, data-logger,
alarm handler.
SCADA Architecture-Communications
Internal Communication:
Server-client and server-server communication uses a TCP/IP protocol, i.e., a client application
subscribes to a parameter which is owned by a particular server application and only changes to
that parameter are then communicated to the client application.
SCADA Architecture-Communications
Access to Devices
• The data servers poll the controllers at a user defined polling rate.
• The polling rate may be different for different parameters.
• The controllers pass the requested parameters to the data servers.
• Time stamping of the process parameters is typically performed in the controllers and this
timestamp is taken over by the data server.
SCADA Architecture-Interfacing
Application Interfaces / Openness:
• The provision of OPC client functionality for SCADA to access devices in an open
and standard manner is developing. There still seems to be a lack of
devices/controllers, which provide OPC server software, but this improves rapidly
as most of the producers of controllers are actively involved in the development of
this standard.
• The products also provide an Open Data Base Connectivity (ODBC) interface to
the data in the archive/logs, but not to the configuration database, an ASCII
import/export facility for configuration data, a library of APIs supporting C, C++,
and Visual Basic (VB) to access data in the RTDB, logs and archive. The API often
does not provide access to the product's internal features such as alarm handling,
reporting, trending, etc.
• The PC products provide support for the Microsoft standards such as Dynamic Data
Exchange (DDE) which allows e.g. to visualize data dynamically in an EXCEL
spreadsheet, Dynamic Link Library (DLL) and Object Linking and Embedding
(OLE).
SCADA Architecture-Interfacing
Database
• The configuration data are stored in a database that is logically
centralized but physically distributed and that is generally of a
proprietary format.
• For performance reasons, the RTDB resides in the memory of
the servers and is also of proprietary format.
• The archive and logging format is usually also proprietary for
performance reasons, but some products do support logging to
a Relational Data Base Management System (RDBMS) at a
slower rate either directly or via an ODBC interface.
SCADA Architecture-Scalability
• Scalability is understood as the possibility to extend
the SCADA based control system by adding
– more process variables,
– more specialized servers (e.g. for alarm handling) or
– more clients.
• Achieve scalability by having multiple data servers
connected to multiple controllers.
• Each data server has its own configuration database
and RTDB and is responsible for the handling of a
subset of the process variables (acquisition, alarm
handling, archiving).
SCADA Architecture-Redundancy
Built-in software redundancy at a server
level, which is normally transparent to the
user.
Dual Server Redundancy
Dual LANS & PLCs Redundancy
Lecture 4
Advanced Instrumentation
Agenda Point 4: SCADA Functionality
• Access Control
• MMI
• Trending
• Alarm Handling
• Logging/Archiving
• Report Generation
• Automation level
Functionality-Access Control
• Users are allocated to groups,
• Users have defined read/write access
privileges to the process parameters in the
system and often also to specific product
functionality.
Functionality-MMI
• Support multiple screens, which can contain combinations of synoptic diagrams and
text.
• They also support the concept of a "generic" graphical object with links to process
variables. These objects can be "dragged and dropped" from a library and included
into a synoptic diagram.
Functionality-MMI
Functionality-MMI
• SCADA products that were evaluated decompose the process
in "atomic" parameters (e.g. a power supply current, its
maximum value, its on/off status, etc.) to which a Tag-name is
associated.
Functionality-MMI
• The Tag-names used to link graphical objects to
devices can be edited as required.
• Standard windows editing facilities are provided:
– zooming,
– resizing,
– Scrolling etc.
• Online configuration and customization of the MMI is
possible for users with the appropriate privileges.
Links can be created between display pages to
navigate from one view to another.
Functionality-Trending
• the parameters to be trended in a specific chart can be predefined or defined
online
• a chart may contain more than 8 trended parameters or pens and an
unlimited number of charts can be displayed (restricted only by the
readability)
• Real-time and historical trending are possible, although generally not in the
same chart
• historical trending is possible for any archived parameter
• zooming and scrolling functions are provided
• parameter values at the cursor position can be displayed
• The trending feature is either provided as a separate module or as a
graphical object (ActiveX), which can then be embedded into a synoptic
display.
• XY and other statistical analysis plots are generally not provided.
Functionality-Alarm Handling
• Alarm handling is based on limit and status checking and performed in the
data servers.
• More complicated expressions (using arithmetic or logical expressions) can
be developed by creating derived parameters on which status or limit
checking is then performed.
• The alarms are logically handled centrally, i.e., the information only exists
in one place and all users see the same status (e.g., the
acknowledgement), and multiple alarm priority levels (in general many
more than 3 such levels) are supported.
Functionality-Alarm Handling
Functionality-Alarm Handling
– Group alarms and to handle these as an entity (typically filtering on
group or acknowledgement of all alarms in a group).
– Furthermore, it is possible to suppress alarms either individually or as
a complete group.
– The filtering of alarms seen on the alarm page or when viewing the
alarm log is also possible at least on priority, time and group. However,
relationships between alarms cannot generally be defined in a
straightforward manner.
– Emails can be generated or predefined actions automatically executed
in response to alarm conditions.
Functionality-Alarm Handling
Functionality-Alarm Handling
Functionality-Logging/Archiving
• Logging and archiving are often used to describe the same facility.
• However, logging can be thought of as medium-term storage of data on
disk, whereas archiving is long-term storage of data either on disk or on
another permanent storage medium.
• Logging is typically performed on a cyclic basis, i.e., once a certain file
size, time period or number of points is reached the data is overwritten.
• Logging of data can be performed at a set frequency, or only initiated if the
value changes or when a specific predefined event occurs.
• Logged data can be transferred to an archive once the log is full.
• The logged data is time-stamped and can be filtered when viewed by a user.
• The logging of user actions is in general performed together with either a
user ID or station ID. There is often also a VCR facility to play back
archived data.
Functionality-Report Generation
One can produce reports using SQL type queries to the archive,
RTDB or logs. Facilities exist to be able to automatically
generate, print and archive reports.
Functionality-Automation
• The majority of the products allow actions to be
automatically triggered by events.
• A scripting language provided by the SCADA
products allows these actions to be defined.
• In general, one can load a particular display, send an
Email, run a user defined application or script and
write to the RTDB.
• Sequencing is also supported whereby, as the name
indicates, it is possible to execute a more complex
sequence of actions on one or more devices.
Sequences may also react to external events.
Agenda Point 5: Application Development
• Task:
– Equipment List
– Alarm List
– Architecture
– MMI
• Example Cases:
– Group A: Waster Water Treatment Plant
– Group B: Wind Farm Management
– Group C: Area/City CCTV
– Group D: Power Plant (4 Units)
– Group E: Drinking Water Supply System for Islamabad
– Group F: Oil Refinery
Architecture
Architecture