Вы находитесь на странице: 1из 21

(CETB)

College of Electronic Technology / Bni Walid


Oil and Gas Instrumentation Engineering
Class Notes (Part One)

Subject Name: Computer Control (SCADA)


BY: Yousef Moh. Abueejela

Email: yousef.yaga@gmail.com
PO Box: 38510 Bani Walid

Office: Oil & Gas Office, Room 5

Oil & Gas Instrumentation Engineering

Computer Control (SCADA)

Course Info
Lecture Hours: 14 weeks x 2.5 hours = 35 hours/semester
Lab Hours: 10 weeks x 2 hour = 20 hours/semester
Self-Readings: 14 weeks x 4 hours = 56 hours/semester
Attendance: > 75 % it means you must attend at least 10 weeks

Grading
Exam 1

Midterm Exam .... 25 %


Exam 2

Quiz total ..5 %


Assignments & H.ws... 10 %
Final Exam .. 60 %

Text Books and References

This Class Note is the Most Material Required.


Practical Modern SCADA Protocols by Gordon Clarke, Deon

Reynders and Edwin Wright.


Practical SCADA for Industry by David Bailey and Edwin
Wright
Contacts

Email: yousef.yaga@gmail.com
PO Box: 38510 Bani Walid
Office: Oil & Gas Office, Room 5 (Saturday to Thursday )

Page | 2
Lecturer: Yousef M.A

Oil & Gas Instrumentation Engineering

Computer Control (SCADA)

Schedule of Lectures for Spring 2015/2016


week Lecture
1
1
2
3

2
3
4
5
6
7
8
9
10
11
12
Quizs (

Topic

Date

4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
).... Homeworks (

) ... Mid term(

Page | 3
Lecturer: Yousef M.A

Oil & Gas Instrumentation Engineering

1.

Computer Control (SCADA)

Manual Control Before 1920

Figure 1 shows a simple scheme for a manual control which the Operator manipulated
the wheel of manual valve to control (flow/level/temperature) by looking at mounted
gauges. The operator was the controller and used visual feedback, control and
information was fully distributed.

Figure 1: Manual Control System

2.

Figure 2: Automatic Control System

Automatic Control (1920 to 1950)

Control panels with pneumatic controllers were introduced on a process unit basis as
shown above in Figure 2. Several operators regularly monitored and manipulated the
plant from the control panel. Control and information was centralized on a unit level
basis.

Page | 4
Lecturer: Yousef M.A

Oil & Gas Instrumentation Engineering

3.

Computer Control (SCADA)

Automatic Control (1950 to 1970)

Figure 3 shows a high density panels with electronic instruments were introduced.
Operators had a complete picture of the process from a central control panel and could
manipulate the entire process with very little physical movement.
Control and information was totally centralized.

Figure 3: Automatic Control

4.

Figure 4: Distributed Control

Distributed Control Systems 1975

Figure 4 shows three elements CRT-based man machine interface, microprocessor


based distributed controllers and data highway resulted in distributed system .
Control functions are distributed and information centralized.

Page | 5
Lecturer: Yousef M.A

Oil & Gas Instrumentation Engineering

5.

Computer Control (SCADA)

Computer Controlled System Configurations

Direct Control

Actuator

Plant 1
C1

Measurement

Multiplexer

Multiplexer

DAC

ADC

Figure 5: Direct Control block


diagram

Computer

The main characteristics of a direct control system are:


The analog controller is replaced by the computer
Control modes such as PID control, neural network and fuzzy logic
can easily be implemented via programming.
If the computer fails, the plant is out of control.

Page | 6
Lecturer: Yousef M.A

Oil & Gas Instrumentation Engineering

6.

Computer Control (SCADA)

Supervisory Computer Control

R1 +

Controller

Actuator

Plant 1
C1

b1

Measurement

Multiplexer

Multiplexer

DAC

ADC

Figure 6: Supervisory Control


block diagram

Computer

The main characteristics of a supervisory control system are:


The control loops are still analog in nature.
The computer monitors measurements and updates inputs.
The computer use appropriate software to optimize inputs for the best
overall plants operation
If the computer fails, the analog loops will maintain the operation of
the plants.

Page | 7
Lecturer: Yousef M.A

Oil & Gas Instrumentation Engineering

7.

Computer Control (SCADA)

Supervisory Control and Data Acquisition (SCADA)

SCADA is a system and technology for remote monitoring and control, which allows
the operator to:

Get data and gather information from the processes.


Exchanging data from the plant floor to a supervisory computer.
Displaying and supervise process with some geographical scattered
Data logging, data display, trending, downloading of recipes.

Also, SCADA is not a full control system, but rather focuses on the supervisory level.
SCADA working to collecting data and information via distributed devices like
(remote terminal unit) RTU,PLC, transferring data back to the central unit, carrying out
any necessary analysis and control and then displaying that information on a number of
operator screens or displays. Finally, send control actions to the process depending on
the information.

The independent PLCs and RTUs in a


SCADA system perform I/O control signals
on field devices while being supervised by a
SCADA/HMI software package on a master
computer.

Figure 7: SCADA System.

Page | 8
Lecturer: Yousef M.A

Oil & Gas Instrumentation Engineering

7.1

Computer Control (SCADA)

Applications and Uses of SCADA

Now days, Modern SCADA are used extensively in many industrials around the world
for remote control of sectors and substations. The following are some examples of the
usage of SCADA systems:

Electric Energy
Power generation, transmission and distribution is cover very wide areas, so SCADA
systems are used to detect and monitor any change in loads ,currents flow and line
voltages, and control the sectors by opening and closing the switches.

Oil and Gas


Transmissions, distributions, productions, Pipelines, Wells, refinery, pumps are
distributed in very large Areas, which
need to get data and information for fluid
pressure and measurements.

Water and sewage treatment


SCADA systems used to monitor and

Figure 8: oil and gas site.

control the distributed equipment used like filters and valves. Besides, SCAD A used to
regulate water flow, reservoir levels, pipe pressure and other factors.

Figure 9: water treatment.

Buildings, facilities and environments


Facility managers use SCADA to control HVAC, refrigeration units, lighting and
entry systems.
Page | 9
Lecturer: Yousef M.A

Oil & Gas Instrumentation Engineering

Computer Control (SCADA)

Industrial Processes
SCADA systems are used in Industrial and manufacturing to manage processes
and robots like (Car, Food manufacturing, Chemical process).
Nuclear Processes
Transportation
7.2

SCADA System Benefits

Besides SCADA can monitor and control any kind of equipment, SCADA used to
automate more complex processes. Further SCADA has many benefits as follows:

Save time and money.


Saves energy.
Increases productivity and profitability.
Less physical movements for workers.
Wear and tear on equipment can be reduced by continuously monitoring levels.
Manage a real-time system trouble.
Fast Troubleshooting and Maintain.
Cost effective for power systems.
Reliable.
Expansion capability
7.3

Popular SCADA Vendors and Brands


N.o
1

Brand Name
Siemens

Software Name
Wincc

Country
Germany

Schneider

Citect Scada

France

Rockwell

RS View

USA

Wonderware

In Touch

USA

Honeywell

Experion

Ci technology

Citect

Australia

Page | 10
Lecturer: Yousef M.A

Oil & Gas Instrumentation Engineering

7.4

Computer Control (SCADA)

Architecture of SCADA

SCADA is highly complex system includes the following components: master terminal
unit (MTU) or host computers, operating equipment, PLCs, instruments, remote
terminal unit, intelligent electronic device IED, and Actuators. These components were
distributed in terms of layers or levels. The basic SCADA architecture system is
represented as shown in Figure 10.

Level 0: is the Input/ Output Level which distributed at one level including all type
of sensors and actuators.

Level 1: is the Process and Field Level which is gather field values, I/O analog,
digital, measuring and other commands, such as RTUs, Valves IEDs, and PLCs.

Level 2: is the Control Level which includes the control devices like PLC, PC.

Level 3: is the Supervisory Level with dynamic changing states and real time control.

Level 4: world Connection using Internet and various new technologies related to mobile /
cell phone operations.

Data Flow
Amount
of Data

L3

L2

L1

L0

Reaction
Time
Figure 10: SCADA Architecture.

Page | 11
Lecturer: Yousef M.A

Oil & Gas Instrumentation Engineering

7.5

Computer Control (SCADA)

Advantages/ Disadvantages of SCADA

The advantages of the SCADA system are:


The computer can record and store a very large amount of data
The data can be displayed in any way the user requires
Thousands of sensors over a wide area can be connected to the system
The operator can incorporate real data simulations into the system
Many types of data can be collected from the RTUs
The data can be viewed from anywhere, not just on site
scalability of the hardware
The disadvantages are:
The system is more complicated.
Different operating skills are required, such as system analysts and programmer
With thousands of sensors there is still a lot of wire to deal with
The operator can see only as far as the PLC

8.

Elements of SCADA

SCADA system is used to supervise, control and monitor data from subsystems, by using
physical cables or remote access. All these procedures are done by using some
components and elements. SCADA systems components as shown in Figure 11 are:

Master Terminal Unit ( MTU ) Host Computer, Server


Remote Telemetry/Terminal Unit ( RTU)
Programmable Logic Controller ( PLC )
Human-machine Interface (HMI)
Sensors and actuators
Communication
MTU is The Master Terminal Unit ( heart of a SCADA system) operated by an operator
who has the authority to access the system by input devices as a computer keyboard or
pointing devices as touchscreen. The MTU can monitor and control the field devices even
when the operator in not present by means scheduler programed.
Page | 12
Lecturer: Yousef M.A

Oil & Gas Instrumentation Engineering

Computer Control (SCADA)

MTU has other auxiliary devices considered to be part of the MTU such as (printers,
backup memories and modems, HMI, Historical Data logging).
The MTU initiates virtually all communication with remote sites and interfaces with an
operator. Data from remote field devices (pumps, valves, alarms, etc.) is sent to the MTU
to be processed, stored and/or sent to other systems. MTU CAN BE
Web server
Data logging, Analyzing data
Serve the clients through a firewall
Real-time decision maker

Figure 11: SCADA Elements [6,9].

Page | 13
Lecturer: Yousef M.A

Oil & Gas Instrumentation Engineering

8.2

Computer Control (SCADA)

RTU

Remote Terminal Unit (RTU) is a microprocessor-based device with very good radio
interfacing. RTUs are deployed in the field as an interface between the I/O Devices and

SCADA system. RTUs are used to transmit telemetry data from the sensors to the
master unit and receive the control signal from the master station to control the output
devices. RTU can do next:

Gather information from field devices (analog values, digital values, alarming).
Save information in memory unit and exchange with MTU.
Open/close valves, turns switches, change set points).
8.2.1 RTU Features
Intelligent to control a process and multiple processes
Data logging and alarm handling
Can control IEDs (Intelligent Electronic Device)
Expandable

RTU

RTU

RTU

Slave/Master device

MTU

Figure 12: RTU in SCADA.

Page | 14
Lecturer: Yousef M.A

Oil & Gas Instrumentation Engineering

Computer Control (SCADA)

8.2.2 RTU Architecture


Figure 13 shows the block diagram of the RTUs hardware which includes (power
supply, backup battery, CPU, Memory, analog/digital outputs, radio module,
communication ports). Small RTUs generally have less than 10 to 20 A/D signals;
medium sized RTUs have 100 digital and 30 to 40 analog inputs.

Figure 13: RTU Architecture [10].

RTU has two or three communication ports (RS232, RS422 and RS485) or Ethernet
link. A watchdog timer provides a check that the RTU program is executing regularly.
The RTU program regularly resets the watchdog timer and if this is not done within a
certain time-out period the watchdog timer flags an error.

Page | 15
Lecturer: Yousef M.A

Oil & Gas Instrumentation Engineering

Computer Control (SCADA)

8.2.3 RTU Types


There are two types of RTU
1- Single board RTU: is compact device and contains all input output (normally has
fixed I/O) in the same board.
2- Modular RTU: which has separate modules for (CPU, I/O) and can added more
modules.

Figure 14: RTU Block Diagram

The RTUs are expected to read data from field devices FDs in a plant, and to
transmit data to the MTU. Likewise, the RTUs expected to receive control
instructions from the MTU to control the plant as shown in Figure 15. This two-way
digital communication between RTUs and MTU is carried out on the so-called MTURTU communication sub-system, which constitutes the third component of our
SCADA system. The RTU-FD communication may be analog (in old systems) or
digital (in modern systems) of SCADA system.
D: Data
C: Control Sign.

RTU

MTU

Figure 15: MTU-RTU-FD communications.

Page | 16
Lecturer: Yousef M.A

Oil & Gas Instrumentation Engineering

Computer Control (SCADA)

The communication between MTU-RTU is two-way (duplex) digital


communication.

The communication between (non-smart) field devices - RTU is in one


direction only (simplex), from non-smart sensors to the RTU. Similarly, the
information to the unintelligent actuators has to come from RTU.

The set points received by the RTU from the MTU are always digital in nature,
because RTU-MTU communication is always digital.

Each RTU has a unique address.


Cost of laying cables (copper or optical fibre) would be very high.
Simplex: One way communication
Data in a simplex mode is always one way. Simplex mode is not often used because it is not
possible to send back error or control signals to the transmit end.

Half Duplex: Two way communication, but


only one way at a time
A half-duplex mode used to send and receive, but not
at the same time. it is possible to perform error
detection and request the sender to retransmit
information.

Full Duplex: Two way simultaneous

Figure 16: Communication Modes.

communication
Data in duplex mode travel in both directions simultaneously. Figure 16 shows the tree types
of channels mode.

8.3

SCADA versus DCS

SCADA system and distributed control system (DCS), both, are suitable for the control
of large distributed industrial processes, a comparison between the two would be in
order. The table below shows the comparison between them
Feature

DCS

SCADA

1 Data transmission

One way

Two way

2 Type of control
Extent of intervention by
3
operator

Full or elaborate control

Limited or simple control

Limited intervention

Regular intervention

Page | 17
Lecturer: Yousef M.A

Oil & Gas Instrumentation Engineering

8.4

Computer Control (SCADA)

Communication Hans Berger

Each SIMATIC S7 station can make communication with another station;


Communication is understood to be the data exchange between networked stations. A
station is a device containing a module with communication capability, for example a
(PLC), PC or an HMI device. The stations are connected either to a bus system or to a
point-to-point connection. In the case of a bus system, all stations are connected
together over one single line; in the case of a point-to point connection, the connection
is limited to two stations.

The CPU is generally performing Simple data exchange. A network is a group of


stations for the purpose of communication. It consists of one or more subnets of the
same or different kinds linked together. A subnet includes all communication nodes
that are connected to each other over hardware link with uniform physical properties
and transfer parameters such as transfer rate and that exchange data via a shared
transfer method. The CPU can exchange data with other stations using various
methods. The connection is made with:

point-to-point connection (PtP): is use the physical standard RS232 or RS485 to


link a SIMATIC station to another device via a serial connection, or to connect each
sensor and actuator to I/O controller.

MPI (Multi Point Interface): is designed for easy data exchange between S7300/400 stations.

Industrial Ethernet: permits the rapid exchange of large amounts of data via
PROFINET interface or via communication module.

Page | 18
Lecturer: Yousef M.A

Oil & Gas Instrumentation Engineering

Computer Control (SCADA)

PROFIBUS: is the transmission standard for data, process and fieldbus


communication. PROFIBUS DP allows the rapid exchange of data with distributed
I/O stations.

AS-Interface (AS-i): is used to query sensors and actuators on the fieldbus level.
8.4.1 AS-Interface

(single master- multislaves)

AS-Interface abbreviated to Actuator Sensor-Interface. It is intended for use at the


lowest level of the automation pyramid. AS-i is untwisted, unshielded two wire cable
that connects devices with the AS-i chip. This cable serves to supply the sensors and
actuators with power, so that in an ideal case only one cable to the sensors and
actuators must be laid in the field. In the meantime, it is possible to transmit digitalized
analogue.
The AS-i plays as bridges in the network between the binary sensors and the industrial
network. Nodes (Passive) can be added or taken while the system is running, without
any kind of interruption. AS-i data capacity ranges from 1 to 16 bits per device. slaves
typically consume 200 mA with a maximum of 8 A per bus.
Feature
Topology

Description

Network length

star, line, branch, or tree


100 m without repeater, 300 m with repeater (2)

transmission rate

167 kbit/s.

Nodes

Access

Signals

maximum 62 slaves, maximum 248 digital inputs for 31 + 186 digital


outputs (extended version),
master-slave method, cyclic polling, maximum 10 ms cyclic
time, slaves have their own addresses
digital signals, analogue signals (distributed over six AS-Interface
cycles), parameter bits
two core, unshielded profile cable (yellow) for energy and

Cable

data, slaves may additionally be supplied with power using an


additional cable (24 V black cable, 230 V red cable)

Standard

internationally standardised in EN 50295, IEC 62026

Page | 19
Lecturer: Yousef M.A

Oil & Gas Instrumentation Engineering

Computer Control (SCADA)

Fast reaction times: the AS-i master requires a maximum of 5 ms for cyclic data
exchange with up to 31 nodes (with 62 nodes 10 ms).

Nodes (AS-i slaves) on the AS-i cable can be either sensors/actuators with an
integrated AS-i connector or AS-i modules.

AS-i modules are AS-i slaves to which conventional sensors and actuators can
be connected.

Sensors/actuators with an integrated AS-i connection can be connected directly


to the AS-Interface.

With standard AS-i modules, up to 124 actuators/sensors can be operated on the


AS-i cable.
The AS-Interface master automatically controls all communication over the AS-i
cable without the need for special software.

Page | 20
Lecturer: Yousef M.A

Oil & Gas Instrumentation Engineering

Computer Control (SCADA)

AS-Interface Analyzer

The AS-Interface analyzer is used to creating test reports by test AS-i networks. Errors
during installation, for example bad contacts or EMC problems at extreme load, can be
revealed by this device. This makes it possible to evaluate the quality of complete
networks [5].
Repeater

A repeater uses to extend the AS-I segment, Down times and service times can also be
reduced because the AS-Interface power supply is displayed for each side (separate
power supply) [5].
Further features of the repeater include:

Slaves can be used on both sides of the repeater.


A maximum of two repeaters can be used in series (max. cable length 300 m).
Parallel connection of several repeaters is possible (star configuration possible).

Page | 21
Lecturer: Yousef M.A

Вам также может понравиться