Equipment OEMs are migrating to Industrial Ethernet technologies, however, selecting the right protocol is only the first consideration.” “This session will provide an overview of In
Trang 1Renesas Electronics America Inc.
Design Tradeoffs in Industrial Ethernet Hardware Implementations
Trang 2Renesas Technology & Solution Portfolio
Trang 3Microcontroller and Microprocessor Line-up
Wide Format LCDsIndustrial & Automotive, 130nm
350µA/MHz, 1µA standby
44 DMIPS, True Low Power Embedded Security, ASSP
25 DMIPS, Low Power
10 DMIPS, Capacitive Touch
Industrial & Automotive, 150nm
190µA/MHz, 0.3µA standby
Industrial, 90nm
200µA/MHz, 1.6µA deep standby
Automotive & Industrial, 90nm
600µA/MHz, 1.5µA standby
Automotive & Industrial, 65nm
500µA/MHz, 35µA deep standby
Industrial, 40nm
200µA/MHz, 0.3µA deep standby
Industrial, 90nm
1mA/MHz, 100µA standby
Industrial & Automotive, 130nm
144µA/MHz, 0.2µA standby
Trang 4Renesas – Enabling The Smart Factory
Challenge:
“Standard enterprise TCP/IP
protocol does not provide the
deterministic communication
required in today’s Smart
Factory Equipment OEMs are
migrating to Industrial Ethernet
technologies, however, selecting
the right protocol is only the
first consideration.”
“This session will provide an overview of Industrial Ethernet
implementations and highlight the considerations and tradeoffs from a system level and device requirements You will learn how Renesas MCUs and intelligent PHYs are the ideal solution to
Trang 5Industrial Ethernet Solution
Trang 7Industrial Networks Need Fast Cycle Times and Efficient Delivery
• Efficient data throughput
• Deterministic / “Real Time”
• High Reliability
• Robustnessvs.
Trang 8Industrial Communications Takes Many Forms
In PLCs/PACs to communicate between the Master CPU card and I/O modules
Slower sensor interfaces that react
Serial communication for operator
Multi-Axis Drive System
PLC Backplane
Industrial Ethernet
Fieldbus
industrial Ethernet HMI
Safety Sensor
CANopen Slice I/O
Encoder/ or Resolver
CANopen
CANopen Slice I/O
AC Servo Linear Motors
Trang 9Factories Migrating to Ethernet-Based Networks
ETHERNET
Device Level
Control Level
Information Level
Enterprise Level Ethernet
Trang 10How Is Industrial Ethernet Different?
TCP / UDP / IP
Non Real Time
Ethernet
Real Time Protocol Real Time Protocol
Non Real Time
Using 802.3
On Top of TCP/IP
On Top of Ethernet
Modified Ethernet
Ethernet Modified Ethernet
Enterprise
Process
Device
TCP / UDP / IP Real Time Protocol
Trang 11Protocols For Different “Real Time”
Requirements
Non-Real Time Real Time
Isochronous Real Time
Hardware Assisted
How Much “Real Time” Do I Need?
Trang 12Industrial Ethernet Protocols
Slave Architectures Overview
Trang 13Industrial Ethernet Slave Architecture
Non Real Time (NRT)
on the same channel
prioritization to know what data is
for the process or for device
Data
Transport Network
OSI Model Layers
Trang 14Industrial Ethernet Slave Architecture
Real Time (RT)
Parameter Data run parallel to TCP/UDP
layer
performance
MAC
RT
IT tasks -HTTP -SNMP -DHCP TCP/UDP
Data
Transport Network
Real Time Data
Timing Layer
Process Data Protocol
Trang 15Industrial Ethernet Slave Architecture
Hardware Real Time (Isochronous Real Time)
Parameter Data channels
Controller (MAC)
may be required
IRT
IT tasks -HTTP -SNMP -DHCP TCP/UDP
IP
Protocol-specific, Real-time Ethernet Controller
Application
Automation API
Paramet
er Data Application
Data
Transport Network
Real Time Data
Timing Layer
Process Data Protocol
DLR
Trang 16Summary of Protocol Characteristics
RT | IRT
Consortia www.modbus.org www.odva.org www.ethernet-powerlink.org www.profinet.com www.ethercat.org www.sercos.orgKey Supplier Schneider Electric AutomationRockwell B&R Siemens Beckhoff Bosch Rexroth
Ethernet Standard Ethernet Controller (MAC) Custom Hardware Ethernet Controller (MAC)
Hardware
FPGA
MCU + ASIC
MCU + ASIC MCU + FPGA MCU + ASSP System On Chip
MCU + ASIC MCU + FPGA MCU + ASSP
Trang 17Industrial Ethernet Development Considerations
Trang 18Typical Multi-Chip Industrial Control System With Networking
RS485
Encoder Input
Digital In
Analog Sensor Input
Digital Out
High Speed Interface Digital Out / PWM
Trang 19Considerations To Implementing Industrial Ethernet Solutions
Selecting the right protocol
What level of ‘real time’ do I need?
What nuances in the protocol may provide
a technical challenge?
Flexibility, scalability and costs
How flexible is my solution for different protocol
implementations?
Will my architecture scale based on my customer needs?
What is the impact on size or power?
What are the cost impacts to the solution?
MCU device considerations?
What about Functional Safety considerations?
Completeness of solution
HW solutions: MCU, ASIC, ASSP, even Ethernet PHYs
Software solutions: Protocol stacks TCP/IP, Industrial Ethernet
Business model fit
Reference solutions – how do I get started?
Trang 20MCU MCU + ASIC MCU + FPGA MCU + ASSP System On Chip
Configuration
Low Cost Fits Many IE Implementations
Dedicated ASIC supported by protocol consortia
Flexibility in implementing different protocols
Support for multiple protocols independent of MCU
Hardware integrated for more efficient control and communications
Does not support IRT requirements Single protocol requirementsHigh Power complexity and Interface
performance
Need for efficient processor architecture
Industrial Ethernet Implementation Differences
MCU
FPGA Memory PHY PHY
MCU
PHY
Trang 21How Scalable Is Your System?
into the FPGA
IP model is cost prohibitive –
unless very high volume
Replacing a low $ MCU to a $$$
FPGA
Need for additional external
components such as ADCs and memory
Do you need this much
Different software stacks for each protocol
Trang 22How Much Space Do You Have?
Power components needed
may require a larger PCB space, possibly more than you can afford
Package BGA 345 FGG 484 LQFP 144
Trang 23 Key point – Consider the
power consumption budget as
some ASICs and FPGAs can be
Relative Current Consumption
Trang 24Costs* of Protocol Implementation
Protocol IP Core $25K + $5 royalty
Software Stack/API $10K MCU + FPGA + Memory $5 + $20 + $2/slave
NRE + Per Device $55K + $32/slave
MCU
FPGA Memory PHY PHY
Development Time Resource
4-6 months SW Programmers HW Designers
FPGA Designers
IP Partners
MCU
ASIC PHY PHY
Protocol IP Core Included
Software Stack/API $10K
NRE + Per Device $10K + $17/slave
2-4 months SW Programmers HW Designers
Single-Sourced ASIC Supplier
SW Programmers
Protocol IP Core Included
MCU
Trang 25Efficient Data Exchange In The MCU Allows For Better System Partitioning
provides efficient
partitioning
channel relieves burden on
CPU
automatic CRC frame check
Trang 26Advanced FPU Boosts Performance & Reduces Code Size
(FPU) enables efficient blend of fast execution time and small code size
Trang 27Efficient Exception Handling Assists Real-Time Applications
Slot Timing Method
Fast interrupts reduce cycle times
Trang 28Designing For Safety
Safety requires an independent
channel
Switching to safety-related commands and messages at the highest priority
Extension to protocol definitions
– PROFIsafe, Safety Over EtherCAT, CIP Sync Safety, etc
Building For Redundancy
IEC61508 (Functional Safety)
requires a two-chip solution for redundancy
Need for robust diagnostics
and operation
CRC checksum
Independent watchdog
Complex interrupt control
Safety Over EtherCAT Diagram
Trang 29Safety In Hardware Assists In Compliance
SCI (CRC)
Zero-Wait Flash SRAM (DOC) Data Flash
POR/LVD
RX200 32-bit CPU
OSC Stop detector
RAM Test
Dedicated Independent
Clock
Clock Stop
detector
Clock abnormality
detector
Communication error detector
Detect Sensor disconnection
ADC self diagnosis
WDT
Dedicated Independent
Clock
Ability to read back I/O status
(Features in RX63T and RX200)
Trang 30Hardware Supplier
Consortia
Design Service
Business model fit
IP quality and compliance
Trang 31Industrial Networking Design Considerations Summary
- Multiple hardware choices are available
Weigh the features and cost tradeoffs between the various architecture options: MCUs, ASICs, ASSPs, FPGAs or integrated solutions
What does scalability look like?
Adding functionality should not reduce performance nor significantly cost more
Hardware Specifications
Size and Power considerations
Efficient Partitioning
Can the processor handle different I/O and communication requirements?
Does the MCU/CPU efficiently handle interrupts, memory accessing, bus communications
Designing for Safety
How will your solution be impacted when implementing safety?
Business models impact your costs
Trang 32Considering The PHY Level
Real time communication
Faster start up time
Error free communication
Low latency
Industrial market needs
Requirements for Ethernet PHY’s
EtherPHY Must Fulfill Industrial Networking Requirements
Cable monitor/ BER Counter
Cable diagnosis Fast link down time
Trang 33Intelligent Ethernet PHY For Industrial
Low node latency and low
jitter
Fast link-up time and fast
link-down detection
Multiple cable monitoring
and diagnostics features
open cable, single short, etc.
reflectometry) detects location of cable fault
ePHY 2 Channel Block Diagram
Trang 34Renesas TPS-1: Profinet IRT ASIC
– Integrated CPU– Integrated PROFINET IRT Switch
Trang 35Renesas Provides Complete Industrial Ethernet
Solutions
Application Software Software API
Protocol Specific Software Stack
Trang 36How To Get Started…
Trang 37Renesas – Your IE Solutions Provider
Comprehensive MCU and
peripheral device solutions for your
Industrial Ethernet requirements
Microcontrollers
ASICs
Powerful software and tools to help
you design robust networking
systems
Strong Industrial Ethernet partner
network reduces time to market
and risk
IE consultants
Design service partners
Supporting Multiple Design Options
Trang 38Questions?
Trang 40MCUs and PHYs
Trang 41RX Microcontroller Family
Perfect Balance of Performance, Efficiency & Scalability
Trang 43RX600 Series – Performance & Connectivity
RX 32-bit CPU Core with FPU and DSP
165 DMIPS @ 100MHz; 2.77 CoreMark™/MHz 2
100MHz Flash with zero-wait states; up to 2MB
Parallel busses for simultaneous data transfers
optimize throughput
Multiple Direct Memory Access control
Flexible interrupt handling
2 Source: www.coremark.org as of June 2012
Superior Performance
Built-in Power-on Reset generation
Precision Low-voltage Detect warning
Flash with ECC
Options for Built-in pull-up and 5V tolerance
Hardware Safeguards
12-bit A/D (1µs), 3 independent S/H, PGAs
10/100 MAC with DMA (supports MII, RMII)
USB (Host/Device/OTG); CAN 2.0B; LIN
Advanced Motor Control; multiple timers; flexible PWM
10-bit DAC; temperature sensor; RTC
SPI, UART (synch/asynch), I2C, Ext Bus (24-bit addr)
Comprehensive Peripherals
Up to 28% code size savings 3 compared to popular
32-bit RISC MCUs
Variable-length CISC instructions
FPU, DSP and bit manipulation instructions
Code Efficiency
Trang 44Renesas MCU Device Roadmap - Ethernet
Ethernet, USB, FPU, Audio
RX63N
Ethernet, USB, CAN, FPU
RX xxx
100 MHz + FPU
Up to 4MB Flash Dual Ethernet Safety Features 16-bit ADC