SCADA - Topic - 2 - Updated (SCADA Hardware and Firmware)
SCADA - Topic - 2 - Updated (SCADA Hardware and Firmware)
FIRMWARE
COURSE: SUPERVISORY CONTROL AND DATA ACQUISITION
OVERVIEW
A SCADA (or supervisory control and data acquisition) system means a system consisting of several
remote terminal units (or PLCs) collecting field data connected back to a master station via a
communications system.
The master station displays the acquired data and allows the operator to perform remote control tasks.
The accurate and timely data allows for optimization of the operation of the plant and process. A further
benefit is more efficient, reliable and most importantly, safer operations.
A successful SCADA installation depends on utilizing proven and reliable technology, with adequate and
comprehensive training of all personnel in the operation of the system.
INTRODUCTION AND
BRIEF HISTORY OF
SCADA
A diagram of a typical
SCADA system is given in the
figure:
SCADA HARDWARE LEVELS
On a more complex SCADA system there are essentially five levels or hierarchies:
MAIN HARDWARE COMPONENTS
The RTU (PLC) provides an interface to the field analog and digital signals situated at each remote site.
The communications system provides the pathway for communications between the master station and the
remote sites.
This communication system can be radio, telephone line, microwave and possibly even satellite.
Specific protocols and error detection philosophies are used for efficient and optimum transfer of data.
The master station (and submasters) gather data from the various RTUs and generally provide an operator
interface for display of information and control of the remote sites.
In large telemetry systems, submaster sites gather information from remote sites and act as a relay back to
the control master station
SUB-MASTER
STATIONS IN
SCADA SYSTEMS
PROGRAMMABLE
LOGIC CONTROLLER
(PLC)
Obviously, a SCADA system’s initial cost must be justified. A few typical reasons for implementing a SCADA
system are:
Improved operation of the plant or process resulting in savings due to optimization of the system
Increased productivity of the personnel
Improved safety of the system due to better information and improved control
Protection of the plant equipment
Safeguarding the environment from a failure of the system
Improved energy savings due to optimization of the plant
Improved and quicker receipt of data so that clients can be invoiced more quickly and accurately
Government regulations for safety and metering of gas (for royalties & tax etc)
REMOTE
TERMINAL UNITS
An RTU (sometimes referred to as a
remote telemetry unit) as the title implies,
is a standalone data acquisition and
control unit, generally microprocessor
based, which monitors and controls
equipment at some remote location from
the central station.
o Its primary task is to control and
acquire data from process equipment
at the remote location and to transfer
this data back to a central station.
o It generally also has the facility for
having its configuration and control
programs dynamically downloaded
from some central station.
o A typical RTU configuration is shown
in Figure 2.6:
RTU/PLC
HARDWARE
COMPONENTS
CONTROL PROCESSOR (CPU)
ANALOG INPUT MODULES
o Where low-level voltages need to be digitized, they must be amplified to match the input range of the
board’s A/D converter.
o If a low-level signal is fed directly into a board without amplification, a loss of precision will be the result.
SAMPLE-AND-HOLD CIRCUIT
o Most A/D converters require a fixed time during which the input signal remains constant (the aperture
time) in order to perform an A/D conversion.
o If the input were to change during this time, the A/D would return an inaccurate reading.
o Therefore, a sample-and-hold device is used on the input to the A/D converter.
A/D CONVERTERS
o The A/D converter is the heart of the module. Its function is to measure an input analog voltage and to
output a digital code corresponding to the input voltage.
o There are two main types of A/D converters used:
Integrating (or dual slope) A/Ds - These are used for very low frequency applications (a few hundred hertz
maximum) and may have very high accuracy and precision (e.g. 22 bit). They are found in thermocouple and RTD
modules. Other advantages include very low cost, noise and mains pickup tend to be reduced by the integrating
and dual slope nature of the A/D converter.
Successive approximation A/Ds - Successive approximation A/Ds allow much higher sampling rates (up to a
few hundred kHz with 12 bits is possible) while still being reasonable in cost.
The conversion algorithm is similar to that of a binary search, where the A/D starts by comparing the input with a
voltage (generated by an internal D/A converter), corresponding to half of the full-scale range.
CONNECTION METHODS
There are two methods of connecting signal sources to the data acquisition board: Singleended and differential.
o In general, differential inputs should be used for maximum immunity.
o Single-ended inputs should only be used where it is impossible to use either of the other two methods.
SINGLE-ENDED INPUTS
Each module should have internal software continuously testing the systems I/O and hardware.
Diagnostic LEDs should also be provided to identify any faults or to diagnose failure of components.
It is important that all these conditions are communicated back to the central station for indication to
the operator.
APPLICATION PROGRAMS
Latching operations are used, where a momentary start input signal latches the start signal into the on
condition, so that when the start input goes into the OFF condition, the start signal remains energized ON.
The latching operation is also referred to as olding or maintaining a sealing contact. See the previous two
diagrams for examples of latching.
Interactive logic: Ladder-logic rungs that appear later in the program often interact with the earlier
ladder-logic rungs.
This useful feed back mechanism can be used to provide feed back on successful completion of a sequence of
operations (or protect the overall system due to failure of some aspect).
LAD LOGIC
INSTRUCTIONS
STANDARD RELAY TYPE
There are two types of counters, Count up and Count down. The operation of these counters is very similar to
the timer ON and timer OFF timers.
There are two values associated with counters:
Accumulated value
Preset value
ARITHMETIC
INSTRUCTIONS
LOGICAL OPERATIONS
MOVE
This instruction moves the source value at the defined address to the destination address every time this
instruction is executed.
COMPARISON
INSTRUCTIONS
SUB ROUTINES AND JUMP INSTRUCTIONS
There are two main ways of transferring control of the ladder-logic program from the standard sequential path
in which it is normally executed. These are:
Jump to part of the program when a rung condition becomes true (sometimes called jump to a label)
Jump to a separate block of ladder-logic called a sub routine. Some users unwittingly run into problems
with entry of a ladder-logic rung into the PLC due to limitations in the reporting of incorrect syntax by the
relevant packages.
The central site/master station can be pictured as having one
or more operator stations (tied together with a local area
network) connected to a communication system consisting of
modem and radio receiver/transmitter.
It is possible for a landline system to be used in place of
the radio system, in this case the modem will interface
directly to the landline.
THE MASTER Normally there are no input/output modules connected
STATION directly to the master stations although there may be an
RTU located near the master control room.
THE MASTER STATION
The central site/master station can be pictured as having one or more operator stations (tied together with a
local area network) connected to a communication system consisting of modem and radio receiver/transmitter.
There are commonly three types of LANs:
ETHERNET
There are three types of Ethernet cabling, standard Ethernet, coaxial Ethernet or 10BASE2 and the 10BASET
standard.
Standard Ethernet is referred to in the ISO 8802.3 standard as 10BASE5.
This is understood to mean 10 Mb/sec giving baseband transmission with a maximum segment length of 500
m (with each segment having up to 100 MAUs).
There is a maximum of five segments allowed in the complete Ethernet system.
PHYSICAL LAYOUT FOR 10BASE5 ETHERNET
TOKEN RING LAN
The individual component of the SCADA system contributed to the overall reliability of the system.
As the master station is a strategic part of the entire SCADA system, it is important that the system reliability
and availability are carefully considered.
Two approaches possible are shown in the figure below. Hot standby configuration with dual ported
The simplest approach is to have a cold standby peripherals is given in the following figure.
changeover where a switch is generated to change
over from primary to secondary.
COMMUNICATION ARCHITECTURES AND PHILOSOPHIES
Point-to-point (two stations). This is the simplest configuration where data is exchanged between two stations.
COMMUNICATION ARCHITECTURES AND PHILOSOPHIES
Multipoint (or multiple stations). In this configuration, there is generally one master and multiple slaves.
COMMUNICATION ARCHITECTURES AND PHILOSOPHIES
This can be used in a point to point or multipoint configuration and is probably the simplest philosophy to use.
The master is in total control of the communication system and makes regular (repetitive) requests for data
and to transfer data, to and from each one of several slaves.
The slaves do not initiate the transaction but rely on the master.
It is essentially a half-duplex approach where the slave only responds on a request from the master.
There are certain considerations to refine the polling scheme beyond what is indicated in the diagram above.
These are:
CSMA/CD SYSTEM (PEER-TO-PEER)
RTU to RTU communication. In a situation where an RTU wants to communicate with another, a solution
would be to respond to a poll by the master station having a message with a destination address other than that
of the master station’s.
The master station will then examine the destination address field of the message received from the RTU
and if it does not, mark its own, retransmit onto the appropriate remote station.
This approach can be used in a master slave network or a group of stations all with equal status.
Exception reporting (or event reporting). A technique to reduce the unnecessary transfer of data is to use some
form of exception reporting.
This approach is popular with the CSMA/CD philosophy, but it could also offer a solution for the polled
approach where there is a considerable amount of data to transfer from each slave.
The remote station monitors its own inputs for a change of state or data.
When there is a change of state, the remote station writes a block of data to the master station when the
master station polls the remote.
TYPICAL CONSIDERATIONS FOR MASTER STATION