Hart and Field Bus
Hart and Field Bus
Hart and Field Bus
ChatGPT
HART uses a structured approach for communication, organized into different command
categories. The commands are essential for interacting with the device to retrieve
information, configure parameters, or control the device.
1. Universal Commands:
o These are common to all HART devices and include basic functionalities like
device identification, status reports, and process variables. Every HART
device responds to these commands, ensuring standardization across
manufacturers.
o Example commands include:
Command 0: Read Unique Identifier (Device ID)
Command 1: Read Primary Variable (PV)
Command 2: Read Loop Current and Percent of Range
2. Common-Practice Commands:
o These provide additional features not universally required but often found in
many devices. They allow for more detailed configuration and monitoring.
o Example commands include:
Command 48: Read Additional Variable
Command 50: Write Dynamic Variable Assignment
3. Device-Specific Commands:
o These are unique to particular devices and allow for accessing features and
functions that are proprietary or specific to a device’s model and
manufacturer. They vary based on the complexity and capability of the device.
Reference Model
HART uses a layered communication model similar to the OSI (Open Systems
Interconnection) reference model, but it is a simplified version:
1. Physical Layer:
o HART uses frequency-shift keying (FSK) superimposed on the 4-20 mA
current loop. It operates at 1,200 bps (bits per second). The digital signal
(1200 Hz for logical '1' and 2200 Hz for logical '0') does not affect the analog
signal, allowing simultaneous communication and measurement.
2. Data Link Layer:
o Provides error checking and message framing. HART uses the Master-Slave
communication method, where a master (controller or host) initiates
communication and a slave (device) responds.
o HART supports two masters, typically a primary master (e.g., distributed
control system) and a secondary master (e.g., handheld communicator or
laptop).
3. Application Layer:
o This is where the actual data exchange occurs (e.g., process variables,
diagnostics, and configuration). The commands executed here define how
devices are configured and monitored.
The structure of HART's command instruction formats ensures that communication remains
robust and adaptable across different devices and manufacturers.
HART is widely used in industrial data networks because it offers the ability to communicate
with smart field instruments using existing wiring systems. Here are typical applications:
4o
You said:
Describe the various HART communication layers.(13) answer in detail and explain with
respect to industrial data networks
ChatGPT said:
ChatGPT
1. Physical Layer
The physical layer is the foundation of the HART communication protocol and defines how
data is transmitted over the physical medium, which in HART's case is the 4-20 mA analog
current loop commonly used in industrial automation.
The data link layer is responsible for framing the digital messages, providing error
detection, and managing the communication between the master and slave devices.
3. Network Layer
HART doesn’t have a distinct network layer like in traditional OSI models, as it is designed
to function in point-to-point or multidrop networks without the need for complex routing.
Point-to-Point Mode:
o In this configuration, a single field device (slave) is connected to the control
system (master). The field device provides the 4-20 mA signal to the master
while simultaneously transmitting digital data.
Multidrop Mode:
o In multidrop mode, up to 15 devices can be connected on a single
communication line. In this case, the current is fixed at 4 mA, and all
communication happens via digital signals. Each device on the network has a
unique address to ensure accurate identification and communication.
4. Transport Layer
The transport layer ensures reliable data transfer and manages the flow of communication
between the master and slave devices. This layer is crucial for maintaining a smooth flow of
messages, especially in networks with multiple devices.
Communication Sessions:
o The transport layer ensures that the communication session between the
master and the slave is managed correctly. Once a master initiates
communication with a device, the transport layer ensures that the session is
established, maintained, and terminated properly.
Segmentation and Reassembly:
o If a message is too large for a single frame, the transport layer breaks it into
smaller packets (segmentation) and reassembles them at the receiving device.
5. Session Layer
Session Control:
o In HART communication, the session layer ensures that communication
sessions are properly started and ended. This involves handling the login and
logout sequences and ensuring that the devices are synchronized during
communication.
6. Presentation Layer
The presentation layer in HART is responsible for the data format and translation
between different data types, ensuring that the data sent by the field device can be understood
by the master (and vice versa).
Data Formatting:
o HART uses standardized data types such as floating-point numbers,
integers, and character strings. The presentation layer converts the device’s
raw data into a standardized format that can be interpreted by the control
system.
Data Encryption/Decryption:
o Although HART does not inherently provide encryption, the presentation layer
in other networks is responsible for this function. In HART, the main role of
the presentation layer is in ensuring that data can be understood correctly by
both the master and slave devices.
7. Application Layer
The application layer is the highest layer in the HART communication stack and is
responsible for defining the commands and functions that allow communication between the
field devices and the control system.
Universal Commands:
o These commands are available to all HART devices, allowing basic
functionality like reading the primary variable, reading the device ID, and
resetting the device.
Common-Practice Commands:
o These are more specialized commands used for tasks such as diagnostics,
calibration, and configuration of specific features.
Device-Specific Commands:
o These commands are proprietary to particular manufacturers and provide
access to unique functionalities or advanced features of the device.
Data Exchange:
o The application layer manages the exchange of real-time data between the
field device and the control system. For example, a pressure transmitter can
continuously send pressure readings, along with additional diagnostic data, to
a central SCADA system.
HART is widely used in industrial data networks due to its simplicity, compatibility with
legacy systems, and ability to integrate digital communication without requiring new wiring.
The layered architecture of HART ensures that communication is robust, reliable, and
scalable, which is critical in complex industrial environments like oil and gas refineries,
chemical plants, and manufacturing facilities.
Cost Efficiency: HART's ability to use existing 4-20 mA wiring makes it a cost-
effective solution for industrial automation systems, minimizing infrastructure
investments.
Real-Time Monitoring: The protocol's layered model supports real-time data
collection and device configuration, enabling operators to monitor and control
processes efficiently.
Interoperability: The structured communication model ensures that HART-
compatible devices from different manufacturers can seamlessly communicate within
the same network, facilitating multi-vendor environments.
4o
You said:
(i) Infer the precautions taken during wiring and installation of fieldbus system.(6) (ii) With
neat sketch, explain the different ways in which devices are connected to the Field bus.(7)
answer in detail and explain with respect to industrial data networks
ChatGPT said:
ChatGPT
Fieldbus systems are widely used in industrial data networks for real-time communication
between field devices (e.g., sensors, actuators) and control systems. Proper wiring and
installation are critical for ensuring the reliable operation of the Fieldbus network. Here are
key precautions to consider:
(ii) Different Ways Devices are Connected to the Fieldbus (with Sketch)
1. Point-to-Point Topology
Description:
o This is the simplest form of connection, where one Fieldbus device
communicates with one controller.
o It is rarely used in Fieldbus networks, as Fieldbus is designed for multi-device
communication.
Use Case:
o This topology is useful for simple installations or when communication with
only one device is required.
Sketch:
lua
Copy code
Controller ------ Field Device
The bus topology (also known as the trunk-and-spur configuration) is the most common
method for connecting multiple devices in a Fieldbus network.
Description:
o A trunk is the main communication cable that runs through the industrial
facility, and multiple spurs branch off from the trunk to connect individual
devices.
o The trunk carries both power and data for the entire network, while the spurs
connect the devices to the trunk.
o Terminators are placed at both ends of the trunk to maintain signal integrity.
Use Case:
o This topology is ideal for systems where multiple devices (e.g., sensors,
actuators) are distributed across different locations.
o It reduces the amount of cabling required compared to a point-to-point
topology and allows easy addition of new devices.
Sketch:
css
Copy code
Terminator ------ Trunk (Main Bus) ------ Terminator
| | |
Spur 1 Spur 2 Spur 3
| | |
Field Device Field Device Field Device
3. Tree Topology
The tree topology is similar to the bus topology but includes additional levels of branching.
Description:
o In this configuration, the main trunk branches into smaller trunks, and then
spurs branch out from these smaller trunks to individual devices.
o The tree topology allows for the distribution of devices over a wide area while
maintaining a structured network layout.
Use Case:
o This topology is useful in large industrial plants where devices are spread over
a vast area, and it is necessary to organize the network into multiple branches
for ease of installation and troubleshooting.
Sketch:
css
Copy code
Trunk
|
-----------------
| |
Sub-Trunk 1 Sub-Trunk 2
| |
Spur A Spur B
| |
Field Device Field Device
4. Star Topology
In a star topology, each device is connected to a central hub or junction box via individual
cables.
Description:
o Each device has a dedicated connection to the hub, and the hub manages the
communication between devices and the controller.
o This topology requires more cabling and is not as common in Fieldbus
systems due to the additional costs associated with running individual cables
to each device.
Use Case:
o
Star topology is useful in smaller installations or areas where it is necessary to
isolate individual devices for ease of troubleshooting or maintenance.
Sketch:
markdown
Copy code
Hub
/ \
Device 1 Device 2
\ /
Device 3
Conclusion:
The bus topology is the most widely used in Fieldbus systems due to its efficiency,
scalability, and ease of expansion in large industrial facilities.
Tree topology is also common in large, complex systems, while point-to-point and
star topologies are used in specific applications where simple or isolated connections
are needed.
Choosing the right topology depends on factors such as the number of devices,
distance between them, and the level of control and monitoring required. Proper
installation, including considerations for environmental factors and cable integrity,
ensures reliable communication in these industrial data networks.
4o
You said:
(i) Explain the origin and benefits of the Fieldbus systems.(6) (ii) List the encoding logic with
neat sketch and rules used by Field bus physical layer.(7) answer in detail and explain with
respect to industrial data networks
ChatGPT said:
ChatGPT
Fieldbus systems originated in the 1980s as a response to the need for a standardized method
to connect field devices (e.g., sensors, actuators) to control systems in industrial
environments. Prior to Fieldbus, industrial automation relied heavily on 4-20 mA analog
signaling to transmit data between field devices and control systems, which was limiting in
terms of the amount of information that could be transmitted and required extensive wiring.
The physical layer of Fieldbus systems defines how data is transmitted over the
communication medium (usually twisted-pair cables). Fieldbus uses specific encoding
techniques to ensure reliable data transmission while minimizing errors due to noise or signal
degradation. One of the common encoding schemes used in Fieldbus systems is Manchester
encoding.
Encoding Logic:
Manchester Encoding is a widely used encoding method in Fieldbus systems (such as
Foundation Fieldbus and PROFIBUS). In this method, a data bit is represented by a transition
rather than a steady-state voltage, making the signal more resilient to synchronization errors
and ensuring a reliable clock recovery at the receiver end.
Neat Sketch:
markdown
Copy code
Time: |---|---|---|---|---|---|---|---|---|---
Data: 1 0 1 1 0 0 1 0
Signal: __/¯¯\__/¯¯\__/¯¯\_________/¯¯\____
| | | | | |
Bit 1 Bit 0 Bit 1 Bit 1 Bit 0 Bit 0
In this sketch:
Conclusion:
The origin of Fieldbus systems lies in the need for more efficient, cost-effective, and
interoperable solutions for industrial automation. The benefits include reduced wiring,
improved diagnostics, and enhanced control capabilities.
In terms of the physical layer, Manchester encoding provides robust data transmission with
synchronization and noise immunity. The rules and constraints of the physical layer ensure
that communication in the industrial network remains reliable and scalable across a wide
range of devices and installations.
4o
You said:
Explain about the Fieldbus technology that supports various topologies.(13) answer in detail
and explain with respect to industrial data networks
ChatGPT said:
ChatGPT
Various Fieldbus technologies (e.g., Foundation Fieldbus, PROFIBUS, HART, CAN bus)
are designed to support different topologies—the physical or logical arrangement of devices
on a network. Different topologies provide flexibility for different plant layouts, device
placements, and operational needs. Let’s explore the types of topologies that Fieldbus
supports and their characteristics.
1. Point-to-Point Topology
Characteristics:
o Simplicity: It is the simplest topology, with a direct connection between two
devices.
o Single Device Connection: Only one device communicates with the control
system at a time.
o No Shared Bus: No multiple devices on the same communication line, which
limits its efficiency in larger systems.
Use Case:
o Useful for small, isolated installations where only one field device needs to
communicate with a control system, such as in simple automation systems.
Fieldbus Support:
o While designed for multi-device communication, Fieldbus protocols like
HART and PROFIBUS can still be used in point-to-point scenarios,
especially in systems transitioning from traditional analog setups.
The bus topology (also called trunk-and-spur topology) is the most common topology in
Fieldbus networks. It consists of a main trunk line (the bus), with multiple spur lines
branching out to connect individual field devices.
Characteristics:
o Centralized Communication: The trunk is the main communication path that
connects to the control system or controller, and devices communicate over
spurs.
o Multi-Device Support: Multiple devices (up to 32 or more depending on the
Fieldbus standard) can be connected to the bus via spurs, making it highly
scalable.
o Power and Data Sharing: Both data and power are often transmitted over the
same cable, simplifying installation.
Use Case:
o Ideal for large-scale industrial plants where devices are spread across various
locations. The topology minimizes wiring costs and allows centralized control
over multiple devices.
o Commonly used in process automation industries such as chemical
processing, oil and gas, and pharmaceuticals.
Fieldbus Support:
o Foundation Fieldbus H1 and PROFIBUS PA are widely used in bus
topologies. These protocols allow for digital communication and power over
the same trunk line.
o HART (in multidrop mode) also supports bus topology, where multiple
devices communicate on the same line.
Diagram:
css
Copy code
Controller ------ Trunk (Main Bus) ------ Terminator
| | |
Spur 1 Spur 2 Spur 3
| | |
Field Device 1 Field Device 2 Field Device 3
3. Tree Topology
The tree topology is an extension of the bus topology, where the main trunk branches into
multiple sub-trunks that further split into spurs. This allows for even more devices to be
connected in a hierarchical structure.
Characteristics:
o Hierarchical Layout: The tree topology enables the organization of devices
in layers, with branches connecting devices at different levels.
o Wide-Area Coverage: It is useful for covering a wide area, allowing devices
located far apart to be connected efficiently without excessive wiring.
Use Case:
o Used in complex industrial environments such as large oil refineries or
water treatment plants, where devices are spread across large distances and
need to be grouped into sections.
Fieldbus Support:
o Foundation Fieldbus, PROFIBUS, and Modbus support tree topology. This
topology can be achieved by using junction boxes that distribute the main
trunk into branches or sub-segments.
Diagram:
css
Copy code
Trunk
|
----------------
| |
Sub-Trunk 1 Sub-Trunk 2
| |
Spur A Spur B
| |
Field Device 1 Field Device 2
4. Star Topology
In a star topology, devices are connected to a central hub (or junction box) with individual
cables radiating out to each device. The central hub manages communication between the
devices and the control system.
Characteristics:
o Centralized Control: All communication passes through the hub, which acts
as a mediator between the devices and the control system.
o High Cable Requirements: Each device requires its own cable, increasing the
amount of cabling compared to bus or tree topologies.
o Fault Isolation: If one device fails, it doesn’t affect the others since each
device is independently connected to the hub.
Use Case:
o Useful in small systems or applications where each device requires
independent cabling for isolation and reliability, such as in critical process
control environments.
o Common in systems that need easy troubleshooting, since problems with one
device don’t impact the entire network.
Fieldbus Support:
o PROFIBUS, Modbus, and some Ethernet-based Fieldbus systems (e.g.,
PROFINET or EtherNet/IP) support star topology, where devices connect to
a central switch or hub.
Diagram:
markdown
Copy code
Central Hub
/ | \
Device 1 Device 2 Device 3
5. Ring Topology
In a ring topology, each device is connected to its neighbors in a closed-loop, forming a ring.
Data travels in one or both directions around the loop, depending on the implementation.
Characteristics:
o Fault Tolerance: In dual-ring topologies, if one segment of the ring fails,
data can be rerouted in the opposite direction, ensuring continuous
communication.
o Deterministic Communication: Because data follows a predictable path
around the ring, it provides deterministic data transfer, which is important in
time-sensitive industrial applications.
Use Case:
o Typically used in systems where high reliability and fault tolerance are
critical, such as in power plants or automotive manufacturing.
Fieldbus Support:
o PROFIBUS and Ethernet-based Fieldbus systems (e.g., EtherNet/IP,
PROFINET) support ring topology, especially for applications requiring high
availability and fault-tolerant communication.
Diagram:
lua
Copy code
Device 1 ---- Device 2
| |
Device 4 ---- Device 3
6. Mesh Topology
In a mesh topology, devices are interconnected in such a way that there are multiple paths for
data to travel from one device to another. This provides redundancy and increases the
reliability of the network.
Characteristics:
o Redundancy: Mesh networks are highly fault-tolerant because if one
connection fails, the network can reroute data through other available paths.
o Complexity: The wiring and communication routing are more complex
compared to other topologies, requiring more planning and often specialized
software for routing.
Use Case:
o Used in large, mission-critical industrial systems where network reliability
is of paramount importance, such as in smart grids, large-scale energy
systems, or military applications.
Fieldbus Support:
o WirelessHART and ISA100 are wireless Fieldbus protocols that support
mesh networking. These protocols are designed to work in environments
where wireless communication is preferred, but reliability must be maintained.
Diagram:
lua
Copy code
Device 1 ------ Device 2
| \ / |
Device 4 ----- Device 3
Conclusion:
4o
You said:
With neat sketch describe the general Field bus architecture.(13) answer in detail and explain
with respect to industrial data networks
ChatGPT said:
ChatGPT
General Fieldbus Architecture in Industrial Data Networks
The general Fieldbus architecture is composed of several layers and components, each
serving a distinct function in the communication process. Below is a detailed explanation of
the general Fieldbus architecture along with a diagram to illustrate it.
The architecture of Fieldbus is typically broken down into three main levels or layers:
This layer consists of field devices, including sensors and actuators, that interact directly
with the physical process being controlled.
Sensors: Devices that measure process variables (e.g., temperature, pressure, flow
rate) and convert these measurements into electrical signals.
Actuators: Devices that execute commands from the control system to modify the
process (e.g., opening valves, starting motors).
In the Fieldbus architecture, these field devices are equipped with microprocessors and
digital communication interfaces, allowing them to communicate directly with other
devices on the network. Unlike traditional analog systems, where devices could only send
data, Fieldbus-enabled devices can also receive control instructions, send diagnostics, and
even perform local control functions.
The Fieldbus Network serves as the communication backbone that interconnects all devices
and control systems. This layer includes various components and elements critical to the
successful transmission of data.
Fieldbus Trunk (Main Bus): A single main communication line (often a twisted-pair
cable) that connects multiple devices and control systems. It carries both power and
data to field devices.
Spurs (Branch Lines): Shorter branch lines that connect individual field devices to
the main trunk. Each spur can connect multiple field devices, allowing for flexible
system designs.
Power Conditioners: These provide power to the field devices over the same cable
used for communication. This feature is often referred to as power-over-bus,
reducing the need for separate power cables for each device.
Terminators: Installed at the ends of the bus, terminators prevent signal reflections,
ensuring that data is transmitted cleanly along the communication line.
Couplers/Repeaters: These devices are used to extend the communication distance
or connect different Fieldbus segments, ensuring that signal quality is maintained
across larger installations.
Field Device Communication: Data from the field devices are transmitted over the
bus in the form of digital signals. The communication follows the rules and protocols
of the Fieldbus standard in use (e.g., Foundation Fieldbus, PROFIBUS), ensuring
that the devices can communicate without interference.
The Control and Supervisory Layer includes the central control systems and human-
machine interfaces (HMIs) that monitor and control the overall operation of the industrial
process.
In some cases, control functions can also be distributed to the field devices themselves,
allowing for local control loops that reduce the need for continuous communication with the
central system, improving system reliability and reducing network traffic.
sql
Copy code
[Control and Supervisory Layer]
-----------------------------------
| Distributed Control System (DCS) |
| or Programmable Logic |
| Controller (PLC) |
-----------------------------------
|
Fieldbus Interface
|
[Communication Layer (Fieldbus Network)]
---------------------------
| |
| Fieldbus Trunk | (Main Communication Line)
|___________________________|
| | |
Spur 1 Spur 2 Spur 3 (Branch Lines to Field Devices)
| | |
-------------------------------------
| Field Device 1 | Field Device 2 | Field Device 3 |
-------------------------------------
| | |
-------------------------------------
| Field Device 4 | Field Device 5 | Field Device 6 |
-------------------------------------
In this diagram:
The control system (e.g., PLC/DCS) communicates with the field devices through a
Fieldbus interface.
The Fieldbus trunk carries both power and data, connecting the control system to the
field devices.
The spurs branch off from the main bus, providing connections to individual field
devices (e.g., sensors and actuators).
1. Integrated Power and Data Transmission: Fieldbus systems often combine both
power and data in the same cable, reducing the complexity and cost of installation
compared to traditional analog systems.
2. Multidrop Communication: Multiple field devices can share the same
communication line (trunk), reducing the need for individual wiring for each device.
This is especially beneficial in large industrial plants with numerous devices.
3. Bidirectional Communication: Field devices can both send data to the control
system and receive instructions from it, unlike traditional analog systems that only
support unidirectional communication.
4. Diagnostics and Maintenance: Fieldbus devices can transmit diagnostic information,
allowing for predictive maintenance and reducing downtime. Devices can report
faults, wear, and other issues before they cause system failures.
5. Distributed Control: Some Fieldbus architectures allow field devices to perform
local control functions, reducing the load on the central control system and
increasing overall system responsiveness.
6. High Noise Immunity: Fieldbus systems are designed to operate in industrial
environments, which often have high levels of electrical noise. Techniques such as
shielded twisted-pair cabling and balanced communication protocols provide
protection against signal interference.
Conclusion
Fieldbus architecture plays a crucial role in modern industrial data networks by enabling
efficient, scalable, and reliable communication between field devices and control systems.
Its layered architecture supports the integration of multiple devices, bidirectional
communication, and distributed control over a common communication bus, which reduces
installation complexity and enhances system diagnostics and control.
4o
You said:
Discuss in detail about the device commands of application layer of HART communication
protocol with proper examples used by the host device to obtain and interpret field device
data.(13) answer in detail and explain with respect to industrial data networks
ChatGPT said:
ChatGPT
HART defines a comprehensive set of standardized device commands that allow the host to
obtain and interpret data from the field devices. These commands are critical in retrieving
process variables, configuring devices, and managing diagnostics.
1. Universal Commands
2. Common Practice Commands
3. Device-Specific Commands
Let’s explore each category, their significance, and examples of commands used by host
devices to obtain and interpret data from field devices.
1. Universal Commands
3. Device-Specific Commands
Device Calibration: Some field devices might have specialized commands for
calibration procedures that are specific to the type of sensor or actuator.
o Example: A pressure transmitter from a particular manufacturer might have
specific commands for zero-point calibration and span calibration.
Device Diagnostics: Device-specific commands might also retrieve diagnostic
information, such as sensor health, communication quality, or internal errors.
o Example: A vibration sensor might have commands that report detailed
vibration analysis data, or alert the host if a sensor fault is detected.
Firmware Updates: Device-specific commands can also initiate firmware updates
or retrieve the firmware version of the field device.
o Example: A device manufacturer might implement a command for remotely
updating the firmware of a smart valve actuator.
Conclusion
The application layer of the HART communication protocol defines a robust set of
universal, common practice, and device-specific commands that allow the host device to
communicate effectively with field devices in an industrial environment. These commands
enable the host to obtain process data, configure devices, and perform diagnostics, making
HART a key protocol in modern industrial data networks.
4o
You said:
Discuss about structure and elements of HART communication systems. answer in detail and
explain with respect to industrial data networks
ChatGPT said:
ChatGPT
The HART (Highway Addressable Remote Transducer) protocol is one of the most
widely used communication systems in industrial automation, especially in environments
with legacy analog systems. It provides bidirectional digital communication over the
standard 4-20 mA analog wiring, allowing field devices to send and receive both analog and
digital data. This capability makes it extremely valuable in industrial data networks for
monitoring, control, configuration, and diagnostics of field instruments.
Let’s break down the structure and key elements of a HART communication system, focusing
on its components, network types, and how they fit into an industrial data network.
Each of these components plays a crucial role in ensuring smooth communication between
the control system and the process instruments.
1. Field Devices
Field devices are the instruments installed in the process area to measure and control various
process parameters such as pressure, temperature, flow, level, etc. These include:
Transmitters: Devices that measure process variables and send data back to the host
system. For example, a pressure transmitter will measure pressure and send both
analog (4-20 mA) and digital HART signals.
Actuators: Devices that respond to control signals to carry out actions, such as valves
that open or close based on digital instructions from the host system.
Sensors: Devices that detect physical parameters and send signals to the control
system for monitoring purposes, such as temperature sensors or vibration sensors.
The analog 4-20 mA signal, which traditionally represents the primary variable (e.g.,
pressure, temperature).
The HART digital signal, which can transmit additional data such as secondary
variables, diagnostics, device status, or configuration information. This digital
communication is superimposed on the 4-20 mA line without disrupting the analog
signal.
Digital and Analog Dual Communication: Provides both real-time analog data and
more detailed digital information for advanced diagnostics.
Smart Devices: HART-enabled field devices are often called smart devices due to
their ability to send/receive digital commands, self-diagnostics, and data logging
capabilities.
The host device is responsible for sending commands and receiving data from field devices.
A host can be a control system, handheld device, or computer. There are two types of
master devices in a HART network:
Primary Master: This is typically the control system or DCS/PLC that continuously
communicates with field devices, issuing commands and receiving data to control
processes in real-time. It manages data acquisition and process control.
Secondary Master: This is often a handheld communicator or a maintenance
computer used by operators and technicians to access the field device for
configuration, diagnostics, or calibration. The secondary master can access the
network without interrupting the primary master’s communication.
A unique feature of HART communication is its multimaster capability, which allows two
masters (primary and secondary) to communicate with the field devices simultaneously over
the same bus.
The HART communication system uses a wired network that supports both analog and
digital signals. HART signals are carried over standard twisted-pair cables that are
traditionally used for 4-20 mA current loops.
HART uses Frequency Shift Keying (FSK) to superimpose digital data on the 4-20
mA current. This means that while the analog signal continues to represent the
primary process variable, digital signals are encoded as 0s and 1s using two
frequencies:
o 1200 Hz for logic 1
o 2200 Hz for logic 0
This simultaneous transmission of analog and digital data allows HART to function as a
hybrid protocol, making it ideal for industrial systems transitioning from analog to digital
communication.
HART Topologies:
1. Point-to-Point:
o In this configuration, a single field device is connected directly to the host
device over a dedicated 4-20 mA loop. This is the most common and simplest
topology, where the analog signal represents the primary variable, and the
digital data is superimposed on the same line.
o Example: A single pressure transmitter is connected to a DCS system over a 4-
20 mA loop for real-time process monitoring.
2. Multidrop:
o Multiple field devices (up to 15 devices) can be connected on a single HART
communication line. In this topology, all devices share the same
communication channel, but each device has a unique polling address. In
multidrop mode, the analog current is fixed at 4 mA, and all communication is
carried out through the digital signal.
o Example: A temperature sensor, a flow meter, and a level transmitter all share
a single communication line with the host, reducing the number of cables
required.
3. WirelessHART:
o A wireless version of the HART protocol, WirelessHART extends the same
principles to a wireless mesh network, eliminating the need for physical
wiring. Field devices communicate wirelessly with a gateway, which
interfaces with the host system.
o Example: In environments where cabling is difficult or hazardous (such as oil
rigs or chemical plants), WirelessHART provides a flexible and robust
solution for remote monitoring.
Several key elements ensure that HART communication works efficiently across the
industrial network:
1. Communication Stack: The HART protocol follows the OSI model, with a focus on
the application, data link, and physical layers:
o Physical Layer: Describes the 4-20 mA signal transmission and FSK-based
digital communication.
o Data Link Layer: Ensures that messages are formatted correctly and manage
data addressing.
o Application Layer: Defines the commands and responses between the host
and the field device.
2. Polling Addresses: In a HART network, each device has a unique polling address.
The host device uses these addresses to identify and communicate with specific
devices on the network. Polling addresses are crucial in multidrop networks, where
multiple devices share the same communication bus.
3. HART Commands: HART defines a rich set of commands at the application layer,
enabling hosts to interact with devices:
o Universal Commands: Basic commands like reading the primary variable,
device ID, and loop current.
o Common Practice Commands: Commands for setting ranges, calibration,
and device configuration.
o Device-Specific Commands: Proprietary commands designed for specific
devices or manufacturers to support specialized functions like advanced
diagnostics or firmware updates.
4. Diagnostic and Maintenance Capabilities: HART communication allows field
devices to report diagnostic information back to the host, including:
o Device health: Reporting whether the device is functioning correctly.
o Process alarms: Alerts related to abnormal process conditions.
o Predictive maintenance: Device health indicators, such as valve stiction or
sensor drift, which help plan maintenance before failures occur.
Conclusion
The HART communication system provides a robust, flexible, and cost-effective way of
integrating digital communication into existing industrial networks. By enabling
bidirectional communication over
4o
You said:
Discuss about HART protocol implementation of OSI layer model.(13) answer in detail and
explain with respect to industrial data networks
ChatGPT said:
ChatGPT
The OSI model is a conceptual framework that standardizes communication functions across
seven layers: Physical, Data Link, Network, Transport, Session, Presentation, and
Application. HART primarily implements the physical, data link, and application layers,
while the other layers are either simplified or do not apply in the context of this protocol.
Let’s go through the OSI model’s relevant layers in the context of HART communication.
1. Physical Layer
The physical layer in the OSI model deals with the transmission and reception of raw bit
streams over a physical medium. In the HART protocol, the physical layer is implemented by
the 4-20 mA current loop and a Frequency Shift Keying (FSK) modulation technique for
digital communication.
Key Features:
Industrial Significance:
HART’s ability to combine analog and digital communication at the physical layer
allows industries to maintain their existing 4-20 mA wiring infrastructure while
upgrading to digital communication, minimizing costs and disruption.
The data link layer in the OSI model is responsible for ensuring reliable data transfer
between adjacent network nodes by managing framing, addressing, and error detection. In
the HART protocol, the data link layer handles the packaging and flow of data between the
host and the field devices.
Key Features:
Message Framing:
o The HART protocol encapsulates digital messages into frames to ensure that
the data is properly segmented and can be interpreted by the recipient.
o A typical HART message consists of the following parts:
Preamble: Indicates the start of a message and prepares the receiver
for data reception.
Start Delimiter: Marks the beginning of the frame.
Address Field: Contains the polling address of the field device.
Command: Indicates the type of action requested by the host (e.g.,
reading a process variable, setting a configuration parameter).
Data Field: Contains the actual data being transmitted (such as process
values or diagnostics).
Checksum: Ensures data integrity by allowing the receiver to detect
transmission errors.
Addressing:
o In point-to-point communication, the field device typically responds using
address 0, representing the single device connected to the host.
o In multidrop mode, each device is assigned a unique polling address (from 1
to 15). The host can communicate with multiple devices over the same
network by specifying the appropriate polling address.
Error Detection:
o HART employs a checksum method for error detection at the data link layer.
The checksum ensures that the data received by the field device or the host
matches the data sent, and if any errors are detected, the data can be
retransmitted.
Industrial Significance:
The data link layer ensures reliable and error-free communication between devices
in industrial environments, which are often prone to noise and signal degradation.
3. Network Layer
The network layer in the OSI model is responsible for routing and forwarding packets across
different network segments. In the case of HART, this layer is not explicitly implemented,
as HART typically operates in a simple network configuration with point-to-point or
multidrop topologies, which do not require routing. The field devices and host communicate
directly, so there is no need for complex routing protocols like in TCP/IP networks.
Industrial Significance:
HART’s direct communication structure keeps the protocol simple and efficient for
industrial applications, focusing on reliability rather than complex networking
functions.
4. Transport Layer
The transport layer is responsible for providing reliable end-to-end communication by
managing data segmentation, flow control, and error recovery. Like the network layer, the
transport layer is simplified in the HART protocol.
Industrial Significance:
5. Session Layer
The session layer in the OSI model manages the establishment, maintenance, and termination
of communication sessions between devices. In HART, the session layer is not explicitly
defined because HART operates on a master-slave model, where the host initiates
communication sessions with field devices.
Industrial Significance:
6. Presentation Layer
The presentation layer in the OSI model is responsible for translating between different data
formats, such as converting from one character encoding to another. In HART, the
presentation layer is implicit within the application layer.
HART uses a standardized data format to ensure that the host and field devices can
interpret the exchanged data correctly. All field devices must follow the HART
protocol specification, ensuring that the data can be uniformly understood without
additional translation.
Industrial Significance:
By using a common data format, HART ensures that devices from different
manufacturers can communicate seamlessly, which is vital for ensuring
interoperability in industrial networks.
7. Application Layer
The application layer is the highest layer in the OSI model, and in HART, this is where the
core functionality of the protocol is implemented. The application layer defines the
commands that the host can send to the field devices and the data responses that the field
devices send back.
Key Features:
Command Structure:
o HART defines a variety of commands for interacting with field devices. These
commands are categorized into:
Universal Commands: Basic commands supported by all HART
devices (e.g., reading the primary variable, device ID, and loop
current).
Common Practice Commands: Commands used for more advanced
functions, such as configuring the device, setting ranges, and
performing calibration.
Device-Specific Commands: Custom commands that may vary
depending on the device manufacturer, allowing access to specialized
features.
Process Variable Data:
o Field devices typically send process variables (such as pressure, temperature,
or flow) back to the host. The application layer defines how these values are
packaged and transmitted.
Device Configuration:
o The application layer allows the host to configure devices remotely, including
setting operational parameters, calibration data, and diagnostic information.
Industrial Significance:
The application layer is critical in industrial networks because it defines the actual
process control functions, such as retrieving real-time data from sensors or
configuring actuators. This layer provides the primary interface between the control
system (host) and the industrial process (field devices).
You said:
(i) Describe the Physical layer of the HART protocol in detail.(8) (ii) Mentation the
advantages and disadvantages of HART protocol.(5) answer in detail and explain with
respect to industrial data networks
ChatGPT said:
ChatGPT
The physical layer of the HART protocol is responsible for the transmission of both analog
and digital signals over the same communication medium, typically a 4-20 mA current
loop. It leverages the widely used 4-20 mA standard for analog communication and overlays
Frequency Shift Keying (FSK) for digital communication. Let’s explore the physical layer
in detail:
Standard Analog Signal: The 4-20 mA current loop has been the foundation of
process control for decades. In HART systems, the 4 mA signal represents the lower
end of the process variable (e.g., 0% of a measured value like temperature or
pressure), and the 20 mA signal represents the upper end (e.g., 100% of the measured
value).
Primary Variable Transmission: The primary process variable (e.g., pressure,
temperature, level) is communicated as an analog signal within this 4-20 mA range,
allowing for real-time monitoring.
3. Non-Intrusive Communication
One of the main benefits of HART’s physical layer is that it allows bidirectional
digital communication without interfering with the primary analog signal. This
means that a technician or system can request data from or send commands to a
device without interrupting the normal analog signal.
Devices can be configured, diagnosed, or monitored digitally without affecting the
ongoing process control loop.
Point-to-Point Mode: In most cases, a single field device communicates with the
host through a dedicated 4-20 mA loop.
Multidrop Mode: In this mode, multiple field devices (up to 15) share the same loop,
with each device having a unique polling address. The 4-20 mA current is fixed at 4
mA for all devices, and all communication is done digitally via the FSK signal.
Conclusion
The physical layer of the HART protocol leverages the existing 4-20 mA analog
infrastructure and enables digital communication through FSK modulation, making it
ideal for industries looking to upgrade without extensive rewiring. However, while HART
offers many advantages like cost-effectiveness, easy integration, and diagnostics capabilities,
its limitations in speed, scalability, and bandwidth mean that it is best suited for small to
medium-sized industrial networks rather than large, data-intensive applications.