200 likes | 317 Views
Veldbussen. Netwerken in productiesystemen. Automatiseringspiramide. ERP (Enterprise Resource Planning). MES (Manufacturing Execution System). SCADA (Supervisory Control and Data Aquasition). Embedded netwerken. Ongeveer 70 microcontrollers in een moderne automobiel. Controle, Event, Data
E N D
Veldbussen Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology
Netwerken inproductiesystemen Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology
Automatiseringspiramide ERP (Enterprise Resource Planning) MES (Manufacturing Execution System) SCADA (Supervisory Control and Data Aquasition) Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology
Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology
Embedded netwerken Ongeveer 70 microcontrollers in een moderne automobiel Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology
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 Criteria bij veldbussen Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology
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) Applicaties Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology
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 Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology
I2C bus • Designed for low-cost, medium data rate applications. • 100 – 400 kbits/sec • Characteristics: • serial; • multiple-master; • fixed-priority arbitration. • fixed addresses (7- or 10-bits, some reserved) • Several microcontrollers come with built-in I2C controllers. Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology
I2C physical layer master 1 master 2 data line SDL clock line SCL slave 1 slave 2 Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology
I2C electrical interface + Open collector interface: SDL + SCL Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology
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. Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology
I2C bus arbitration(Collision Avoidance) • Sender listens while sending address. • When sender hears a conflict, if its address is higher, it stops signaling. Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology
CANController 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 Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology
Producer / Consumer CAN Station 1 (Consumer) CAN Station 2 (Producer) CAN Station 3 (Consumer) CAN Station 4 (Consumer) Local Intelligence Local Intelligence Local Intelligence Local Intelligence Frame I Filter Filter Filter Filter bus lines Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology
CAN frame Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology
Bus Arbitration Method S R O Identifier T Control Data F 10 9 8 7 6 5 4 3 2 1 0 R Field Field node 1 listening only node 2 listening only node 3 bus-level Node 3 wins arbitration and transmits his data. recessive dominant Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology
Profibus Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology
Opdracht • bestudeer hoofdstuk 16 • Practicum ! Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology