Adding Ethernet protocol options

If your device has to be able to communicate using more than one industrial Ethernet protocol, the number of options is growing.

06/22/2011


Let’s say you are a manufacturer and you have to build a group of machines that need Ethernet connectivity to transmit data and receive instructions. These could be analyzers, motor control centers, multivariable process sensors, controllers, or just about anything. What are your options?

If these machines are part of a normal product line and you expect to make them again and again, you’ll build the Ethernet interface directly into the main electronics. If these are for a smaller manufacturing lot, you may decide to use a commercial off-the-shelf (COTS) Ethernet module for the sake of expedience.

Now, to further complicate things, let’s say the specification calls for the device to communicate via one of the common industrial Ethernet protocols, such as EtherNet/IP, Profinet, EtherCAT, or others, but not one specifically. The customer (or your marketing department) wants the ability to do a final configuration at the plant during installation, and may even want to go so far as to be able to change to another after some period of time. What this means is that you cannot make the selection permanent at the factory. That is a little more challenging because it eliminates using ASICs (application specific integrated circuits) or other hardwired approaches.

“Most industrial communication can be described in terms of the 7-layer OSI model for communications,” says Tom Weingartner, vice president of marketing for Innovasic Semiconductor. “Typically, layers 1 and 2 are implemented in hardware and layers 3 through 7 are implemented in software. Ideally, you would like one hardware solution and simply change the software for each industrial communication protocol. However, physical connections and electrical characteristics require different hardware for layer 1 from one protocol to another, and real-time response may require different hardware from layer 2 and above.”

What are your options? There are more choices than you may realize.

FPGAs

A field programmable gate array (FPGA) contains a matrix of reconfigurable gate array logic circuitry that can be configured to create a hardware implementation of a software application. Sophisticated development tools from chip suppliers are enabling embedded control system designers to create and more easily adapt FPGA-based applications.

Unlike processors, FPGAs use dedicated hardware for processing logic and do not have an operating system. Because the processing paths are parallel, different operations do not have to compete for the same processing resources. That means speeds can be very fast, and multiple control loops can run on a single FPGA device at different rates.

FPGAs can also be reconfigured, allowing designers and users a high degree of flexibility. A real-life example of this is the FPGA RTEM (real-time Ethernet module) available from Softing. This is a COTS Ethernet connectivity module mentioned earlier. The company says that this unit is designed to offer a cost-effective board-level module for use with low-volume products or when a device manufacturer does not have the necessary R+D bandwidth to design a real-time Ethernet interface from scratch. It serves as a complete interface for connecting field devices to the Profinet, EtherNet/IP, and Modbus/TCP Ethernet protocols.

Softing’s module uses an Altera Cyclone FPGA as its heart. Altera characterizes this design as created for small form factor applications in wireless, wired, military, broadcast, industrial, consumer, and other communications applications. FPGAs use IP (intellectual property) blocks or cores to support the required communication protocol. Using pre-built IP cores helps simplify creating the configuration to implement complex or specialized features. The IP can be protected with encryption with volatile and nonvolatile keys.

They can be reused with different design or size devices, and can include:

  • Hardened memory controllers supporting Mobile DDR, LPDDR2 SDRAM, and 400-MHz DDR3 SDRAM
  • PCI Express Gen2 x1 with multifunction support and
  • Variable-precision digital signal processing (DSP) blocks.

In addition to Altera, FPGAs are available from a number of sources, including Xilinx. Ethernet modules are also available from National Instruments.

Configurable networking processors

In addition to FPGAs, there are processors that can be configured for specific functionality. Here are two examples.

Innovasic manufacturers a controller family called FIDO (flexible input, deterministic output). Simply stated, this is a CPU32+ processor with configurable I/O. The company characterizes this as moving specific real-time operating system (RTOS) functions into the silicon to provide real-time control capability and allow users to develop and debug their code faster than is possible on conventional microcontrollers. Complete solutions are available for industrial Ethernet protocols. Context switching, context management, scheduling, priority control, and memory protection are all built-in. For some applications, this capability eliminates the need for an RTOS altogether, or it may need only a small footprint RTOS.

Operational sections within the controller correspond to the communication model. Source: Innovasic Semiconductor

The chip’s functionality or communication protocol can be changed by downloading new firmware over the Ethernet interface or through the controller’s debug port. Some typical applications are communication adapters, gateways, I/O modules, and communication interfaces in PACs/PLCs.

Hilscher offers its netX controller platform, which it says is a highly integrated network controller with a new system architecture optimized on communication and maximum data transfer. Each communication channel consists of three freely configurable ALUs (arithmetic and logic units), which can be configured with their command set and infrastructure to work with most fieldbus and real-time Ethernet systems.

With four configurable network communication channels, netX can support multiple communication protocols simultaneously. It can be used as a network co-processor with a standard dual-port memory interface or as a highly integrated single-chip solution for your custom control applications.

The central data switch connects via five data paths to the ARM CPU and the communication, graphic, and host controllers with the memory or the peripheral units. This allows the controllers to transmit their data in parallel. The controllers of the four communication channels are structured on two levels and are identical to each other, consisting of dedicated ALUs and special logic units that receive their protocol functions via microcode.

Making a selection

Given this range of options, how do you choose?

“With all of the advancements in FPGAs and processors becoming more configurable, the lines between these types of solutions are really getting blurred,” says Weingartner. “What you are seeing in the market right now is the FPGA guys providing HDL IP blocks so you don’t have to program the FPGA, and the processor guys providing software so you don’t have to program the processor. Which is the better approach? First and foremost is the solution that can meet your industrial Ethernet performance requirements. However, if FPGAs and standard processors all meet some minimum level of performance, that’s when you need to start looking at total ownership cost of the solution and its availability for an automation system’s product lifecycle.”


For more information, visit:

www.altera.com

www.hilscher.com

www.innovasic.com

www.ni.com

www.softing.com

www.xilinx.com


- Peter Welander is a content manager for Control Engineering, pwelander(at)cfemedia.com.

Control Engineering webcasts include more on Ethernet optimization.

http://www.controleng.com/media-library/webcasts.html 



No comments
The Engineers' Choice Awards highlight some of the best new control, instrumentation and automation products as chosen by...
Each year, a panel of Control Engineering editors and industry expert judges select the System Integrator of the Year Award winners.
The Engineering Leaders Under 40 program identifies and gives recognition to young engineers who...
Learn how to increase device reliability in harsh environments and decrease unplanned system downtime.
This eGuide contains a series of articles and videos that considers theoretical and practical; immediate needs and a look into the future.
Learn how to create value with re-use; gain productivity with lean automation and connectivity, and optimize panel design and construction.
Go deep: Automation tackles offshore oil challenges; Ethernet advice; Wireless robotics; Product exclusives; Digital edition exclusives
Lost in the gray scale? How to get effective HMIs; Best practices: Integrate old and new wireless systems; Smart software, networks; Service provider certifications
Fixing PID: Part 2: Tweaking controller strategy; Machine safety networks; Salary survey and career advice; Smart I/O architecture; Product exclusives
The Ask Control Engineering blog covers all aspects of automation, including motors, drives, sensors, motion control, machine control, and embedded systems.
Look at the basics of industrial wireless technologies, wireless concepts, wireless standards, and wireless best practices with Daniel E. Capano of Diversified Technical Services Inc.
Join this ongoing discussion of machine guarding topics, including solutions assessments, regulatory compliance, gap analysis...
This is a blog from the trenches – written by engineers who are implementing and upgrading control systems every day across every industry.
IMS Research, recently acquired by IHS Inc., is a leading independent supplier of market research and consultancy to the global electronics industry.

Find and connect with the most suitable service provider for your unique application. Start searching the Global System Integrator Database Now!

Case Study Database

Case Study Database

Get more exposure for your case study by uploading it to the Control Engineering case study database, where end-users can identify relevant solutions and explore what the experts are doing to effectively implement a variety of technology and productivity related projects.

These case studies provide examples of how knowledgeable solution providers have used technology, processes and people to create effective and successful implementations in real-world situations. Case studies can be completed by filling out a simple online form where you can outline the project title, abstract, and full story in 1500 words or less; upload photos, videos and a logo.

Click here to visit the Case Study Database and upload your case study.