19
1 Security Technology 2007-2007-PICT les 1

1Security Technology 2007-2007-PICT les 1. 2 Netwerken in productiesystemen

Embed Size (px)

Citation preview

Page 1: 1Security Technology 2007-2007-PICT les 1. 2 Netwerken in productiesystemen

1Security Technology 2007-2007-PICT les 1

Page 2: 1Security Technology 2007-2007-PICT les 1. 2 Netwerken in productiesystemen

2Security Technology 2007-2007-PICT les 1

Netwerken in productiesystemen

Page 3: 1Security Technology 2007-2007-PICT les 1. 2 Netwerken in productiesystemen

3Security Technology 2007-2007-PICT les 1

Automatiseringspiramide

ERP (Enterprise Resource Planning)

MES (Manufacturing Execution System)

SCADA (Supervisory Control and Data Aquasition)

Page 4: 1Security Technology 2007-2007-PICT les 1. 2 Netwerken in productiesystemen

4Security Technology 2007-2007-PICT les 1

Page 5: 1Security Technology 2007-2007-PICT les 1. 2 Netwerken in productiesystemen

5Security Technology 2007-2007-PICT les 1

Criteria bij veldbussen

Controle, Event, Data Snelheid (real time) Prioriteiten systeem Betrouwbaarheid /

robuustheid veiligheid Software / tools / platform Medium keuze Voeding distributie

Aansluiting Bereik Standaardisering

(leveranciers) Behuizing / vormgeving Onderhoud Kosten

Page 6: 1Security Technology 2007-2007-PICT les 1. 2 Netwerken in productiesystemen

6Security Technology 2007-2007-PICT les 1

Embedded netwerken

Ongeveer 70 microcontrollers in een moderne automobiel

Page 7: 1Security Technology 2007-2007-PICT les 1. 2 Netwerken in productiesystemen

7Security Technology 2007-2007-PICT les 1

Applicaties Automotive (Abus, CAN, DIN,

VAN) Trein, metro en tram (Bitbus,

DIN, WTB, IBIS) Gebouwautomatisering

(Batibus, CEBus, EIBus, Homebus, LON)

Procesautomatisering (Bitbus, CAN, FAIS, ISP, Profibus)

Aandrijftechniek (Drivecom, Encom, Profibus/DP, Sercos)

Embedded systems (I2C-bus, CAN, Microwire, Open-Access Bus)

Sensor/Actuator (AS-I, CAN, Profibus/DP, Sensorbus)

Landbouw (DIN, LBS) Overigen (Arinc, C-Mac, Midi, Mil-

Std 1553, Batterybus)

Page 8: 1Security Technology 2007-2007-PICT les 1. 2 Netwerken in productiesystemen

8Security Technology 2007-2007-PICT les 1

Netwerk typeringen

Master / Slave relatie; wie neemt initiatieven

(Single master / multple slave,

Multiple master / Multiple slave ?)

Client / Server

(request, response)

Producer / Consumer

Toegang tot het

medium

Communicatie over het medium

Page 9: 1Security Technology 2007-2007-PICT les 1. 2 Netwerken in productiesystemen

9Security Technology 2007-2007-PICT les 1

I2C bus

Designed for low-cost, medium data rate applications. 100 – 400 kbits/sec

Characteristics: serial; multiple-master (vaak single-master gebruikt); fixed-priority arbitration. fixed addresses (7- or 10-bits, some reserved)

Several microcontrollers come with built-in I2C controllers.

Page 10: 1Security Technology 2007-2007-PICT les 1. 2 Netwerken in productiesystemen

10Security Technology 2007-2007-PICT les 1

I2C physical layer

master 1 master 2

slave 1 slave 2

SCL

SDLdata line

clock line

Page 11: 1Security Technology 2007-2007-PICT les 1. 2 Netwerken in productiesystemen

11Security Technology 2007-2007-PICT les 1

I2C electrical interface

SDL

+Open collector interface:

SCL

+

Page 12: 1Security Technology 2007-2007-PICT les 1. 2 Netwerken in productiesystemen

12Security Technology 2007-2007-PICT les 1

I2C data link layer

Every device has an address (7 bits in standard, 10 bits in extension). Bit 8 of address signals read or write.

Page 13: 1Security Technology 2007-2007-PICT les 1. 2 Netwerken in productiesystemen

13Security Technology 2007-2007-PICT les 1

I2C bus arbitration(Collision Avoidance)

Sender listens while sending address. When sender hears a conflict, if its address is

higher, it stops signaling.

Page 14: 1Security Technology 2007-2007-PICT les 1. 2 Netwerken in productiesystemen

14Security Technology 2007-2007-PICT les 1

CAN Controller Area Network(Bosch)

Producer / Consumer model Bus Arbitration (CSMA/Arbitration on Message Priority) Remote Transmission Request Deterministic (< 2 ms, real time) Error Detection Speed max. 1 Mbit/s (< 40m) Cable length max. 10 km (5kb/s) 128 nodes / subnet

Page 15: 1Security Technology 2007-2007-PICT les 1. 2 Netwerken in productiesystemen

15Security Technology 2007-2007-PICT les 1

Producer / Consumer

CANStation 1

(Consumer)

CANStation 2

(Producer)

CANStation 3

(Consumer)

CANStation 4

(Consumer)

Frame I

LocalIntelligence

LocalIntelligence

LocalIntelligence

LocalIntelligence

bus lines

FilterFilter Filter Filter

Page 16: 1Security Technology 2007-2007-PICT les 1. 2 Netwerken in productiesystemen

16Security Technology 2007-2007-PICT les 1

CAN frame

Page 17: 1Security Technology 2007-2007-PICT les 1. 2 Netwerken in productiesystemen

17Security Technology 2007-2007-PICT les 1

node 1 listening only

node 2 listening only

node 3

bus-level

Node 3 wins arbitration and transmits his data.

S RO Identifier T Control DataF 10 9 8 7 6 5 4 3 2 1 0 R Field Field

CAN Bus Arbitration Method

dominant

recessive

Page 18: 1Security Technology 2007-2007-PICT les 1. 2 Netwerken in productiesystemen

18Security Technology 2007-2007-PICT les 1

Profibus

Page 19: 1Security Technology 2007-2007-PICT les 1. 2 Netwerken in productiesystemen

19Security Technology 2007-2007-PICT les 1

Tentamenstof

hoofdstuk 10, 15, 16