Introduction To SCDA Systems
Introduction To SCDA Systems
Introduction To SCDA Systems
INTRODUCTION
SCADA is not just hardware but also software. It’s a concept. It’s a system as a
combination of special hardware, software and protocols. SCADA is used to control
chemical plant processes, oil and gas pipelines, electrical generation and transmission
equipment, manufacturing facilities, water purification and distribution infrastructure, etc.
For example, in a SCADA system a PLC can be used to control the flow of cooling water
as part of an industrial process. At the same time the supervisor can use the Host control
function to set the temperature for the flow of water. It can also have alarms and can
record the flow of water temperature and report back to The RTUs and PLCs are
responsible for data collection such as meter readings, equipment status etc and
communicate back to the SCADA system. This data can be stored in a database for later
analysis or monitored by a supervisor to take appropriate actions if required.
SCADA is not a specific technology, but a type of application. SCADA stands for
Supervisory Control and Data Acquisition — any application that gets data about a system
in order to control that system is a SCADA application.
You can build a SCADA system using several different kinds of technologies and
protocols. This white paper will help you evaluate your options and decide what kind of
SCADA system is best for your needs.
You can use SCADA to manage any kind of equipment. Typically, SCADA systems are
used to automate complex industrial processes where human control is impractical —
systems where there are more control factors, and more fast-moving control factors, than
human beings can comfortably manage.
What’s more, these examples don’t show how deep and complex SCADA data can be. In
every industry, managers need to control multiple factors and the interactions between
those factors. SCADA systems provide the sensing capabilities and the computational
power to track everything that’s relevant to your operations.
3. Data presentation
4. Control
These functions are performed by four kinds of SCADA components:
1. Sensors (either digital or analog) and control relays that directly interface with the
managed system.
2. Remote telemetry units (RTUs). These are small computerized units deployed in
the field at specific sites and locations. RTUs serve as local collection points for
gathering reports from sensors and delivering commands to control relays.
3. SCADA master units. These are larger computer consoles that serve as the central
processor for the SCADA system. Master units provide a human interface to the
system and automatically regulate the managed system in response to sensor inputs.
4. The communications network that connects the SCADA master unit to the RTUs
in the field.
THE WORLD’S SIMPLEST SCADA SYSTEM
The simplest possible SCADA system would be a single circuit that notifies you of one
event. Imagine a fabrication machine that produces widgets. Every time the machine
finishes a widget, it activates a switch. The switch turns on a light on a panel, which tells a
human operator that a widget has been completed.
Obviously, a real SCADA system does more than this simple model. But the principle is
the same. A full-scale SCADA system just monitors more stuff over greater distances.
Let’s look at what is added to our simple model to create a full-scale SCADA system:
DATA ACQUISITION
First, the systems you need to monitor are much more complex than just one machine with
one output. So a real-life SCADA system needs to monitor hundreds or thousands of
sensors. Some sensors measure inputs into the system (for example, water flowing into a
reservoir), and some sensors measure outputs (like valve pressure as water is released from
the reservoir).
Some of those sensors measure simple events that can be detected by a straightforward
on/off switch, called a discrete input (or digital input). For example, in our simple model
of the widget fabricator, the switch that turns on the light would be a discrete input. In real
life, discrete inputs are used to measure simple states, like whether equipment is on or off,
or tripwire alarms, like a power failure at a critical facility.
Some sensors measure more complex situations where exact measurement is important.
These are analog sensors, which can detect continuous changes in a voltage or current
input. Analog sensors are used to track fluid levels in tanks, voltage levels in batteries,
temperature and other factors that can be measured in a continuous range of input.
For most analog factors, there is a normal range defined by a bottom and top level. For
example, you may want the temperature in a server room to stay between 60 and 85
degrees Fahrenheit. If the temperature goes above or below this range, it will trigger a
threshold alarm. In more advanced systems, there are four threshold alarms for analog
sensors, defining Major Under, Minor Under, Minor Over and Major Over alarms.
DATA COMMUNICATION
In our simple model of the widget fabricator, the “network” is just the wire leading from
the switch to the panel light. In real life, you want to be able to monitor multiple systems
from a central location, so you need a communications network to transport all the data
collected from your sensors.
Early SCADA networks communicated over radio, modem or dedicated serial lines. Today
the trend is to put SCADA data on Ethernet and IP over SONET. For security reasons,
SCADA data should be kept on closed LAN/WANs without exposing sensitive data to the
open Internet.
Real SCADA systems don’t communicate with just simple electrical signals, either.
SCADA data is encoded in protocol format. Older SCADA systems depended on closed
proprietary protocols, but today the trend is to open, standard protocols and protocol
mediation.
Sensors and control relays are very simple electric devices that can’t generate or interpret
protocol communication on their own. Therefore the remote telemetry unit (RTU) is
needed to provide an interface between the sensors and the SCADA network. The RTU
encodes sensor inputs into protocol format and forwards them to the SCADA master; in
turn, the RTU receives control commands in protocol format from the master and transmits
electrical signals to the appropriate control relays.
DATA PRESENTATION
The only display element in our model SCADA system is the light that comes on when the
switch is activated. This obviously won’t do on a large scale — you can’t track a light
board of a thousand separate lights, and you don’t want to pay someone simply to watch a
light board, either.
A real SCADA system reports to human operators over a specialized computer that is
variously called a master station, an HMI (Human-Machine Interface) or an HCI (Human-
Computer Interface).
The SCADA master station has several different functions. The master continuously
monitors all sensors and alerts the operator when there is an “alarm” — that is, when a
control factor is operating outside what is defined as its normal operation. The master
presents a comprehensive view of the entire managed system, and presents more detail in
response to user requests. The master also performs data processing on information
gathered from sensors — it maintains report logs and summarizes historical trends.
An advanced SCADA master can add a great deal of intelligence and automation to your
systems management, making your job much easier.
CONTROL
Unfortunately, our miniature SCADA system monitoring the widget fabricator doesn’t
include any control elements. So let’s add one. Let’s say the human operator also has a
button on his control panel. When he presses the button, it activates a switch on the widget
fabricator that brings more widget parts into the fabricator.
Now let’s add the full computerized control of a SCADA master unit that controls the
entire factory. You now have a control system that responds to inputs elsewhere in the
system. If the machines that make widget parts break down, you can slow down or stop the
widget fabricator. If the part fabricators are running efficiently, you can speed up the
widget fabricator.
If you have a sufficiently sophisticated master unit, these controls can run completely
automatically, without the need for human intervention. Of course, you can still manually
override the automatic controls from the master station.
In real life, SCADA systems automatically regulate all kinds of industrial processes. For
example, if too much pressure is building up in a gas pipeline, the SCADA system can
automatically open a release valve. Electricity production can be adjusted to meet demands
on the power grid. Even these real-world examples are simplified; a full-scale SCADA
system can adjust the managed system in response to multiple inputs.
ARCHITECTURE
In this section we are going to details which describe the common architecture required for
the SCADA products.
HARDWARE ARCHITECTURE
The basic hardware of the SCADA system is distinguished into two basic layers: the
"client layer" which caters for the man machine interaction and the "data server layer"
which handles most of the process data control activities. The 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 field buses that are proprietary (e.g. Siemens H1),
or non-proprietary (e.g. Profibus). Data servers are connected to each other and to client
stations via an Ethernet LAN.
SOFTWARE ARCHITECTURE
The SCADA products are multi-tasking and are based upon a real-time database (RTDB)
located in one or more servers. Servers are responsible for data acquisition and handling
like polling controllers, alarm checking, calculations, logging and archiving) on a set of
parameters, typically to which those are connected.
However, it is possible to have dedicated servers for particular tasks, e.g. historian, data
logger, alarm handler.
COMMUNICATION
INTERNAL COMMUNICATION
Server-client and server-server communication is in general on a publish-subscribe and
event-driven basis and 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.
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
CLASSIFICATION BASED ON GENERATION
servers. Time stamping of the process parameters is typically performed in the
controllers and this time-stamp is taken over by the data server. If the controller and
communication protocol used support unsolicited data transfer then the products will
support this too.
The products provide communication drivers for most of the common PLCs and widely
used field-buses, e.g., Modbus. Of the three field buses that are recommended are, both
Profibus and Worldfip are supported but CANbus often not. Some of the drivers are based
on third party products (e.g., Applicom cards) and therefore have additional cost
associated with them. VME on the other hand is generally not supported.
A single data server can support multiple communications protocols; it can generally
support as many such protocols as it has slots for interface cards. The effort required to
develop new drivers is typically in the range of 2-6 weeks depending on the complexity
and similarity with existing drivers, and a driver development toolkit is provided for this.
The processing was distributed across multiple stations which were connected through a
LAN and they shared information in real time. Each station was responsible for a
particular task thus making the size and cost of each station less than the one used in First
Generation. The network
protocols used were still mostly proprietary, which led to significant security problems for
any SCADA system that received attention from a hacker. Since the protocols were
proprietary, very few people beyond the developers and hackers knew enough to
determine how secure a SCADA installation was. Since both parties had vested interests in
keeping security issues quiet, the security of a SCADA installation was often badly
overestimated, if it was considered at all.
These are the current generation SCADA systems which use open system architecture
rather than a vendor-controlled proprietary environment. The SCADA system utilizes
open standards and protocols, thus distributing functionality across a WAN rather than
a LAN. It is easier to connect third party peripheral devices like printers, disk drives,
and tape drives due to the use of open architecture. WAN protocols such as Internet
Protocol (IP) are used for communication between the master station and
communications equipment. Due to the usage of standard protocols and the fact that
many networked SCADA systems are accessible from the Internet, the systems are
potentially vulnerable to remote cyber-attacks. On the other hand, the usage of standard
protocols and security techniques means that standard security improvements are
applicable to the SCADA systems, assuming they receive timely maintenance and
updates.
An HMI is usually linked to the SCADA system's databases and software programs, to
provide trending, diagnostic data, and management information such as scheduled
maintenance procedures, logistic information, detailed schematics for a particular sensor or
machine, and expert-system troubleshooting guides.
The HMI system usually presents the information to the operating personnel graphically,
in the form of a mimic diagram. This means that the operator can see a schematic
representation of the plant being controlled. For example, a picture of a pump connected to
a pipe can show the operator that the pump is running and how much fluid it is pumping
through the pipe at the moment. The operator can then switch the pump off. The HMI
software will show the flow rate of the fluid in the pipe decrease in real time. Mimic
diagrams may consist of line graphics and schematic symbols to represent process
elements, or may consist of digital photographs of the process equipment overlain with
animated symbols.
The HMI package for the SCADA system typically includes a drawing program that the
operators or system maintenance personnel use to change the way these points are
represented in the interface. These representations can be as simple as an on-screen traffic
light, which represents the state of an actual traffic light in the field, or as complex as a
multi-projector display representing the position of all of the elevators in a skyscraper or
all of the trains on a railway.
alarm indicators include a siren, a pop-up box on a screen, or a colored or flashing area on
a screen (that might act in a similar way to the "fuel tank empty" light in a car); in each
case, the role of the alarm indicator is to draw the operator's attention to the part of the
system 'in alarm' so that appropriate action can be taken. In designing SCADA systems,
care is needed in coping with a cascade of alarm events occurring in a short time,
otherwise the underlying cause (which might not be the earliest event detected) may get
lost in the noise. Unfortunately, when used as a noun, the word 'alarm' is used rather
loosely in the industry; thus, depending on context it might mean an alarm point, an alarm
indicator, or an alarm event.
Practical session
Introduction
For practically understand how SCADA systems work, students together with guide will try to
build the SCDA system using facilities like PLC, Arduino, Bluetooth modules USB cable and ni
LabVIEW.
With all above, it will be possible to monitor and control a task carried by a PLC, wirelessly or
by using a wired communication.
Building HMI
HMI, Human machine interface is the part of SCADA from where the user will interact with the
system.
1 Introduction
Introduction to LabVIEW
LabVIEW Environment
Front Panel
Block Diagram
Acquiring a Signal VI
Dataflow Programming
Express Filter VI
LabVIEW Documentation Resources
Reduce Samples VI
Debugging Techniques
Debug Exercise (Main) VI
Summary, Tips, and Tricks on Introduction to LabVIEW
2. Modular Programming
Modular Programming
Icons and Connector Panes
Convert C to F VI
Using SubVIs
Thermometer VI
Creating a SubVI from Sections of a VI
Summary, Tips, and Tricks on Modular Programming
While Loops
Auto Match VI
For Loops
Timed Temperature VI
Accessing Previous Loop Data
Accessing Previous Data VI
Summary, Tips, and Tricks on Repetition and Loops
Example:
Complete the following steps to build a VI that measures temperature and displays it on a
waveform chart.
Front Panel
1. Open a blank VI and build the front panel shown in Figure.
Block Diagram
Run the VI
Front Panel
4. Select the Scales tab and select the Time (sec) (X-axis) in the top pull-down
menu. Set the scale options as shown in Figure. Set the Multiplier to 0.500.50 to
account for the 500 ms Wait function.
5. In the Scales tab, select the Deg F (Y-axis) in the top pull-down menu. Set the
scale options as shown in Figure.
3. Each time you run the VI, you first must turn on the vertical toggle switch and then click
the Run button due to the current mechanical action of the switch. Modify the mechanical
action of the vertical toggle switch so temperature is plotted on the graph each time you
run the VI, without having to first set the toggle switch.
1. Stop the VI if it is running.
2. Use the Operating tool to click the vertical toggle switch and turn it to
the ON position.
3. Right-click the switch and select Data Operations>>Make Current Value
Default from the shortcut menu. This sets the ON position as the default value.
Run the VI
RTU
Initially, we started on USB as communication and later we have used Bluetooth as wireless
communication mean.
References
https://cnx.org/
https://www.automationworld.com/
http://spartacontrols.com/