280 likes | 475 Views
Paul Scherrer Institut. Ernst Johansen. The „Pie in the Sky“. Agenda. Unified Processing Architecture Motivation History Technology Feasibility Proposal Cost Discussion. ma.a3uUs . Motivation. PSI Motivation We will soon operate four Machines (2x proton, 2x electron)
E N D
Paul Scherrer Institut Ernst Johansen The „Pie in the Sky“
Agenda Unified Processing Architecture Motivation History Technology Feasibility Proposal Cost Discussion ma.a3uUs
Motivation PSI Motivation • We will soon operate four Machines (2x proton, 2x electron) • Maintenance will become a huge Challenge • Focus on synergies between all machines • We need very long lifetime for the control solutions Personal Motivation • Bring in +15 years of experience in designing Industrial Control Systems • I like do design systems on a “decent” platform
Unified Processing Architecture ? Use Cases PLC Siemens, Rockwell, Wago, Beckhoff IOC PPC, Intel VxWorks, Linux VPC PPC405, DSP No OS, Xilkernel GPAC PPC440, OS = ? SLS, HIPA DSP, uC UPA Common CPU, OS Common FW
Platforms Religion…. They somehow do it all… don’t they ? Its very expensive to change them You need alliances to be strong… Technology Are there any new technologies around ? How to apply these to the VME64x platform ? Significant Improvements PCI Express FMC (VITA57.1-2008) Larger, low-power FPGA How to apply PCI Express, FMC and larger FPGA’s to VME64x ?
Design – VME Bottleneck CPU CPU VME64x ≈250MB/s (2Gbps) FPGA FPGA FPGA DSP
Design – Additional Bandwidth at Low-Cost GEthernet 2x 2Gbps Duplex CPU PCIe 4x 8Gbps Duplex VME64x Card FPGA SFP 4x 15Gbps Duplex
Design – Scalable Bandwidth COTS 10G Ethernet Switch N x 2Gbps CPU CPU CPU N x 8Gbps FPGA FPGA FPGA VME N x 15Gbps PCI Express, Fiber Optics N = 1 .. 21
Improved P0 – VME64x Compatible Improved P0 • 2mm Legacy Compatible • High-Speed Links • SFP 7Gbps SPF PCIe VersaLink
FMC – High-Speed I/O Defined PSI standard, but… VITA57.1-2008 FPGA Mezzanine Cards is here • Supports the PSI Use Cases • Broad industrial acceptance • 69 x 76.5 mm2 (small) Examples • 4DSP • 8 channel ADC 250Msps @ 14-bit • 4 channel ADC 125Msps @ 16-bit • 1 channel ADC 5Gsps @ 8-bit • 4 channel DAC 1000Msps @ 16-bit • Curtiss-Wright • 4 channel DAC 500Msps @ 16-bit Proposal • VITA57.1-2008 compatibility • Support for extended PCB size where required
Hardware Design Are there any reusable existing products on the market? What has to be extended ?
IOxOS IOxOS • Swiss Company Gland by Geneva • Experts VME, PCIe, Board Design Products • VME64x High-Performance VME64x Bridge • Design Kits Virtex-5, Virtex-6 Status • NDA Signed • Offer Design UPA • Sell Into research community
PSI, CPU • Intel Atom • No ECC AMCC APM83290 • ~21W • Marvell MV78200 • ARM, 6W, immature Linux • Freescale P2020 • Dual 1.2GHz PowerPC , <8W • Freescale P4040 • Quad 1.5GHz PowerPC, ~20W • Freescale P4080 • Octal 1.5GHz PowerPC, ~ 30W • Broadcom, NetLogic, Cavium… P2020RDB
Design IOxOS TOSCA II Design Kit • Based on mature TOSCA product • Designed for Reuse: VME64x, PCIe Bridge, IDMA, DDR3 • Innovative PCIexpress 2.0 Network-on-Chip Architecture • Supports Virtex-6 CXT – Cost efficient 40nm process • VHDL Simulation Framework • Linux Drivers and Test Framework • Excellent documentation • All VHDL source and hardware design files available !! Freescale P2020RDB Design Kit • P2020 Dual Core CPU • ECC on memory • 2x Ethernet, USB 2.0, UART, NOR and NAND Flash • Long term availability • Low power 45nm process
Unified Processing Architecture – IOxOS P2020RDB HW+BSP reuse TOSCA II HW+FW reuse
Unified Processing Architecture – HW Benefits High-Reliability Dual Core IOC ≈250USD Ethernet Remote debugging & download FMC (Digitizers) XMC (PCIe) PMC (PCI) Large and fast FPGA ≈300USD Fast VME64x ≈100USD P2 Legacy Support 3.3V I/O FPGA PCI Express (P0) High-End Workstation
IOxOS Thermal Design Rear IO PMC / XMC / FMC Cooler PMC / XMC / FMC
Software Design Are there any reusable existing products on the market? What has to be extended ?
3S - CoDeSys SP V3 (OEM) CoDeSys IEC61131-3 • De-facto Industrial Standard • Used by several hundred companies • Supports all IEC61131-3 Languages • Ported to Linux • Build-In EtherCAT Stack Status • Offer Porting to UPA
EtherCAT – Medium-Speed I/O Bus Master • Based on standard Ethernet • Very low protocol overhead Key Data • Performance • 1.000 Digital-I/Os in 30 µs • 200 Analog-I/Os (16 Bit) in 50 µs • 100 Servo-axis in 100 µs • Suitable PCI / PMC replacement • Suitable IP-module replacement Technology • http://www.beckhoff.de
Design Open Source Real Time Linux with PREEMPT_RT patch P2020RDB Linux BSP, SMP configuration IOxOS TOSCA II Linux Drivers Test Framework EPICS Linux Port CoDeSys IEC61131-3 with EtherCAT Stack Linux PREEMPT_RT
Capabilities - Linux RT on P2020 Similar to Emerson MVME4100 performance, but has additional Second CPU core for real-time DSP Real-Time PREEMPT_RT on P2020 in SMP-Mode (One operating system – two cores) Patch is easy to apply and well supported Moved all Processes to PPC0 Moved all Interrupts to PPC0 100% PPC0 load (cyclictest) Executed EPICS on PPC0 Executed cylictest on PPC1 PPC1 Latency Results Min 5us Avg 5us Max 40 us Conclusions Guarding one CPU enables hard real-time behavior running EPICS in parallel. Preliminary results shows that 10kHz @ 50% CPU load is feasible.
Unified Processing Architecture – Software VME 64x Legacy IO Matlab MC EPICS Channel Access EPICS IOC CoDeSys IEC61131 IDMA DRAM EtherCAT I/O FMC IOxOS TOSCA II RF
Potential for Cost Reductions Cooperate with Industry to find a Common Platform Sell Platform into different Markets SwissFEL RF Applications PSI IOxOS PECTRON Process Automation
PECTRON – Power Electronics Control Status Swiss start-up company Share NRE Sell into Power Electronic Market Crate ELMA 2-Slots PLC CoDeSys SoftPLC IEC61131-3 Programming EtherCAT Beckhoff
VITA57.1-2008 FMC – Partner Strategy • Cooperate with Industry • Utilize latest available technology Curtiss-Wright • NDA • Next Generation FMC • ADC 250Msps @ 16-bit ??? 4DSP • Next Generation FMC • 6-channel ADC 250Msps @ 16-bit ???
Conclusions We need a long term strategy for our control systems UPA enables one single framework for PLC, IOC , Medium-Speed- and RF applications VME64x is the most stable specification and compatible with SLS and HIPA Retrofit Higher integration we can considerably reduce the cost of VME64x The UPA has low component count and ECC – suitable for high-reliability applications With UPA we can achieve near to zero long-term royalties With strategic sourcing a lifetime of 20 years is feasible (if we want to) We get complete design in source code – including hardware and VHDL!!! There are potential partners to get into a win-win situation!!!