texas instruments am1810 whitepaper 1

9
Executive Summary PROFIBUS is a widely used communication technology in automation applications. It is in- stalled in more than 30 million industrial nodes and is growing at about 10 percent each year. To implement PROFIBUS functionality, end products typically use a dedicated ASIC or an FPGA in addition to an applications processor. Texas Instruments, Inc. (TI) has integrated the PROFIBUS functionality on the AM1810 Sitara ARM microprocessor (MPU), thereby eliminating the need for a dedicated device. The industrial application and the PROFIBUS application layer stack are both run on the ARM, and the PROFI- BUS link layer is implemented by the AM1810 Programmable Real Time Unit (PRU) subsystem. The benefits of this integration include lower cost, smaller board size and much lower power. TI has also received compliance certification from PROFIBUS Nutzerorganisation e.V. (PNO). All software and hardware components and tools required to get started and develop PRO- FIBUS applications are available from TI. The AM1810 MPU is available in industrial grade packaging with guaranteed long-term supply to make it a compelling choice for PROFIBUS applications. PROFIBUS on AM1810 Sitara ARM ® Microprocessor from Texas Instruments Introduction to PROFIBUS History PROFIBUS (Process Field Bus) is a standard for automation technology. It was created in 1989 in Germany, and today, it is overseen by the organization – PROFIBUS and PROFINET Inter- national (PI). More than 1,400 organizations across the world are PI members. PROFIBUS is a widely deployed technology, and by the end of 2009, there were over 30 million PROFIBUS nodes installed with a current growth rate of about 10 percent a year. Applications PROFIBUS is an industrial field bus and is used to connect controllers to remote input/output units, sensors, actuators and inter-networking components. The applications where PROFIBUS is deployed include factory automation, drives and motion control, process automation and safety-critical applications. Technology PROFIBUS is a communication system that enables devices to communicate efficiently. This is accomplished by connecting a number of nodes over a single connection. This single connection not only eliminates the need for dedicated wiring for each node, it also allows for reduced complexity, reduced investment and easier deployments. PROFIBUS communication Maneesh Soni, Systems Manager Thomas Mauer, Systems Applications Engineer Pratheesh Gangadhar, Technical Lead Amit Chatterjee, Project Manager Texas Instruments WHITE PAPER PROFIBUS DP Master Card Reader Motor Driver PLC HMI Digital Meter Figure 1. PROFIBUS in industrial automation

Upload: morelosmx

Post on 21-Oct-2015

17 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Texas Instruments AM1810 Whitepaper 1

Executive Summary

PROFIBUS is a widely used communication

technology in automation applications. It is in-

stalled in more than 30 million industrial nodes

and is growing at about 10 percent each year.

To implement PROFIBUS functionality, end

products typically use a dedicated ASIC or an

FPGA in addition to an applications processor.

Texas Instruments, Inc. (TI) has integrated the

PROFIBUS functionality on the AM1810 Sitara

ARM microprocessor (MPU), thereby eliminating

the need for a dedicated device. The industrial

application and the PROFIBUS application layer

stack are both run on the ARM, and the PROFI-

BUS link layer is implemented by the AM1810

Programmable Real Time Unit (PRU) subsystem.

The benefits of this integration include lower

cost, smaller board size and much lower power.

TI has also received compliance certification

from PROFIBUS Nutzerorganisation e.V. (PNO).

All software and hardware components and

tools required to get started and develop PRO-

FIBUS applications are available from TI. The

AM1810 MPU is available in industrial grade

packaging with guaranteed long-term supply

to make it a compelling choice for PROFIBUS

applications.

PROFIBUS on AM1810 Sitara™ ARM® Microprocessor from Texas Instruments

Introduction to PROFIBUSHistory

PROFIBUS (Process Field Bus) is a standard for automation technology. It was created in 1989

in Germany, and today, it is overseen by the organization – PROFIBUS and PROFINET Inter-

national (PI). More than 1,400 organizations across the world are PI members. PROFIBUS is

a widely deployed technology, and by the end of 2009, there were over 30 million PROFIBUS

nodes installed with a current growth rate of about 10 percent a year.

Applications

PROFIBUS is an industrial field bus and is used to connect controllers to remote input/output

units, sensors, actuators and inter-networking components. The applications where PROFIBUS

is deployed include factory automation, drives and motion control, process automation and

safety-critical applications.

Technology

PROFIBUS is a communication system that enables devices to communicate efficiently. This

is accomplished by connecting a number of nodes over a single connection. This single

connection not only eliminates the need for dedicated wiring for each node, it also allows for

reduced complexity, reduced investment and easier deployments. PROFIBUS communication

Maneesh Soni,Systems Manager

Thomas Mauer,Systems Applications Engineer

Pratheesh Gangadhar,Technical Lead

Amit Chatterjee,Project ManagerTexas Instruments

W H I T E P A P E R

PROFIBUSDP Master

CardReader

MotorDriver

PLCHMIDigitalMeter

Figure 1. PROFIBUS in industrial automation

Page 2: Texas Instruments AM1810 Whitepaper 1

PROFIBUS on AM1810 Sitara™ ARM® Microprocessor from Texas Instruments November 2010

2 Texas Instruments

technology has multiple protocols that are used depending upon the application requirements. PROFIBUS

protocol also defines the role of Master and Slave nodes to manage the communication among the PROFI-

BUS nodes.

PROFIBUS DP

PROFIBUS DP or Decentralized Periphery is the most popular PROFIBUS protocol. This protocol has three

versions within the application layer – DP-V0, DP-V1 and DP-V2. DP-V0 provides cyclic data exchange and

diagnostic messages. DP-V1 adds acyclic data exchange and alarm handling. DP-V2 is isochronous mode

and data exchange broadcast like Slave-to-Slave communication.

PROFIBUS PA

PROFIBUS PA or PROFIBUS Process Automation is used in hazardous environments. Both data and power are

transmitted on the same link and a reduced power level is used to minimize the risk of explosion. PA has a

fixed transmission rate at 31.25kBaud.

PROFIBUS can be customized for end application needs by using application profiles. For some of the

common applications, the PROFIBUS organization has standardized the application profiles. The PROFIsafe

and PROFIdrive are two such profiles that are used in safety or in motor drives applications.

Components of a PROFIBUS Node

Each PROFIBUS node has three components – the electrical layer, the data link layer and an application layer.

The electrical layer is implemented using RS-485, fiber-optic or MBP media. The data link layer is called

Fieldbus Data Link (FDL) and it implements Master-Slave communication. The application layer is one of

DP-V0, DP-V1 and DP-V2, etc. and it supports messaging between the PROFIBUS nodes. These messages

can involve data exchange, diagnosis, alarms and such. For DP-V0 and DP-V1 the PROFIBUS Master is

allowed to start a transmission, while the Slave is only allowed to respond to a message that matches with

its Slave address. A maximum of 126 devices (Master and Slaves) with unique addresses are permitted in a

single system.

Compliance

To ensure wide interoperability among devices designed with PROFIBUS interfaces, the PROFIBUS organiza-

tion has a certification program which makes sure that a device is in compliance with the rules and specifi-

cations of the protocols. Each new device or already certified device but with hardware or software change

needs to pass certification to claim PROFIBUS compliance and use the official PROFIBUS logo. Certification is

done by authorized certification labs that follow the test procedures defined by PI. The PI website provides a

list of certification labs.

Page 3: Texas Instruments AM1810 Whitepaper 1

3Texas Instruments

A typical solution available today has architecture similar to the illustration below.

In such solutions, a microprocessor implements the industrial application and a separate ASIC or FPGA

performs the PROFIBUS protocol implementation, and an RS-485 transceiver provides the connection to the

physical layer. The PROFIBUS device connects to the microprocessor over a parallel or serial interface. At the

physical layer, an RS-485 transceiver with galvanic isolation is required.

Texas Instruments Inc. (TI) has integrated PROFIBUS functionality into its AM1810 Sitara ARM microprocessor

(MPU). The solution connects directly to the RS-485 transceiver and therefore eliminates the need of an ex-

ternal PROFIBUS ASIC or FPGA. Customers using the AM1810 Sitara ARM MPU in their industrial application

can save cost and reduce design complexity as well as PCB space. Furthermore, the industrial application

benefits from the low-power architecture of the Sitara ARM MPU platform from TI.

The AM1810 Sitara ARM MPU PROFIBUS Slave solution has been certified by PROFIBUS International (PI)

with a transmission rate of up to 12MBaud.

The PROFIBUS real-time frame handler (Fieldbus Data Link or FDL) is encapsulated in the Programmable

Real-Time Unit Subsystem (PRUSS), which is part of the AM1810 Sitara ARM MPU on-chip peripherals. The

PRUSS uses one Universal Asynchronous Receiver/Transmitter (UART) and a timer to generate PROFIBUS-

compliant frames. The industrial application and the PROFIBUS DP-Protocol (Layer 7) are operated on the

ARM. The solution can be completed with an RS-485 transceiver suitable for harsh environments, such as

TI’s ISO1176T or ISO1176.

AM1810 Sitara ARM MPU block diagram

The AM1810 Sitara ARM MPU is low-power and based on the ARM926EJ-S™ RISC core, supporting a

frequency of up to 375 MHz.

Typical PROFIBUS solution

PROFIBUS on AM1810 Sitara™ ARM® Microprocessor from Texas Instruments November 2010

Figure 2. Typical PROFIBUS implementation

PROFIBUS solution from Texas Instruments

Host

InterfaceProcessor

PROFIBUSASIC/FPGA

RS-485Transceiver

Isolation

ISO1176TRS-485

Transceiver

Isolation

RX / TX

TX enable

UARTARMCPU

SharedMemory

Timer

PROFIBUSFDL

PRU

AM1810 Sitara™ ARM MPU®

Figure 3. PROFIBUS solution from Texas Instruments

Page 4: Texas Instruments AM1810 Whitepaper 1

4 Texas Instruments

The PROFIBUS subsystem uses the PRUs that implement real-time frame handling, PROFIBUS message

transmission, frame validation and communication with the ARM processor. The PROFIBUS subsystem inter-

faces with one of the UARTs in the AM1810 Sitara ARM MPU, which is designated for PROFIBUS communi-

cation at up to 12Mbaud data rate. The PRU uses interrupts to interact with the ARM where the PROFIBUS

stack (Layer 7, DP Protocol) and the industrial application is run. All process data handling like cyclic, acyclic

and service access point (SAP) between the PROFIBUS stack on ARM and the PRU is through the internal

memory.

Additional details about the AM1810 Sitara ARM MPU, available peripherals and their features are provided

in the data sheet at the TI website (www.ti.com/am1810).

Industrial application software architecture for PROFIBUS on AM1810 Sitara ARM MPU

There are three software components in the PROFIBUS solution with the AM1810 Sitara ARM MPU. The first

is the micro-code that implements FDL functionality in the PRU; the second is the PROFIBUS DP protocol that

runs on the ARM MPU and third is an industrial application that is dependent on the end equipment that this

solution is used in.

PROFIBUS on AM1810 Sitara™ ARM® Microprocessor from Texas Instruments November 2010

ARM9™

AM1810 Processor

16K/16K L1

DisplaySubsystem

LCDController

Input ×2

Video PortsPRUSubsystem

withPROFIBUS

Interconnect

Connectivity

USB OTG w/ PHY

USB HS w/ PHY

SATA

EMAC

UHPI

UPP

McBSP ×2 McASP

UART ×2

PROFIBUS UART

SPI ×2

Serial Interface

Memory Interface Timers

WDT ×1

GP ×3

PWM ×2

eCAP ×3

Flash/SRAM

LPDDR1/DDR2

MMC/SD/SDIO ×2

I C ×22

Output ×2

Figure 4. AM1810 Sitara ARM MPU block diagram

Page 5: Texas Instruments AM1810 Whitepaper 1

5Texas Instruments

The PROFIBUS Slave solution certified by TI is using the Linux™ Operating System (OS) with a real-time

enabled kernel. The industrial application interfaces with the DP Slave stack from Technology Management

Group (TMG) based in Karlsruhe, Germany.

Note that the integrated PROFIBUS solution in the AM1810 Sitara ARM MPU is agnostic to the OS and

the PROFIBUS DP stack. This provides flexibility to the customer of choosing his own OS and PROFIBUS DP

protocol stack.

PROFIBUS key parameters

The key parameters for the AM1810 Sitara ARM MPU PROFIBUS solution from TI are tabulated below.

PROFIBUS on AM1810 Sitara™ ARM® Microprocessor from Texas Instruments November 2010

ISO1176 / ISO1176T

AM1810

EIA-485

Industrial Application

PROFIBUS DP v0/v1 Slave Stack

API

PRUSS

Driver

API

PROFIBUS

Driver

API

EDMA

Driver

API

PRUSS with PROFIBUS (FDL)

API

Layer 7 – Application

Layer 2 – Data Link

Layer 1 – Physical

Customer

Third Party

or Customer

TI

Figure 5. Software architecture for PROFIBUS-DP on AM1810 Sitara ARM MPU

Feature Parameter

ARM9™ frequency Up to 375 MHz

Data rates (baud) 12M, 6M, 3M, 1.5M, 500k, 187.5k, 93.75k, 19.2k, 9.6k

DPv0 support Cyclic exchange of data and diagnosis

DPv1 support Acyclic/cyclic data exchange and alarm handling

DPv2 support Not yet supported, please contact TI for additional information

Response time 11-bit minimum TSDR response time

Operating system Certified solution is based on Linux, but PROFIBUS solution in AM1810 Sitara ARM MPU is agnostic to OS

Page 6: Texas Instruments AM1810 Whitepaper 1

PROFIBUS on AM1810 Sitara™ ARM® Microprocessor from Texas Instruments November 2010

How to enable the integrated PROFIBUS

solution on end products?

Power consumption

The PROFIBUS Slave implementation benefits from the low-power architecture of TI’s Sitara ARM MPU plat-

form, which eliminates the need for fan or heat sink.

For a typical use case, the AM1810 and OMAP-L138 devices consume less than 1 mW per MHz of

ARM9™ speed, as shown in the table above.

The PROFIBUS solution in the AM1810 MPU can be integrated into industrial applications in need for PROFI-

BUS Master or Slave interface. For Slave devices, customers can directly use TI’s PROFIBUS implementation

and complete their design process using the evaluation copy of the PROFIBUS Slave stack that is provided

by TI. The Slave stack is owned by TMG and it can be licensed by customers for a one time licensing fee.

If so desired, customers can also use a Slave stack from a different vendor or develop their own. Once the

development is complete, the customer can take their product to the PROFIBUS test labs for certification.

The Master device is available as a technology demonstrator which has not yet been pursued by TI for

certification by PI. Please contact TI’s dedicated technical support for further information at http://e2e.ti.com.

TI products for PROFIBUS implementation

TI provides the applications processor for PROFIBUS implementation as well as analog products for interface

to the physical layer. A brief description of these products is provided in the table below. These products are

available in industrial grade temperature range and have long term availability.

Development tools for PROFIBUS implementation

TI provides an AM1810 Sitara ARM MPU Evaluation Module (EVM) with comprehensive design data to assist

customers with their implementation. In addition, TI has also collaborated with Critical Link, LLC for an ad-

ditional development platform targeted for industrial applications.

Device Frequency Memory Voltage Power (estimated)

AM1810 375 MHz DDR2 at 156 MHz 1.2 V 330 mW or 0.9 mW/MHz

Product Description

AM1810 ARM9 32-bit microprocessorImplements PROFIBUS Fieldbus Data Link LayerARM9 CPU runs user application

OMAP-L138 ARM9 32-bit microprocessor with TI C674x floating-point DSPImplements PROFIBUS Fieldbus Data Link LayerARM9 CPU runs user applicationDSP can perform additional signal-processing tasks

ISO1176 Isolated differential line transceiver designed for PROFIBUS applications

ISO1176T Isolated differential line transceiver with integrated oscillator outputs that provide the input signal required by an isolation transformer

6 Texas Instruments

Page 7: Texas Instruments AM1810 Whitepaper 1

AM1810 Sitara ARM MPU EVM

The AM1810 Sitara ARM MPU EVM is the primary platform for developing PROFIBUS-based applications on

the AM1810 MPU. It includes real-time enabled distribution of Linux and device driver packages developed

by TI. The software developer kit provided with the EVM includes a working copy of the PROFIBUS Slave

implementation.

The board has a built-in Ethernet, RS-232, SD-card, USB, audio outputs, power management and LCD

panel with touch screen. All design data for creating schematics and layout for end customer applications is

available.

MityARM AM1810 Module with Industrial Applications Board

Critical Link has developed an Industrial Applications board with SODIMM slot for various CPU modules. The

board accepts both OMAP-L138 and AM1810 modules and enables industrial protocols over the RS485,

Controller Area Network (CAN) and 10/100 Ethernet interfaces. The PROFIBUS Slave implementation from

TI is supported on this platform. Other industrial protocols such as PROFINET, CANopen and EtherCAT

Master can also be implemented. The board features isolated power supplies, connectors for display and

touch screen, SATA, SD card, Ethernet, RS-232, USB and audio output ports on an ETX form-factor board. If

required, a wireless LAN interface can also be integrated to the board.

The CPU module is available with or without an FPGA on it. For applications that require custom logic, the

on-board FPGA can be used.

The board, shown on the following page, is available directly from Critical Link and supports the Linux

operating system and application development.

TI has integrated the PROFIBUS functionality into the AM1810 Sitara ARM MPU. This solution can meet the

stringent requirements of industrial environment while eliminating the need for an external ASIC/FPGA for

PROFIBUS communication. Available as OMAP-L138 and as AM1810 Sitara ARM MPU, TI allows for fully

7Texas Instruments

Figure 6. TI AM1810 Sitara ARM MPU EVM

PROFIBUS on AM1810 Sitara™ ARM® Microprocessor from Texas Instruments November 2010

Summary

Page 8: Texas Instruments AM1810 Whitepaper 1

SPRY155© 2010 Texas Instruments Incorporated

Important Notice: The products and services of Texas Instruments Incorporated and its subsidiaries described herein are sold subject to TI’s standard terms and conditions of sale. Customers are advised to obtain the most current and complete information about TI products and services before placing orders. TI assumes no liability for applications assistance, customer’s applications or product designs, software performance, or infringement of patents. The publication of information regarding any other company’s products or services does not constitute TI’s approval, warranty or endorsement thereof.

Sitara is a trademark of Texas Instruments Incorporated. All other trademarks are the property of their respective owners.

8 Texas Instruments

integrated PROFIBUS communication capability with user’s application code running on the same device.

TI also offers ISO1176T and ISO1176 - the external PROFIBUS transceivers with built in galvanic isolation.

Beside the Fieldbus Data Link (FDL) Layer 2 Software, a PROFIBUS Layer 7 third party stack license would be

needed before the end product can be launched in the market. However, the customer can start development

with the PROFIBUS Layer 7 stack that is part of the evaluation package.

The integrated PROFIBUS solution from TI consumes very low power and provides a high-speed ARM9

core for running the PROFIBUS Layer 7 stack and industrial customer application. It benefits customers by

reducing cost, printed circuit board (PCB) area and simplified system design.

Figure 7. Critical Link industrial IO board with AM1810 Sitara ARM MPU SOM

Page 9: Texas Instruments AM1810 Whitepaper 1

IMPORTANT NOTICE

Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements,and other changes to its products and services at any time and to discontinue any product or service without notice. Customers shouldobtain the latest relevant information before placing orders and should verify that such information is current and complete. All products aresold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.

TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standardwarranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except wheremandated by government requirements, testing of all parameters of each product is not necessarily performed.

TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products andapplications using TI components. To minimize the risks associated with customer products and applications, customers should provideadequate design and operating safeguards.

TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right,or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Informationpublished by TI regarding third-party products or services does not constitute a license from TI to use such products or services or awarranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectualproperty of the third party, or a license from TI under the patents or other intellectual property of TI.

Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompaniedby all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptivebusiness practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additionalrestrictions.

Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids allexpress and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is notresponsible or liable for any such statements.

TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonablybe expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governingsuch use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, andacknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their productsand any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may beprovided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products insuch safety-critical applications.

TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products arespecifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet militaryspecifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely atthe Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use.

TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products aredesignated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designatedproducts in automotive applications, TI will not be responsible for any failure to meet such requirements.

Following are URLs where you can obtain information on other Texas Instruments products and application solutions:

Products Applications

Amplifiers amplifier.ti.com Audio www.ti.com/audio

Data Converters dataconverter.ti.com Automotive www.ti.com/automotive

DLP® Products www.dlp.com Communications and www.ti.com/communicationsTelecom

DSP dsp.ti.com Computers and www.ti.com/computersPeripherals

Clocks and Timers www.ti.com/clocks Consumer Electronics www.ti.com/consumer-apps

Interface interface.ti.com Energy www.ti.com/energy

Logic logic.ti.com Industrial www.ti.com/industrial

Power Mgmt power.ti.com Medical www.ti.com/medical

Microcontrollers microcontroller.ti.com Security www.ti.com/security

RFID www.ti-rfid.com Space, Avionics & www.ti.com/space-avionics-defenseDefense

RF/IF and ZigBee® Solutions www.ti.com/lprf Video and Imaging www.ti.com/video

Wireless www.ti.com/wireless-apps

Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265Copyright © 2010, Texas Instruments Incorporated