Monday, January 13, 2014


 SCADA Vs HMI...........

Are both HMI and SCADA related to each other? If yes, How?

HMI and SCADA are related to each other inasmuch as one or more HMIs are subsets or components of a SCADA system.  Additionally, a DCS or Distributed Control System is very similar to a SCADA system, and may also use one or more HMIs as well.  All these components are classes of, or describe parts of, an ICS or Industrial Control System, which is the general description of the Automation. In modern control systems, there is a great deal of overlapping technology and functionality between these two classes of ICSs.

HMI or Human Machine Interface is simply the way by which humans interact with machines.  An HMI in terms of the InduSoft Web Studio platform is a control panel that is easily designed, implemented, and maintained/modified simply by creating or modifying it in the InduSoft Development Environment.  Using InduSoft Web Studio SCADA/HMI software to design HMIs can save months of development, rework, and rewiring time over creating (a) hard-wired control panel(s) or machine interface panel(s). Software HMIs will securely operate in runtime on a host machine (application server) or as a Thin Client using Microsoft® Internet Explorer or in InduSoft’s Secure Viewer on a variety of displays or multi-displays, devices, and platforms as a built-in interface, a portable interface, or a handheld interface and display terminal.

A SCADA (Supervisory Control and Data Acquisition) System is an Automation or Industrial Control System that may involve, directly control, or communicate with one or more of the following:
  1. Networked industrial automation and machines
  2. Remote telemetry and control using continuous or burst communications
  3. Process Control and Statistical Process Control systems
  4. Data Acquisition Systems (DAQs)
  5. Historians and Data Storage Servers
  6. Industrial Control Systems utilizing PLCs and RTUs.
  7. Business environment systems such as ERP4 and MES5 Systems.
  8. Industrial Cloud Computing Environment
  9. Security Systemsand Processes
    1. local machine security or
    2. process security and control
    3. Enterprise or global level involving LDAP and other connectivity.
A SCADA system may be continuously connected to all the components in the ICS, or may be intermittently connected to some or all, and updated with a burst communication over radio or cellular modems (2G, 3G, or 4G, CDMA, and GSM technologies) to field devices and equipment. A SCADA system usually has a one or more SCADA Servers containing an application that is/are communicating with and running in conjunction with intelligent single-purpose intelligent components such as PLCs and/or RTUs, or possibly even remote, independent SCADA systems.  InduSoft Web Studio serves as a SCADA software platform on which to design an effective SCADA system.

An Industrial Control System as described may be connected together via (one or more of the following) serial connections, proprietary and/or Ethernet network, LAN, WAN, and/or Cloud and may involve widely dispersed external components and/or facilities; include processes such as MES and ERP Systems, Process Control and Data Historians, JIT and other upstream/downstream manufacturing connectivity, etc.

A DCS or Distributed Control System is similar to, and in some cases, can be indistinguishable from, a SCADA system but is generally considered to be a more self-contained process control type of automation.  A DCS usually has a Control Server hosting the Supervisory Control System with the possibility of various SCADA Servers and/or Master Terminal Units or Master Telemetry Units (MTUs) communicating with PLCs, RTUs, Process Historian and/or other business entities as discussed in SCADA systems. DCSs can also be used in Continuous and Batch-based Process Control, and may or may not have proprietary components throughout the whole system.

HMIs, SCADA, and Control Systems developed using InduSoft Web Studio SCADA/HMI software are used within many types of vertical industries, large and small, in order to provide a means of direct process and machine control, automation, security, data storage and analyses, indirect operation services such as ingress/egress control, communications and video; and connectivity to a variety of functionality within the system or manufacturing and supply chain that may be closely or loosely associated with the operational or manufacturing of those products and services.

For more information go to--http://www.synergistscada.com/key-differences-between-scada-dcs-and-hmi-systems/

Sunday, January 12, 2014

Human-machine interface (HMI)

 Human-machine interface is the part of the machine that handles the Human-machine interaction. Membrane Switches, Rubber Keypads and Touchscreens are examples of that part of the Human Machine Interface which we can see and touch.

In complex systems, the human-machine interface is typically computerized. The term Human-computer interface refers to this kind of systems.
The engineering of the human-machine interfaces is by considering ergonomics (Human Factors). The corresponding disciplines are Human Factors Engineering (HFE) and Usability Engineering (UE), which is part of Systems Engineering.
Tools used for incorporating the human factors in the interface design are developed based on knowledge of computer science, such as computer graphics, operating systems, programming languages. Nowadays, we use the expression Graphical User Interface for Human-Machine Interface on computers, as nearly all of them are now using graphics.
Primary methods used in the interface design include prototyping and simulation.

Interface design

Typical human-machine interface design consists of the following stages: interaction specification, interface software specification and prototyping:
Common practices for prototyping are based on interactive design based on libraries of interface elements (controls, decoration, etc.)


 


Monday, December 16, 2013

SACDA (Supervisory Control and Data Acquisition)

Control and Supervision

It is impossible to keep control and supervision on all industrial activities manually. Some automated tool is required which can control, supervise, collect data, analyses data and generate reports. A unique solution is introduced to meet all this demand is SCADA system.
SCADA stands for supervisory control and data acquisition. It is an industrial control system where a computer system monitoring and controlling a process.
Another term is there, Distributed Control System (DCS). Usually there is a confusion between the concept of these two.
A SCADA system usually refers to a system that coordinates, but does not control processes in real time, but DCS do that. SCADA systems often have Distributed Control System (DCS) components.

Components of SCADA

1. Human Machine Interface (HMI)

It is an interface which presents process data to a human operator, and through this, the human operator monitors and controls the process.

2. Supervisory (computer) system

It gathers data on the process and sending commands (or control) to the process.

3. Remote Terminal Units (RTUs)

It connect to sensors in the process, converting sensor signals to digital data and sending digital data to the supervisory system.

4. Programmable Logic Controller (PLCs)

It is used as field devices because they are more economical, versatile, flexible, and configurable than special-purpose RTUs.

5. Communication infrastructure

It provides connectivity to the supervisory system to the Remote Terminal Units.

SCADA System Concept

The term SCADA usually refers to centralized systems which monitor and control entire sites, or complexes of systems spread out over large areas (anything between an industrial plant and a country).
Most control actions are performed automatically by Remote Terminal Units (RTUs) or by programmable logic controllers (PLCs).
Host control functions are usually restricted to basic overriding or supervisory level intervention. For example, a PLC may control the flow of cooling water through part of an industrial process, but  the  SCADA system may allow operators to change the set points for the flow, and enable alarm conditions, such as loss of flow and high temperature, to be displayed and recorded.
The feedback control loop passes through the RTU or PLC, while the SCADA system monitors the overall performance of the loop.

A simple SCADA system with single computer
            
               A simple SCADA system with single computer

Sunday, December 15, 2013

PLC connections

When a process is controlled by a PLC it uses inputs from sensors to make decisions and update outputs to drive actuators, as shown in Figure 4. The process is a real process that will change over time. Actuators will drive the system to new states (or modes of operation). This means that the controller is limited by the sensors available, if an input is not available, the controller will have no way to detect a condition. 


http://makox.com/plc-scada/wp-content/uploads/2011/12/clip_image002.gif

 The control loop is a continuous cycle of the PLC reading inputs, solving the ladder logic, and then changing the outputs. Like any computer this does not happen instantly. Figure 5 shows the basic operation cycle of a PLC. When power is turned on initially the PLC does a quick sanity check to ensure that the hardware is working properly. If there is a problem the PLC will halt and indicate there is an error. For example, if the PLC power is dropping and about to go off this will result in one type of fault. If the PLC passes the sanity check it will then scan (read) all the inputs. After the inputs values are stored in memory the ladder logic will be scanned (solved) using the stored values – not the current values. This is done to prevent logic problems when inputs change during the ladder logic scan. When the ladder logic scan is complete the outputs will be scanned (the output values will be changed). After this the system goes back to do a sanity check, and the loop continues indefinitely. Unlike normal computers, the entire program will be run every scan. Typical times for each of the stages are in the order of milliseconds. 

http://makox.com/plc-scada/wp-content/uploads/2011/12/clip_image004.gif 


Ladder Logic

Ladder Logic
Ladder logic is the main programming method used for PLCs. As mentioned before, ladder logic has been developed to mimic relay logic. The decision to use the relay logic diagrams was a strategic one. By selecting ladder logic as the main programming method, the amount of retraining needed for engineers and trades people was greatly reduced.
Modern control systems still include relays, but these are rarely used for logic. A relay is a simple device that uses a magnetic field to control a switch, as pictured in Figure 10. When a voltage is applied to the input coil, the resulting current creates a magnetic field. The magnetic field pulls a metal switch (or reed) towards it and the contacts touch, closing the switch. The contact that closes when the coil is energized is called normally open. The normally closed contacts touch when the input coil is not energized. Relays are normally drawn in schematic form using a circle to represent the input coil. The output contacts are shown with two parallel lines. Normally open contacts are shown as two lines, and will be open (non-conducting) when the input is not energized. Normally closed contacts are shown with two lines with a diagonal line through them. When the input coil is not energized the normally closed contacts will be closed (conducting).

http://makox.com/plc-scada/wp-content/uploads/2012/05/clip_image0021.gif

                                        Figure 12 A PLC Illustrated With Relays

 Many relays also have multiple outputs (throws) and this allows an output relay to also be an input simultaneously. The circuit shown in Figure 13 is an example of this; it is called a seal in circuit. In this circuit the current can flow through either branch of the circuit, through the contacts labelled A or B. The input B will only be on when the output B is on. If B is off, and A is energized, then B will turn on. If B turns on then the input B will turn on, and keep output B on even if input A goes off. After B is turned on the output B will not turn off.

http://makox.com/plc-scada/wp-content/uploads/2012/05/clip_image008.gif 

Ladder Logic Inputs
 
PLC inputs are easily represented in ladder logic. In Figure 14 there are three types of inputs shown. The first two are normally open and normally closed inputs, discussed previously. The IIT (Immediate Input) function allows inputs to be read after the input scan, while the ladder logic is being scanned. This allows ladder logic to examine input values more often than once every cycle. (Note: This instruction is not available on the ControlLogix processors, but is still available on older models.)

http://makox.com/plc-scada/wp-content/uploads/2012/05/clip_image010.gif
                                                 Figure 14 Ladder Logic Inputs

Ladder Logic Outputs
 
In ladder logic there are multiple types of outputs, but these are not consistently available on all PLCs. Some of the outputs will be externally connected to devices outside the PLC, but it is also possible to use internal memory locations in the PLC. Six types of outputs are shown in Figure 15. The first is a normal output, when energized the output will turn on, and energize an output. The circle with a diagonal line through is a normally on output. When energized, the output will turn off. This type of output is not available on all PLC types. When initially energized the OSR (One Shot Relay) instruction will turn on for one scan, but then be off for all scans after, until it is turned off. The L (latch) and U (unlatch) instructions can be used to lock outputs on. When an L output is energized the output will turn on indefinitely, even when the output coil is deenergized. The output can only be turned off using a U output. The last instruction is the IOT (Immediate Output) that will allow outputs to be updated without having to wait for the ladder logic scan to be completed.

http://makox.com/plc-scada/wp-content/uploads/2012/05/clip_image012.gif
http://makox.com/plc-scada/wp-content/uploads/2012/05/clip_image014.gif
                                               Figure 15 Ladder Logic Outputs

PLC (Programmable Logic Controller) 


A programmable logic controller (PLC) or programmable controller is a digital computer used for automation of industrial processes, such as control of machinery on factory assembly lines. Unlike general-purpose computers, the PLC is designed for multiple inputs and output arrangements, extended temperature ranges, immunity to electrical noise, and resistance to vibration and impact. Programs to control machine operation are typically stored in battery-backed or non-volatile memory. A PLC is an example of a real time system since output results must be produced in response to input conditions within a bounded time, otherwise unintended operation will result.
Hence, a programmable logic controller is a specialized computer used to control machines and processes.  It therefore shares common terms with typical PCs like central processing unit, memory, software and communications.  Unlike a personal computer though the PLCis designed to survive in a rugged industrial atmosphere and to be very flexible in how it interfaces with inputs and outputs to the real world.
The components that make a PLC work can be divided into three core areas.
  • The power supply and rack
  • The central processing unit (CPU)
  • The input/output (I/O) section
PLCs come in many shapes and sizes.  They can be so small as to fit in your shirt pocket while more involved controls systems require large PLC racks.  Smaller PLCs (a.k.a. “bricks”) are typically designed with fixed I/O points.  For our consideration, we’ll look at the more modular rack based systems.  It’s called “modular” because the rack can accept many different types of I/O modules that simply slide into the rack and plug in.

                                                            
http://makox.com/plc-scada/wp-content/uploads/2011/12/clip_image002.jpg                                                    Figure 1 Power supply and Rack



http://makox.com/plc-scada/wp-content/uploads/2011/12/clip_image0025.jpg                                                                      Figure 2 Backplane 

Rack 

The rack is the component that holds everything together.  Depending on the needs of the control system it can be ordered in different sizes to hold more modules.  Like a human spine the rack has a backplane at the rear which allows the cards to communicate with the CPU.  The power supply plugs into the rack as well and supplies a regulated DC power to other modules that plug into the rack.  The most popular power supplies work with 120 VAC or 24 VDC sources.

CPU
 
The brain of the whole PLC is the CPU module.  This module typically lives in the slot beside the power supply.  Manufacturers offer different types of CPUs based on the complexity needed for the system.
The CPU consists of a microprocessor, memory chip and other integrated circuits to control logic, monitoring and communications.  The CPU has different operating modes.  In programming mode it accepts the downloaded logic from a PC.  The CPU is then placed in run modeso that it can execute the program and operate the process.
Since a PLC is a dedicated controller it will only process this one program over and over again.  One cycle through the program is called a scan time and involves reading the inputs from the other modules, executing the logic based on these inputs and then updated the outputs accordingly.  The scan time happens very quickly (in the range of 1/1000th of a second).  The memory in the CPU stores the program while also holding the status of the I/O and providing a means to store values.


http://makox.com/plc-scada/wp-content/uploads/2011/12/clip_image0027.jpg

                                                   Figure 3 Components of a PLC


Comparison of PLC with other control devices


The main difference from other computers is that PLCs are armored for severe condition (dust, moisture, heat, cold, etc) and have the facility for extensive input/output (I/O) arrangements. These connect the PLC to sensors and actuators. PLCs read limit switches, analog process variables (such as temperature and pressure), and the positions of complex positioning systems. Some even use machine vision. On the actuator side, PLCs operate electric motors, pneumatic or hydraulic cylinders, magnetic relays or solenoids, or analog outputs. The input/output arrangements may be built into a simple PLC, or the PLC may have external I/O modules attached to a computer network that plugs into the PLC.
PLCs were invented as replacements for automated systems that would use hundreds orressed all decision making logic in simple ladder logic which appeared similar to electrical schematic diagrams. The electricians were quite able to trace out circuit problems with schematic diagrams using ladder logic. This program notation was chosen to reduce training demands for the existing technicians. Other early PLCs used a form of instruction list programming, based on a stack-based logic solver.
The functionality of the PLC has evolved over the years to include sequential relay control, motion control, process control, distributed control systems and networking. The data handling, storage, processing power and communication capabilities of some modern PLCs are approximately equivalent to desktop computers. PLC-like programming combined with remoteI/O hardware, allow a general-purpose desktop computer to overlap some PLCs in certain applications.
Under the IEC 61131-3 standard, PLCs can be programmed using standards-based programming languages. A graphical programming notation called Sequential Function Charts is available on certain programmable controllers.
PLCs are well-adapted to a range of automation tasks. These are typically industrial processes in manufacturing where the cost of developing and maintaining the automation system is high relative to the total cost of the automation, and where changes to the system would be expected during its operational life. PLCs contain input and output devices compatible with industrial pilot devices and controls; little electrical design is required, and the design problem centers on expressing the desired sequence of operations in ladder logic (or function chart) notation. PLC applications are typically highly customized systems so the cost of a packaged PLC is low compared to the cost of a specific custom-built controller design. On the other hand, in the case of mass-produced goods, customized control systems are economic due to the lower cost of the components, which can be optimally chosen instead of a “generic” solution, and where the non-recurring engineering charges are spread over thousands of sales. 
For high volume or very simple fixed automation tasks, different techniques are used. For example, a consumer dishwasher would be controlled by an electromechanical cam timer costing only a few dollars in production quantities.
A microcontroller-based design would be appropriate where hundreds or thousands of units will be produced and so the development cost (design of power supplies and input/output hardware) can be spread over many sales, and where the end-user would not need to alter the control. Automotive applications are an example; millions of units are built each year, and very few end-users alter the programming of these controllers. However, some specialty vehicles such as transit busses economically use PLCs instead of custom-designed controls, because the volumes are low and the development cost would be uneconomic.
Very complex process control, such as used in the chemical industry, may require algorithms and performance beyond the capability of even high-performance PLCs. Very high-speed or precision controls may also require customized solutions; for example, aircraft flight controls.
PLCs may include logic for single-variable feedback analog control loop, a “proportional, integral, derivative” or “PID controller.” A PID loop could be used to control the temperature of a manufacturing process, for example. Historically PLCs were usually configured with only a few analog control loops; where processes required hundreds or thousands of loops, a distributed control system (DCS) would instead be used. However, as PLCs have become more powerful, the boundary between DCS and PLC applications has become less clear-cut.