You are on page 1of 29

Automation Systems and Industrial Electronics Engineering

M
A
S
T
Study of an innovative SCADA system based on
E Industrial Shields PLC
R
MSc in Automation Systems and Industrial Electronics
Electrical Energy Optimization

T
H
E
S Author: Oriol Filló Claret
Supervisor: Jordi Zaragoza May 2016
I
S
1
Automation Systems and Industrial Electronics Engineering

1. Objectives
C 2. Scope
3. Justification
O 4. Specifications
N 5. Alternatives
6. Development
T 6. 1 Communications
E 6. 2 HMI
7. Budget & Economical feasibility
N 8. Environmental Impact
9. Planning
T 10. Environmental implications
S 11. Results & Conclusions
12. Future lines
13. Bibliography
14. Acknowledgements
15. Questions
2
Automation Systems and Industrial Electronics Engineering

1
O
B
J • Industrial communication protocols to Industrial
Shields PLCs
E
• Development of a SCADA system prototype with
C
Industrial Shields PLCs
T
• Proof of concept of a SCADA system based on
I alternative and open-source solutions
V
E
S

3
Automation Systems and Industrial Electronics Engineering

• Implementation  Modbus RTU over RS-485 (master /slave)

• Development of an HMI  supervision and control purposes


S
C
• Implementation of TCP over Ethernet in a LAN
O (PLC HMI)
P
E Sensors

• Integration to the SCADA sytem of Data acquisition equipment

Actuators

4
Automation Systems and Industrial Electronics Engineering

J Open-standard systems
• IoT
U • Industry 4.0
S
T
I
Modbus RTU (Modbus)
F
I • widely extended in the industry
• demanded feature
C
A
T TCP-IP

T • Protocol of the Internet


I
O
5
N
Automation Systems and Industrial Electronics Engineering

4
Case study – Reference plant
S
P Water tank in the save water system

E
C
I
F
I
C
A
T
I
O
N
6
S
Automation Systems and Industrial Electronics Engineering

4
S
P
E
REFERENCE PLANT
C
I
F
I
C
STUDY PLANT
A
T
I
O
N
7
S
Automation Systems and Industrial Electronics Engineering

4 Capabilities and system configuration


S • Centralized configuration
controller receives all the variable values (chloride, PH, turbidity).
P operates the dosing pumps accordingly.
• Adjustable variable limits from a remote location.
E • Variables updated on the HMI at a minimum rate of 15 minutes and stored in files.

C User interface
• The user interfaces is an HMI on a remote PC with internet connection.
• All variables and actuators states are visible on the HMI
I • The limits of the variables (max,min) are set manually on the HMI
F Data acquisition equipment and actuators
• Inputs
I o Seko Kontrol 800  chloride, PH, turbidity
o Water intake and water outtake of the tank meters. Water tank level meter.
C • Outputs
o Dosing pumps  Seko Tekna EVO APG800 (ANNEX D: Datasheets).
A o Each dosing pump have a digital control valve.
o Water intake and outtake analog control valves.
T
Control of the variables
I Each variable has a maximum and minimum limit and its value must be contained within this range.

O Alarms
• Upgraded compared to the reference plant:
N o including more information on faults when there is an alarm.
o up-to-date communication such as internet, instead of SMS. 8
S
Automation Systems and Industrial Electronics Engineering

5
PLC
• Industrial Shields (open-source )
o Low-cost
A o Flexibility
o No-licensing
L o Accessibility
o Programmed as an Arduino (C / C++ language)
T
• Standard industrial PLC (i.e.: Siemens )
E o Widespread knowledge on the technology
o Ready-to-use solutions.
R o More mature technology

N HMI
A • LabView
o Ready –to-use graphical tools
T o Intuitive programming language
o Extensive documentation and resources.
I o Previous experience

• C# and Visual Studio


V o Not-graphical language
o Not ready-to-use tools
E o Extensive documentation resources
S
9
Automation Systems and Industrial Electronics Engineering

6 6.1 COMMUNICATIONS IMPLEMENTATION

D Modbus RTU (RS-485)


E • Search & adaption of Arduino IDE library SimpleModbus

V • Master & Slave configurations


E RS-485 Slave
Master
(M-Duino) (Ardbox)
L
O • Master & Slave simulator
P
Master RS-485 Slave simulator
M (M-Duino)
RS485
/USB
(PC)

E
• Final implementation
N
Master
T (M-Duino) RS-485
Slave
(Seko)

10
Automation Systems and Industrial Electronics Engineering

6 6.1 COMMUNICATIONS IMPLEMENTATION

TCP (LAN)
D
E • Search & implementation of Arduino IDE library UIPEthernet

V • TCP communication configuration

E TCP
TCP Client TCP server
L (M-Duino) LAN (LabView)

O
P
message=mes+iter;
M CLIENT i=i+1;
(M-Duino) client.print(message.length());
E client.print(message);

N
T SERVER
(LabView)

11
Automation Systems and Industrial Electronics Engineering

6 6.1 COMMUNICATIONS IMPLEMENTATION

D TCP (LAN)

E • TCP communication configuration


V
E
L
message = s_Var[0] + c + s_Var[1]…
O string MinFl+ c +MaxFl…

P
M TCP
E
N
T

12
Automation Systems and Industrial Electronics Engineering

6 6.2 HMI
• ForcedVariables
D • Non-forced variables
E • Logic state / motion

V
E
L
O
P
M
E
N
T

13
Automation Systems and Industrial Electronics Engineering

6 6.2 HMI
• Alarm Notifications
D • Save
E • Controls

V
E
L
O
P
M
E
N
T

14
Automation Systems and Industrial Electronics Engineering

6 6.2 HMI
• DSC Modul
D
E
V
E
L
O
P
M
E
N
T

15
Automation Systems and Industrial Electronics Engineering
7
B
U
D
G
E
T
&
F
E
A
S
I
B • Low cost of the controller FESEABILE PROJECT
I • Development price within market range
L
.
16
Automation Systems and Industrial Electronics Engineering
8

T
I
M
E
L
I
N
E

17
Automation Systems and Industrial Electronics Engineering
9
E
N
V Upgrade of the management & maintenance system
I
R Savings of resources & time. i.e.: on plant check-ups
O
N
M
.
Industrial Shields Flexibility & adaptability  reduced incompatibilities

I Savings of resources . i.e.: retrofitting & extensions


M
P
L
I
C
18
.
Automation Systems and Industrial Electronics Engineering
10
Industrial communication protocols to Industrial Shields PLCs
• Modbus RTU over RS-485 (master /slave)
R
E • TCP over Ethernet in a LAN
(PLC HMI)
S
Already has an effect for customers and projects
U
L Development of a SCADA prototype with Industrial Shields PLCs
T
• Interaction between HMI and PLC
S • Meet the set sepcifications

Proof of concept of a SCADA system based on open-source tech

• Open-source based SCADA prototype

19
Automation Systems and Industrial Electronics Engineering
11
Industrial communication protocols to Industrial Shields PLCs

C • All the set objectives at the beginning of this project have been
O achieved.
N • The developed communications and prototype have proved to be a
C useful realization. All parts of this project have already been applied
L by Industrial Shields customers.
U
S • Industrial Shields dispose now of a prototype or SCADA example
I developed with its PLCs which serves as model.
O
N • It was shown that a SCADA system based on open-source is possible
S and already an alternative to standard automation systems.

20
Automation Systems and Industrial Electronics Engineering

12
F Possible lines to be explored in a second phase of this study
U
T Development of a thorough reconnection capability.
U
R
Creation of a database and web server application.
E

L
Development of security protocol.
I
N .

E
S

21
Automation Systems and Industrial Electronics Engineering

13
• AEG Schneider Automation. (1996). Modicon Modbus Plus Network Planning and Installation Guide.
November 2015.Schneider Electric:
B
• Arduino. (2005). Arduino. January de 2016. https://www.arduino.cc/en/Main/Software
I
• Arduino Robotics. (2014). Send an Email from Labview. December de 2015. Youtube:
B https://www.youtube.com/watch?v=_wsoQevRDAM
L • arduino.cc. (2012). SoftwareSerial. November 2015. arduino.cc:
https://www.arduino.cc/en/Reference/SoftwareSerial
I
O • arduino.cc. (2012). TwoPortReceive. November 2015. arduino.cc:
https://www.arduino.cc/en/Tutorial/TwoPortReceive
G
• Armengol, S. (2014). Modbus-Master-Slave-for-Arduino. github.com:
R https://github.com/smarmengol/Modbus-Master-Slave-for-Arduino

A • Bester, J. (2012). Simple Modbus. November 2015. code.google.com:


https://code.google.com/archive/p/simple-modbus/
P
• Bies, L. (2002). RS232 Specifications and standard. November 2015.
H http://www.lammertbies.nl/comm/info/RS-232_specs.html
Y • Boot & Work Corp, S.L. (2016). Industrial Shields. http://www.industrialshields.com/es/

22
Automation Systems and Industrial Electronics Engineering

13
• Forouzan, B. A. (2010). TCP/IP Protocol Suite. Mcgraw-Hill.

B • Google. (2011). Allowing less secure apps to access your account. December 2015. google.com:
https://support.google.com/accounts/answer/6010255?hl=en
I
• Google. (2012). Configuración de SMTP de Google Apps para enviar correo desde una impresora, un escáner o
B una aplicación. December 2015.Google: https://support.google.com/a/answer/176600?hl=es
L • HMS Industrial Networks. (2006). Modbus Plus - Local Area Network. November 2015 .HMS Industrial
Networks: http://www.anybus.com/technologies/modbusplus.shtml
I
O • IndView. (2014). SCADA in LabVIEW - Animating a fan. September 2015. Youtube:
https://www.youtube.com/watch?v=SfYPvzCQRQk
G
• Maxim Integrated Products, Inc. (2012). Low-Power, Slew-Rate-Limited RS-485/RS-422 Transceivers.
R November 2015. Maxim Integrated: http://datasheets.maximintegrated.com/en/ds/MAX1487-
MAX491.pdf
A
• Microsoft. (2005). Technet.microsoft. November 2015. https://technet.microsoft.com/en-
P us/library/cc775383(v=ws.10).aspx
H • Modbus Organization, Inc. (1996). Modicon Modbus Protocol Reference Guide. January 2016. modbus.org:
http://modbus.org/docs/PI_MBUS_300.pdf
Y
• Modbus, I. (2006). Modbus messaging on tcp/ip implementation guide v1. 0b. January 2016. modbus.org:
http://www.modbus.org/docs/Modbus_Messaging_Implementation_Guide_V1_0b.pdf
23
Automation Systems and Industrial Electronics Engineering

13
• National Instruments. (2012). National Instruments Corporation-Labview. January 2016.
http://www.ni.com/labview/esa/
B
• National Instruments Corp. (2011). TCP Listen VI. January 2016. http://zone.ni.com/:
I http://zone.ni.com/reference/en-XX/help/371361H-01/lvcomm/tcp_listen/

B • National Instruments Corporation. (2013). When to Use UDP Instead of TCP. November 2015. National
Instruments Corporation.
L
• National Instruments Corporation. (2015). Basic TCP/IP Communication in LabVIEW. January 2016.
I National Instruments Corporation: http://www.ni.com/white-paper/2710/en/
O
• Saboya, N. G. (2012). Serial Communication Standards: RS-232,RS-422 y RS-485. November 2015.
G unilibre.edu.co: http://www.unilibre.edu.co/revistaingeniolibre/revista-11/art13.pdf

R • Siemens Energy & Automation. (2005). Modbus and ION Technology. January 2016. Siemens
Corporation:
A
• Simplymodbus. (2006). Data Communication Solutions.November 2015. .Simplymodbus:
P • http://www.simplymodbus.ca/
H • SparkFun Electronics. (2013). Serial Communication. November 2015. SparkFun Electronics:
https://learn.sparkfun.com/tutorials/serial-communication
Y
• Texas Instruments Incorporated. (2011). RS-485 Unit Load and Maximum Number of Bus. November
2015.Texas Instruments Incorporated: http://www.ti.com/lit/an/slla166/slla166.pdf
24
Automation Systems and Industrial Electronics Engineering

13
• Texas Instruments Incorporated. (2011). The RS-485 Design Guide. November 2015. Texas Instruments
B Incorporated: http://www.ti.com/lit/an/slla272b/slla272b.pdf

I • Thomas, J. (2012). TCP/IP Application Layer, Application Layer Protocols. November 2015.
OmniSecu.com: http://www.omnisecu.com/tcpip/application-layer.php
B
• Trexon Inc. (2002). Modbus Protocol Specification. November 2015. Trexon Inc:
L http://irtfweb.ifa.hawaii.edu/~smokey/software/about/sixnet/modbus/modbus_protocol.pdf
I • Truchsess, N. (2015). Arduino UIP. November 2015. github.com:
https://github.com/ntruchsess/arduino_uip
O
G
R
A
P
H
Y
Diapositiva 25 de 20

25
Automation Systems and Industrial Electronics Engineering
14
A
Special thanks and gratitude are extended to:
C
K o Project supervisor : Jordi Zaragoza
N
O o Project collaborators: Industrial Shields team
W
L
E
D
G
E
M
E
N
T
S
26
Automation Systems and Industrial Electronics Engineering

15

THANK YOU VERY MUCH


Q
U
FOR YOUR ATTENTION
E
S
T
I
QUESTIONS?
O
N
S

27
Automation Systems and Industrial Electronics Engineering
3 MILLORES REPORT:
S DEFINIR MILLOR LES ESPECIFICACIONS (INPUTS OUTPUTS/COM EN LA PRESENTACIÓ
)
P
E AFEGIR ESQUEMA PLANTA REFERÈNCIA DE CONTROL GPRS!!? Com es transmet el SMS

C ESQUEMA PLANTA HADRWARE (configuració dipòsit, válvules, bombes i equip de mesura)

I EXPLICACIÓ EMMAGATZEMATGE DE DADES (comentar els valors que s’emmagatzemen i


F POSAR DESAVANTATGES EN LES ALTERNATIVES
I
AFEGIR APARTAT CONCLUSIONS & RESULTS
C
A
T
I
O
N
28
S
• Alternatives (labview-industrial shields Arduino

• Structure of the protocol


• Budget
• Environmental implic
• concusions

• acknowledgements)

29

You might also like