4. Industrial Automation
Automation is the technology by which a
process or procedure is performed with
minimal human assistance
e.g. machinery, processes in factories, boilers
and heat-treating ovens, switching on
telephone networks, steering and stabilization
of ships, aircraft and other applications and
vehicles with minimal or reduced human
intervention
Common control types
On/Off (discrete)
PID (proportional–integral–derivative)
Logical sequence or state system control
en.wikipedia.org/wiki/Automation
5. Lab Monitoring &
Instrumentation
Pressure
Flow
Temperature
Liquids levels
Density
Viscosity
Ionizing radiation
Frequency
Current
Voltage
Inductance
Capacitance
Resistivity
Chemical
composition &
properties
Position
Vibration
Weight
Distance
Angle
Velocity
Time
Collecting information, reading sensors, and
measuring instruments that indicate physical qualities
Useful in laboratory and industrial settings
A local instrumentation panel on a steam turbine CC BY-SA 3.0,
commons.wikimedia.org/w/index.php?curid=347669
6. Minimum human intervention by Achim Hering, Public Domain,
https://commons.wikimedia.org/w/index.php?curid=2167047
Minimum Human
Intervention
7. Industrial Robots KUKA industrial robots being used at a bakery for food production by KUKA Roboter GmbH, Bachmann - KUKA
Roboter GmbH, Zugspitzstraße 140, D-86165 Augsburg, Germany, Dep. Marketing, Mr. Andreas Bauer,
http://www.kuka-robotics.com, Public Domain, https://commons.wikimedia.org/w/index.php?curid=3345405
8. Automated milling machines by Renevanderpeet at Dutch Wikipedia, CC BY-SA 3.0,
https://commons.wikimedia.org/w/index.php?curid=3226403
Automated Milling
Machines
9. Useful SBC Devices
UDOO x86 II - Intel Celeron N3160 2.24 Ghz
4 GB RAM / 32 GB eMMC
$174.00 on udoo.org
UP Board – Intel Atom x5-Z8350
1 GB RAM / 16 GB eMMC
$99 up-shop.org or up-board.org
LattePanda Delta 432 - Intel 8th Gen Celeron N4100
4 GM RAM / 32 GB eMMC
$188.00 dfrobot.com
Atomic Pi - Intel Atom x5-Z8350 quad core with 2M Cache
2GB RAM / 16GB eMMC
$35.88 Amazon or dlidirect.com
Small, low price, x86 computers, with GPIO pins
10. Atomic Pi
Genuine Intel Atom x5-Z8350 quad core
with 2M Cache. Runs up to 1.92GHz with
a 480MHz GPU
2GB DDR3L-1600, 16GB eMMC, SD slot
for adding more - up to 256GB
Full HDMI port with Intel HD Graphics &
primary audio out
USB 3.0 and USB 2.0 ports
Fast dual band WiFI b/g/n/ac 2.4 &
5GHz WiFi RT5572 IPX connectors on
board
Bluetooth 4.0 CR8510
Gigabit hardwired RJ45 Ethernet
RTL8111G
Peripheral 9-axis inertial navigation
sensor with compass BNO055
Runs Linux and Windows 10
$35.88 on Amazon or dlidirect.com
11. Proportional–Integral–Derivative Controller
(PID) controller
AKA “Three-term controller”
A control loop mechanism employing
feedback for continuous correction
Continuously calculates an error value
e(t) as the difference between a
desired setpoint (SP) and a measured
process variable (PV)
Applies a correction based on
Proportional, Integral, and Derivative
terms
e.g. cruse control on a car
PID controller feedback loop block diagram by Arturo Urquizo - CC BY-SA 3.0,
https://commons.wikimedia.org/w/index.php?curid=17633925
12. Programmable Logic
Controllers (PLC)
Ruggedized industrial digital computer
Replaces hardwired relays
Makes use of multiple digital and analog I/O
Function as a real-time system collecting information
and constantly correcting operations
Similar to Remote Terminal Units (RTU) except RTUs
don’t have control loops or algorithms
Often networked together with other PLC and
SCADA systems
One of three common Industrial Control Systems
with SCADA and Distributed Control System (DCS)
Siemens Simatic S7-400 system by Mixabest - Own work, Public Domain,
https://commons.wikimedia.org/w/index.php?curid=10696883
13. Supervisory Control and Data
Acquisition (SCADA)
A control system architecture that uses computers, networked data
communications and graphical user interfaces for high-level process
supervisory management
Provides a universal means of remote access to a variety of local control
modules that may be in difference physical locations, with different
protocols
In practice it is like a Distributed Control System (DCS) which increases
reliability due to distribution of control process
Uses other peripheral devices such as programmable logic controller (PLC)
and discrete PID controllers to interface with the process plant or machinery
The key attribute of a SCADA system is its ability to perform a supervisory
operation over a variety of other proprietary devices.
https://en.wikipedia.org/wiki/SCADA
14. Concepts in Control Operations
Level 4 is production scheduling
Level 3 is production control. It does not directly
control the process but is concerned with monitoring
production and targets.
Level 2 contains supervisory computers, which collate
information from processor nodes on the system, and
provide the operator control screens (SCADA
Software)
Level 1 contains the industrialized input/output (I/O)
modules, PLUs, RTUs, and their associated distributed
electronic processors
Level 0 contains the field devices such as flow and
temperature sensors, and final control elements, such
as control valves.
Functional levels of a manufacturing control operation by Daniele Pugliesi - Own work, CC BY-SA 3.0,
https://commons.wikimedia.org/w/index.php?curid=31527335
15. SCADA
Example
SCADA GRAPHICAL USER
INTERFACE USED IN OFFICE
ENVIRONMENT TO REMOTELY
MONITOR A PROCESS
By U.S. Department of Agriculture - Flickr: 20130618-RD-LSC-0278, Public Domain,
https://commons.wikimedia.org/w/index.php?curid=34184035
16. A DCS control room where plant information and controls are displayed
Control room of a moving grate incinerator for municipal solid waste in Germany. The screen shows two oven lines, of which
the upper ("Linie 1") is not in operation.
VGB Power Tech GmbH Germany, Steag, Germany, CC BY-SA 3.0,
http://www.vgb.org/, https://commons.wikimedia.org/w/index.php?curid=398312
17. SCADA Communication Protocols
SCADA protocols are designed to be very compact and
many only send information when the master station polls
the RTU
Common protocols: Modbus RTU, RP-570, Profibus, Conitel,
IEC 60870-5-101 or 104, IEC 61850, and DNP3
Modbus, RP-570, Profibus, and Conitel are SCADA vendor
specific
Modbus was made an open standard by Schneider
Electric
IEC 60870-5-101 or 104, IEC 61850, and DNP3 are open
standards
Many of contain extensions to operate over TCP/IP
18. Modbus
Protocols
Serial Protocol originally developed by Modicon (now
Schneider Electric) in 1979
Widely used in the automation industry to communicate
with PLC controllers
In 2004 Schneider Electric transferred management to
the Modbus Organization making it an open standard
It is a de facto standard communication protocol and is
now commonly available means of connecting
industrial electronic devices
https://en.wikipedia.org/wiki/Modbus - http://www.modbus.org/
Serial
RTU
Ascii
TCP/IP
19. Modbus Connection Types
Modbus master devices
Control application
Typically have user interface
Modbus slave devices
PLC, RTU, etc.
Accessed by unique ID
Contains tables
Digital Inputs
Coils (read/write)
Input Registers (16-bit read-only)
Holding Registers (16-bit read/write)
(Multiple registers can be combined into larger
logical registers)
Master
(Client)
Slave 1
(Server)
Slave n
(Server)
Modbus
Read/write
request
Response
Table
Registers,
Coils, etc.
1 bit (off/on)
20. Modbus Operation Functions
Function type Function name
Data Access
1-bit access
Physical Discrete/Digital
Inputs
Read Discrete Inputs
Internal Bits or Physical
Coils
Read Coils
Write Single Coil
Write Multiple Coils
16-bit access
Physical Input Registers Read Input Registers
Internal Registers or
Physical Output Registers
Read Multiple Holding Registers
Write Single Holding Register
Write Multiple Holding Registers
Read/Write Multiple Registers
Mask Write Register
Read FIFO Queue
File Record Access
Read File Record
Write File Record
Diagnostics
Read Exception Status
Diagnostic
Get Com Event Counter
Get Com Event Log
Report Slave ID
Read Device Identification
Other
Encapsulated Interface
Transport
https://en.wikipedia.org/wiki/Modbus
ReadandWrite
Primitives
Read single or Read Multiple
Coil
Digital Input
Holding Register
Input Register
Write Single or Write Multiple
Coil
Holding Register
(Digital Inputs & Input Registers are Read-Only)
21. Modbus Libraries for
Delphi & C++Builder
FieldTalk ModbusDriver modbusdriver.com
$298 for Windows 32 & 64 (uses external libmbusmaster.dll)
COAS Software Systems coas.com & GitHub
SuperCom MODBUS Protocol Library adontec.com
$699 per platform (Win32, Win64, Linux64)
ModLink VCL ozm.cz/ivobauer/modlink/
110 Eur
ControlLab mitov.com/products/controllab
$299 for Win32, Win64, & Android – Pure Pascal implementation
22. Communication Libraries for
Delphi & C++Builder
AyncPro – part of TurboPack - github.com/TurboPack/AsyncPro
ComPort Library - sourceforge.net/projects/comport/
WinSoft ComPort - winsoft.sk/comport.htm
TciaComPort - mestdagh.biz/
ZylSerialPort - zylsoft.com/serialport.htm
Installed with Delphi and C++Builder
Indy Components
THttpClient
TBluetoothDevice
TBluetoothLEDevice
23. Mitov Software - mitov.com
Visuino & Visuino Pro – Visual programming for Arduino and PLC
ControlLab - Industrial Automation components
SignalLab - Very fast digital signal processing (DSP)
LogicLab – Perform logic operations based on events
PlotLab - Very fast data plotting / charting / graphing components
InstrumentLab – Data visualization, instrumentation, etc. controls
CommunicationLab – Communication components (Serial, Socket, etc.)
And more for Video, Audio, Vision, Artificial Intelligence, etc.
24. Visuino Pro
by Mitov
Software
(Fully functioning beta)
Graphical development environment for
Arduino
Automatically generates Arduino code, and
programs the boards
Built in data visualization
Direct mapping of software and hardware
components
Provides uniform communication over serial, or
socket-based channels
Includes serial port, socket communication, and
MQTT components compatible with
CommunicationLab for Delphi and C++ Builder
Includes Modbus components
26. Mitov Software’s ControlLab
Delphi and C++ Builder component library
Contains Serial and Socket communication components
Includes Modbus components
Includes OPC components
Includes PID and Relay controller components
Win32, Win64, & Android
27. Controllino
Arduino based Industrial
Control PLC
Include RTC, RS485, TTL Serial,
Serial Peripheral Interface (SPI),
I²C (Inter-Integrated Circuit),
and Ethernet capabilities
Fully supported by Visuino and
Visuino Pro
https://controllino.biz
28. Common Arduino Protocols
RS-485 – Serial protocol using single twisted pair of wires. Speeds up
to10 Mbit/s or distances up to 4000 ft (1200 m).
I²C (Inter-Integrated Circuit) a synchronous, multi-master, multi-slave,
packet switched, single-ended, serial computer bus. Used to
connect lower speed peripheral ICs to microcontrollers.
Serial Peripheral Interface (SPI) a synchronous serial communication
interface specification used for short-distance communication,
primarily in embedded systems. Communicate in full duplex mode
using a master-slave architecture.
TTL Serial (transistor-transistor logic serial) provides short distance
communication at data rates (i.e. 9600bps, 115200bps, etc.) based
on the UARTs (universally asynchronous receiver/transmitter)
30. Related Videos by Boian Mitov
Intro to Visuino Pro - RTU, Ascii and TCP/IP
Modbus Server(Slave)
https://embt.co/IntroVisuinoProModbusServer
Modbus Client(Master)
https://embt.co/IntroVisuinoProModbusClient
Create SCADA Modbus Industrial Control Applications
https://embt.co/SCADAModbus
Create IoT solutions with Delphi and Arduino
https://embt.co/IoTArduinoDelphi
Create IoT solutions with RAD Studio and Arduino
https://embt.co/IoTwithRADStudioArduino
32. Mitov Software - mitov.com
Visuino & Visuino Pro – Visual programming for Arduino and PLC
ControlLab - Industrial Automation components
SignalLab - Very fast digital signal processing (DSP)
LogicLab – Perform logic operations based on events
PlotLab - Very fast data plotting / charting / graphing components
InstrumentLab – Data visualization, instrumentation, etc. controls
CommunicationLab – Communication components (Serial, Socket, etc.)
And more for Video, Audio, Vision, Artificial Intelligence, etc.
Latest updates from Mitov Software labpacks.blogspot.com