Voices: OPC Connection

Unified architecture – The future of OPC

With its eye on the future, the OPC Foundation has preserved all the work that has gone before and embarked on the creation of the Unified Architecture as a way of adjusting to the ever-changing Microsoft world.

By Jim Luth, OPC Foundation Technical Director

THE OPC Foundation has embarked on the creation of the Unified Architecture (OPC-UA), a completely new system design. Over time, OPC-UA will replace, modernize and enhance all the functionality of the existing OPC-defined interfaces. The following describes the technology and industry trends that led us down this path and explains how features of the new architecture will do more than just replace the existing technology.

Microsoft’s Communication Strategy
Existing OPC specifications are based on the Microsoft COM/DCOM model. When Microsoft released the .NET framework a few years ago, they made it clear that COM and DCOM technology were being relegated to “legacy” status.

With the introduction of .NET, Microsoft presented the world with two new inter-process and remote communications technologies: Web Services and .NET Remoting. Although these new choices had advantages over COM, they also had some serious shortcomings.

The most noticeable deficiency from an OPC perspective is performance. Despite this, OPC produced the XML-DA specification using Web Services. We did this knowing full well that it could never replace the COM based Data Access (DA) interface, because its performance was two to three orders of magnitude slower than COM.

But, just like Microsoft provides multiple technologies to choose from, so does OPC. You can choose the COM or Web Services flavor of DA depending on your tradeoffs between speed and other attributes, such as cross-platform or Internet friendliness.

Microsoft’s upcoming technology, code named “Indigo,” will combine all the best features of COM, MTS, Web Services, .NET Remoting and MSMQ into a single communications stack.

Indigo sounds like the perfect Microsoft technology on which to base any future COM-replacement specifications, but another OPC goal is the move to platform independence. Ideally, OPC specifications should not be so tightly tied to proprietary Microsoft technology. Fortunately, Indigo is based on existing and in-the-works public Web Services specifications that ensure interoperability with non-Microsoft systems.

Reworking Existing OPC Specs
The impetus to create the Unified Architecture came from an introspective look at the existing OPC Alarm & Events (A&E) interface and ways in which vendors using the  interface would like to see it improved. Among Alarms & Events vendors, the number-one requested enhancement was: “Better integration with DA.”

Here is an example of the integration problem. Alarms are typically defined as the excursion of a parameter beyond a specified threshold. OPC DA permits a client to browse to, read/write, and to subscribe to the temperature, but won’t allow the client to alarm on it.

The OPC A&E server is a separate server interface that allows the client to browse for alarms in an attempt to find one defined for the temperature. However, the client may not recognize that it is an alarm for the same temperature parameter that was read using OPC DA. This situation occurs because there is no requirement for the name of the temperature parameter to be the same in both servers.

As a result, the user must have two separate client interfaces, browse two separate trees, and be able to reconcile naming differences between the two.

The solution is to use the same browser, read, write and subscribe functions for both DA and A&E data, so that vendors are able to expose the alarms in a more natural way. UA will decouple the specific data structures that make HDA data different from A&E data for example, and allow the same generic method to operate on each.

Forward and Backward Compatibility
Web Services is the only high-level application-to-application communications technology to be embraced by virtually all platform providers including Microsoft, IBM, Sun, and Linux. We believe that upcoming performance improvements will make this technology viable for OPC-UA.

However, it is likely that at some point in the future Web Services will be dethroned by something bigger and better. To that end, the UA specification is written to be platform agnostic. Doing this greatly simplifies the task of migrating the OPC specification to other platforms when and if this becomes desirable.

On the other hand, there are thousands of existing OPC Servers on the market that provide connectivity to field devices of all shapes and sizes. The OPC Foundation will provide generic wrappers to its members to OPC-UA-enable existing OPC Servers to accelerate the development of OPC-UA Clients.

Working With Standards Groups
Several automation-related standards groups, such as ISA and MIMOSA, have produced information model specifications. ISA-S88, ISA-S95, and IEC TC 57-CIM are examples of such model specifications. With the popularity of XML and its capability to describe complex data and relationships using it, many of the model specifications have been extended to include standard XML Schemas.

Although these model specifications are useful for unifying the nomenclature used to describe the entities, relationships and work flows associated with their respective domain, they provide no tangible interoperability from a software perspective. Even if a software application was to render data in XML using the prescribed Schemas, there is no standard to share or communicate these XML documents among applications.

Having extensive, pragmatic experience producing practical industry standards for software interoperability, OPC is the logical organization to produce a specification that will allow the rich data described by these complex domain models to be exchanged among independently developed applications.

Through joint working groups and a cross-pollination of members in other technical working groups, OPC is collaborating with other standards organizations to ensure OPC-UA is developed appropriately to meet this goal.



Inside the Architecture

The OPC Unified Architecture will provide numerous features and advances over the existing OPC architecture:

Complex data built-in—The existing Data Access Specification was enhanced recently with the release of the Complex Data Companion Specification. In UA, complex data will be the norm.

Enhanced namespace—OPC-UA allows for unlimited node types and unlimited relationships. Furthermore, each node may participate in an unlimited number of relationships with other nodes. This flexibility ensures that there is no existing or future system that is too complicated to expose via UA.

Rich base set of services—The base UA specification will define the necessary generic services to browse and query the namespace, read/write data and publish/subscribe events and data changes.

UA-derived specifications—The base UA specification will be purposely generic and not imply much semantics. The bulk of the functional areas addressed by the existing OPC specifications will be derived from the UA base specification.

Scalability—Compared with the existing OPC specifications, UA will scale to much larger enterprise-wide data modeling systems, as well as to much smaller embedded devices.

Reliability and redundancy—UA will build in the necessary diagnostics and features necessary for vendors to build high reliability systems. This includes hooks for redundancy.


  About the Author
Jim Luth is OPC Foundation Technical Director and Chairman of the OPC-UA Working Group. He can be reached by e-mail at Jim.Luth@OPCFoundation.org.

More from this voice

Title

Unified architecture – The future of OPC

With its eye on the future, the OPC Foundation has preserved all the work that has gone before and embarked on the creation of the Unified Architecture as a way of adjusting to the ever-changing Microsoft world.

12/28/2004

OPC maximizes object-oriented systems

Control devices for passing data from one OPC DA server to another have gotten smarter and have more to say, making it easier for vendors, OEMs, machine builders and end users to communicate with them.

12/28/2004

SCADA deployment using OPC

Integrators must differentiate between a plant-based OPC mentality and SCADA applications when attempting to apply industrial standards to SCADA-based implementations.

08/01/2005

Real-time asset management and OPC

Used as a standard technology platform from which to build real-time applications and practices, OPC can ultimately lead to an immediate impact on your bottom line. This article discusses how OPC can be applied in an industrial setting to help improve your asset management practices.

08/04/2005

OPC for process historian data optimization

OPC not only provides a standardized mechanism for collection of real time process data, it also enables multi-vendor historical analysis solutions that help maximize return on process history investments.

08/25/2005

Historical OPC alarms and events

Understanding and searching alarms and events logs and turning them into valuable data stores can be difficult, but is instrumental in optimizing plant performance.

09/15/2005

OPC tunneling increases data availability

OPC has quickly become the de facto open communication standard in the world of industrial connectivity. However, shortcomings in operating system components, particularly the security layer (DCOM), can lead to data loss.

09/27/2005

OPC as the network glue

Industrial Networking columnist, Ian Verhappen, addresses open process connectivity (OPC) and how you can use different flavors of it depending on the application and system requirements.

03/22/2006

OPC – A decade of success by any standard

OPC specialist Eric Murphy brings the latest in OPC technology and specifications, and his thoughts on where the technology is headed, to OPC Connection, our new Site Resource for the OPC community.

08/10/2006

OPC security – better safe than sorry

OPC specialist Eric Murphy brings the latest in OPC technology to OPC Connection. This month, he presents important aspects to consider when addressing security in OPC and the process industry.

09/11/2006

Ensuring OPC connectivity in mission critical applications

OPC specialist Eric Murphy presents important aspects to consider when addressing the uninterrupted flow of data and communications, and how OPC plays an increasingly mission-critical role in the enterprise.

10/05/2006

Winning the battle for interoperability

In a special-to-the-web article for OPC Connection, OPC specialist Eric Murphy presents his thoughts on what it will take to achieve the mission of true interoperability.

01/16/2007

OPC UA enables Business Intelligence (BI)

In a special-to-the-web article for OPC Connection, OPC specialist Eric Murphy presents his thoughts on OPC UA and how it offers the promise of unifying individual business units into true enterprise-wide solutions.

02/16/2007

Energy saving solutions – Building IT with OPC

OPC provides the advantages of standardized data connectivity among many isolated systems, industry-proven applications to turn that data into information, and hence into cost and energy savings.

02/23/2007

OPC, Modbus and Fieldbus, Oh my!

Just as Dorothy and her companions each had unique characteristics, end users are faced with a multitude of protocol choices for use in the heart of their industrial process: their communications network.

03/30/2007

Complacent with compliance?

OPC Certification creates a solid quality baseline for interoperability that separates the wheat from the chaff, according to OPC specialist Eric Murphy, and serious end-users will demand nothing less.

06/01/2007

OPC is Hard and Gooey

What are the differences between discrete and process type manufacturing?

07/24/2007

OPC UA – Up and Running

So what exactly is OPC Unified Architecture (UA) specifications, and when can I get it?

09/13/2007

New Hopes and Old Worries – A Familiar Standards Story

Once upon a time, a new technology appeared to the Industrial Automation world. It came offering promises of new standardization that would make life easier, save money, improve efficiency and be safe and secure.

11/06/2007

Examining the Armor of OPC-UA Security

Centuries of conflict have seen technology develop from cowhides to Kevlar and beyond, but when talking of securing the realm, the image of a knight in shining armor still comes to mind.

11/13/2007