Real-time control using embedded micro-controllers Flavio Fontanelli, Giuseppe Mini, Mario Sannino, INFN Genoa Zbigniew Guzik, Institute for Nuclear Research.

Slides:



Advertisements
Similar presentations
1 iHome Automation System Home Automation System Team: Million Dollar Contingency Regiment Adam Doehling Chris Manning Ryan Patterson.
Advertisements

Intel Do-It-Yourself Challenge Intel Galileo and Edison Paul Guermonprez Intel Software.
Linux on commodity network H/W Josh Parsons LUGOD talk August 15 th 2005.
PC104 with embedded Linux Trips and Ticks S. Herb, MSC, Desy Tine Workshop, Sept 2007.
Linux Migration GBT e2e Software Review May 3, 2005 Ramon Creager Melinda Mello
Introduction Special-purpose processors. Embedded systems. FPGAs.
BEEKeeper Remote Management and Debugging of Large FPGA Clusters Terry Filiba Navtej Sadhal.
29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.
Lesson 4-Installing Network Operating Systems. Overview Installing and configuring Novell NetWare 6.0. Installing and configuring Windows 2000 Server.
1-1 Embedded Software Development Tools and Processes Hardware & Software Hardware – Host development system Software – Compilers, simulators etc. Target.
CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.
LHCb readout infrastructure NA62 TDAQ WG Meeting April 1 st, 2009 Niko Neufeld, PH/LBC.
L. Granado Cardoso, F. Varela, N. Neufeld, C. Gaspar, C. Haen, CERN, Geneva, Switzerland D. Galli, INFN, Bologna, Italy ICALEPCS, October 2011.
Embedded Linux Sandeep Sirpatil Graduate Student University of North Carolina Charlotte Feb 7, 2005.
FreeBSD/arm on the Atmel AT91RM9200 Warner Losh Timing Solutions, Inc BSDcan 2006 May 12, 2006 Experiences.
® ChipScope ILA TM Xilinx and Agilent Technologies.
Xilinx at Work in Hot New Technologies ® Spartan-II 64- and 32-bit PCI Solutions Below ASSP Prices January
5 Feb 2002Alternative Ideas for the CALICE Backend System 1 Alternative Ideas for the CALICE Back-End System Matthew Warren and Gordon Crone University.
Using PVSS for the control of the LHCb TELL1 detector emulator (OPG) P. Petrova, M. Laverne, M. Muecke, G. Haefeli, J. Christiansen CERN European Organization.
5 March DCS Final Design Review: RPC detector The DCS system of the Atlas RPC detector V.Bocci, G.Chiodi, E. Petrolo, R.Vari, S.Veneziano INFN Roma.
Niko Neufeld, CERN/PH-Department
02/2008 MATRIX VISION GmbH 1 Presentation The intelligent camera and Image processing sensor.
October, Scientific Linux INFN/Trieste B.Gobbo – Compass R.Gomezel - T.Macorini - L.Strizzolo INFN - Trieste.
(Preliminary) Results of Evaluation of the CCT SB110 Peter Chochula and Svetozár Kapusta 1 1 Comenius University, Bratislava.
GBT Interface Card for a Linux Computer Carson Teale 1.
Exploring Suitability of Linux for Embedded Vision Applications Ankit Mathur Mayank Agarwal Mini Project.
Concept of Modular Design Module Carriers Embedded or PC-Host Modules A/D,D/A,I/O DSP,FPGA IMAGING,MEMORY Systems Data Acquisition Medical Industrial Control.
Update on Database Issues Peter Chochula DCS Workshop, June 21, 2004 Colmar.
LECC2003 AmsterdamMatthias Müller A RobIn Prototype for a PCI-Bus based Atlas Readout-System B. Gorini, M. Joos, J. Petersen (CERN, Geneva) A. Kugel, R.
Markus Joos, EP-ESS 1 “DAQ” at the El. Pool Aim and preconditions Hardware Operating system support Low level software Middle level software High level.
Dec 8-10, 2004EPICS Collaboration Meeting – Tokai, Japan MicroIOC: A Simple Robust Platform for Integrating Devices Mark Pleško
Linux development on embedded PowerPC 405 Jarosław Szewiński.
Real-Time Linux Evaluation NASA Glenn Research Center Kalynnda Berens Richard Plastow
J. Christiansen, CERN - EP/MIC
DAQ Issues for the 12 GeV Upgrade CODA 3. A Modest Proposal…  Replace aging technologies  Run Control  Tcl-Based DAQ components  mSQL  Hall D Requirements.
Data Acquisition for the 12 GeV Upgrade CODA 3. The good news…  There is a group dedicated to development and support of data acquisition at Jefferson.
Ethernet Based Embedded IOC for FEL Control Systems J. Yan, D. Sexton, Al Grippo, W. Moore, and K. Jordan ICALEPCS 2007 October 19, 2007 Knoxville Convention.
David Abbott - JLAB DAQ group Embedded-Linux Readout Controllers (Hardware Evaluation)
ARM 7 & ARM 9 MICROCONTROLLERS AT91 1 Development Tools & Partners.
Glue Card Test Procedures Flavio Fontanelli, Pino Mini`, Mario Sannino.
Management of the LHCb DAQ Network Guoming Liu * †, Niko Neufeld * * CERN, Switzerland † University of Ferrara, Italy.
25 April 2000 SEESCOASEESCOA STWW - Programma Evaluation of on-chip debugging techniques Deliverable D5.1 Michiel Ronsse.
Microcontroller System Design Introduction- 1  Seattle Pacific University Take a microprocessor/ microcontroller chip How to Succeed in Life – The micro.
FED RAL: Greg Iles5 March The 96 Channel FED Tester What needs to be tested ? Requirements for 96 channel tester ? Baseline design Functionality.
David Abbott - Jefferson Lab DAQ group Data Acquisition Development at JLAB.
CERN Control Standards Front-End Computer Layer Stéphane Deghaye BE/CO/FE
This material exempt per Department of Commerce license exception TSU Xilinx On-Chip Debug.
Sep. 17, 2002BESIII Review Meeting BESIII DAQ System BESIII Review Meeting IHEP · Beijing · China Sep , 2002.
Embedded PCs for electronics-control in LHCb Flavio Fontanelli, Giuseppe Mini, Mario Sannino, INFN Genoa Beat Jost, Niko Neufeld CERN, PH.
XLV INTERNATIONAL WINTER MEETING ON NUCLEAR PHYSICS Tiago Pérez II Physikalisches Institut For the PANDA collaboration FPGA Compute node for the PANDA.
Guirao - Frascati 2002Read-out of high-speed S-LINK data via a buffered PCI card 1 Read-out of High Speed S-LINK Data Via a Buffered PCI Card A. Guirao.
IPbus A method to communicate with cards over Ethernet 1.
Clara Gaspar on behalf of the ECS team: CERN, Marseille, etc. October 2015 Experiment Control System & Electronics Upgrade.
Management of the LHCb DAQ Network Guoming Liu *†, Niko Neufeld * * CERN, Switzerland † University of Ferrara, Italy.
PCIe40 — a Tell40 implementation on PCIexpress Beat Jost DAQ Mini Workshop 27 May 2013.
Rutherford Appleton Laboratory September 1999Fifth Workshop on Electronics for LHC Presented by S. Quinton.
KM3NeT Offshore Readout System On Chip A highly integrated system using FPGA COTS S. Anvar, H. Le Provost, F. Louis, B.Vallage – CEA Saclay IRFU – Amsterdam/NIKHEF,
ALICE trigger control technologies run2 vs run3 layout IPbus introduction 1 Anton Jusko 27/01/20166CTP/LTU review.
Stefan Koestner IEEE NSS – San Diego 2006 IEEE - Nuclear Science Symposium San Diego, Oct. 31 st 2006 Stefan Koestner on behalf of the LHCb Online Group.
The ALICE Data-Acquisition Read-out Receiver Card C. Soós et al. (for the ALICE collaboration) LECC September 2004, Boston.
Digital Acquisition: State of the Art and future prospects
USB The topics covered, in order, are USB background
Development of Embedded EPICS on F3RP61-2L
Group Manager – PXI™/VXI Software
Event Building With Smart NICs
IEEE - Nuclear Science Symposium San Diego, Oct. 31st 2006
Network Processors for a 1 MHz Trigger-DAQ System
LHCb Online Meeting November 15th, 2000
Readout Systems Update
Presentation transcript:

Real-time control using embedded micro-controllers Flavio Fontanelli, Giuseppe Mini, Mario Sannino, INFN Genoa Zbigniew Guzik, Institute for Nuclear Research Richard Jacobsson, Beat Jost, Niko Neufeld CERN, PH

Niko Neufeld CERN, PH 2 Traditional board-control Board Crate Controller 3, 6 or 9U crate with backplane bus (VME, CompactPCI) and Crate Controller VME Extender e.g. USB VME library Ethernet LAN (NFS) Server

Niko Neufeld CERN, PH 3 Problems with Crate-based Board Control Scalability / ThroughputRobustness Board Crate Controller Access to all boards blocked!  Each board shares the bus (bandwidth) and resources in Controller  Need crate-controller + crate for a single board

Niko Neufeld CERN, PH 4 Microcontroller for Board-control Accessed via cheap ubiquitous LAN infrastructure (Ethernet) Scales well (you pay what you need) Nice for table setups (Debugging!) (thanks to M. Mücke (Poster S10-2) for the photo)

Niko Neufeld CERN, PH 5 An example: the AMD ELAN bit, 133 MHz, i486 based / 33 MHz PCI, Lots of useful features: hardware watch-dog, high-resolution timers, GPIOs Low-power (1.4 W typical, 2 W max), no active cooling necessary Enormous software base of i386 (GNU/Linux, MS-Windows) Other examples: P2-3, P2-8

Niko Neufeld CERN, PH 6 A Microcontroller is not (yet) a board-controller Add a “few” things (Ethernet, USB, Flash ) to make an Embedded PC from a Microcontroller Use a commercially available device SM520PC from Digital Logic AG Switzerland,

Niko Neufeld CERN, PH 7 An embedded PC is still not a board-controller Traditional PC interfaces: PCI, ISA, parallel port, USB For controlling, configuring and monitoring FPGAs and ASICS need rather I 2 C, JTAG and a high-speed, “simple”, long distance parallel bus Need some small adapter or “glue-”logic

Niko Neufeld CERN, PH 8 Glue-logic for Microcontrollers ASIC Based FPGA Based PLX 9030 PCI bridge (8, 16 or 32 bit multiplexed up to 40 MHz) TI JTAG Controller and hub 3 x JTAG (up to 1.5 MHz) Phillips I 2 C Controller and hub 4 x I 2 C (40 to 400 kHz) Bus- switch (when open isolates all signal lines from the carrier-board) FPGA with embedded PCI target (32-bit multiplexed bus 40 MHz, I 2 C, GPIOs and JTAG)

Niko Neufeld CERN, PH 9 Full System in Action: the LHCb Readout Board TELL1 Ethernet to SM520PC (“Creditcard PC”) Glue-Card Power In the final LHCb experiment ~ 400 boards of ~ 15 types In the current phase, ~ 10 setups in labs all over Europe, all using centrally maintained software base at CERN

Niko Neufeld CERN, PH 10 A complete crate Ethernet Switch One PC for ~ 20 to 40 boards acts as Boot and NFS server

Niko Neufeld CERN, PH 11 Capabilities and Performances 4 I2C, 3 JTAG, PLX 9030 bus, 8 GPIOs, busswitch to isolate all signal lines of the SM520PC/Gluecard (manually or automatically when reset-line of SM520PC is pulled low), attached via 100 MBit Ethernet Running Linux and standard software we achieve: > 20 MB/s throughput on 9030 bus (read) from memory and FPGA registers, > 1.5 MBit/s on JTAG Program configuration devices and FPGAs via JTAG 64 MB Ram, 2 MB Flash, 133 MHz CPU (66 “Bogomips”), can do quite some processing

Niko Neufeld CERN, PH 12 And what about software? We use Scientific Linux, a freely available Linux distribution made by Fermilab and CERN, fully compatible with Redhat Enterprise Linux ( We provide a software package for automatic setup of the boot and NFS server for the embedded PCs a User applications can developed/compiled on any (Linux) PC. Practically any available software (java, apache, X11 etc…) can be used together with a common set of custom libraries to access the board-resources Scientific Linux 3.0 Custom API Custom device drivers ~ 15 Packages to access all resources on board Central web-repository Automatic updates in all collaborating labs User Code Special small footprint kernel diskless boot

Niko Neufeld CERN, PH 13 High Level Software: SCADA These screenshots thanks to Alexandre Moreau, ISIMA More on PVSS and JCOP in S4-1 and especially S11-1 Graphical user interfaces by integrating into commercial SCADA system PVSS II (using tools developed by LHC Joint Controls Project (JCOP) in S4-1 and especially S11-1

Niko Neufeld CERN, PH 14 A word about “Real-time” Do you need it for board-control? Really? Standard Linux has no hard real-time support (i.e. guaranteed maximum time to handle an interrupt/syscall). It has however support for soft or maybe better quasi real-time (i.e. processes can be strictly prioritised) In LHCb we have not (yet) found an application for even soft real-time. Polling critical registers if necessary gives a very good response time. There exist of course a host of true real-time OS or Linux variants (RTLinux), which would run fine on the Elan520

Niko Neufeld CERN, PH 15 Lessons / What we could do better Ideally fully integrated device “surrounded” by FPGA Exists: see P2-3, P2-8 (but not PC/i386 compatible) i386 and Linux are a good thing ( PPC and Linux are probably also good) and for free (total software effort probably o1.5 man- years) Central software repository and automated distribution of packages allows keeping disconnected sites up-to-date easing (remote) trouble-shooting Using commercial hardware is great (Microcontroller change) but need still to verify everything…