Basics of Hart
Basics of Hart
Basics of Hart
Current Situation
n All industry users working to: Improve Process Operations Better Manage Plant Assets Increase System Availability/Reliability n Many faced with declining budgets and
pressure to do more with less n Much of the solution may already be in your plant
Much of the Power is already in your smart field devices enabled by HART technology New control system interfaces leverage the intelligence in your HART smart devices to deliver continuous Real-Time Diagnostics and much more!
HART
COMMUNICATION FOUNDATION
Page 2 of 59
Communication n HART smart field devices are used interchangeably with traditional 4-20mA analog only units n Hand Held Communicators are often used to perform device set-up, calibration, commissioning and periodic maintenance n PC-based instrument management tools can remotely communicate with HART devices to manage calibration and other instrument parameters from central locations (instrument shop or control room)
Page 3 of 59
data for plant operation continuously - 24/7 n HART communication provides access to all device data simultaneous with the 4-20mA analog signal being used for control n Diagnostic status information pertaining to the health of the field device and quality of the 4-20mA signal is part of every message n The Primary Variable (PV) is transmitted as a 4-20mA signal and also as a digital value n Many devices are Multi-Variable and have measured or calculated process variables in addition to the PV
Control I/O
COMMUNICATION FOUNDATION
Page 4 of 59
1% Proprietary 4-20mA +
26% Pneumatic
Smart
HART
COMMUNICATION FOUNDATION
Non - Smart
Page 5 of 59 Copyright - HART Communication Foundation, 2002
HART
HART
HART
2001
2003
2005
The Installed Base of HART is Huge and It will continue to grow for a long time to come !
HART
Source: 2001 Pressure Transmitter Worldwide Outlook Study ARC Advisory Group, Dedham, MA USA
Page 6 of 59 Copyright - HART Communication Foundation, 2002
COMMUNICATION FOUNDATION
0%
Part-Time Communication FULL-TIME Communication Integrated with Plant Systems
Page 7 of 59
100%
HART
COMMUNICATION FOUNDATION
plant control and safety systems n Systems communicate with HART devices full time - analog + digital n Operators alerted to impending problems before negative impact to the process
Accuracy of data exchange between field device and control system validated continuously Any deviation between field device and system (loop current, range values, etc) detected immediately Real time device diagnostics
n Additional process data in Multi-
Control
I/O
HART
COMMUNICATION FOUNDATION
HART Basics
What is HART ?
HART in a backward compatible enhancement to 4-20mA instrumentation that allows two way communication with smart, microprocessor-based field devices. n HART Characteristics Simultaneosly supports two communications channels
4-20mA "analog" communications and Modulated two-way "digital" communications.
Standardized Operating procedures (e.g.,for loop test, current loop re-ranging and transducer calibration).
HART
COMMUNICATION FOUNDATION
Page 10 of 59
Organization of Specifications
The Protocol
HART Field Communications Protocol Specification
HCF_SPEC-12, Revision 6.0
Application Layer
n Collection Of Specifications Easy-to-Read Language Consistent and well-defined terms Controlled by HART Communication Foundation
HCF_SPEC-99, Revision 8.0
HART
COMMUNICATION FOUNDATION
Page 11 of 59
n Uses OSI Reference Model as a guide n Specifications promote interoperability Requirements in each layer clearly specified HART Compatible devices must support all layers
HART
COMMUNICATION FOUNDATION
Page 12 of 59
Page 13 of 59
1 Pair of Wires
Digital Data Modulated on the Analog 420mA Current Loop
+0.5mA
HART FSK
Simultaneous and Transparent Communications n Standard 4-20mA wiring n Backward Compatible With 4-20mA Analog Instrumentations and Systems
Allows HART Capable Instruments to be added to existing systems HART Capabilities can be utilized incrementally
4-20mA Replacement Instrument Commissioning, Maintenance Continuous Real-time Communications Full Digital Integration
HART
COMMUNICATION FOUNDATION
Page 14 of 59
HART
COMMUNICATION FOUNDATION
Page 15 of 59
Multi-Drop Loop
A network must have no more than one device varying the 4-20ma signal. Only one secondary device is allowed. Cable run lengths to 3000m for single pair cable and 1500m for multi-conductor cables is typical.
Note: Actual length depends on the number of multi-dropped field devices and the quality of the cable used.
+24VDC
Linear power supplies recommended. HART is compatible with I.S. rules and HART communicates across most I.S. barriers.
Zener diode barriers work with HART (They normally allow two-way communications). Isolating barriers must be HART compatible (i.e., some isolating barriers support one-way communication only).
compatible with standard 4-20mA wiring practices n Many instrument types and network topologies allowed
HART
COMMUNICATION FOUNDATION
Page 16 of 59
Split-Ranging Valves
Control System
PID in transmitter 4-20mA is Control Signal PID in actuator 4-20mA is Process Signal
n HART used to monitor and
Page 17 of 59
HART Messages or Frames Consist of Delimiter, Address, [Expansion,] Command, Byte Count, [Data,] and Check Byte Fields
n Uses Addresses to Ensure Delivery to the Correct Network Device
HART Masters have a 1-Bit Address HART Slaves have a 4-Bit and a 38-Bit Address
n Provides Error Detection and Management
HART is Token-Passing with Each Message Implying the Passing of a Token to Another Device
HART
COMMUNICATION FOUNDATION
Example Transaction
n Half Duplex - Only One Device Talks at a Time n Analog Signaling of Digital Data -
Carrier Ramps Up Preamble Syncronizes Physical Layer (Demodulator and Receiver) Message Tranferred Carrier Ramps Down Repeat for Slave Reply
Master Request
Preamble Message Preamble
Slave Response
Message
HART
COMMUNICATION FOUNDATION
Page 19 of 59
Tells message framer where the Byte Count is. Indicates the Message Type. n Address - Indicates the master and slave conversing. 5 bytes long, unique address. Indicates the master and slave communicating n Expansion - 0-3 bytes reserved for protocol enhancements.
Layer what information is being transferred or action being performed. n Byte Count - Tells message framer where the Check Byte is and the Application Layer how much information is being transferred. n Data - The message "Payload". n Check Byte - An XOR of all message bytes starting with the Delimiter.
HART
COMMUNICATION FOUNDATION
Page 20 of 59
Communication Reliability
n Physical Layer Worst case 1 Bit Error in 10,000 (BER 104) (Very Noisy Wire) Most applications BER >> 106 n Data Link Layer Simple to implement, very robust Error Detection
Parity on each byte Check Byte on whole message
Page 21 of 59
Relatively Simple to implement Each message indicates who talks next Masters and Burst-Mode Slave take turns sharing the network Not all Actors need be present Timers control token recovery
n Most Networks a 4-20mA loop
Qty Description
0-1 0-1 1-n 0-1 0-n
Can Initiate a transaction. Has access to the network before the Secondary Master Can Initiate a transaction. Same access rules as Primary (only one timer value is different) Only responds to Master requests Publishes Process Data; Responds to master requests; PLUS (if present) controls network access. Listens to the network (e.g., captures process data published by burst mode slave)
Page 22 of 59 Copyright - HART Communication Foundation, 2002
HART
COMMUNICATION FOUNDATION
Response
Slave device only communicates when requested n Responds to Master Command n "Grant Time" used to allow access by other Master
n
Optional Slave Support (> 65%) n Slave continuously transmits selected command response
Only Process Data Commands (i.e., 1, 2, 3, 9, 33) may be burst.
n
HART
COMMUNICATION FOUNDATION
Page 23 of 59
"Normal" mode: master gets token implied by slave response other master
Master recovers lost token using timers
"Burst" mode: master gets token implied by burst message to other master
Burst mode slave recovers token
HART
COMMUNICATION FOUNDATION
Data Link Layer: Error-free transport of data Application Layer: Does the data make sense? Response Codes Indicate Correctness of master request
n Specifies
Standard Device and Process Data Status Standard Operating Procedures (e.g., Re-ranging, Calibration)
Page 25 of 59
Common-Practice Commands
Cmd Description 34 35 38 40 41 42 44 45 46 Write Primary Variable Damping Value Write Primary Variable Range Values Changes primary process variable values used as the 4 and 20ma operating points Reset Configuration Changed Flag Enter/Exit Fixed Current Mode Allows the loop current value to be forced. Used in Loop test and calibrating the loop current (see Commands 45, 46) Perform Self Test Perform Device Reset The device perform a hard reset (i.e., the same effect as cycling the power on and off). Write Primary Variable Units Trim Loop Current Zero Adjusts the loop current to 4ma. Does not affect the range values or the digital primary process value Trim Loop Current Gain Adjusts the loop current to20ma. Does not affect the range values or the digital primary process value
Note: 1. All devices must support all Universal Commands. 2. There are many Common Practice Commands. However, the ones listed are commonly used in the vast majority of devices including even the simplest devices available. 3. Commands 0, 11, 21 are three of the Identity Commands. All return the same identity data
HART
COMMUNICATION FOUNDATION
Page 26 of 59
HART
COMMUNICATION FOUNDATION
Page 27 of 59
with more than one process measurement or calculated value n HART communication provides access to All Process Variables in the device n Digital Process Variable data includes: IEEE Floating Point Value Engineering Units Code Data Quality Assessment n The Primary Variable is transmitted on the 4-20mA current loop continuously, but it can also be read as a digital value
HART
COMMUNICATION FOUNDATION
Page 28 of 59
assess and monitor their performance n Diagnostic status information is returned with every message n Alerts include problems with 4-20mA signal and process variables out of limits n Continuous communication with field device increases the integrity of control & safety systems Real-time diagnostic alerts provide early warning to problems Detect any miss-match in calibrated Range or Engineering Units between device and system Secure 4-20mA communication channel to ensure accurate transfer of control information
HART
COMMUNICATION FOUNDATION
Page 29 of 59
4-20mA Proportional to PV
HART Instrument Fault Alarm Second Variable (SV) High/Low Alarm Third Variable (TV) High/Low Alarm Fourth Variable (FV) High/Low Alarm 3 ea 4-20mA Loops Proportional to SV, TV, or FV
HART
One Wire from Field to Control Room Multiple Analog Signals and Alarm Contacts to the Control System
Page 30 of 59 Copyright - HART Communication Foundation, 2002
COMMUNICATION FOUNDATION
What Could Be
n
Control
Utilize HART Digital Data Understand HART Status Standardized HART Templates
Benefits
Validated Process Data - Improved Product Quality Reduced I/O Count - 1 Channel per Multi-Variable Field Device Early Problem Detection - Prevent Unscheduled Downtime Lower Maintenance Costs - Fewer Unnecessary Service Calls Improved System Integrity
Copyright - HART Communication Foundation, 2002
HART
COMMUNICATION FOUNDATION
Page 32 of 59
Enterprise?
HART
COMMUNICATION FOUNDATION
Page 33 of 59
Have DB with Pieces of Many Field Device Databases Their Copy of the Data must be Current, Accurate, Reliable
n The Field Device is Part of the System
Remote I/O
Not All Control Systems Think This Way Similar to SCADA Thinking
n HART's Huge Installed Base
Page 34 of 59
Critical to Making Good Decisions n 4-20mA Only Support Produces an "Information Gap" n With Many Systems Only 4-20mA Communication is Continuous Real-Time
Only a One Data Item Is Communicated Communications is limited to One Direction Secondary Process Variables, Data Quality, and Real-time Diagnotics . . . Lost.
n Communications is Not Secure
Distortion in 4-20mA May Not Be Detected Meaning of 4-20mA Signal Can Change Erroneous information if 4-20mA set-up in device and system not aligned
Control Network
Page 35 of 59
for a Single Process Value n 4-20mA control signal must be manually verified
Calibration of field device and I/O channel Matching Range for both I/O and device
n Highest possible communication rate
for a Single Process Value n HART Communication closes the Information Gap
HART Digital Communications
Secures integrity of 4-20mA signal System can validate accuracy of the 420mA signal and continuously monitor device diagnostics in real-time Enables access to additional information in multi-variable devices
HART
COMMUNICATION FOUNDATION
Page 36 of 59
Erroneous control signal produced by unexpected external influence Detectable ONLY if signal out of rangeabove 20mA or below 4mA
n 4-20mA signal validated continuously n System automatically detects any
I/O continuously checks loop current for agreement with digital values from device Continuous communication detects any device or process connection problems Automatic calibration of the 4-20mA possible
Page 37 of 59 Copyright - HART Communication Foundation, 2002
HART
COMMUNICATION FOUNDATION
4-20mA signal must be outside normal operating range to detect problem Non-catastrophic failure may cause error in 4-20mA signal - temp compensation loss
Field Device Failure
Extensive self diagnostics - "Device Needs Maintenance", "Valve Not Tracking SP" Change in Device Status Supports "Self Validating" Devices
n Process Disruption may be Avoided
Operators alerted to problem early Enables pro-active action for minimum impact to process operation HART
COMMUNICATION FOUNDATION
Page 38 of 59
"PV out of Limit", "Secondary Variable Out of Limit", "Loop Current Saturated" Diagnosis possible without costly trip to the field
Page 39 of 59 Copyright - HART Communication Foundation, 2002
HART
COMMUNICATION FOUNDATION
apparent
n Change in operation may NOT be
detected
Range Change via Local Operator Panel
parameters
"Configuration Changed" flag "Configuration Change Counter Any configuration change detected immediately
n Supports Multiple Masters and Local
Panels
"Lock Device" Command to prevent another Master or Local Panel from making changes
Page 40 of 59 Copyright - HART Communication Foundation, 2002
HART
COMMUNICATION FOUNDATION
Command 2 Does the loop current in the I/O match the Field Device's?
n Read the Process Variables
Command 3, 9, or 33 Access to Secondary Variables in Field Device Validates Primary Variable sent using the loop current
n Detect Status Change
Current
Loop Test with Command 40 Calibrate (if needed) with Commands 45, 46 Analog Communication Channel Integrity
n Detect Change in Instrument
Status in Device Response Plus any change in Command 48 Data Trigggers notification of Operator HART
Configuration
Status in Device Response (Configuration Changed bit) Command 0 (change counter) Trigggers notification of Operator
Page 41 of 59 Copyright - HART Communication Foundation, 2002
COMMUNICATION FOUNDATION
Reporting by Exception n Field Controller Utilization of HART Multi-Variable Devices Easy Access to and Use of All HART Process Data And Status Apply Full Knowledge of Process For Optimization and Control n Operator Station HART Allows Full Window into the Process Early Notification of Potential Problems n Maintenance Station Detailed Instrument Configuration DB Only one that Needs More than Standard HART Data and Commands
HART
COMMUNICATION FOUNDATION
Page 42 of 59
Pass-Through - HART Commands can be communicated but, the component itself may directly Use / Support HART Capabilites Multiplexed I/O - One HART Communication Channel Shared Between many Device Connections. Resulting Communication Painfully Slow.
n Simple HART features not supported in all Masters n HART Protocol Specifies Master Classifications
Helps Understand HART Capabilities Supported Starting Point for a System Discussion.
Class
0 1 2 3 4 5
Description
Host does not meet the minimum requirements of Conformance Class 1 The host can utilize cyclical process data from any field device The host can supply the user with basic identification and configuration data from any field device The host can perform basic configuration for any field device - Minimum level for classification as Generic Host The host provides basic commissioning and calibration support for any device The host can access all data items and device specific functions for any device
Page 44 of 59 Copyright - HART Communication Foundation, 2002
HART
COMMUNICATION FOUNDATION
Multiplexed I/O
Shares 1 HART Comm Channel With Many Networks Many Times Slower Than Point to Point Communications Slower Than HART MultiDrop Limits Utilization of Field Device
Page 45 of 59
4-20mA
Multiplexed I/O
Wasted I/O Channels More Hardware and Complexity n True Continuous HART Communication 0.5 Second Latency Full Access to All Field Device Information Closes the Information Gap 4-20mA Communcation Security Enhanced n Multi-Variable Digital Data Access Practical Secure Digital Process Data with Status Saves I/O n The Reliable, Simple System
4-20mA + HART
One-One I/O
HART
COMMUNICATION FOUNDATION
Page 46 of 59
Slow HART Communications Limited Access to HART Data Maintenance Station May Publish Data (e.g., using OPC)
Operator Station Data Historian
HART Data
Page 47 of 59
HART Pass-Through
n 1st Generation System Support
Communication not Continuous Usually Uses Dumb Multiplexed I/O Maintenance Station Primary Recipient
n HART Data Access
Very Slow Communications Limited Access to HART Data Little Native HART Knowledge in I/O Controller HART Data Access Possible (Can be Difficult to Achieve)
HART Data
Remote Diagnostics / Maintenance Lowers Maintenance Costs Reduces Hardware and Wiring Duplication HART
COMMUNICATION FOUNDATION
Page 48 of 59
Enhances Early Problem Detection - Reduces Unscheduled Downtime Lowers Maintenance Costs - Fewer Unnecessary Service Calls Validates Process Data - Improves Product Quality Improves System Integrity
Page 49 of 59
HART
COMMUNICATION FOUNDATION
Page 50 of 59
Control
I/O
D A T A
support integration with plant control systems n Many control systems have direct HART-capable I/O and support use of the data at all levels n Third party products support integration with legacy systems
Multiplexers - Some integral with Field Termination Assemblies Gateways - HART to Ethernet, HART to Modbus, HART to Profibus, more Single Device Interfaces - convert digital process variables and device diagnostic alerts into 4-20mA signals and/or contact closures
HART
COMMUNICATION FOUNDATION
Page 51 of 59
access to HART device data anywhere on plant network n Allows several applications to access data in a HART device at the same time n Enables popular HMI and Trending packages to access data in HART devices n Connect to one or thousands of devices using common HART I/O systems & interfaces n HART Data on Your Desktop anywhere in the plant
HART
COMMUNICATION FOUNDATION
Page 52 of 59
of Control Information
Ensure accuracy of system data Verify Loop Current, PV and Range values in device match those of system Automatically detect any deviation between device and system
n Unlock additional information in Multi-Variable devices
Secondary Process Variables for operator display, trending, or control Better information to improve plant operation and manage assets
HART
COMMUNICATION FOUNDATION
Value Today with Little or No Integration (Just Using a Handheld) Benefits Grow as Your HART Integration Grows
n Major Plant Overhaul Not Required
HART Compatible with existing instrumentation systems and people Allows benefits to be achieved incrementally Use Your Field Devices Better, Don't Throw Them Away and Start Over
n Migrate at Your Pace
HART
COMMUNICATION FOUNDATION
Page 54 of 59
Take Action!
n Learn More About HART
Provide HART capability training for your staff Understand the Opportunities
Which Capabilities Fit Your Plant Needs Which Tools Deliver those Capabilited
HART
COMMUNICATION FOUNDATION
Page 55 of 59
HART
COMMUNICATION FOUNDATION
HART Communication Technology n Technology Owner and Standards Setting Body for HART Communication n Independent Non-Profit Organization - Funded by Membership and Training/Support service fees n Any Company interested in Use of the HART Protocol should be a member
HART
COMMUNICATION FOUNDATION
Page 56 of 59
Foundation Services
n Manage and control the HART
Communication Protocol Standards n Enhance the HART technology as necessary to support industry needs for Smart Instrumentation n Provide Training Workshops, Newsletters, Web Site and other Services to Educate Industry on use of the HART Protocol n Manage Library and distribution of Registered Device Descriptions for all HART devices
HART
COMMUNICATION FOUNDATION
Page 57 of 59
The Bottom Line... Most Users and Suppliers are not using the full value of HART Communicate with your HART devices and...
HART
COMMUNICATION FOUNDATION
Page 58 of 59
Questions?
Wally Pratt HART Communication Foundation
9390 Research Blvd., Suite I-350 Austin, Texas 78759 USA
HART
COMMUNICATION FOUNDATION
Page 59 of 59