Professional Documents
Culture Documents
Unit-5
Unit-5
Introduction to SCADA
Data Acquisition Systems
Data Acquisition (DAQ)?
• Data acquisition (DAQ or DAS) is the process of sampling signals that
measure real-world physical phenomena and converting them into a digital
form that can be manipulated by a computer and software
• The signals are converted from the analog domain to the digital domain
and then recorded to a digital medium such as ROM, flash media, or hard
disk drives
Components of Data Acquisition System
• Modern DAS systems consist of four essential components
• Sensors
• Signal Conditioning
• Analog-to-Digital Converter
• Computer with DAQ software for signal logging and analysis
What Does a Data Acquisition
System Measure?
• Data acquisition systems are principally measuring physical phenomena such as:
• Temperature
• Voltage
• Current
• Strain and Pressure
• Shock and Vibration
• Distance and Displacement
• RPM, Angle, and Discrete Events
• Weight
VIDEO
Purposes of Data Acquisition
• Data recording
• Data storing
• Real-time data visualization
• Post-recording data review
• Data analysis using various mathematical and statistical calculations
• Report generation
• Monitor the condition of complex machinery such as generators, motors, fans, etc.
• Monitor structural properties of buildings such as bridges, stadiums, etc.
• Monitor energy consumption and energy efficiency in the production process.
• And many other monitoring scenarios.
The Measurement Process
• Data acquisition is the process of converting real-world signals to the digital
domain for display, storage, and analysis
SENSORS/TRANSDUCERS
• Depending on the type of sensor, its electrical output can be a voltage, current,
resistance, or another electrical attribute that varies over time
• The output of these analog sensors is typically connected to the input of a
signal conditioner
Signal Conditioners
• Taking the output from analog sensors and preparing them to be sampled
digitally
• Eg: Thermocouple. The signal conditioning circuitry needs to linearize the
output from the sensor as well as provide isolation, and amplification to bring
the very small voltage up to a nominal level for digitizing.
Isolation
Filtering
Filtering
• Low-pass filter: this filter reduces or “rolls off” starting at a given frequency
and those above it.
• High-pass filter: does the opposite and allows frequencies to pass which are
above a given frequency.
• Band-pass and band-reject filters: either pass or stop (reject) frequencies
between two given values.
Analog-to-Digital Converters (ADCs or AD
Converters)
• The output of most physical measurement signal conditions is an analog
signal
• It is necessary to convert this signal to a series of high-speed digital values so
that it can be displayed and stored by the data acquisition system
ADC
• The rate at which the signals are converted is called the sample rate
Analog to digital conversion
Generalized block diagram of data
acquisition system
Configuration of DAS
• The important factors that decide the configuration and the sub-
system are follows:
• The number of channels to be monitored
• Sampling rate per channel
• Signal conditioning requirement per channel
• Resolution and accuracy
• Cost
Configuration of DAS
• The various general configurations include:
(1) Single channel possibilities:
a) Direct conversion
b) Pre-amplification and direct conversion
c) Sample and hold, and conversion
d) Pre-amplification, Sample and hold, and conversion
e) Pre-amplification, signal conditioning and any of the above
Configuration of DAS
• Half Duplex
• Full Duplex
DATA FLOW- SIMPLEX
• Communication is always unidirectional
• One device can transmit and other device will receive.
• Eg: keyboards, Traditional monitors
DATA FLOW-HALF DUPLEX
• Communication is in both directions but not at the same time
• If one device is sending, the other can only receive and vice versa
• Eg: Walkie- Talkie
DATA FLOW-DUPLEX OR FULL DUPLEX
• Communication is in both directions simultaneously
• Device can send and receive at the same time
• Eg: Telephone line.
PROTOCOLS
• All communication schemes will have the following things in
common:
• Source or sender
• Destination or receiver
• Channel or media
• Protocol determines:
• Response Timeout
5. Message delivery option
• Unicast : the sender sends the data to one receiver in the network
• Multicast : the sender sends the data to a set of receivers but not all in
the network.
• Broadcast : the sender sends the data to all receivers in the network.
Types of Communication Protocols
• RS 232/ RS 485
• EtherNet/ IP
• HART Protocol
• Modbus RTU
• PROFINET
• PROFIBUS
• Interbus
RS 232 Communication
• It is a form of serial data transmission
• RS232 connection transmits signals using a positive voltage for a
binary 0 and a negative voltage for a binary 1
RS 232 Communication
• PLCs use RS232 to talk to other modules or even other PLCs.
• These modules can be anything that also uses RS232 such as, operator
interface or HMI, computers, motor controllers or drives, a robot, or some
kind of vision system.
RS 232 Communication
• RS232 devices are two different types.
• DTE stands for Data Terminal Equipment. Eg: computer.
• DCE stands for Data Communications Equipment. Eg: DCE is a modem.
• Two DTE or two DCE devices cannot talk to each other
RS 232 Communication
• Typically PLCs will be DTE and devices used will be DCE
RS 232 Communication
Disadvantages :
• Speed at which data can be transferred
• Data can be transferred at around 20 kilobytes per second.
• Maximum length a cable is about 50 feet. Wire resistance and voltage
drops become an issue with cables longer than this.
RS 485 Communication
• RS485 is a form of serial communication
• It could transmit not only a single device to device transmission, but also a
communications bus to connect multiple devices at once
• The configuration and specifications of RS485 make it faster and extend the range of
data transmission.
• The maximum RS485 cable length is typically listed as 1200 meters or about 4000 feet.
• DB-9 connector is used
RS 485 Communication
• In some applications, terminal strips were used in place of a connector. This
helped RS485 become a widely used and very versatile form of serial
communication.
• RS485 can handle up to 32 connected devices. RS232 could only handle one.
RS 485 Communication
• RS485 is less susceptible to noise issues
• One very common example in the automation world is remote control of
VFDs or Variable Frequency Drives.
• A simple network of a PLC, VFD, and an HMI allows remote control of
motors in an industrial setting.
RS 485 Communication
MODBUS Communication
Modbus as an “Open Protocol”
• Depending on the process automation equipment manufacturer, a very
specific or proprietary language is used or it may be a language that is
commonly open to the industry.
• An “Open protocol” means the specifications are published and may be used
by anyone freely or by license.
• Advantages of open protocols include support by multiple manufacturers,
software vendors, and install or service organizations, active community
groups for support, the ability to stay current and add capabilities in the
future.
• One of the most common Automation Communication Protocols of
connecting industrial electronic devices used today is Modbus.
MODBUS Communication
• The Modbus communication protocol is the oldest and by far the most popular
automation protocol in the field of process automation and SCADA
(Supervisory Control and Data Acquisition).
• Modbus is a communications protocol published by Modicon in 1979 for use
with its Programmable Logic Controllers (PLCs)
• Modbus provides a common language for devices and equipment to
communicate with one and another.
MODBUS Communication
• Eg:Modbus enables devices on a system that measures temperature and
humidity connected on the same network to communicate the results to a
supervisory computer or PLC.
MODBUS Communication
Types of Modbus Communication Protocol
• Several versions of the Modbus protocol exist for the serial port and Ethernet
and the most common are:
– Modbus RTU
– Modbus ASCII
– Modbus TCP
– Modbus Plus
LAN Connection
ETHERNET/IP
• One of the most commonly known protocols is the TCP/IP protocol. This protocol
is widely used in internet communications.
• The term TCP/IP relates to TCP or “Transmission Control Protocol”, where the IP
is “Internet Protocol”.
• The TCP/IP is a layered protocol. Those layers are:
• – Applications
• – TCP
• – IP
• – Network
• Each layer has a function that it performs and when complete, is then passed to the
next layer.
ETHERNET/IP
• In terms of the internet, the transmitting computer will pass its data to the
applications layer.
• This layer works with the applications software to provide communications that
may be required such as HTTP, FTP, POP, DNS, IMAP, etc.
• That layer will add some data that will identify and direct the data and then passes
to the TCP layer.
• The TCP layers job is to pack and unpack data and do some error checking.
ETHERNET/IP
• On to the IP or Internet Protocol layer, where some more identifiers are added and
then the data is transferred over the Network layer.
• Then packages the data into Ethernet packets or whatever other protocol is
required prior to transmission over to internet service provided device.
• These data move up and down the stack or layer continuously, getting packed,
unpacked, headers and info added, deleted, etc.
ETHERNET/IP
• The device (Applications Layer) which can be Facebook, Google, a VFD, or a
Flow Transmitter, will present its data and layer by layer, the data is packed and is
then transmitted via an Ethernet packet to the Network layer which in turn is
connected to your computer or PLC.
• the “IP” part of the Ethernet/IP or EIP description.
• “IP” in this case now correlates to Industrial Protocol versus the previous
description of Internet Protocol.
ETHERNET/IP
• The “IP” part of this protocol is simply the use of the Ethernet infrastructure in
conjunction with the Industrial Protocol which used Common Industrial Protocol
or CIP layers that combine with the TCP/IP or User Datagram Protocol (UDP)
layers to create a protocol that can be used to support data exchange and control
applications.
ETHERNET/IP
• In the TCP/IP protocol, there is somewhat of a send/receive acknowledge
relationship.
• The packets go down the stack, received at the device connected to your network,
a receipt confirmation goes back up the stack to the applications layer.
• This type of protocol may be used with a VFD where you command a speed and
need to ensure that the VFD received the message.
ETHERNET/IP
• UDP protocol, this is the continuous transmission, not requiring a receipt
acknowledgment.
• This protocol would be used in something like Ethernet I/O on the PLC or a Flow
Transmitter.
• These devices will constantly send the state of their data. If a packet wasn’t
received, it’s not a deal breaker as the next packet is right around the corner.
ETHERNET/IP
• CIP uses object-oriented design to present things like a device profile for a VFD.
• If you have ever used a CIP message instruction within your PLC device, you
know that you research the type of data you desire such as frequency, speed, or
faults and you add that assembly number to your CIP instruction.
• The data exchanged is a number of data registers that you in turn, map to your tags
for desired data.
ETHERNET/IP
• In the simplest terms, Ethernet/IP is Ethernet packets used with the Industrial
Protocol of CIP, TCP/IP, and/or UDP layers to provide the required data to your
controller.
Profibus- DP
• One of the most commonly used network in industrial automation.
• Profibus stands for “Process Field Bus” and DP stands for “ Decentralized
Peripherals”.
Profibus- DP
• To use Profibus DP, an enclosure is put near to the sensors in the field area
and then move the I/O modules of PLC into it.
• The sensors are then connected to the I/O modules
• To enable the data transfer between the PLC in the control room and the
I/O modules in the new enclosure, an Interface Module (IM) is installed
along with I/O module.
Profibus- DP
• To transfer data Profibus DP and RS-485 cables are used.
• By introducing a network bus between the main controller and its I/O
modules, the I/Os are decentralized by moving them to the enclosure in
the field area.
Profibus- DP
• Disadvantages :
• Here the data is transferred using a single RS-485 cables. If it
malfunctions in any way, then loose all the data from the field facilities.
• To overcome this problem
• 1) Hybrid Methos is used
Profibus- DP
• 2) Profibus-DP as a redundant network
• Here two RS-485 cables to connect the remote I/Os to the PLC
DIFFERENCE BETWEEN PROFIBUS AND PROFINET