Lecture 2 - Introduction (Cont.)
Lecture 2 - Introduction (Cont.)
CONTROL SYSTEMS
Lecture 2. Overview
6/5/2023 Buidangthanh.3i@gmail.com 1
Presentation Outline
1. Classification
2. OSI model
3. P&ID Diagram
6/5/2023 Buidangthanh.3i@gmail.com 2
2
Classification
6/5/2023 Buidangthanh.3i@gmail.com 3
1
Classification
• Functionality Classification
• Power SCADA
• DCS
• Environment Monitoring Systems
• Scale Classification (Based on I/O quantity)
• Small System
• Medium System
• Large System
6/5/2023 Buidangthanh.3i@gmail.com 4
OSI Model
6/5/2023 Buidangthanh.3i@gmail.com 5
◼ Protocol:
◼ A set of rules that governs data communication
◼ It represents an agreement between the communicating devices
6/5/2023 Buidangthanh.3i@gmail.com 6
2
Tasks involved in sending a letter
6/5/2023 Buidangthanh.3i@gmail.com 7
6/5/2023 Buidangthanh.3i@gmail.com 8
Layered Architecture
Peer-to-Peer Processes
Encapsulation
6/5/2023 Buidangthanh.3i@gmail.com 9
3
Layered Architecture
Layers
Seven layers of the OSI model
Layer 7. Application
Layer 6. Presentation
Layer 5. Session
Receiver
Layer 4. Transport
Sender
Layer 3. Network
6/5/2023 Buidangthanh.3i@gmail.com 10
10
Layered Architecture
◼ A layered model
◼ Each layer performs a subset of the required
communication functions
◼ Each layer relies on the next lower layer to perform
more primitive functions
◼ Each layer provides services to the next higher layer
◼ Changes in one layer should not require changes in
other layers
◼ The processes on each machine at a given layer are
called peer-to-peer process
6/5/2023 Buidangthanh.3i@gmail.com 11
11
6/5/2023 Buidangthanh.3i@gmail.com 12
12
4
PEER – TO – PEER PROCESS
Buidangthanh.3i@gmail.com 13
6/5/2023
13
6/5/2023 Buidangthanh.3i@gmail.com 14
14
6/5/2023 Buidangthanh.3i@gmail.com 15
15
5
LAYERS IN THE OSI MODEL
6/5/2023 Buidangthanh.3i@gmail.com 16
16
Physical Layer
The physical layer is responsible for movements of
individual bits from one hop (node) to the next.
◼ Function
◼ Physical characteristics of interfaces and media
◼ Representation of bits
◼ Data rate
◼ Synchronization of bits
◼ Line configuration (point-to-point or multipoint)
◼ Physical topology (mesh, star, ring or bus)
◼ Transmission mode ( simplex, half-duplex or duplex)
6/5/2023 Buidangthanh.3i@gmail.com 17
17
Physical layer
6/5/2023 Buidangthanh.3i@gmail.com 18
18
6
Data Link Layer
The data link layer is responsible for moving
frames from one hop (node) to the next.
◼ Function
◼ Framing
◼ Physical addressing
◼ Flow control
◼ Error control
◼ Access control
6/5/2023 Buidangthanh.3i@gmail.com 19
19
6/5/2023 Buidangthanh.3i@gmail.com 20
20
Hop-to-hop delivery
6/5/2023 Buidangthanh.3i@gmail.com 21
21
7
Example 1
In following Figure, a node with physical address 10 sends a frame to a
node with physical address 87. The two nodes are connected by a link. At
the data link level this frame contains physical addresses in the header.
These are the only addresses needed. The rest of the header contains other
information needed at this level. The trailer usually contains extra bits
needed for error detection
1.22
6/5/2023 Buidangthanh.3i@gmail.com 22
22
Network Layer
The network layer is responsible for the
delivery of individual packets from
the source host to the destination host.
◼ Source-to-destination delivery
◼ Responsible from the delivery of packets from the original
source to the final destination
◼ Functions
◼ Logical addressing
◼ routing
6/5/2023 Buidangthanh.3i@gmail.com 23
23
Network layer
6/5/2023 Buidangthanh.3i@gmail.com 24
24
8
Source-to-destination delivery
6/5/2023 Buidangthanh.3i@gmail.com 25
25
Example 2
We want to send data from a
node with network address A and
physical address 10, located on
one LAN, to a node with a
network address P and physical
address 95, located on another
LAN. Because the two devices
are located on different networks,
we cannot use physical addresses
only; the physical addresses only
have local influence. What we
need here are universal addresses
that can pass through the LAN
boundaries. The network
(logical) addresses have this
characteristic. 1.26
6/5/2023 Buidangthanh.3i@gmail.com 26
26
Transport Layer
The transport layer is responsible for the delivery
of a message from one process to another.
◼ Process-to- process delivery
◼ Functions
◼ Port addressing
◼ Flow control
◼ Error control
6/5/2023 Buidangthanh.3i@gmail.com 27
27
9
Transport layer
Segmentation and reassembly
6/5/2023 Buidangthanh.3i@gmail.com 28
28
6/5/2023 Buidangthanh.3i@gmail.com 29
29
Example 3
Data coming from the upper
layers have port addresses j
and k (j is the address of the
sending process, and k is the
address of the receiving
process). Since the data size
is larger than the network
layer can handle, the data are
split into two packets, each
packet retaining the port
addresses (j and k). Then in
the network layer, network
addresses (A and P) are
added to each packet.
6/5/2023 Buidangthanh.3i@gmail.com 30
30
10
Session Layer
6/5/2023 Buidangthanh.3i@gmail.com 31
31
Session layer
Synchronization
6/5/2023 Buidangthanh.3i@gmail.com 32
32
Presentation Layer
The presentation layer is responsible for translation,
compression, and encryption.
6/5/2023 Buidangthanh.3i@gmail.com 33
33
11
Presentation layer
6/5/2023 Buidangthanh.3i@gmail.com 34
34
Application Layer
The application layer is responsible for
providing services to the user.
◼ Functions
◼ Network virtual terminal (Remote log-in)
◼ Mail services
6/5/2023 Buidangthanh.3i@gmail.com 35
35
Application Layer
6/5/2023 Buidangthanh.3i@gmail.com 36
36
12
Summary of layers
6/5/2023 Buidangthanh.3i@gmail.com 37
37
Summary of layers
OSI Model
Data
Layer Function
unit
Receiver
User
Segment 4. Transport End-to-end connections and reliability
Network
Path determination and logical
Packet 3. Network
Network addressing
support Frame 2. Data Link Physical addressing
layers
Bit 1. Physical Media, signal and binary transmission
6/5/2023 Buidangthanh.3i@gmail.com 38
38
P&ID Diagram
6/5/2023 Buidangthanh.3i@gmail.com 39
39
13
P&ID Diagram
• Meaning:
• Piping & Instrumentation Diagram
• Process & Instrumentation Diagram
• Use standardized symbols:
• To represent different components of process:
• Specific to the process itself:
• Necessary to control the process:
6/5/2023 Buidangthanh.3i@gmail.com 40
40
P&ID Diagram
6/5/2023 Buidangthanh.3i@gmail.com 41
41
P&ID Diagram
6/5/2023 Buidangthanh.3i@gmail.com 42
42
14
P&ID Diagram
• Basic symbols:
6/5/2023 Buidangthanh.3i@gmail.com 43
43
P&ID Diagram
6/5/2023 Buidangthanh.3i@gmail.com 44
44
P&ID Diagram
• Meaning of the Letters:
• First letter
• Succeeding Letters
6/5/2023 Buidangthanh.3i@gmail.com 45
45
15
P&ID Diagram
• Meaning of the Letters:
• First letter
• Succeeding Letters
6/5/2023 Buidangthanh.3i@gmail.com 46
46
P&ID Diagram
• Line Symbols:
• Supply sources:
• AS (Air supply)
• ES (Electric supply)
• GS (Gas supply)
• HS (Hydraulic supply)
• NS (Nitrogen supply)
• SS (Steam supply)
• WS (Water supply)
6/5/2023 Buidangthanh.3i@gmail.com 47
47
P&ID Diagram
• Examples:
• Heat Exchanger
6/5/2023 Buidangthanh.3i@gmail.com 48
48
16
P&ID Diagram
• Examples:
• Water Boiler
6/5/2023 Buidangthanh.3i@gmail.com 49
49
P&ID Diagram
• Examples:
• Beer Production
6/5/2023 Buidangthanh.3i@gmail.com 50
50
P&ID Diagram
• Examples:
• Beer Production
6/5/2023 Buidangthanh.3i@gmail.com 51
51
17
Thank you for your attention!
6/5/2023 Buidangthanh.3i@gmail.com 52
52
18