SlideShare a Scribd company logo
T
E
C
H
    Control with WirelessHART


N   HCF_LIT-127, Revision 1.0
    Release Date: June 30, 2008




O   Abstract:

    WirelessHART was designed specifically to support the
    wide range of process-industry use cases from simple
    monitoring to closed loop control. Testing and field trials


T   with wireless devices have demonstrated that the
    communication accuracy, stability, total performance,
    and reliability can meet the demands of industrial
    process monitoring and control applications.

    Control application requirements for sampling intervals,


E   jitter, and latency were specifically addressed and
    designed into the WirelessHART technology. In fact,
    control performance with WirelessHART can be
    comparable to that of a wired system using traditional
    field buses.
HART Communication Foundation Document Number: HCF_LIT-127
Document Title: Control with WirelessHART

Date of Publication: June 30, 2008

Document Distribution / Maintenance Control / Document Approval

To obtain information concerning document distribution control, maintenance control, and document
approval please contact the HART Communication Foundation (HCF) at the address shown below.

Copyright © 2008 HART Communication Foundation

This document contains copyrighted material and may not be reproduced in any fashion without the
written permission of the HART Communication Foundation.

Trademark Information
HART® is a registered trademark of the HART Communication Foundation, Austin, Texas, USA.
Any use of the term HART hereafter in this document, or in any document referenced by this
document, implies the registered trademark. WirelessHART™ is a trademark of the HART
Communication Foundation. All other trademarks used in this or referenced documents are
trademarks of their respective companies. For more information contact the HCF Staff at the
address below.




                                   Attention: Foundation Director
                                  HART Communication Foundation
                                     9390 Research Boulevard
                                             Suite I-350
                                       Austin, TX 78759, USA
                                       Voice: (512) 794-0369
                                        FAX: (512) 794-3904

                                       http://www.hartcomm.org




Intellectual Property Rights
The HCF does not knowingly use or incorporate any information or data into the HART Protocol
Standards which the HCF does not own or have lawful rights to use. Should the HCF receive any
notification regarding the existence of any conflicting Private IPR, the HCF will review the disclosure
and either (a) determine there is no conflict; (b) resolve the conflict with the IPR owner; or (c) modify
the standard to remove the conflicting requirement. In no case does the HCF encourage
implementers to infringe on any individual's or organization's IPR.




Revision 1.0, Release Date: June 30, 2008                                                    Page 2 of 9
HART Communication Foundation Document Number: HCF_LIT-127
Document Title: Control with WirelessHART


Control with WirelessHART
For nearly two decades, HART Communication has been the
process industry standard for secure, simple, and reliable                                   The WirelessHART standard is
operations.    New capabilities and wireless communication                                   the     first    open      wireless
introduced with HART version 7, compliment established practice                              communication        standard     for
and expand the use of HART Communication into new areas and                                  measurement and control in the
applications.                                                                                process industries. It uses
                                                                                             wireless      mesh       networking
                                                                                             between field devices, as well as
WirelessHART was designed specifically to support the wide                                   other innovations, to provide
range of process-industry use cases from simple monitoring to                                secure,        reliable       digital
closed loop control. Testing and field trials with wireless devices                          communications that can meet
have demonstrated that the communication accuracy, stability,                                the stringent requirements of
total performance, and reliability can meet the demands of                                   industrial applications.
industrial process monitoring and control applications.
                                                                                             This is one of a series of papers
Control application requirements for sampling intervals, jitter, and                         helping users recognize the
latency were specifically addressed and designed into the                                    benefits of WirelessHART, as
WirelessHART technology. In fact, control performance with                                   well as addressing specific
WirelessHART can be comparable to that of a wired system using                               questions about WirelessHART.
traditional field buses.

Let's look at some of the factors that can come up in considering WirelessHART for control
applications.

Sampling intervals

WirelessHART allows sampling intervals that meet the requirements of most control loops while at
the same time minimizing the impact on field-devices that may be powered by a battery.

The typical rule of thumb is that feedback control should be executed 4-10 times faster than the
process response time, where response time equals the process time constant plus deadtime.

Because measurement systems are often unsynchronized with the control system, measurement
values are typically sampled as much as 2-10 times faster than the process can respond (Figure 1).

Figure 1.

                                                             Process Output


                                                                       ∆O
                                             63% of Change

                      Time Constant (   τ)
                         Deadtime (TD )


                                                             Process Input

                 ∆I


                                                                         Control Execution


                                                                         New Measurement Available (Unsynchronized)



Revision 1.0, Release Date: June 30, 2008                                                                             Page 3 of 9
HART Communication Foundation Document Number: HCF_LIT-127
Document Title: Control with WirelessHART

With wireless systems, however, it's desirable to reduce the frequency that measurements are
taken and communicated in order to extend measurement-device battery life.

The ability to schedule communications with WirelessHART makes this easy to do without
compromising control reliability. Figure 2 adds these two methods to the previous diagram:


   •   Synchronized. Measurements are taken and transmitted only (and exactly) when they're
       needed for control execution.

   •   Synchronized with exception reporting. Measurements are taken at scheduled intervals
       – for example, 4-10 times faster than the process response time – but transmitted only if the
       measurement has changed by a specified amount or if the time since the last
       communication exceeds a specified interval.


Figure 2.
                                                             Process Output


                                                                       ∆O
                                             63% of Change

                      Time Constant (   τ)
                         Deadtime (TD )


                                                             Process Input

                 ∆I


                                                                         Control Execution


                                                                         New Measurement Available (Unsynchronized)


                                                                         New Measurement Available (Synchronized)

                                                                         New Measurement Available (Synchronized w/ exception
                                                                         reporting)




More-frequent communication of measured values is certainly possible and in the case of line
powered devices can work similar to wired networks. In the case of battery powered or devices
where energy conservation is important, WirelessHART offers users the opportunity to find an
application's optimum balance between communication intervals and battery life.

Latency and Jitter

Effective control requires timely access to measurement and control information. A system's ability
to meet its control performance requirements can be affected both by delays (latency) and variation
(jitter) in when the information is available.

In some systems, latency and jitter can start with the timing of the measurements themselves. But
WirelessHART is a time-synchronized protocol, with every device having a common sense of time
accurate to 1 millisecond across the entire network – a capability not available in many other


Revision 1.0, Release Date: June 30, 2008                                                                                  Page 4 of 9
HART Communication Foundation Document Number: HCF_LIT-127
Document Title: Control with WirelessHART

protocols. The measurement software and circuitry use this sense of time in scheduling
measurements, all but eliminating delays and variation in measurement timing.

Latency and jitter can also be introduced when data is communicated – for example, from a
transmitter to a gateway. In this case, latency is the time it takes for a communication packet to
make its way from the source to the destination, while jitter is variation in latency between different
communication cycles (Figure 3). Excessive latency (which effectively adds deadtime to the
process) and jitter (which adds error into the control calculations) can lead to significant degradation
in control performance.

Figure 3




In direct communications, WirelessHART has a transmission rate that is faster than some traditional
wired field bus technology. For example, if the communication rate is 31.25 kilobits/second, the
communications delay will be 32 microseconds/bit.            WirelessHART has a much faster
communications rate – 250 kilobits/second -- so the delay introduced by the communications rate is
only 4 microseconds/bit.

Since a typical WirelessHART message is 128 bytes, the time for complete message transmission
is 4 milliseconds. Each transmission and its corresponding acknowledgement occur within a 10-
millisecond "time slot" in a periodic communication Superframe or macrocycle (Figure 4).

Figure 4.




However, in many scenarios communications require more than one time slot for a message to
travel from the source to the destination. Let's look at one such scenario.


Revision 1.0, Release Date: June 30, 2008                                                    Page 5 of 9
HART Communication Foundation Document Number: HCF_LIT-127
Document Title: Control with WirelessHART

If a communication can't reach its destination directly, it can "hop" from node to node to bridge the
gap or circumvent obstructions. This ability to route around physical obstacles or interference is a
core feature of the WirelessHART mesh technology. Figure 5 shows three paths a communication
might follow from the device on the left to the gateway on the right.

Figure 5




Changing the route the data travels can contribute to variation in communication time (jitter).
Although each additional hop increases latency, in typical applications the average delay is well
within the requirements for control. We can illustrate this with an example.

In most cases, a WirelessHART network will be able to retry a failed message in the next time slot
or the one following. For our example we’ll assume it takes 10 milliseconds to process a message
and assign it to another time slot. Path A in Figure 5 could therefore produce as much as 50
milliseconds of total latency (10ms + [10ms + 10ms] + [10ms +10ms]). Path B has the same
number of hops and thus the same communications latency. But Path C has an additional hop,
bringing total communications latency to 70 milliseconds. This timing difference introduces a 20-
millisecond jitter in the communications. (In many cases the routing device will be able to retry in
the next slot, which would reduce the total latencies to 30 milliseconds for Paths A and B and to 40
milliseconds for Path C.)

Experience in hundreds of wireless field device installations shows that communications latency on
average is much lower than in this example. In real plant settings, typically 30% of the devices
communicate directly with the gateway or network access point (10 milliseconds) and about 50%
are one hop away (30 milliseconds). The remaining 20% may be 3-4 hops. Using these numbers
from actual plant installations, the average latency time will be about 30 milliseconds.

Existing installations also show that network reliability is typically greater than 99%, so the latency
time will not vary significantly between communications – effectively eliminating the effect of jitter.



Revision 1.0, Release Date: June 30, 2008                                                   Page 6 of 9
HART Communication Foundation Document Number: HCF_LIT-127
Document Title: Control with WirelessHART

But is it fast enough for control?

Communications latency does not affect control as long as the delay is small compared to the
process response time. Appropriate scheduling of transmissions across the time slots in a
macrocycle can ensure the data reaches its destination when needed.

For good control we need to be able to read the control measurement, communicate the
measurement to a controller, execute the control function, and communicate the output back to the
target in one-half the process time constant. Most control loops are 1 second or more, so for a 1-
second control loop we would need to be able to perform all of these steps within 500 milliseconds.

Let's see how this works with the example control loop shown in Figure 6. In this example, the
measurement is processed in the field device, the control algorithm runs in the gateway, and the
actuation occurs in a valve that's the same "hop depth" from the gateway as the measurement
device. The total span of the cycle includes the AI, PID, AO, and communication times.

Figure 6




Using the numbers from our earlier example, each communication – from the measurement device
to the gateway, and from the gateway to the valve -- would take 70 milliseconds. If we further
assume that the control execution time inside the gateway is very small, then we can assume that
the control loop will execute in 140-150 milliseconds – well below the required 500 milliseconds.

A typical network schedule to support this scenario is shown below. The individual communications
shown earlier in Figure 5 are distributed both across the 50 time slots in each macrocycle and
across the 15 radio-frequency channels used by WirelessHART.




Revision 1.0, Release Date: June 30, 2008                                               Page 7 of 9
HART Communication Foundation Document Number: HCF_LIT-127
Document Title: Control with WirelessHART

Figure 7




As this example shows, 500-millisecond macrocycles are easily achievable even when multiple
hops are assumed in the communication. This is fast enough for typical control loops, which in
most cases are much slower than our example.

(The diagram also shows that there is almost no impact to the bandwidth of the system. In fact, less
than 12% of available slots are needed to do 10 high speed control loops in parallel.)

In this example we illustrated what would happen if the communications took 70 milliseconds. As
mentioned earlier, however, actual plant experience shows that average latency times are about 30
milliseconds. Using 30 milliseconds in our calculations reduces the loop execution time to less than
100 milliseconds and reduces the number of communications in the network. If it is important to
reduce the delays introduced by multiple hops, additional network access points can be used.

It is also possible to further reduce communication latency and address higher speed control
applications by using peer-to-peer communications between field devices. Running the control
algorithm in a field device eliminates the need for wireless hops between that device and a
gateway-resident algorithm. Such an arrangement may also use less bandwidth, allowing for
multiple control loops with minimal impact to overall bandwidth. Of course, using this strategy is
dependent on whether there are additional interactions between the control loops.

This example used wireless network layouts that were more complex than what experience has
found in actual plant environments. We could have also incorporated multiple access points to
shorten communication paths, and allocated additional communication resources to further
enhance the effectiveness of the WirelessHART network. And because all WirelessHART
measurements include a timestamp, we could have used the timestamp in the control algorithm to
further reduce the impact of any latency and jitter.




Revision 1.0, Release Date: June 30, 2008                                                Page 8 of 9
HART Communication Foundation Document Number: HCF_LIT-127
Document Title: Control with WirelessHART

Conclusion

Even without utilizing any of these additional features, the example shows that the overall control
performance of a typical WirelessHART network is comparable to that of traditional wired field
buses. The WirelessHART protocol allows for secure, highly reliable, low latency control with
almost no impact on the bandwidth and absolutely no impact on process performance.

WirelessHART is simple, reliable, and secure.




Revision 1.0, Release Date: June 30, 2008                                               Page 9 of 9

More Related Content

DOCX
Wsn Wireless Hart Architecture,Mechanism,Components
PPTX
WirelessHart location determination application
PDF
DASH7: Context aware sensor and actuator data propagation system using sub-1 Ghz
PPT
Wireless LAN Network Topologies (ENG)
PDF
VEGA Wireless Communication With PLICSRADIO - Technology Brochure
PPTX
Profibus & AMP: devicenet communication protocols
PPT
PPT
Wireless%20networking%20technology(1)
Wsn Wireless Hart Architecture,Mechanism,Components
WirelessHart location determination application
DASH7: Context aware sensor and actuator data propagation system using sub-1 Ghz
Wireless LAN Network Topologies (ENG)
VEGA Wireless Communication With PLICSRADIO - Technology Brochure
Profibus & AMP: devicenet communication protocols
Wireless%20networking%20technology(1)

What's hot (20)

PPTX
The Basics of Industrial Ethernet Communications
PPTX
IEEE WLAN standards
PPTX
Data center & wireless lan
PDF
Computer Networking Solutions for Energy Systems
PPTX
Ec8004 wireless networks unit 1 bluetooth
PPTX
Module 4 emerging wireless technologies and standards
PPTX
PDF
What’s a 4G Router?
PPT
Wireless networksppt
PPTX
Ec8004 wireless networks unit 1 ieee 802.11a and ieee 802.11b
PDF
HART as an Attack Vector
PPT
Wireless personal area networks(PAN)
PDF
Ap7131 tech brief
PDF
Wireless Personal Area Networks (WPAN): Lowrate amd High Rate
PPT
PPT
Zigbee
PPT
Wireless networking
PPTX
Wireless pan technologies ieee 802.15.x
PPTX
wireless networking and Library
PPTX
WLAN of networking.ppt
The Basics of Industrial Ethernet Communications
IEEE WLAN standards
Data center & wireless lan
Computer Networking Solutions for Energy Systems
Ec8004 wireless networks unit 1 bluetooth
Module 4 emerging wireless technologies and standards
What’s a 4G Router?
Wireless networksppt
Ec8004 wireless networks unit 1 ieee 802.11a and ieee 802.11b
HART as an Attack Vector
Wireless personal area networks(PAN)
Ap7131 tech brief
Wireless Personal Area Networks (WPAN): Lowrate amd High Rate
Zigbee
Wireless networking
Wireless pan technologies ieee 802.15.x
wireless networking and Library
WLAN of networking.ppt
Ad

Viewers also liked (9)

PDF
WirelessHART
PDF
Addressing control applications using wireless hart devices
PPTX
Network Mnagement for WSN
PPTX
Smart transmitters & HART Protocol
PDF
HART COMMUNICATION
PPT
FAULT DETECTION IN WIRELESS SENSOR NETWORK
PDF
Hart communication
PPTX
Hart communication protocol
WirelessHART
Addressing control applications using wireless hart devices
Network Mnagement for WSN
Smart transmitters & HART Protocol
HART COMMUNICATION
FAULT DETECTION IN WIRELESS SENSOR NETWORK
Hart communication
Hart communication protocol
Ad

Similar to Controlwith wirelesshart (20)

PDF
Wireless HART stack using multiprocessor technique with laxity algorithm
PDF
Simulation model of dc servo motor control
PPTX
Presentation 1
PDF
Effects of Wireless Packet Loss in Industrial Process Control Systems
PPTX
Hart protocol
PDF
SlotSwapper: A Schedule Randomization protocol for Real-Time WirelessHART Net...
PDF
Using Wireless Measurements in Control Applications
PDF
Unit 5 ppt-idc
PPTX
Wireless Measurement and Control - AIChE New Orleans
PPTX
Amit hart presentation
PPTX
PDF
Scientific_Project_Report_on Wireless Monitoring and Control in Industries
PDF
Kv2518941899
PDF
Kv2518941899
PPTX
Everything You Need to Know About HART Communication Protocol
PDF
WirelessHART_system_eng_guide.pdf
PDF
Wireless Control Systems - from theory to a tool chain, Mikael Björkbom, Aalt...
PDF
PID Advances in Industrial Control
PDF
Control-Loop-Foundation-Overview.pdf
PPTX
236029677-Hart-Communication-Pptx.pptx
Wireless HART stack using multiprocessor technique with laxity algorithm
Simulation model of dc servo motor control
Presentation 1
Effects of Wireless Packet Loss in Industrial Process Control Systems
Hart protocol
SlotSwapper: A Schedule Randomization protocol for Real-Time WirelessHART Net...
Using Wireless Measurements in Control Applications
Unit 5 ppt-idc
Wireless Measurement and Control - AIChE New Orleans
Amit hart presentation
Scientific_Project_Report_on Wireless Monitoring and Control in Industries
Kv2518941899
Kv2518941899
Everything You Need to Know About HART Communication Protocol
WirelessHART_system_eng_guide.pdf
Wireless Control Systems - from theory to a tool chain, Mikael Björkbom, Aalt...
PID Advances in Industrial Control
Control-Loop-Foundation-Overview.pdf
236029677-Hart-Communication-Pptx.pptx

Recently uploaded (20)

PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
August Patch Tuesday
PPTX
Chapter 5: Probability Theory and Statistics
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Getting Started with Data Integration: FME Form 101
PPTX
1. Introduction to Computer Programming.pptx
PPTX
A Presentation on Touch Screen Technology
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
1 - Historical Antecedents, Social Consideration.pdf
Enhancing emotion recognition model for a student engagement use case through...
NewMind AI Weekly Chronicles - August'25-Week II
Digital-Transformation-Roadmap-for-Companies.pptx
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
WOOl fibre morphology and structure.pdf for textiles
August Patch Tuesday
Chapter 5: Probability Theory and Statistics
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Heart disease approach using modified random forest and particle swarm optimi...
Programs and apps: productivity, graphics, security and other tools
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Getting Started with Data Integration: FME Form 101
1. Introduction to Computer Programming.pptx
A Presentation on Touch Screen Technology
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Univ-Connecticut-ChatGPT-Presentaion.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
1 - Historical Antecedents, Social Consideration.pdf

Controlwith wirelesshart

  • 1. T E C H Control with WirelessHART N HCF_LIT-127, Revision 1.0 Release Date: June 30, 2008 O Abstract: WirelessHART was designed specifically to support the wide range of process-industry use cases from simple monitoring to closed loop control. Testing and field trials T with wireless devices have demonstrated that the communication accuracy, stability, total performance, and reliability can meet the demands of industrial process monitoring and control applications. Control application requirements for sampling intervals, E jitter, and latency were specifically addressed and designed into the WirelessHART technology. In fact, control performance with WirelessHART can be comparable to that of a wired system using traditional field buses.
  • 2. HART Communication Foundation Document Number: HCF_LIT-127 Document Title: Control with WirelessHART Date of Publication: June 30, 2008 Document Distribution / Maintenance Control / Document Approval To obtain information concerning document distribution control, maintenance control, and document approval please contact the HART Communication Foundation (HCF) at the address shown below. Copyright © 2008 HART Communication Foundation This document contains copyrighted material and may not be reproduced in any fashion without the written permission of the HART Communication Foundation. Trademark Information HART® is a registered trademark of the HART Communication Foundation, Austin, Texas, USA. Any use of the term HART hereafter in this document, or in any document referenced by this document, implies the registered trademark. WirelessHART™ is a trademark of the HART Communication Foundation. All other trademarks used in this or referenced documents are trademarks of their respective companies. For more information contact the HCF Staff at the address below. Attention: Foundation Director HART Communication Foundation 9390 Research Boulevard Suite I-350 Austin, TX 78759, USA Voice: (512) 794-0369 FAX: (512) 794-3904 http://www.hartcomm.org Intellectual Property Rights The HCF does not knowingly use or incorporate any information or data into the HART Protocol Standards which the HCF does not own or have lawful rights to use. Should the HCF receive any notification regarding the existence of any conflicting Private IPR, the HCF will review the disclosure and either (a) determine there is no conflict; (b) resolve the conflict with the IPR owner; or (c) modify the standard to remove the conflicting requirement. In no case does the HCF encourage implementers to infringe on any individual's or organization's IPR. Revision 1.0, Release Date: June 30, 2008 Page 2 of 9
  • 3. HART Communication Foundation Document Number: HCF_LIT-127 Document Title: Control with WirelessHART Control with WirelessHART For nearly two decades, HART Communication has been the process industry standard for secure, simple, and reliable The WirelessHART standard is operations. New capabilities and wireless communication the first open wireless introduced with HART version 7, compliment established practice communication standard for and expand the use of HART Communication into new areas and measurement and control in the applications. process industries. It uses wireless mesh networking between field devices, as well as WirelessHART was designed specifically to support the wide other innovations, to provide range of process-industry use cases from simple monitoring to secure, reliable digital closed loop control. Testing and field trials with wireless devices communications that can meet have demonstrated that the communication accuracy, stability, the stringent requirements of total performance, and reliability can meet the demands of industrial applications. industrial process monitoring and control applications. This is one of a series of papers Control application requirements for sampling intervals, jitter, and helping users recognize the latency were specifically addressed and designed into the benefits of WirelessHART, as WirelessHART technology. In fact, control performance with well as addressing specific WirelessHART can be comparable to that of a wired system using questions about WirelessHART. traditional field buses. Let's look at some of the factors that can come up in considering WirelessHART for control applications. Sampling intervals WirelessHART allows sampling intervals that meet the requirements of most control loops while at the same time minimizing the impact on field-devices that may be powered by a battery. The typical rule of thumb is that feedback control should be executed 4-10 times faster than the process response time, where response time equals the process time constant plus deadtime. Because measurement systems are often unsynchronized with the control system, measurement values are typically sampled as much as 2-10 times faster than the process can respond (Figure 1). Figure 1. Process Output ∆O 63% of Change Time Constant ( τ) Deadtime (TD ) Process Input ∆I Control Execution New Measurement Available (Unsynchronized) Revision 1.0, Release Date: June 30, 2008 Page 3 of 9
  • 4. HART Communication Foundation Document Number: HCF_LIT-127 Document Title: Control with WirelessHART With wireless systems, however, it's desirable to reduce the frequency that measurements are taken and communicated in order to extend measurement-device battery life. The ability to schedule communications with WirelessHART makes this easy to do without compromising control reliability. Figure 2 adds these two methods to the previous diagram: • Synchronized. Measurements are taken and transmitted only (and exactly) when they're needed for control execution. • Synchronized with exception reporting. Measurements are taken at scheduled intervals – for example, 4-10 times faster than the process response time – but transmitted only if the measurement has changed by a specified amount or if the time since the last communication exceeds a specified interval. Figure 2. Process Output ∆O 63% of Change Time Constant ( τ) Deadtime (TD ) Process Input ∆I Control Execution New Measurement Available (Unsynchronized) New Measurement Available (Synchronized) New Measurement Available (Synchronized w/ exception reporting) More-frequent communication of measured values is certainly possible and in the case of line powered devices can work similar to wired networks. In the case of battery powered or devices where energy conservation is important, WirelessHART offers users the opportunity to find an application's optimum balance between communication intervals and battery life. Latency and Jitter Effective control requires timely access to measurement and control information. A system's ability to meet its control performance requirements can be affected both by delays (latency) and variation (jitter) in when the information is available. In some systems, latency and jitter can start with the timing of the measurements themselves. But WirelessHART is a time-synchronized protocol, with every device having a common sense of time accurate to 1 millisecond across the entire network – a capability not available in many other Revision 1.0, Release Date: June 30, 2008 Page 4 of 9
  • 5. HART Communication Foundation Document Number: HCF_LIT-127 Document Title: Control with WirelessHART protocols. The measurement software and circuitry use this sense of time in scheduling measurements, all but eliminating delays and variation in measurement timing. Latency and jitter can also be introduced when data is communicated – for example, from a transmitter to a gateway. In this case, latency is the time it takes for a communication packet to make its way from the source to the destination, while jitter is variation in latency between different communication cycles (Figure 3). Excessive latency (which effectively adds deadtime to the process) and jitter (which adds error into the control calculations) can lead to significant degradation in control performance. Figure 3 In direct communications, WirelessHART has a transmission rate that is faster than some traditional wired field bus technology. For example, if the communication rate is 31.25 kilobits/second, the communications delay will be 32 microseconds/bit. WirelessHART has a much faster communications rate – 250 kilobits/second -- so the delay introduced by the communications rate is only 4 microseconds/bit. Since a typical WirelessHART message is 128 bytes, the time for complete message transmission is 4 milliseconds. Each transmission and its corresponding acknowledgement occur within a 10- millisecond "time slot" in a periodic communication Superframe or macrocycle (Figure 4). Figure 4. However, in many scenarios communications require more than one time slot for a message to travel from the source to the destination. Let's look at one such scenario. Revision 1.0, Release Date: June 30, 2008 Page 5 of 9
  • 6. HART Communication Foundation Document Number: HCF_LIT-127 Document Title: Control with WirelessHART If a communication can't reach its destination directly, it can "hop" from node to node to bridge the gap or circumvent obstructions. This ability to route around physical obstacles or interference is a core feature of the WirelessHART mesh technology. Figure 5 shows three paths a communication might follow from the device on the left to the gateway on the right. Figure 5 Changing the route the data travels can contribute to variation in communication time (jitter). Although each additional hop increases latency, in typical applications the average delay is well within the requirements for control. We can illustrate this with an example. In most cases, a WirelessHART network will be able to retry a failed message in the next time slot or the one following. For our example we’ll assume it takes 10 milliseconds to process a message and assign it to another time slot. Path A in Figure 5 could therefore produce as much as 50 milliseconds of total latency (10ms + [10ms + 10ms] + [10ms +10ms]). Path B has the same number of hops and thus the same communications latency. But Path C has an additional hop, bringing total communications latency to 70 milliseconds. This timing difference introduces a 20- millisecond jitter in the communications. (In many cases the routing device will be able to retry in the next slot, which would reduce the total latencies to 30 milliseconds for Paths A and B and to 40 milliseconds for Path C.) Experience in hundreds of wireless field device installations shows that communications latency on average is much lower than in this example. In real plant settings, typically 30% of the devices communicate directly with the gateway or network access point (10 milliseconds) and about 50% are one hop away (30 milliseconds). The remaining 20% may be 3-4 hops. Using these numbers from actual plant installations, the average latency time will be about 30 milliseconds. Existing installations also show that network reliability is typically greater than 99%, so the latency time will not vary significantly between communications – effectively eliminating the effect of jitter. Revision 1.0, Release Date: June 30, 2008 Page 6 of 9
  • 7. HART Communication Foundation Document Number: HCF_LIT-127 Document Title: Control with WirelessHART But is it fast enough for control? Communications latency does not affect control as long as the delay is small compared to the process response time. Appropriate scheduling of transmissions across the time slots in a macrocycle can ensure the data reaches its destination when needed. For good control we need to be able to read the control measurement, communicate the measurement to a controller, execute the control function, and communicate the output back to the target in one-half the process time constant. Most control loops are 1 second or more, so for a 1- second control loop we would need to be able to perform all of these steps within 500 milliseconds. Let's see how this works with the example control loop shown in Figure 6. In this example, the measurement is processed in the field device, the control algorithm runs in the gateway, and the actuation occurs in a valve that's the same "hop depth" from the gateway as the measurement device. The total span of the cycle includes the AI, PID, AO, and communication times. Figure 6 Using the numbers from our earlier example, each communication – from the measurement device to the gateway, and from the gateway to the valve -- would take 70 milliseconds. If we further assume that the control execution time inside the gateway is very small, then we can assume that the control loop will execute in 140-150 milliseconds – well below the required 500 milliseconds. A typical network schedule to support this scenario is shown below. The individual communications shown earlier in Figure 5 are distributed both across the 50 time slots in each macrocycle and across the 15 radio-frequency channels used by WirelessHART. Revision 1.0, Release Date: June 30, 2008 Page 7 of 9
  • 8. HART Communication Foundation Document Number: HCF_LIT-127 Document Title: Control with WirelessHART Figure 7 As this example shows, 500-millisecond macrocycles are easily achievable even when multiple hops are assumed in the communication. This is fast enough for typical control loops, which in most cases are much slower than our example. (The diagram also shows that there is almost no impact to the bandwidth of the system. In fact, less than 12% of available slots are needed to do 10 high speed control loops in parallel.) In this example we illustrated what would happen if the communications took 70 milliseconds. As mentioned earlier, however, actual plant experience shows that average latency times are about 30 milliseconds. Using 30 milliseconds in our calculations reduces the loop execution time to less than 100 milliseconds and reduces the number of communications in the network. If it is important to reduce the delays introduced by multiple hops, additional network access points can be used. It is also possible to further reduce communication latency and address higher speed control applications by using peer-to-peer communications between field devices. Running the control algorithm in a field device eliminates the need for wireless hops between that device and a gateway-resident algorithm. Such an arrangement may also use less bandwidth, allowing for multiple control loops with minimal impact to overall bandwidth. Of course, using this strategy is dependent on whether there are additional interactions between the control loops. This example used wireless network layouts that were more complex than what experience has found in actual plant environments. We could have also incorporated multiple access points to shorten communication paths, and allocated additional communication resources to further enhance the effectiveness of the WirelessHART network. And because all WirelessHART measurements include a timestamp, we could have used the timestamp in the control algorithm to further reduce the impact of any latency and jitter. Revision 1.0, Release Date: June 30, 2008 Page 8 of 9
  • 9. HART Communication Foundation Document Number: HCF_LIT-127 Document Title: Control with WirelessHART Conclusion Even without utilizing any of these additional features, the example shows that the overall control performance of a typical WirelessHART network is comparable to that of traditional wired field buses. The WirelessHART protocol allows for secure, highly reliable, low latency control with almost no impact on the bandwidth and absolutely no impact on process performance. WirelessHART is simple, reliable, and secure. Revision 1.0, Release Date: June 30, 2008 Page 9 of 9