Intro4u2u

Intro4u2u, News, Travel, Technology, Engineering, Airline, Sports, google, yahoo, msn

Archive for the ‘FieldBus’


Fieldbus Foundation and ISA

The Fieldbus Foundation and ISA have announced an agreement to facilitate the implementation of wireless backhaul transport networks.

This technology initiative is based on shared interests in serving the needs of end users and suppliers of wireless systems in industrial automation.

Representatives from both organisations discussed the wireless project at ISA Expo 2008 in Houston, Texas.

At an ISA100 meeting in June, ISA100 leaders established a new working group - ‘ISA100.15: Wireless Backhaul Networks Working Group’ - to develop and maintain a standard to address one or more dedicated or shared wireless backhaul(s) to support technologies running multiple applications.

The first of these backbones will be the Fieldbus Foundation’s high speed Ethernet (HSE) implementation.

To expedite the work, the Fieldbus Foundation and ISA have entered into a cross-licensing agreement allowing the two organisations to collaborate on wireless networks.

To enable the ISA100.15 working group to develop the wireless backhaul standard, it will be necessary to use extracts of Fieldbus Foundation specifications as well as parts of other ISA standards in development.

Wireless technology has improved in performance and ease-of-use, and a variety of wireless technologies are now being deployed for different applications in mixed environments.

These developments bring the need for a wireless backhaul transport network to facilitate interoperability, end-to-end security, and end-to-end quality of service.

As part of the wireless backhaul network initiative, the Fieldbus Foundation and ISA will develop a standard interface between different technologies suitable for backhaul networking; address wireless co-existence (frequency sharing) related to the backhaul networks; define prioritisation of multiple applications and ensure quality of service; support multiple application protocol translators; and address security issues on backhaul networks.

ISA will publish the technical documents as a standard within the ISA100 family of standards, and the standard will be jointly owned by the two organisations and used accordingly in the marketplace.

FIELDBUS 750-636 WAGO I/O Module

The 750-636 WAGO I/O Module is a single-channel intelligent positioning controller for collector-based 24 V d.c. motors up to 5 A with incremental position feedback.

Typical applications for positioning controllers include setting of stops, roller contact pressure, transport carriages and dosing units. These tasks can be integrated directly into the fieldbus node with the new WAGO 750-636 Module. Three 24 V inputs detect the limit switches and a preset signal. An incremental sensor interface allows acquisition of the actual values using both 5 V and 24 V sensors. Where required, positioning optimises the initial switching position as a function of direction, taking into account compensation for gearing backlash.

Bidirectional control of the DC motor is implemented via a short-circuit proof, temperature-monitored H-bridge. Both switched operation and soft-start/stop or current reduction are possible through PWM control. A self-learning shutdown optimisation function simplifies commissioning.

The field-side 24 V supply voltage from the power contacts, which is monitored for under/over voltage conditions can be looped through to adjacent modules.

Foundation HI and HSE specifications in the IEC 61158

The Foundation protocol is designed to be compatible with the officially sanctioned SP50 standards project of the ISA, as well as the specifications of the International Electrotechnical Committee (IEC). Since its founding, the Fieldbus Foundation has made compliance with the ISA/IEC standards a priority.

The IEC voted to include the Foundation HI and HSE specifications in the IEC 61158 international standard. The CENELEC Technical Bureau added the Foundation H1 specifications to EN 50170 Euronorm. In addition, Foundation technology is the only implementation of the ANSI/ISA-50.02 standard.

The Foundation specifications are also compliant with IEC 61804 (Function Blocks for Process Control and Electronic Device Description Language) and IEC 61508 (Functional Safety of Electrical/Electronic/Programmable Electronic Safety-related Systems).

Both NAMUR (Germany) and JEMIMA (Japan) have voiced support for Foundation technology, and provided input from the end user community that aided in specification development.

Approval and support by key international industry bodies gave users the confidence that their investments in Foundation-compliant solutions were based on recognised global standards and sound best practices from industry groups.

The Foundation specification is based on the ISO/OSI layered communications model consisting of three major functional components: the physical layer, the communication stack and the user layer.

The physical layer corresponds to OSI Layer 1, which receives encoded messages from the upper layers and converts the messages to physical signals on the fieldbus transmission medium and vice-versa.

The communication stack corresponds to layers 2 and 7 in the OSI model. Layer 7, the application layer (AL), encodes and decodes user layer commands. Layer 2, the data link layer (DLL), controls transmission of messages onto the fieldbus through layer 1. The DLL also manages access to the fieldbus through a deterministic, centralised bus scheduler called the link active scheduler (LAS). The LAS is used for scheduling transmissions of deterministic messages and authorising the exchange of data between devices. The fieldbus does not use the OSI Layers 3, 4, 5 and 6.

New Technology

The IEEE 1394 protocol (or Firewire, which is Apple’s trademarked term) is one of the emerging bus protocols that will be important components of the connected future. Here’s how it works.

People are sharing video, still images, and audio, and are constantly searching for faster, easier ways of transferring such information. This phenomenon is driving the convergence of computers, consumer equipment, and communications. Communication is the force that draws these separate market segments together.

Convergence will happen when seamless, high-speed communication becomes readily available. The IEEE 1394 protocol appears to be a strong contender for the communications channel that will make this happen.

The IEEE 1394-1995 protocol had its genesis at Apple Computer, which still retains the Firewire trademark. The goal of the protocol is to provide easy-to-use, low-cost, high-speed communications. The protocol is also very scaleable, provides for both asynchronous and isochronous applications, allows for access to vast amounts of memory mapped address space, and—perhaps most important for the aforementioned convergenceag—allows peer-to-peer communication.

Some people see 1394 and USB as competitors for the communications channel of the future, but in reality they are more complementary than competitive. USB is a lower-speed, lower-cost, host-based protocol. While 1394 and USB may compete in some mid-range applications, Table 1 illustrates how they will typically play in different spaces. The proposed upgrade of USB to 120Mbps and 240Mbps may alter this situation slightly, but not as much as some have predicted.

Confusion sometimes surrounds the alphabet soup that seems to envelop the 1394 protocol. The only currently approved specification is the IEEE 1394-1995 specification, which will be the basis for future extensions and enhancements. IEEE 1394-1995 supports transfer rates of 100, 200, and 400Mbps. As with many first cuts at a standard, 1394-1995 left some things up to the interpretation of the specification’s implementers, which caused some interoperability problems and has led to the work being done on the 1394a specification. This revision provides some clarification on the original specification, changes some optional portions of the spec to mandatory, and adds some performance enhancements. The 1394a specification is nearing completion and should be approved in the near future; some semiconductor vendors, in fact, are already claiming compliance to the new specification. In addition to the 1394a specification, work is progressing on the 1394b specification. 1394b will provide for additional data rates of 800, 1,600, and 3,200Mbps. It will also provide for long-haul transmissions via both twisted pair and fiber optics, and offer backward compatibility with the existing standard.

This article covers the 1394-1995 standard and will speak to some of the enhancements in the 1394a revision. Details of the 1394b protocol will be left for a future article, when the specification is more firm.

Topology

The 1394 protocol is a peer-to-peer network with a point-to-point signaling environment. Nodes on the bus may have several ports on them. Each of these ports acts as a repeater, retransmitting any packets received by other ports within the node. Figure 1 shows what a typical consumer may have attached to their 1394 bus.

Because 1394 is a peer-to-peer protocol, a specific host isn’t required, such as the PC in USB. In Figure 1 , the digital camera could easily stream data to both the digital VCR and the DVD-RAM without any assistance from other devices on the bus.

Configuration of the bus occurs automatically whenever a new device is plugged in. Configuration proceeds from leaf nodes (those with only one other device attached to them) up through the branch nodes. A bus that has three or more devices attached will typically, but not always, have a branch node become the root node. I’ll discuss configuration in more detail later in this article.

A 1394 bus appears as a large memory-mapped space with each node occupying a certain address range. The memory space is based to the IEEE 1212 Control and Status Register (CSR) Architecture with some extensions specific to the 1394 standard. Each node supports up to 48 bits of address space (256 TeraBytes). In addition, each bus can support up to 64 nodes, and the 1394 serial bus specification supports up to 1,024 buses. This gives a grand total of 64 address bits, or support for a whopping total of 16 ExaBytes of memory space—enough for the latest version of your favorite word processor and perhaps even a file or two!

Transfers and transactions

The 1394 protocol supports both asynchronous and isochronous data transfers, as I’ll discuss in the following paragraphs.

Isochronous transfers. Isochronous transfers are always broadcast in a one-to-one or one-to-many fashion. No error correction nor retransmission is available for isochronous transfers. Up to 80% of the available bus bandwidth can be used for isochronous transfers. The delegation of bandwidth is tracked by a node on the bus that occupies the role of isochronous resource manager. This may or may not be the root node or the bus manager. The maximum amount of bandwidth an isochronous device can obtain is only limited by the number of other isochronous devices that have already obtained bandwidth from the isochronous resource manager.

Asynchronous transfers. Asynchronous transfers are targeted to a specific node with an explicit address. They are not guaranteed a specific amount of bandwidth on the bus, but they are guaranteed a fair shot at gaining access to the bus when asynchronous transfers are permitted. The maximum data block size for an asynchronous packet is determined by the transfer rate of the device, as specified in Table 2 .

Asynchronous transfers are acknowledged and responded to. This allows error-checking and retransmission mechanisms to take place.

The bottom line is that if you’re sending time-critical, error-tolerant data, such as a video or audio stream, isochronous transfers are the way to go. If the data isn’t error-tolerant, such as a disk drive, then asynchronous transfers are preferable.

Physical layer

The 1394 specification defines four protocol layers, known as the physical layer, the link layer, the transaction layer, and the serial bus management layer. The layers are illustrated in Figure 3 .

The physical layer of the 1394 protocol includes the electrical signaling, the mechanical connectors and cabling, the arbitration mechanisms, and the serial coding and decoding of the data being transferred or received. The cable media is defined as a three-pair shielded cable. Two of the pairs are used to transfer data, while the third pair provides power on the bus. The connectors are small six-pin devices, although the 1394a also defines a four-pin connector for self- powered leaf nodes. The power signals aren’t provided on the four-pin connector. The baseline cables are limited to 4.5m in length. Thicker cables allow for longer distances.

The two twisted pairs used for signaling, called out as TPA and TPB, are bidirectional and are tri-state capable. TPA is used to transmit the strobe signal and receive data, while TPB is used to receive the strobe signal and transmit data. The signaling mechanism uses data strobe encoding, a rather clever technique that allows easy extraction of a clock signal with much better jitter tolerance than a standard clock/data mechanism. With data strobe encoding, either the data or the strobe signal (but not both of them) change in a bit cell. Data strobe encoding is shown in Figure 4 .

Configuration

The physical layer plays a major role in the bus configuration and normal arbitration phases of the protocol. Configuration consists of taking a relatively flat physical topology and turning it into a logical tree structure with a root node at its focal point. A bus is reset and reconfigured whenever a device is added or removed. A reset can also be initiated via software. Configuration consists of bus reset and initialization, tree identification, and self identification.

Reset. Reset is signaled by a node driving both TPA and TPB to logic 1. Because of the “dominant 1s” electrical definition of the drivers, a logic 1 will always be detected by a port, even if its bidirectional driver is in the transmit state. When a node detects a reset condition on its drivers, it will propagate this signal to all of the other ports that this node supports. The node then enters the idle state for a given period of time to allow the reset indication to propagate to all other nodes on the bus. Reset clears any topology information within the node, although isochronous resources are “sticky” and will tend to remain the same during resets.

Tree identification . The tree identification process defines the bus topology. Let’s take the example of our sample home consumer network shown in Figure 1 . After reset, but before tree identification, the bus has a flat logical topology that maps directly to the physical topology. After tree identification is complete, a single node has gained the status of root node. The tree identification proceeds as follows.

After reset, all leaf nodes present a Parent_Notify signaling state on their data and strobe pairs. Note that this is a signaling state, not a transmitted packet. The whole tree identification process occurs in a matter of microseconds. In our example, the digital camera will signal the set-top box, the printer will signal the digital VCR, and the DVD-RAM will signal the PC. When a branch node receives the Parent_Notify signal on one of its ports, it marks that port as containing a child, and outputs a Child_Notify signaling state on that port’s data and strobe pairs. Upon detecting this state, the leaf node marks its port as a parent port and removes the signaling, thereby confirming that the leaf node has accepted the child designation. At this point our bus appears as shown in Figure 5 . The ports marked with a “P” indicate that a device which is closer to the root node is attached to that port, while a port marked with a “C” indicates that a node farther away from the root node is attached. The port numbers are arbitrarily assigned during design of the device and play an important part in the self identification process.

After the leaf nodes have identified themselves, the digital VCR still has two ports that have not received a Parent_Notify, while the set-top box and the PC branch node both have only one port with an attached device that has not received a Parent_Notify. Therefore, both the set-top box and the PC start to signal a Parent_Notify on the one port that has not yet received one. In this case, the VCR receives the Parent_Notify on both of its remaining ports, which it acknowledges with a Child_Notify condition. Because the VCR has marked all of its ports as children, the VCR becomes the root node. The final configuration is shown in Figure 6 .

Note that two nodes can be in contention for root node status at the end of the process. In this case, a random back-off timer is used to eventually settle on a root node. A node can also force itself to become root node by delaying its participation in the tree identification process for a while. See References 1 and 2 for more details.

Self identification . Once the tree topology is defined, the self identification phase begins. Self identification consists of assigning physical IDs to each node on the bus, having neighboring nodes exchange transmission speed capabilities, and making all of the nodes on the bus aware of the topology that exists. The self identification phase begins with the root node sending an arbitration grant signal to its lowest numbered port. In our example, the digital VCR is the root node and it signals the set-top box. Since the set-top box is a branch node, it will propagate the Arbitration Grant signal to its lowest numbered port with a child node attached. In our case, this port is the digital camera. Because the digital camera is a leaf node, it cannot propagate the arbitration grant signal downstream any farther, so it assigns itself physical ID 0 and transmits a self ID packet upstream. The branch node (set-top box) repeats the self ID packet to all of its ports with attached devices. Eventually the self ID packet makes its way back up to the root node, which proceeds to transmit the self ID packet down to all devices on its higher-numbered ports. In this manner, all attached devices receive the self ID packet that was transmitted by the digital camera. Upon receiving this packet, all of the other devices increment their self ID counter. The digital camera then signals a self ID done indication upstream to the set-top box, which indicates that all nodes attached downstream on this port have gone through the self ID process. Note that the set-top box does not propagate this signal upstream toward the root node because it hasn’t completed the self ID process.

The root node will then continue to signal an Arbitration Grant signal to its lowest numbered port which in this case is still the set-top box. Because the set-top box has no other attached devices, it assigns itself physical ID 1 and transmits a self ID packet back upstream. This process continues until all ports on the root node have indicated a self ID done condition. The root node then assigns itself the next physical ID. The root node will always be the highest-numbered device on the bus. If we follow through with our example, we come up with the following physical IDs: digital camera = 0; set-top box = 1; printer = 2; DVD-RAM = 3; PC = 4; and the digital VCR, which is the root node, 5.

Note that during the self ID process, parent and children nodes are also exchanging their maximum speed capabilities. This process also exposes the Achilles heel of the 1394 protocol. Nodes can only transmit as fast as the slowest device between the transmitting node and the receiving node. For example, if the digital camera and the digital VCR are both capable of transmitting at 400Mbps, but the set-top box is only capable of transmitting at 100Mbps, the high-speed devices cannot use the maximum rate to communicate amongst themselves. The only way around this problem is for the end user to reconfigure the cabling so the low-speed set-top box is not physically between the two high-speed devices.

Also during the self ID process, all nodes wishing to become the isochronous resource manager will indicate this fact in their self ID packet. The highest numbered node that wishes to become resource manager will receive the honor.

Normal arbitration

Once the configuration process is complete, normal bus operations can begin. To fully understand arbitration, a knowledge of the cycle structure of 1394 is necessary.

A 1394 cycle is a time slice with a nominal 125µs period. The 8kHz cycle clock is kept by the cycle master, which is also the root node. To begin a cycle, the cycle master broadcasts a cycle start packet, which all other devices on the bus use to synchronize their timebases.

Immediately following the cycle start packet, devices that wish to broadcast their isochronous data may arbitrate for the bus. Arbitration consists of signaling your parent node that you wish to gain access to the bus. The parent nodes in turn signal their parents and so on, until the request reaches the root node. In our previous example, suppose the digital camera and the PC wish to stream data over the bus. They both signal their parents that they wish to gain access to the bus. Since the PC’s parent is the root node, its request is received first and it is granted the bus. From this scenario, it is evident that the closest device to the root node wins the arbitration.

Because isochronous channels can only be used once per cycle, when the next isochronous gap occurs, the PC will no longer participate in the arbitration. This condition allows the digital camera to win the next arbitration. Note that the PC could have more than one isochronous channel, in which case it would win the arbitration until it had no more channels left. This points out the important role of the isochronous resource manager: it will not allow the allotted isochronous channels to require more bandwidth than available.

When the last isochronous channel has transmitted its data, the bus becomes idle waiting for another isochronous channel to begin arbitration. Because there are no more isochronous devices left waiting to transmit, the idle time extends longer than the isochronous gap until it reaches the duration defined as the subaction (or asynchronous) gap. At this time, asynchronous devices may begin to arbitrate for the bus. Arbitration proceeds in the same manner, with the closest device to the root node winning arbitration.

This point brings up an interesting scenario: because asynchronous devices can send more than one packet per cycle, the device closest to the root node (or the root node itself) might be able to hog the bus by always winning the arbitration. This scenario is dealt with using what is called the fairness interval and the arbitration rest gap. The concept is simple—once a node wins the asynchronous arbitration and delivers its packet, it clears its arbitration enable bit. When this bit is cleared, the physical layer no longer participates in the arbitration process, giving devices farther away from the root node a fair shot at gaining access to the bus. When all devices wishing to gain access to the bus have had their fair shot, they all wind up having their arbitration enable bits cleared, meaning no one is trying to gain access to the bus. This causes the idle time on the bus to go longer than the 10µs subaction gap until it finally reaches 20µs, which is called the arbitration reset gap. When the idle time reaches this point, all devices may reset their arbitration enable bits and arbitration can begin all over again.

Link layer

The link layer is the interface between the physical layer and the transaction layer. The link layer is responsible for checking received CRCs and calculating and appending the CRC to transmitted packets. In addition, because isochronous transfers do not use the transaction layer, the link layer is directly responsible for sending and receiving isochronous data. The link layer also examines the packet header information and determines the type of transaction that is in progress. This information is then passed up to the transaction layer.

The interface between the link layer and the physical layer is listed as an informative (not required) appendix in the IEEE 1394-1995 specification. In the 1394a addendum, however, this interface becomes a required part of the specification. This change was instituted to promote interoperability amongst the various 1394 chip vendors.

The link layer to physical layer interface consists of a minimum of 17 signals that must be either magnetically or capacitively isolated from the PHY. These signals are defined in Table 3 .

A typical link layer implementation has the PHY interface, a CRC checking and generation mechanism, transmit and receive FIFOs, interrupt registers, a host interface and at least one DMA channel.

Transaction layer

The transaction layer is used for asynchronous transactions. The 1394 protocol uses a request-response mechanism, with confirmations typically generated within each phase. Several types of transactions are allowed. They are listed as follows:

* Simple quadlet (four-byte) read
* Simple quadlet write
* Variable-length read
* Variable-length write
* Lock transactions

Lock transactions allow for atomic swap and compare and swap operations to be performed.

Asynchronous packets have a standard header format, along with an optional data block. The packets are assembled and disassembled by the link layer controller. Figure 8 shows the format of a typical asynchronous packet.

Transactions can be split, concatenated, or unified. Figure 9 illustrates a split transaction. The split transaction occurs when a device cannot respond fast enough to the transaction request. When a request is received, the node responds with an acknowledge packet. An acknowledge packet is sent after every asynchronous packet. In fact, the acknowledging device doesn’t even have to arbitrate for the bus; control of the bus is automatic after receiving an incoming request or response packet.

In Figure 9 , the responder node sends the acknowledge back and then prepares the data that was requested. While this is going on, other devices may be using the bus. Once the responder node has the data ready, it begins to arbitrate for the bus, to send out its response packet containing the desired data. The requester node receives this data and returns an acknowledge packet (also without needing to re-arbitrate for the bus).

If the responder node can prepare the requested data quickly enough, the entire transaction can be concatenated. This removes the need for the responding node to arbitrate for the bus after the acknowledge packet is sent.

For data writes, the acknowledgement can also be the response to the write, which is the case in a unified transaction. If the responder can accept the data fast enough, its acknowledge packet can have a transaction code of complete instead of pending . This eliminates the need for a separate response transaction altogether. Note that unified read and lock transactions aren’t possible, and the acknowledge packet can’t return data. Figure 10 shows the different types of transactions supported by 1394.

1394a arbitration enhancements

The 1394a addendum adds three new types of arbitration to be used with asynchronous nodes: acknowledged accelerated arbitration, fly-by arbitration, and token-style arbitration.

Acknowledged accelerated arbitration. When a responding node also has a request packet to transmit, the responding node can immediately transmit its request without arbitrating for the bus. Normally the responding node would have to go through the standard arbitration process.

Fly-by arbitration. A node that contains several ports must act as a repeater on its active ports. A multiport node may use fly-by arbitration on packets that don’t require acknowledgement (isochronous packets and acknowledge packets). When a node using this technique is repeating a packet upstream toward the root node, it may concatenate an identical speed packet to the end of the current packet. Note that asynchronous packets may not be added to isochronous packets.

Token-style arbitration. Token-style arbitration requires a group of cooperating nodes. When the cooperating node closest to the root node wins a normal arbitration, it can pass the arbitration grant down to the node farthest from the root. This node sends a normal packet, and all of the cooperating nodes can use fly-by arbitration to add their packets to the original packet as it heads upstream.

Bus management

Bus management on a 1394 bus involves several different responsibilities that may be distributed among more than one node. Nodes on the bus must assume the roles of cycle master, isochronous resource manager, and bus manager.

Cycle master. The cycle master initiates the 125µs cycles. The root node must be the cycle master; if a node that is not cycle master capable becomes root node, the bus is reset and a node that is cycle master capable is forced to be the root. The cycle master broadcasts a cycle start packet every 125µs. Note that a cycle start can be delayed while an asynchronous packet is being transmitted or acknowledged. The cycle master deals with this by including the amount of time that the cycle was delayed in the cycle start packet.

Isochronous resource manager . The isochronous resource manager must be isochronous transaction capable. The isochronous resource manager must also implement several additional registers. These registers include the Bus Manager ID Register, the Bus Bandwidth Allocation Register, and the Channel Allocation Register. Isochronous channel allocation is performed by a node that wishes to transmit isochronous packets. These nodes must allocate a channel from the Channel Allocation Register by reading the bits in the 64-bit register. Each channel has one bit associated with it. A channel is available if its bit is set to a logic 1. The requesting node sets the first available channel bit to a logic 0 and uses this bit number as the channel ID.

In addition, the requesting node must examine the Bandwidth Available Register to determine how much bandwidth it can consume. The total amount of bandwidth available is 6,144 allocation units. One allocation unit is the time required to transfer one quadlet at 1,600Mbps. A total of 4,915 allocation units are available for isochronous transfers if any asynchronous transfers are used. Nodes wishing to use isochronous bandwidth must subtract the amount of bandwidth needed from the Bandwidth Available Register.

Bus manager . A bus manager has several functions, including publishing the topology and speed maps, managing power, and optimizing bus traffic. The topology map may be used by nodes with a sophisticated user interface that could instruct the end user on the optimum connection topology to enable the highest throughput between nodes. The speed map is used by nodes to determine what speed it can use to communicate with other nodes.

The bus manager is also responsible for determining whether the node that has become root node is cycle master capable. If it isn’t, the bus manager searches for a node that is cycle master capable and forces a bus reset that will select that node as root node. The bus manager might not always find a capable node; in this case, at least some of the bus management functions are performed by the isochronous resource manager.

Hardware and software support

Hardware . Several manufacturers offer components for engineers designing systems to support IEEE 1394. Integrated circuit providers typically provide a chipset that includes a link layer controller and a physical layer controller. One of the goals of the 1394a addendum is to provide interoperability among the various link layer and physical layer controllers. Some of the available ICs and cores are shown in Table 5 .

Complete PCI-based cards that plug into a PC backplane are available from companies such as Adaptec, Sony, and Texas Instruments.

Software. IEEE 1394 is directly supported in the new Windows Driver Model (WDM), which is used in Windows 98 and will be available in Windows NT 5.0. For chipsets and devices to support the drivers provided in the new versions of Windows, several members of the 1394 Trade Association have banded together to create the 1394 Open Host Controller Interface (OHCI) Specification. The OHCI provides a link layer controller, as well as bus management functionality. In addition, the OHCI defines several DMA controllers for asynchronous and isochronous transactions. These controllers provide registers that a standard 1394 driver, provided by Microsoft, can use to configure the controller and schedule transactions.

Microsoft provides WDM streaming drivers to support audio and video devices such as DVD players, MPEG decoders, tuners, and audio codecs. These streaming drivers permit low-latency support for isochronous channels. The drivers minimize the transitions between user mode and kernel mode, which significantly reduces the overhead for driver calls and data movement.

For storage devices, printers, and scanners, Windows NT 5.0 supports the Serial Block Protocol (SBP-2). Microsoft recommends that devices be written to support the SCSI command set so the device can use the existing SCSI class driver that sits on top of the SBP-2 driver. If the vendor doesn’t support the SCSI protocol, they will need to write their own class driver to support their own command set.

In addition to the SBP-2 specification for storage devices, other standard data formats that ride on top of 1394 are in various stages of completion. These include the Tailgate specification, which defines a method for adapting ATA/ATAPI controllers to 1394, a digital video (DV) standard, and a printer protocol. The Digital Still Image Working Group and an industrial control and instrumentation group are also working on related standards.

Embedded systems designers have also seen some RTOS vendors add support for 1394, including Integrated Systems and Wind River. These vendors typically support a third-party protocol stack that has been ported to their RTOS. Zayante, Award Software, and Technology Rendevous each have a 1394 stack that they claim is OS-independent. Windows CE doesn’t currently have native support for 1394, but it will undoubtedly support it in the near future. Third-party support fills the existing gap.

Enabling the convergence

The IEEE 1394 protocol, USB, Ethernet, and IrDA will be the data channels of the future. Any embedded system that needs to share information (and what systems won’t?) will use at least one of the aforementioned communication methods. IEEE 1394 provides the highest throughput, as well as providing isochronous capability and peer-to-peer support. These features make it a prime candidate as the driver for the consumer, computer, and communications convergence. Proposed enhancements and additions to the protocol include targeting higher speeds, home networking, fiber transmission, and wireless IR transmission. As more devices support 1394, the prices for silicon will continue to drop rapidly, which will in turn cause more engineers to design in this protocol. esp

FOUNDATION fieldbus Device Description DD tools

The Fieldbus Foundation today announced the latest updates to its FOUNDATION(tm) fieldbus Device Description (DD) tools and specifications. The new releases for DD technology, which is fully compliant with the IEC 61804 and ISA104 Electronic Device Description Language (EDDL) profile, include enhanced versions of: DD Services (Version 5.1.0), DD Integrated Development Environment (Version 1.1.0), Device Description Language Interoperability Specification (FF-901), Device Description Language Specification (FF-900) and DD Library (Version 3.2).

The Fieldbus Foundation’s manager-fieldbus products, Stephen Mitschke, commented, “The updated DD solutions build upon the robust functionality of the previous DD 5.0 release, and are intended to help device developers, system suppliers and end users advance the performance of their FOUNDATION fieldbus products.”

Mitschke indicated that the latest DD enhancements support Unicode, providing FOUNDATION fieldbus device and system suppliers with an expanded ability to write and visualize DDs using local languages, including Asian languages. The enhancements also allow developers to build device-level menus, thus enabling visualization of multiple blocks and significantly improving the device integration experience. In addition, support for new parameter attributes will ensure an enhanced user interface for accessing devices.

Mitschke added that support for device-level menus will become mandatory as part of the Fieldbus Foundation’s host profile test and registration program. Like the current device registration process, host registration will strengthen fieldbus interoperability and system integration. Hosts successfully completing registration testing will be authorized to bear the foundation’s official product registration symbol.

Both of the DD technical documents (FF-900 and FF-901) fully describe the new enhancements, and are included in the FOUNDATION fieldbus technical specification. These documents are available for download on Fieldbus Forums (forums.fieldbus.org) to all foundation members with a specification maintenance agreement.

FOUNDATION fieldbus DD Services is a versatile development resource making it easier for host applications to access FOUNDATION device information and work with DDs more efficiently. Operating much like a query server for a database management system, DD Services frees hosts from the burden of decoding DD binary files. The host application constructs a request to access specific information about a device, and DD Services extracts the information from the DD binary file. The host application is relieved of having to know the format of the DD binary file, and then searching the file for the information it needs.

DD Services Version 5.1.0 delivers an integrated view of fieldbus devices through DD Menus. The new release is backward compatible with all existing DD implementations, but still offers new features required for device registration such as support for device-level menus and Unicode.

The Device Description Integrated Development Environment (DD-IDE) provides a single, easy to use application for developing, testing and debugging DD files. It is designed for fast, automatic code completion as the developer types code into DD project files. The application includes an online method debugger with watch window; an integrated text editor with customizable syntax highlighting and color-coding; an output window to display progress and errors during tokenizing; customizable project settings; a global file search tool; customizable tag files; and a project resource tree for management and development.

DD-IDE Version 1.1.0 provides enhanced support for visualization and grid interface. Like DD Services, this new release is backward compatible with all existing DD implementations, but still offers new features required for device registration such as support for device-level menus and Unicode.

DD Library provides standardized source code for all FOUNDATION fieldbus blocks and parameters, making it easy for developers to build DDs for fieldbus instrumentation. Suppliers only need to implement custom blocks and other manufacturer-specific additional parameters. Furthermore, the DD Library promotes a standardized view of field device information across manufacturers, enabling consistent configuration by users. The library is maintained to describe the most recent FOUNDATION specification.

DD Library Version 3.2 includes code for the Standard Temperature with Calibration Two Sensor block. It also provides new manufacturer names and IDs. Some unit codes have been added in response to action requests submitted for DD Library Version 3.1.

For more information about the latest DD releases, please visit http://www.fieldbus.org.

About the Fieldbus Foundation(tm)
The Fieldbus Foundation is a global not-for-profit corporation consisting of leading process end users and automation companies. Within the Fieldbus Foundation, end users, manufacturers, universities and research organizations work together to develop an automation infrastructure that provides process integrity, business intelligence and open scalable integration in a managed environment. For more information, visit their web site at http://www.fieldbus.org.

Ultrasonic Flowmeter Worldwide Outlook

8/6/2008
Ultrasonic Flowmeter Market to Reach $590 Million by 2012
Propelled by strong growth in the oil & gas industry, the worldwide market for ultrasonic flowmeters is expected to grow at a compounded annual growth rate (CAGR) of 9.9% over the next five years.  The market was $367 million in 2007 and is forecasted to be over $589 million in 2012, according to a new ARC Advisory Group study.

UltrasonicUltrasonic flowmeters, once limited to use in niche applications, have become the fastest growing flow technology, particularly in the hydrocarbon industries.  While ultrasonic flowmeter technology has been available for decades, it has only in recent years begun to see more widespread adoption.  “Ultrasonic meters offer a compelling value proposition to users, and stand poised for widespread adoption in the process industries.  Given its smaller market size relative to other flow technologies, sustained growth of the hydrocarbon industries, and a large installed base of obsolete and maintenance-heavy mechanical metering technologies ripe for replacement, ARC expects the ultrasonic market to continue to grow at near double-digit rates in coming years,” according to Analyst Allen Avery, the principal author of ARC’s “Ultrasonic Flowmeter Worldwide Outlook”.

Custody Transfer Segment Sees Strong Growth
Almost all of the growth of the process ultrasonic market in recent years has been due to increased shipments to the oil & gas industry, which nearly doubled over previous levels.  It appears that the custody transfer market for natural gas has taken shape, thanks to adoption of the AGA9 custody transfer standard, and the use of ultrasonic meters for liquid custody transfer is increasing.  The oil & gas industry has set aside its conservative stance on field device technology and has begun to embrace ultrasonic metering, particularly in new projects that allow the design of an infrastructure appropriate to achieve the best meter performance.

Smart Meters Provide Diagnostic Information
Fieldbus enabled smart meters will see strong growth, as flowmeters are installed as part of overall control systems.  Communication via fieldbus networks allows users to remotely configure, monitor, and control their ultrasonic flowmeters.  Meters that use digital communications protocols can also provide users with a wealth of diagnostic information about the health of not only the meter, but also the process.  With sophisticated electronics embedded in ultrasonic flowmeters and visualization software, users can monitor flow profiles, the effects of flow conditioning, and detect potential line blockages.  Armed with this data, users can optimize their meter calibration and maintenance practices.

Asia, Middle East Lead Growth
The largest growth will occur in Asia and EMEA regions.  China and India are expected to make robust investment in basic infrastructure and new manufacturing plants.  As energy-poor China seeks fuel for its rapid economic growth, it will ramp up its oil & gas infrastructure.  The Middle East will continue to be fertile ground for ultrasonic meter suppliers, due to its role in oil & gas production. Growth in North America will be relatively modest, but still healthy due to investment in oil & gas infrastructure.

FOUNDATION(TM) fieldbus

Emerson Process Management has been selected by the Zhejiang Changxing Glass Co., Ltd. and the Zhejiang Pinghu Glass Co., Ltd. to engineer and install PlantWeb® digital architecture with DeltaV automation systems and Emerson’s intelligent field devices in new glass plants in the Zhejiang Province. The projects will be the first for plantwide use of FOUNDATION(TM) fieldbus in China’s glass industry.

A core component of PlantWeb architecture, Emerson’s DeltaV(TM) digital automation systems will power the Smart Plant operation with the most advanced automation technology in the glass industry. In addition to installation savings, the PlantWeb architecture with FOUNDATION fieldbus is expected to improve product output and quality through digital reliability and functionality, highly accurate measurements, and advanced diagnostics from the intelligent field devices.

Zhejiang Changxing Glass is investing RMB800 million ($115 million USD) in its new plant, which went into operation in March, 2008. This plant has a designed capacity of 450 tons per day of float glass to meet the rising demand for building materials created by China’s ongoing construction boom. The Zhejiang Pinghu plant is expected to produce 500 tons of ultra-thin glass per day, starting in June 2008, from a total investment of RMB600 ($86 million USD). Ultra-thin glass is used for LEDs and other electronics applications

“Emerson was chosen as our main instrument supplier to take advantage of its advanced fieldbus technology, high quality products, and the excellent integration capabilities of Emerson’s technical personnel,” according to Zhejiang Changxing Project Manager Yang Kuang. “In addition to project and commissioning advantages, we expect digital automation to give us sustained operations and maintenance advantages.”

In addition to the DeltaV automation systems for each plant, Emerson is supplying smart Rosemount® temperature and pressure transmitters, Fisher® control valves equipped with FIELDVUE® digital valve controllers, and its AMS® Suite predictive maintenance software.

Diagnostic data produced by the smart field instruments is accessed over the fieldbus networks by AMS Device Manager which maintains a complete device database, processes acquired information, presents it in graphical format for use by both maintenance and operating personnel, and automatically documents interaction with field devices. This software will be useful during instrument commissioning. Using it as a means of communicating with the field instruments, technicians will spend as much as two-thirds less time for commissioning than with time-consuming conventional procedures. Beyond commissioning, AMS Device Manager’s predictive diagnostics will improve plant availability and performance.

“We are pleased that our advanced technologies, excellent engineering and integration capabilities in China, and reputation for post-sales support enabled our selection to participate in these landmark projects,” commented Mike Train, president of Emerson Process Management Asia Pacific. “We are committed to delivering the same process manufacturing advantages to these customers as we have done in our many installations in China.”

About Emerson Process Management Emerson Process Management (www.emersonprocess.com), an Emerson business, is a leader in helping businesses automate their production, processing and distribution in the chemical, oil and gas, refining, pulp and paper, power, water and wastewater treatment, mining and metals, food and beverage, pharmaceutical and other industries. The company combines superior products and technology with industry-specific engineering, consulting, project management and maintenance services. Its brands include PlantWeb®, DeltaV(TM), Fisher®, Micro Motion®, Rosemount®, Mobrey®, Bristol®, Daniel®, Ovation®, and AMS® Suite.

About Emerson Emerson (NYSE: EMR), based in St. Louis, is a global leader in bringing technology and engineering together to provide innovative solutions to customers through its network power, process management, industrial automation, climate technologies, and appliance and tools businesses.. For more information, visit www.Emerson.com.

Foundation Fieldbus: A Pocket Guide

kimkar1.jpg

Good pocket guides are few and far between, as it is difficult to get the right mix of technical detail and practical information for the reader. This little handbook has the mix just about right, not only having sections of information about networks in general and fieldbus in particular, but also including many handy tips and useful diagrams.

Foundation Fieldbus: A Pocket Guide by Ian Verhappen and Augusto Pereira from the ISA (ISBN 1-55617-775-5, 137 pages, $42.00 / �26.00, size 14cm x 9cm) has been written by control systems engineers with extensive Foundation Fieldbus installation experience and gives a range of quick reference information. Covered are the Foundation Fieldbus H1 protocol, installation tips, and other useful information that design engineers, control system engineers and instrumentation technicians need when meeting with a vendor or client and while managing an installation on site.

The guide covers power distribution and network power supply requirements and contains much handy reference information including rules for cabling length, documentation requirements, a commissioning checklist, topology diagrams, system sizing formulas and tips for integrating with other systems. It explains the Fieldbus Intrinsic Safety Concept (FISCO) along with configuration and troubleshooting tips. In spite of the guide’s small size, all the diagrams and tables are legible and easy to use.

“fieldbus” normally means Foundation Fieldbus

MANY automation engineers are coming face to face with real fieldbus applications for the first time. There are significant pitfalls for the unwary, who may actually believe the sales hype about plug’n’play compatibility and ease of installation and commissioning.

Firstly, don’t get “hung up” on which fieldbus to choose. Fieldbus is a generic term for a variety of communications protocols using various media, but all are simply a means to an end.

What you want is a satisfactory and functional control system. Practically every installation will use multiple fieldbusses to accomplish the many tasks required. The selection of dominant technology is driven by the relative importance of those tasks. In continuous operation process plant control engineering, “fieldbus” normally means Foundation Fieldbus or ProfibusPA. This article focuses on FF and PA physical layer implementation.

Fieldbus power supplies

FIELDBUS power supplies are not the same as COTS (Commercial Off The Shelf) power supplies. This is likely to become evident only during loop testing and pre-commissioning checks.

FF/PA systems carry both dc power and digital communications on the same wire pair. A standard 24 V dc power pack would effectively short-circuit the (31.25 kHz) communications signal. The power supply therefore requires low pass “conditioning” to filter out that signal.

This conditioning may be “active” (notch filters, etc.) or “passive” (series inductance).

There is no absolute requirement for the dc source to be independent per segment, but most designs provide segment isolation via dc/dc converters.

Redundant supplies for FF segments can be constructed as needed. However, ProfibusPA segments are somewhat constrained by the standard DP/PA segment coupler design, which incorporates field power conditioning within the DP/PA protocol converter.

Terminators

IN ProfibusPA and FF, the communications signal is current modulated at 31.25 kHz, 20 mA p/p.

Terminators are required at each end of the segment cable to prevent line reflections (which may otherwise result from open-ended cables) and also to source/sink the communications current.

The terminator circuit is very simple: 100? resistor and 1µF capacitor in series across the segment.

The end-of-line resistor provides a nominal load for the communications signal, and the capacitor stops the dc supply draining through the resistor.

Two terminators at 100? gives a nominal 50? load for the communications current (20 mA p/p) and a signal voltage for receiving devices of 1 V p/p. It is an enlightening experience to open up a commercially-produced terminator: US$75 gets a sophisticated plastic enclosure with an internal printed circuit board struggling manfully to hold a small resistor and a tiny capacitor!

One of the most common commissioning problems relates to under- or over-termination. Two terminators are required and only two.

Careful installation management to ensure the correct numbers of terminators is essential, or the issue can be completely avoided by using device couplers that automatically provide correct segment termination.

Fieldbus cable

FIELDBUS for process control should be as practical as possible. Power and signal should be available on the same cable, which should not be fundamentally different to conventional instrument cable already in common use.

Some cable manufacturers take advantage of the uninitiated by offering “fieldbus” cable in the same way as they make “intrinsically-safe cable” (ordinary instrumentation cable but with a blue sheath).

In general, if a cable is already in use for instrumentation and control, it is almost certainly fine for FF/PA use: 0.8 mm2 cable is typically used, with shield as individual spurs and with an overall shield if used as part of a multi-core.

However, field wiring is definitely different.

Fieldbus systems are simple to design because all the device wire-pairs are connected in parallel. However, in practice, any attempt to fill a box full of terminals and just “jump” between all positives and all negatives will result in a “rats nest” of cables within the enclosure.

This may be acceptable in some plants, but will lead to all sorts of maintenance problems once the installers have left site.

A better idea is to use device couplers: junction boxes specifically designed for fieldbus implementation.

These units automatically provide the necessary system interconnections without confusion and greatly speed up the process of device installation. They should incorporate the required terminator with either manual or automatic activation.

Short-circuit faults on individual spurs will drag down the entire segment. Hence device couplers also need to incorporate some form of spur short-circuit protection, which again may be active or passive in design.

Passive protection is very simple and is usually provided by series fuses per spur, which “blow” to disconnect any individual fault. This is inexpensive and very reliable, but it does require manual intervention: someone has to replace the blown fuse (hopefully after repairing the fault!).

Active spur protection comes in various forms: “current-limiting” designs fix a maximum current per spur, but clearly each fault so protected loads the segment continuously. If current-limiting designs are to be used, ensure that your segment power supply can cope with these additional loads.

An alternative design is the “fold-back” variety, where any faulty spur is switched off and that load completely removed from the segment. Both types auto-reset after fault removal, and both normally incorporate LEDs to indicate spur status.

Fieldbus Foundation

The Fieldbus Foundation has announced its support for efforts by the Electronic Device Description Language (EDDL) Cooperation Team (ECT) and Field Device Tool (FDT) Group to develop a single, unified Field Device Integration (FDI) solution compatible with both technologies.

The historic ECT/FDT agreement, announced by representatives of both organisations at Interkama 2007 in Hannover, Germany, laid the groundwork for developing a common device integration technology benefiting both instrumentation end users and manufacturers. The agreement provides a unified path forward for device integration that is based on use case requirements, incorporates the best aspects of each technology, and eliminates redundancies where they may exist. It also does away with double efforts for customers and vendors, and preserves backward compatibility and operating system independence.

Fieldbus Foundation president and CEO Rich Timoney praised the ECT and FDT organisations for joining forces to achieve an open, unified FDI solution. “The FDI project is a key priority for the global automation community, which is implementing intelligent instrumentation technology at a growing pace at plants and factories around the world,” said Timoney. “Working together, major control equipment suppliers and user organisations are developing a device integration framework that will meet the requirements of diverse industry stakeholders.”

The FDT Group joined the ECT as part of the 2007 agreement, and the two organisations are working together to achieve a common framework meeting the requirements of all parties. Future technology developments will use a subset of the OPC Unified Architecture (UA) within a client-server architecture. In addition, both groups have agreed to consolidate the advantages of EDDL and FDT technologies.

Ultimately, the FDI solution will ensure compatibility with existing EDDL- and Device Type Manager (DTM) based Device Descriptions (DDs). The solution will be applicable to any field device communication technology, as well as all hierarchical and heterogeneous network topologies

  • Advertisement

  • Web Contents


Intro4U2U

Advanced Search Preferences Language Tools

SEARCH THE WEB