Universitá degli Studi di MSc Thesis L’Aquila in Global Software Engineering (GSEEM) Integrating Wireless Systems into Process Industry and Business Management Federico Ciccozzi Mälardalens Högskola, Västerås (Sweden) Universitá degli Studi, L’Aquila (Italy) ABB Corporate Research, Västerås (Sweden) Examiner: Ivica Crnkovic (MDH) Supervisors: Tiberiu Seceleanu (ABB CR) Antonio Cicchetti (MDH) Mälardalens Högskola, Västerås 10th September 2009 1 Integrating Wireless Systems into Process Industry and Business Management Universitá degli Studi di L’Aquila Agenda • • • • • Thesis topic Wired-Wireless network protocols Application development process Live demonstration Conclusions Västerås, 10th September 2009 2 Integrating Wireless Systems into Process Industry and Business Management Universitá degli Studi di L’Aquila Thesis Topic (1/3) • Service-Oriented Cross-layer infRAstructure for Distributed smart Embedded deviceS • Development of a design, execution and management platform for next-generation industrial automation systems. • The thesis work provides a system which integrates different control layers of the same industrial process: – Wired control – Wireless control – Remote control by the Enterprise Business Management layer through the Internet Västerås, 10th September 2009 3 Integrating Wireless Systems into Process Industry and Business Management Universitá degli Studi di L’Aquila Thesis Topic (2/3) SAP Plant Control System Västerås, 10th September 2009 4 Integrating Wireless Systems into Process Industry and Business Management Universitá degli Studi di L’Aquila Thesis Topic (3/3) SAP Plant Control System Västerås, 10th September 2009 5 Integrating Wireless Systems into Process Industry and Business Management Universitá degli Studi di L’Aquila Networks • Wired network protocols: – Fieldbus Foundation – PROFINET – Ethernet Industrial Protocol (EtherNet/IP) – DeviceNet – CANopen – MODBUS Västerås, 10th September 2009 6 Integrating Wireless Systems into Process Industry and Business Management Universitá degli Studi di L’Aquila MODBUS • • • • • • Messaging protocol Client/Server communication between devices placed among different networks/buses De-facto standard for industrial wired networks From serial communication lines to TCP/IP networks Messages’ format not dependable on the physical interface Simplicity, flexibility Västerås, 10th September 2009 7 Integrating Wireless Systems into Process Industry and Business Management Universitá degli Studi di L’Aquila Networks (2/2) • Wireless network protocols: – IEEE 802.11(1997/a/b/g/n) – IEEE 802.15 (Bluetooth - ZigBee) – IEEE 802.16 (WiMax) – WirelessHART Västerås, 10th September 2009 8 Integrating Wireless Systems into Process Industry and Business Management Universitá degli Studi di L’Aquila WirelessHART • • • • • First open wireless communication standard designed for industrial environments Reliability: mesh networking, channel hopping, time-synchronized messaging Security & Privacy: encryption, authentication, verification, key management Effective power management: smart data publishing Self-organizing ability through three steps: advertising, joining, scheduling Västerås, 10th September 2009 9 Integrating Wireless Systems into Process Industry and Business Management Universitá degli Studi di L’Aquila XML-RPC Communication Protocol • XML-encoded remote procedure calls over HTTP transport mechanism • Combination of three standards: – Communication architecture (RPC) – Vocabulary (XML) – Transport mechanism (HTTP) Västerås, 10th September 2009 10 Integrating Wireless Systems into Process Industry and Business Management Universitá degli Studi di L’Aquila Communication Manager Application • • • • Development process Requirements specification Design specification Implementation Västerås, 10th September 2009 11 Integrating Wireless Systems into Process Industry and Business Management Universitá degli Studi di L’Aquila Development Process Västerås, 10th September 2009 12 Integrating Wireless Systems into Process Industry and Business Management Universitá degli Studi di L’Aquila Requirements Specification • Functional Requirements • Extra-Functional Requirements Västerås, 10th September 2009 13 Integrating Wireless Systems into Process Industry and Business Management Universitá degli Studi di L’Aquila Functional Requirements Västerås, 10th September 2009 14 Integrating Wireless Systems into Process Industry and Business Management Universitá degli Studi di L’Aquila Extra-Functional Requirements • Reliability of data in the shared memory: replies to network configuration requests within 1 sec • Shared memory race-conditions-free access: mutex lock system granting single access to the critical region Västerås, 10th September 2009 15 Integrating Wireless Systems into Process Industry and Business Management Universitá degli Studi di L’Aquila Design Specification • Conceptual design • Structural design • Behavioral design Västerås, 10th September 2009 16 Integrating Wireless Systems into Process Industry and Business Management Universitá degli Studi di L’Aquila Conceptual Design Västerås, 10th September 2009 17 Integrating Wireless Systems into Process Industry and Business Management Universitá degli Studi di L’Aquila Structural Design Västerås, 10th September 2009 18 Integrating Wireless Systems into Process Industry and Business Management Universitá degli Studi di L’Aquila Behavioral Design (1/3) Västerås, 10th September 2009 19 Integrating Wireless Systems into Process Industry and Business Management Universitá degli Studi di L’Aquila Behavioral Design (2/3) [query ok] [query error] Västerås, 10th September 2009 20 Integrating Wireless Systems into Process Industry and Business Management Universitá degli Studi di L’Aquila Behavioral Design (3/3) Västerås, 10th September 2009 21 Integrating Wireless Systems into Process Industry and Business Management Universitá degli Studi di L’Aquila Implementation • Unix (Linux Ubuntu 7.10) • ANSI-C: programming language • Xmlrpc-C: library for xml-rpc client/server applications development in C • Libmodbus: library for MODBUS master/slave applications development in C Västerås, 10th September 2009 22 Integrating Wireless Systems into Process Industry and Business Management Universitá degli Studi di L’Aquila Live Demonstration Scenario SAP Plant Control System Västerås, 10th September 2009 23 Integrating Wireless Systems into Process Industry and Business Management Universitá degli Studi di L’Aquila Operator’s Perspective Västerås, 10th September 2009 24 Integrating Wireless Systems into Process Industry and Business Management Universitá degli Studi di L’Aquila Business Management Layer Västerås, 10th September 2009 25 Integrating Wireless Systems into Process Industry and Business Management Universitá degli Studi di L’Aquila Conclusions • Challenges: – – – – Wired/Wireless protocols interaction Reliabilty and security of shared common data Actual plant loops modeling Parallel control: local, remote (Internet) • Future developments: – Usage of the communication manager application in a real-life demonstration – Extensions for supporting other important fieldbuses: PROFINET, PROFIBUS, Fieldbus Foundation – Tool for user-mapping of shared data between wired/wireless devices. Västerås, 10th September 2009 26 Integrating Wireless Systems into Process Industry and Business Management Universitá degli Studi di L’Aquila I would like to Thank… • Tiberiu Seceleanu, Johan Åkerberg (ABB CR) • Prof. Ivica Crnkovic, Antonio Cicchetti (MDH) Västerås, 10th September 2009 27 Integrating Wireless Systems into Process Industry and Business Management Universitá degli Studi di L’Aquila Thanks for the attention.. Questions?! Västerås, 10th September 2009 28 Integrating Wireless Systems into Process Industry and Business Management