TM
August 2013
2 TM
Power
Cellular Basestation
Data Centre
Grid
Factory
Production
Facility Monitoring
Switchgear
Transport
Rail Systems
Mobility and Logistics
Industrial Vehicles
Buildings
Campus
Enterprise
Government
Infrastructure
Data Centre
Oil and Gas
Nuclear
Industrial Control and Networking
3 TM
Ethernet Everywhere - Transition from UART/TDM based comms
- Cut-through switching required
- however PROFIBUS still growing
Safety and Control - PLC solution approach
- Machine Safety is now legislation driven
- Multicore opportunity
Industrial Internet - M2M/IoT/Remote Monitoring
- Gateway opportunity
- Wired and Wireless connectivity
4 TM
• Enterprise style switching not suitable nor scalable in industrial:
• Local integrated switching required – low latency, low jitter,
line/ring topology
• Numerous variants : EtherCAT, PROFINET, EtherNet/IP, Powerlink,
PRP, HSR, and AVB/TSN
Up
Link Ethernet
1 2 3 4
Distributed Nodes
Up
Link
Distribute Nodes
Slave Master Slave Slave Slave
5 TM
Store Forward SFDPreamble D MAC
At this point can compare Destination MAC Address for port routing table
At this point can validate Frame and perform packet based processing.
SFD S MAC adr L/TQtag Client Data CRCPreamble D MAC adr
Filtered Direct Forward
Time
0 PtEOF PtEOF + X
Direct Forward
Frame Detected
SFD S MAC adr L/TQtag Client Data CRCPreamble D MAC adr
SFD S MAC adr L/TQtag Client Data CRCPreamble D MAC adr
Forwarind Methods
PtSFD PtDMA
PdCRCPdDMA
6 TM
7 TM
Motor Sensor ButtonActuator Bulb
Drive Control
Programmable Logic Controller [PLC] Human Machine Interface
[HMI]
Button Bulb
Manufacturing/Power/Building Gateway
Sensor Button Bulb
Safety Gateway
Data Base Management
[DBM]
Operator Maintenance/Safety
Motion Control
Logic Control
Supervisory Functions
Safety
Safety
No
n R
eal T
ime
Rea
l Tim
e
Latency
Safe
Reliable
Transport- PLC, Motion,
- Functional Safety
- PROFIBUS
- Industrial Ethernet
- Master/Slave
8 TM
freescale.com/profibusQorIQ
9 TM
TM 10
First certified PROFIBUS interface on a Freescale
processor
• Single-chip PROFIBUS Master/Slave solution
• Trying it out : the Profibus Reference Platform
11 TM
• PROFIBUS is world’s most successful fieldbus technology in industrial automation
• 35-40 million installed nodes, growing at 10% per year
• PROFIBUS Layer 2 is now integrated onto PowerQUICC and QorIQ processors
• QUICC Engine (QE) implementation leave processor core free for application processing
• Single-chip PROFIBUS Master and Slave Solution
• Eliminates need for external ASIC/FPGA saving cost and board space
Processor PROFIBUS ASIC/FPGA
RS-485 Transceiver
PowerQUICC / QorIQ
RS-485 Transceiver
Power Architecture
Core
Shared Memory
QUICC Engine
UCC UCC UCC UART
RISC
DMA
12 TM
• QUICC Engine (QE) comprises − RISC processing engine
− UCC communications controllers for UART and Ethernet based protocols
− DMA and Timers
• PROFIBUS Layer 2 runs on QE
• PROFIBUS Stack and application (Layer
7) run on the processor core
• QE interaction via API (supplied)
• PROFIBUS Slave stack available from TMG TE [Technologie Management Gruppe Technologie und Engineering]
• Transmission rates up to 12Mbps
• Certification by ComDec, a PROFIBUS
Certification Lab hosted by Siemens AG
RS-485
PROFIBUS FDL
API
PROFIBUS DP v0/v1 Stack
API
Industrial Application
Layer 7 - Application
Layer 2 – Data Link
Layer 1 - Physical
QUICC Engine
Power Architecture
Core
Customer 3rd Party or Customer
Freescale
TM 13
First certified PROFIBUS interface on a Freescale
processor
• Single-chip PROFIBUS Master/Slave solution
• Trying it out : the PROFIBUS Reference Platform
14 TM
Package includes
• PROFIBUS Layer 2 Firmware and Driver
• Configurable as Master or Slave*
• PROFIBUS DP Stack from TMG including GSD file*
• Documentation: Get Started Guides and API
• Software License Agreement covering firmware (and TMG Stack*)
Slave*
• Flashable executable or Codewarrior10
• Baremetal
Master
• Linux
mailto : [email protected] for access
Customer
None Linux
Slave Master
None
Application /Run-time
L2-L7 PROFIBUS DP
Stack
RTOS
TWR-P1025
PROFIBUS L2/FDL
QE Microcode
15 TM
• Hardware platforms for PROFIBUS
prototyping are based on Freescale’s
TOWER format
• The hardware kit TWR-P1025-KIT
comprises
− QorIQ P1 processor module, TWR-P1025
− RS-485 connectivity, TWR-IND-IO
− elevators for mounting, TWR-ELEV
• Further I/O expansion and connectivity
options are also available.
• Check freescale.com/profibusQorIQ
16 TM
Freescale
TWR-P1025
PROFIBUS Slave
WAGO
PROFIBUS Slave
Siemens
PLC
17 TM
Siemens TWR-1025
DEVICE
Drivers
Protocol Stack
Port
DEVICEApplication
Protocol Stack
Port
DEVICEApplication
ApplicationInterface
DEVICEPLC
Protocol Stack
Port
DEVICEApplication
3rd Party
DEVICE
3rd Party
UCode
Protocol Stack
Drivers
Port
USERApplication
PLC Run Time
Drivers Drivers
ApplicationInterface
ApplicationInterface
PROFIBUS Slave Stack
PROFIBUS Slave Application
QorIQ Hardware TM
PROFIBUS Slave Reference Platform
PROFIBUS Slave uCode TM
Start Stop
Siemens
(PLC) TWR-P1025
(DEVICE)
Wago
(DEVICE)
Freescale provide this
18 TM
Pre-integrated, certifiable PROFIBUS solutions:
TMG Automation www.tmgte.de/en/ • PROFIBUS DP master and slave stack • PROFIBUS development services
Softing Industrial Automation http://industrial.softing.com/
• world leading provider of industrial communication products and technologies for manufacturing and process automation.
Freescale www.freescale.com/profibusQorIQ • QorIQ and PowerQUICC processors • Tower System with Linux® OS • email: [email protected]
freescale.com/profibusQorIQ
19 TM
Protocol QorIQ, PowerQUICC
Ind
us
tria
l E
the
rne
t
Fie
ldb
us
IEEE® 1588
TM 20
For more information contact
[email protected] or [email protected]
Read more at
www.freescale.com/profibusQorIQ
www.freescale.com/twr-p1025
www.freescale.com/profibus
www.freescale.com/connectivity
www.freescale.com/goPLC
21 TM
22 TM
Motor Sensor ButtonActuator Bulb
Drive Control
Programmable Logic Controller [PLC] Human Machine Interface
[HMI]
Button Bulb
Manufacturing/Power/Building Gateway
Sensor Button Bulb
Safety Gateway
Data Base Management
[DBM]
Operator Maintenance/Safety
Motion Control
Logic Control
Supervisory Functions
Safety
Safety
No
n R
eal T
ime
Rea
l Tim
e
Latency
Safe
Reliable
Transport- PLC, Motion,
- Functional Safety
- PROFIBUS
- Industrial Ethernet
- Master/Slave
23 TM
24 TM
• Four industry leaders integrated well-established Freescale QorIQ processor hardware onto a single PLC Reference Platform
− ISaGRAF PLC firmware
− Koenig-PA EtherCAT Master
− QNX Neutrino RTOS
• Proven performance and headroom
− KPA EtherCAT Master stack supports 1 millisecond cycle time while using <1% of a core on the dual-core QorIQ P1025 processor
− Remaining 99% of the first core, and 100% of the second core available
Control application
Other protocols such as PROFINET, PROFIBUS, EtherNet/IP™
− Scale up and down the QorIQ product portfolio
• Customers can use ISaGRAF 6 Workbench development tool
− Easily develop or port advanced PLC applications onto the new PLC Reference Platform
PROFIBUS
Slave Devices PROFIBUS
Slave Devices EtherCAT
Slave Device(s)
$199
USD
MSRP
freescale.com/goPLC
25 TM
RUN-TIME SOFTWARE for P1025
• USB image or download from web
− www.qnx.com/partners/plc_reference.html
ISaGRAF® PLC Firmware
KPA EtherCAT ® Master stack
QNX ® Neutrino ® board support package
Documentation: Get Started Guide
− One click-through license for all software
MSRP $0 for evaluation version that times out in 4 hours
OFFLINE TOOLS for WINDOWS PC • ISaGRAF 6 Workbench with KPA EtherCAT
Studio
− www.isagraf.com/pages/products/Isagraf/ethercat.htm
• Utility programs
− TeraTerm http://ttssh2.sourceforge.jp/
− USB to UART driver http://www.ftdichip.com/Drivers/VCP.htm (FT2232)
USB Cable
+5V
PSU
Supplied by Customer
Supplied in TWR-P1025 Box
TWR-P1025 module
+24V PSU
Beckhoff slave [EK1100, EL1004,
EL2004, EL 9011] Ethernet cable [2 x RJ45]
Electrical wire
Windows PC
USB Flash
Drive
freescale.com/goPLC
26 TM
Windows PC TWR-1025
SlaveDEVICE
GUI / CompilerConfigure
Off Line
Tools
Drivers
PLC Run Time
Protocol Stack
Port Port
APPLICATION
OS
Protocol
Stack
Drivers
Port Port
Service
Framework
Function
Application
Interface
DevelopmentEnvironment
Windows OS
Beckhoff
PLC
A Another
Ethernet
SlaveDEVICE
Protocol
Stack
Drivers
Port Port
Service
Framework
Function
Application
Interface
Beckhoff
LibsApp
PLC Run Time
Neutrino RTOS
User Application
QorIQ Hardware
IEC 61131 and IEC 61499 Tools
Off Line Tools
TM
EtherCATStack
EtherCAT Configurator
PLC Reference
Ethernet
PC TWR-P1025
Note PC is only needed for application
build and configuration there after only
TWR-P1025 and Slave is need
27 TM
PLC Runtime
And Tools
RTOS
Protocols
28 TM
29 TM
Protocol
Module
Programmable
Logic
Controller
Motion
Controller
IEEE® 1588 IEC 61131-3
IEC 61499
EN ISO 13849-1/-2
EN IEC 62061
Safety
Controller
+ Motion
( Floating Point
Double Precision )
30 TM
• Safety systems have typically required modular and duplicate hardware which is costly and sub-optimal for diagnostics
• Machine safety now enshrined in legislation in North America, Europe : ISO 13849-1/-2, IEC 62061
• QorIQ Multicore designed with scalablity, reliability & diversity in mind
• CPU : 32-bit, 64-bit, DPFP, Altivec, DSP
• Hypervisor : Robust Partitioning
• Corenet : Non-block interconnect
• ECC & Parity : for diagnostics
Secu
rity
an
d T
rust
Multicore Interconnect
DD
R 2
/3/4
Pla
tfo
rmC
ach
e
PLC
SA
TA
PC
Ie
sR
IO
Eth
ern
et
PR
OF
IBU
S
CA
N
PR
OF
INE
T
I$ D$
L2$
Core1
I$ D$
L2$
Core2
I$ D$
L2$
Core3
I$ D$
L2$
Core4
Mo
tio
n
Co
ntr
ol
HM
I
Sa
fety
Sa
fety
Logic
Motion
Safety
Safety
C
P
U
C
P
U
C
P
U
C
P
U
I/O I/O I/O I/O I/O I/O
31 TM
The hardware fault tolerance (HFT) depends on the amount of redundancy and voting policy used in the system. The safe failure fraction (SFF) is a measure of the fail safe design and quality of the built-in diagnostics.
32 TM
• Functionality − Performance [Cores (MIPs and FLOPS),
Accelerators]
− Versatile I/O [SERDES to UART to CAN]
• Reliability − All memory arrays protected by
ECC/Parity Internal: Caches, Table memory......
External: FLASH, DDR....
− Virtualization supported in Hardware Cores support 3rd Mode (hypervisor)
Cores have full MMU
Peripherals/Accelerator have PAMU (MMU for H/W blocks)
Fabric interconnect support full Coherency domain protection
− Trust architecture can validate integrity of instruction / data memory blocks
− All errors detected in H/W are available to Cores and external entity. Allows for failure prediction
Graceful degradation of service
• Diversity − Checking performed across multiple
elements
− Multiple ways of implementing a function
Secu
rity
an
d T
rust
Multicore Interconnect
DD
R 2
/3/4
Pla
tfo
rm
Cac
he
Watchdog
Voter
Slave
Light-
Guard
Temperature
Voltage
Monitors
Memory
Machine
PLC
SA
TA
PC
Ie
sR
IO
Eth
ern
et
PR
OF
IBU
S
CA
N
PR
OF
INE
T
I$ D$
L2$
Core
1
I$ D$
L2$
Core
2
I$ D$
L2$
Core
3
I$ D$
L2$
Core
4
Co
ntr
ol
Mo
tio
n
HM
I
Safe
ty
Safe
ty
Slave
Sensor
Slave
33 TM
• QorIQ P- and T-Series Processors
− P2040/41 here
− T1040/42 here
• Machine Safety Whitepaper
34 TM
35 TM
100Mbps Ethernet Ring
More on freescale.com – Freescale Solutions for Substation Automation
36 TM
• PRP: Parallel Redundancy Protocol
− IEC 62439-3 Clause 4
− Star topology
− Needs switching infrastructure
− Used as station-bus to connect SCADA
systems
• HSR: High-Availability Seamless Redundancy
− IEC 62439-3 Clause 5
− Ring topology (max. 50 nodes)
− Hardware support for cut-through switching
required
− Used as process-bus to connect merging units
37 TM
• Double Attached Nodes (DAN)
• Transmit on both interfaces
• Receives on both interfaces
• Manage/discard duplicate packets
• Implement in IEDs or use RedBox
More from our partner, Netmodule - http://www.netmodule.com/PRP4QorIQ
39 TM
• Redundant IEC62439-3 PRP Ethernet
link between two TWR-P1025 boards
• Video stream from IP Cam to
Notebook via redundant link
• Disconnecting LAN A or LAN B does
not disrupt video
• Seamless redundancy with zero
packet loss!
Contacts:
40 TM
NetModule are an early adopter of high availability ethernet
technology and offers a comprehensive portfolio of
products and services for PRP/HSR solutions.
• PRP Software Driver for QorIQ/Linux
• PRP Software Drivers for Windows, Linux and VxWorks
• Information on high-availability Ethernet
• Freescale Solutions for Substation Automation
• Freescale QorIQ TWR-P1025
41 TM
42 TM
Connected Cars
Industrial Internet
Smart Energy
Home/Building
Automation
43 TM
round the bend animal welfare no spills
get them out fresh air hello you
44 TM
GPRS 3G 4G
GPRS 3G 4G
M2M
Gateway
Wi-Fi®
ZigBee®
Bluetooth®
DECT
Proprietary
Ethernet
RS485
SPI
I2C
CAN
Fixed Networks
M2M
Gateway
Metro / Regional
Area Networks
M2M Future M2M
45 TM
Miniaturization & advances in packaging technologies
Advances in flash
New class of powerful but low-cost & low-power MCUs
Cloud-based services
And the Word
“Smart” is
Everywhere
46 TM
BAN/PAN/ &
Wired/Wireless,
Power Line
LAN
Layers of
Aggregation /
Hubs / Gateways
Wired/Wireless,
Power Line
WAN
Remote
Cloud-based
Processing
Edge Product Application/Action
Insights/Big Data
User-driven actions
via devices with
screens or
automatically driven
actions based on
data parameters
Data analytics for
business intelligence
Medtronic's glucose monitor uses
Bluetooth to "talk" to Ford Sync,
47 TM
Edge products: • Very small
• Low cost
• Low power
• Low complexity
• Industrial grade &
robust
Kinetis
Microcontrollers Design Potential. Realized.
Vybrid Controller
Solutions Rich Apps in Real Time.
i.MX Applications
Processors Your Interface to the World.
Real-time, highly integrated
solutions with best-in-class
2D graphics to enable
your system to control,
interface, connect, secure
and scale.
Industry’s most versatile
solutions for multimedia
and display applications,
with multicore scalability
and market-leading power,
performance & integration.
Industry’s most scalable
ultra-low-power, mixed-
signal MCU solutions
based on the ARM®
Cortex™-M and Cortex™-
M0+ architectures.
QorIQ Processors
Built on Layerscape
Architecture Accelerating the Network’s IQ.
Industry’s first software-
aware, core-agnostic
networking system
architecture for the smarter,
more capable networks of
tomorrow – end to end.
Scalable Industry Standard Solutions, Software and Development Ecosystem
The right combination of
intelligent integration, logic
and customizable software
on the platform to deliver
smarter, more differentiated
applications.
For IoT it provides
Context: Identity,
Activity, Location, & Time
Xtrinsic Sensing Intelligent Contextual Sensing.
Fully integrated Short
Range radios with best in
class power performance,
and Powerline
Communications
Connectivity BAN/ PAN/ LAN
48 TM
Java VM
OS
Ind
ustr
ial
En
terp
rise
Tra
nsp
ort
Me
dic
al
Me
dia
En
erg
y
Fixed
2.5G/3G/4G & Wi-Fi
Regional Area Networks
IP Routing/Firewall/VPN
Wireless
Sensor
Networks
Key QorIQ features include:
Advanced Packet Processing:
− Parsing, flow control & quality of service
Local Storage:
− Local data analysis filtering & decision making
Connectivity:
− Wired & wireless networking
Trusted platform:
− Application software authentication
Advanced Energy Management:
− Packet lossless deep-sleep modes
49 TM
Java VM
OS
Ind
ustr
ial
En
terp
rise
Tra
nsp
ort
Me
dic
al
Me
dia
En
erg
y
IP Routing/Firewall/VPN
Key QorIQ features include:
Advanced Packet Processing:
− Parsing, flow control & quality of service
Local Storage:
− Local data analysis filtering & decision making
Connectivity:
− Wired & wireless networking
Trusted platform:
− Application software authentication
Advanced Energy Management:
− Packet lossless deep-sleep modes
New Generation adds ARM technology
Combines Freescale networking
expertise with ARM ecosystem reach with ARM Cortex-A7
Extensive connectivity and processing
performance for low -power networking,
and industrial applications
Enables smallest form factor, fan-less
designs
Provides migration path from MCU
based designs
50 TM
51 TM
• Hardware: − QorIQ P1025 dual-core processor with
DPFP
− Tower compatible processor module
− 512 MB of DDR3 memory
− Boot from NOR flash, MicroSD, USB
− Network and Sensor Attach
− Two Gigabit Ethernet interfaces (both RGMII)
− One PCI Express® interface x1 (mini-PCIe)
− Two USB 2.0 interfaces
− MicroSD card interface
− Two UART interfaces (via mini-USB)
− Expansion options via TOWER System
• Software: − Linux® SDK
− QNX® Neutrino®
− Java
freescale.com/TWR-P1025
TM