Академический Документы
Профессиональный Документы
Культура Документы
http://truongdinhchau.net
Summary
Introduction to Industrial
Communication
What is Communication?
Smoke signals
Telegraph
Digital exchange
Why Communication?
Same Radio models (ID)
Transmit by Air
Same Frequency
Radio must be Switched on
Same Language
Do not speak in the same time
Acknowledge the message
Translator
Language
Medium
Transmitter
Collision
Receiver
Id = 2
Acknowledgement
Id = 3
Id = 4
6
Industrial Communication
Serial link
Digital
data
1
Communication Solution
Analogue speed
command 0-10 V
Wired Solution
7
Easiness of Replacement
Train Example
Machine
Application
Same Language?
Protocol
Presentation
Radio AM or FM?
Format Conversion
Radio ON?
History + Organisation
Message Received?
Network
Same Frequency?
Address
Data Link
Access Control
Physical
Hardware
Session
Transport
Clothes
Suitcase
Name Tag
Dest. tag
Airplane
10
Market Requirements
1 Mb
1
minute
Files in N x seconds
Level 3
Company
Information System
Data bus
PC - Servers
Level 2
Process
Production management
1 Kb
1s
AMOUNT
N xBE
10 words in N x 100 ms
OF DATA TO
TRANSMITTED
RESPONSE
TIME
REQUIRED
N x words in N x 10 ms
1 bit
1 ms
N x bits in N x ms
Field bus
Level 1
Machines
Device bus
Level 0
Components
Sensor bus
PLCs - GUI
Reaction detection
Digital actuators sensors
11
Machine
Response time
AS-i*
Sercos,,
Interbus S
CANopen*
Process
DeviceNet
Fipio
Fipway
Modbus +
Management
Modbus*
Profibus DP / PA
Profibus FMS
Ethernet TCP/IP*
1 bit
byte
K byte
12
Choice of a Network
APPLICATION
LAYER
LINK
content, periodicity?
Service data: Accessible variables, max. size?
LAYER
PHYSICAL
LAYER
13
Terminology
Half / Full duplex
PLC
COLLISION
I/O
TRANSMIT
TRANSMIT
PLC
I/O
14
Terminology (Cont.)
Kbps
= Kilobits (1024 bits) per second (binary) but
kbps
= kilobits (1000 bits) per second (decimal)
KBps
= Kilobytes (1024 bytes) per second (binary)
kBps
= kilobytes (1000 bytes) per second (decimal)
15
Terminology (Cont.)
Differential Signal
16
Terminology (Cont.)
Cyclic Exchange / Implicit Exchange
Process data / high priority
Data exchanged between device periodically on demand.
Managed automatically / defined in configuration
17
18
Radio links
19
Common Medium
Twisted pair(s) wires
Low
Coaxial cable
The coaxial cable has excellent electrical
properties and is suitable for high speed
transmission.
Cost of
the
medium
Optical fiber
This is suitable for use in harsh industrial
environments. The transmission is reliable over long
distances.
High
20
RS422
Full-duplex (simultaneous bidirectional) multi-drop bus on 4
wires.
Differential signal : good immunity to interference
Max. length : 1000 m at 100 Kbps, Max. speed : 12 Mbit/s
Maximum devices on the bus : 32
Using example : Interbus S fieldbus
RS485
Half-duplex (alternate bidirectional) multi-drop bus on 2 wires.
Same electrical characteristics as RS422A but on 2 wires.
Using example : Modbus, Profibus fieldbus
21
Various topologies
POINT-TO-POINT
Bypass
BUS
Example: PC - PLC
console connector link
Chaining
Example: CANopen,
DeviceNet, Profibus-DP,
FIPIO, Modbus RS485
RING
GRID
Example: Interbus S
Example:
Internet network
via routers
TREE
STAR
Example : Devices
connected over
Ethernet via a HUB
Example:
Intranet network
via hubs and switches
22
23
Master-Slave system
The master grants access to the medium
The slave can access the medium after being polled by the master
Polling
Do you have anything to say?
MASTER
Nothing to declare!
SLAVE
Response
Used by Asi, FIPIO, Modbus, Profibus-DP and Uni-Telway
Can be used on CANopen and DeviceNet (by configuration)
24
Token Ring
Ring: the members of a ring are authorized to send data upon receipt of
the token.
Token: a group of bits passed from one node to another in ascending
order of address.
Address 2
Address 1
Address 3
Address 4
25
Random access
Each device "listens" whilst it transmits
Data can be transmitted as soon as a silence is detected.
If the data received is different from the data sent, a
collision occurs
2 types of collision
destructive
non-destructive
26
Stop
Waiting time 5s
27
Dominant
Recessive
Dominant
Recessive
Dominant
Recessive
29
Stop
Recessive
30
31
Transport Layer
Responsible for delivery the message
Ethernet Chapter
32
Presentation Layer
Present the message on a specific format
Wikipedia
33
Application Layer
34
CLIENT
Response
SERVER
35
It s 6 pm
I m going to miss
my train !!!
CONSUMER N1
Let s go to see
a movie...
PRODUCER
CONSUMER N2
36
Errors Detection
Undetected Errors Are Disturbing
Many Systems / Algorithms to Detect Errors
Parity bits, CRC checks, stuffing bits, timeouts, ACK slotsI
Performance Measurement
Hamming distance
37