Beruflich Dokumente
Kultur Dokumente
WIRED NETWORK
TECHNOLOGIES/PROTOCOLS
Dr. H. K. Verma
Former Deputy Director
and
Professor of Instrumentation
Indian Institute of Technology Roorkee
CONTENTS
1. Basics
2. RS-422 Serial Interface Protocol
3. RS485 Field Network Protocol
4. HART Protocol
5. Ethernet / IEEE802.3
6. Modbus
7. Foundation Fieldbus
Basics
2.1
v Network Classification
v Industrial Network Hierarchy
v Important Protocols
v Wire Transmission Media
v Optical Fibre Cable
v LAN Topologies
v Network Access (MAC) Protocols
v IEEE 802 Committee and Working Groups
v IEEE 802 Reference Model
Wired Network Technologies/Protocols
Basics
Network Classification
A. Business Data Networks
o High data rates
B. Industrial Data Networks
Enterprise-level network
o High data rates
Control-level network
o High data rates
Device-level network
o Low data rates
o Low latency
o High security
o Low Power Consumption
Basics
Server
Enterprise level
network
Control Terminal
(Ethernet / WAN/MAN)
Control Terminal
Industrial
Controller
Control level
network
(Ethernet)
PLC
Device-level
network (wired)
GD
FD
FD
AP
FD
FD
FD
Device-level
network (wireless)
FD
Basics
Important Technologies/Protocols
1. Ethernet
2. RS-422
3. RS-485
4. Modbus
5. HART (Highway Addressable Remote Transmitter
6. Foundation Fieldbus
7. CAN Bus (Controller Area Network)
8. Profibus (Process Field Bus)
9. LON (Local Operation Network)
10.BAC-Net (Building Automation Control Network)
11.EHS (European Home System)
Wired Network Technologies/Protocols
Basics
Copper
Wires
Optical
Fibres
Basics
Conductor Pairs
v UTP Cable
Low capacity, inexpensive, low skill required
Old LANs with voice-grade Cat-3, now Cat-5 & Cat-5
Most popular for copper-cable LANs inside buildings
v STP Cable
Higher capacity than UTP, more expensive
Competes with Cat-5 & Cat-6 UTP cables
Basics
Coaxial Cables
Basics
Wavelengths
850 nm, MMF
1310 nm, SMF
1550 nm, SMF
10
Basics
11
Basics
LAN Topologies
v Basic Topologies
1. Point-to-Point communication system
2. Multipoint communication system (network)
v Network (LAN)Topologies
1. Bus
2. Ring
3. Star
4. Tree
5. Mesh
12
Basics
Data flow
T
Stations
Tap
13
Basics
14
Basics
Star Topology
Central node
v
v
v
v
15
Basics
Tree Topology
Tap
Data flow
Branches
Data flow
Headend
Data flow
16
Basics
17
Basics
v CSMA Protocol
v CSMA/CD Protocol
v CSMA/CA Protocol
v TDMA Protocol
v Polling
v Token Passing
v Ring Expansion
18
IEEE 802
OSI
Reference Model
IEEE 802
Reference Model
Application
Other protocols
for these layers;
Independent of
network
architecture
Presentation
Session
Transport
Network
Data Link
Physical
LLC Service
Access Point
(LSAP)
IEEE 802
Physical
19
IEEE 802
Specifies
1. Topology
2. Transmission Medium
3. Encoding/decoding of signals
4. Preamble generation/removal (for synchronization)
5. Bit transmission/reception
20
IEEE 802
21
IEEE 802
Functions
1. Provides interface to higher layers
22
IEEE 802
Application
layer
TCP layer
IP
header
IP layer
LLC layer
LLC
header
MAC
header
MAC
header MAC layer
MAC frame
Application data
TCP segment
IP datagram
LLC protocol data unit
Wired Network Technologies/Protocols
MAC frame
23
2.2
24
RS422
Main Specifications
25
RS422
v
v
v
v
Driver or Transmitter
Line B
Receiver
v Signal Levels:
Logic 0
: Line B more positive than Line A
Logic 1
: Line A more positive than Line B
Differential voltage = 0.4 V to 12 V
v Max CM voltage permitted: 7V
v Twisted pair provides transposition of lines A & B
Wired Network Technologies/Protocols
26
RS422
UTP#1
Driver
Receiver
Master
Receiver
UTP#2
Tristate control
Driver
Slave
27
2.3
28
RS485
Main Specifications
29
RS485
Driver or Transmitter
Line B
Receiver
v Signal Levels:
Logic 0
: Line B more positive than Line A
Logic 1
: Line A more positive than Line B
Differential voltage :0.4 V to 12 V
v Max CM voltage permitted: 7V
v Twisted pair is used to achieve transposition of lines A & B
Wired Network Technologies/Protocols
30
RS485
TxD
RxD
Driver
UTP#1
Receiver
RxD
Tristate control
TxD
Receiver
Master
UTP#2
2012: Dr. H. K. Verma
Driver
Slave
31
RS485
TxD
RxD
Data flow
Driver
Receiver
Tristate control
UTP
RxD
TxD
Receiver
Master
Wired Network Technologies/Protocols
Driver
Slave
2012: Dr. H. K. Verma
32
2.4
HART Protocol
33
HART
REMOTE PLANT
4-20 mA dc
Reading Unit
4-20 mA
Controller
Sensor or
Measuring Device
Actuator or
Control Device
34
HART
Source: www.smar.com
35
HART
Signal Superimposition
Digital (FSK) signal is superimposed on
Analog (4-20 mA) signal
Source: www.smar.com
36
HART
Cable Specifications
One UTP
Maximum length of 1500 m
Alternatively, one STP
Maximum length of 3000 m
37
HART
Communication Configurations
HART protocol supports two com system configurations:
A. Point-to-Point Configuration
Both analog and digital communications are supported
One-to-one communication
B. Multi-drop or Party-line configuration
Only digital communication is supported
Primary Master (e.g. PC, Controller)
Secondary Master (e.g. Hand-held communicator)
Slaves (e.g. Field devices)
38
HART
Point-to-Point Configuration
A: Master + Slave
Analog
Master
Digital
Slave
Measuring
Instrument
Analog
Master
Slave
Actuator
Digital
39
HART
Point-to-Point Communication
B: Primary Master + Secondary Master + Slave
Source: www.smar.com
40
HART
Primary
Master
Secondary
Master
digital only
Field
Device
Field
Device
Field
Device
41
HART
A.Normal Mode or
Poll-Response Mode
B. Burst Mode
42
HART
Request
Master
Reply
Slave
(Field Instrument)
43
HART
Master
Reply in
burst mode
Slave
(Field Instrument)
44
HART
A. Universal Commands
B. Common-Practice Commands
C. Device-Specific Commands
45
HART
A. Universal Commands
Must be recognized and implemented by
every HART compliant field device
Examples:
Read manufacturer s name
Read model
Read serial number
Read range
Read process variable names
Read current output
46
HART
B. Common-Practice Commands
Recognized and implemented by
most HART-compliant field devices
Examples:
Read (upto 4) variables
Perform calibration check
Perform self-test
Write damping time constant
Write transmitter range
Set fixed current output
Note: A HART device can handle upto 256 process
variables and can communicate upto 4 process
variables in one message
Wired Network Technologies/Protocols
47
HART
C. Device-Specific Commands
Specific to a HART device
Examples:
Start, stop or clear (totalizer)
Select 0C/0F (temperature sensor)
Read alarm set point (relay)
Write alarm set point (relay)
Tune a control parameter (control device)
Select proportional / PID control (control device)
48
HART
49
HART
50
2.5
Ethernet/IEEE802.3
51
Ethernet
Server
Enterprise level
network
Control Terminal
(Ethernet / WAN)
Control Terminal
Industrial
Controller
Control level
network
(Ethernet)
PLC
Device-level
network (wired)
GD
FD
FD
AP
FD
FD
FD
Device-level
network (wireless)
FD
52
Ethernet
53
Ethernet
10 BASE-5
10 BASE-2
10 BASE-T
10 BASE-F
54
Ethernet
10 BASE-2
Cable: Thin coaxial
Max. segment length: 185m
Topology supported: Bus
Wired Network Technologies/Protocols
55
Ethernet
56
Ethernet
100 BASE- TX
100 BASE- T4
100 BASE- FX
57
Ethernet
58
Ethernet
100 BASE-FX
v Cable: MMF
v Single fibre for half-duplex operation
v Two fibres for full-duplex operation
v Intensity modulation is specified
Binary 1: Represented by high intensity light pulse
Binary 0: Represented by very-low intensity light pulse or
by absence of light pulse
59
Ethernet
60
Ethernet
61
Ethernet
1000 Base-SX
OFC
Wavelength
Max. Length
62.5 m MMF
275 m
50 m MMF
550 m
Wavelength
Max. Length
62.5 m MMF
550 m
50 m MMF
550 m
10 m SMF
5 km
1000 Base-LX
OFC
62
Ethernet
63
Ethernet
Alternative
OFC
10G Base-S
62.5 m MMF
50 m MMF
850 nm
850 nm
30 m
300 m
10G Base-L
10 m SMF
1310 nm
10 km
10G Base-E
10 m SMF
1550 nm
40 km
10G Base-LX4
1310 nm
300 m
50 m MMF
1310 nm
300 m
10 m SMF
1310 nm
10 km
64
Ethernet
65
Ethernet
66
Ethernet
octets
Preamble
1
Start
Frame
Delimiter
6
Destination
Address
Source
Address
Length
44 to 1498
Application
Data
Pad
4
Frame
Check
Sequence
67
MODBUS
2.6
68
69
Application
Presentation
Session
Empty
Transport
Network
Data Link
Master-Slave Protocol
Physical
70
Master-Slave Protocol
1. Communication always initiated by master
2. A slave transmits data (replies) only on master s request
3. Slave nodes never communicate with each other
4. Master node initiates only one transaction at a time
5. Master s request to slaves are either in Unicast mode or in
Broadcast mode
71
Request/Response Modes
Unicast Mode
Master addresses an individual slave
Only the addressed slave replies to master
Broadcast Mode
Master addresses all slaves on the bus
All slaves accept broadcast message for writing function
No reply is sent to master
72
Address
Purpose
Broadcast address
1-247
248-255
Reserved
73
8 data bits
(LSB .. MSB)
Parity bit
Stop bit
8 data bits
(LSB .. MSB)
Stop bit
2012: Dr. H. K. Verma
Stop bit
74
Master-to-Slave
Message (Request)
Slave-to-Master
Message (Response)
1. Address
Slave address
Slave address
2. Function Code
3. Data
Request parameters
Bytes
1
Address
Function Code
R e s p o n s e
parameters & values
CRC
0-252
Data
75
Stop bit
76
Master-to-Slave
Message (Request)
1. Start Delimiter
Slave-to-Master
Message (Response)
2. Address
Slave address
Slave address
3. Function Code
4. Data
Request parameters
R e s p o n s e
parameters & values
LRC
6. End Delimiter
CR, LF
Characters
CR, LF
1
Start
delimiter
0-2x252
Address
Function
code
Data
LRC
End delimiter
CR, LF
77
2.7
Foundation Fieldbus
78
Foundation Fieldbus
IEC-61158 Standard
v I n t e r n a t i o n a l S t a n d a r d f o r
Digital Data
Communications for Measurement and Control
Fieldbus for Use in Industrial Control Systems
v Communication speeds: 31.25 kbps, 1 Mbps, 2 Mbps
v Specifies operation over 2 wires carrying power as
well as com signals
v Specifies multi-drop operation with minimum of 30
devices
v Operation in hazardous areas using intrinsic safety
techniques
v Interoperability between equipments from different
manufacturers.
79
Foundation Fieldbus
Important Fieldbuses
S.
Bus
No.
Developer
Year
Application Area
Modbus
AEG Modicon
MAP(2)
LON(3)
Echelons
Profibus(4)
Siemens
SDS(5)
Honeywell
CAN(6)
Bosch
1995 Automobiles
Foundation Fieldbus
Fieldbus
Foundation
Foundation Fieldbus
81
Foundation Fieldbus
FF Protocol Stack
Message Specs
Access
Presentation
Session
empty
Transport
Network
Data Link
Physical
Physical
82
Foundation Fieldbus
83
Foundation Fieldbus
84
Foundation Fieldbus
B - Topologies Supported
Bus Topology
Supported at all speeds
Tree Topology
Supported at 31.25 kbps only
85
Foundation Fieldbus
IS
Barrier
Terminator
(Optional)
Coupler
Spur
Field
device Spur
Coupler
Coupler
Field
device Spur
Field
device
86
Foundation Fieldbus
Terminator
Trunk
Terminator
Coupler
Coupler
Field
device
Field
device
Field
device
Field
device
87
Foundation Fieldbus
: 15-20 mA p-p
Cycle
Cycle
Cycle
Cycle
Cycle
Cycle
Clock
Data
Manchester
signal
Bit value
88
Foundation Fieldbus
1900 m
750 m
1200 m
400 m
Single or multiple
twisted pair without
any shield
200 m
Multiple conductor
cable without twisted
pairs
500 m
89
Foundation Fieldbus
Length of Spur
Devices on bus
1-12
120 m
13-14
90 m
15-18
60 m
19-24
30 m
25-32
0 m (none)
90
Foundation Fieldbus
Octets
n+4
Preamble
Start delimiter
End delimiter
Destination
address
Source
address
Data from
AL
Frame check
sequence (CRC)
91
Foundation Fieldbus
MAC Protocol
v Network can have multiple masters
v So MAC Protocol is fusion of:
Token-passing principle
o Used by masters to initiate communication
o Token passed to next master after communication is
finished
Polling principle
o Used by the master to poll slaves
o The master requests, the addressed slave responds
o So all frames contain SA and DA
92