Mark A. Palmer March 9, 2005 CESR Bunch Instrumentation DAQ1 Bunch Instrumentation DAQ Instrumentation Hardware and Measurements Instrumentation Embedded.

Slides:



Advertisements
Similar presentations
Network II.5 simulator ..
Advertisements

Device Drivers. Linux Device Drivers Linux supports three types of hardware device: character, block and network –character devices: R/W without buffering.
HP Quality Center Overview.
MotoHawk Training Model-Based Design of Embedded Systems.
David Adams ATLAS DIAL Distributed Interactive Analysis of Large datasets David Adams BNL March 25, 2003 CHEP 2003 Data Analysis Environment and Visualization.
Visual Web Information Extraction With Lixto Robert Baumgartner Sergio Flesca Georg Gottlob.
Mahapatra-Texas A&M-Fall'001 cosynthesis Introduction to cosynthesis Rabi Mahapatra CPSC498.
Chapter 1 and 2 Computer System and Operating System Overview
GLAST LAT ProjectOnline Peer Review – July 21, Integration and Test L. Miller 1 GLAST Large Area Telescope: I&T Integration Readiness Review.
Maintaining and Updating Windows Server 2008
–Streamline / organize Improve readability of code Decrease code volume/line count Simplify mechanisms Improve maintainability & clarity Decrease development.
Detailed Technical Feature Presentation Background Information The Importance of Software Software Roadblocks Development Environment DSP Development Cycle.
New Features of APV-SRS-LabVIEW Data Acquisition Program Eraldo Oliveri on behalf of Riccardo de Asmundis INFN Napoli [Certified LabVIEW Developer] NYC,
CVSQL 2 The Design. System Overview System Components CVSQL Server –Three network interfaces –Modular data source provider framework –Decoupled SQL parsing.
1 Kyung Hee University Prof. Choong Seon HONG Network Control.
Operating System A program that controls the execution of application programs An interface between applications and hardware 1.
Christopher Jeffers August 2012
Framework for Automated Builds Natalia Ratnikova CHEP’03.
CBPM System Overview (Part I?) 19 September 2012Beam Instrumentation Meeting1.
UNIX SVR4 COSC513 Zhaohui Chen Jiefei Huang. UNIX SVR4 UNIX system V release 4 is a major new release of the UNIX operating system, developed by AT&T.
Instrumentation System Design – part 2 Chapter6:.
DELTA TAU Data Systems, Inc. 1 UMAC TurboTurbo PMAC PCIGeo Drive Single Source Machine Control motion logic data Power PMAC Project Management November.
CCS APPS CODE COVERAGE. CCS APPS Code Coverage Definition: –The amount of code within a program that is exercised Uses: –Important for discovering code.
CHAPTER FOUR COMPUTER SOFTWARE.
JCOP Workshop September 8th 1999 H.J.Burckhart 1 ATLAS DCS Organization of Detector and Controls Architecture Connection to DAQ Front-end System Practical.
Recall: Three I/O Methods Synchronous: Wait for I/O operation to complete. Asynchronous: Post I/O request and switch to other work. DMA (Direct Memory.
BLU-ICE and the Distributed Control System Constraints for Software Development Strategies Timothy M. McPhillips Stanford Synchrotron Radiation Laboratory.
1 What is a Kernel The kernel of any operating system is the core of all the system’s software. The only thing more fundamental than the kernel is the.
CHAPTER TEN AUTHORING.
ATCA based LLRF system design review DESY Control servers for ATCA based LLRF system Piotr Pucyk - DESY, Warsaw University of Technology Jaroslaw.
© 2006 Cisco Systems, Inc. All rights reserved. Implementing Secure Converged Wide Area Networks (ISCW) Module 6: Cisco IOS Threat Defense Features.
Device Drivers CPU I/O Interface Device Driver DEVICECONTROL OPERATIONSDATA TRANSFER OPERATIONS Disk Seek to Sector, Track, Cyl. Seek Home Position.
©2002 B&R Software Technology - Automation Studio.
Issues Autonomic operation (fault tolerance) Minimize interference to applications Hardware support for new operating systems Resource management (global.
I/O Computer Organization II 1 Interconnecting Components Need interconnections between – CPU, memory, I/O controllers Bus: shared communication channel.
 Virtual machine systems: simulators for multiple copies of a machine on itself.  Virtual machine (VM): the simulated machine.  Virtual machine monitor.
Distributed System Concepts and Architectures 2.3 Services Fall 2011 Student: Fan Bai
Management of the LHCb DAQ Network Guoming Liu * †, Niko Neufeld * * CERN, Switzerland † University of Ferrara, Italy.
Framework for MDO Studies Amitay Isaacs Center for Aerospace System Design and Engineering IIT Bombay.
Accessing I/O Devices Processor Memory BUS I/O Device 1 I/O Device 2.
ABone Architecture and Operation ABCd — ABone Control Daemon Server for remote EE management On-demand EE initiation and termination Automatic EE restart.
ANKITHA CHOWDARY GARAPATI
Online Software 8-July-98 Commissioning Working Group DØ Workshop S. Fuess Objective: Define for you, the customers of the Online system, the products.
Lecture 12: Reconfigurable Systems II October 20, 2004 ECE 697F Reconfigurable Computing Lecture 12 Reconfigurable Systems II: Exploring Programmable Systems.
Experiment Management System CSE 423 Aaron Kloc Jordan Harstad Robert Sorensen Robert Trevino Nicolas Tjioe Status Report Presentation Industry Mentor:
EPICS EPICS Limitations Bob Dalesio Marty Kraimer.
Chapter 1 Computers, Compilers, & Unix. Overview u Computer hardware u Unix u Computer Languages u Compilers.
CSI 3125, Preliminaries, page 1 SERVLET. CSI 3125, Preliminaries, page 2 SERVLET A servlet is a server-side software program, written in Java code, that.
August 2003 At A Glance The IRC is a platform independent, extensible, and adaptive framework that provides robust, interactive, and distributed control.
DoE Review January 1998 Online System WBS 1.5  One-page review  Accomplishments  System description  Progress  Status  Goals Outline Stu Fuess.
Lecture 4 Mechanisms & Kernel for NOSs. Mechanisms for Network Operating Systems  Network operating systems provide three basic mechanisms that support.
Chapter 1 Database Access from Client Applications.
EPICS and LabVIEW Tony Vento, National Instruments
Text TCS INTERNAL Oracle PL/SQL – Introduction. TCS INTERNAL PL SQL Introduction PLSQL means Procedural Language extension of SQL. PLSQL is a database.
Commands 3/1/ Boot PROM Fundamentals All Sun systems have resident boot PROM firmware Provides basic hardware testing and initialization prior.
ATLAS SCT/Pixel Off Detector Workshop, UCL, 15 June ROD Test Stand Lukas Tomasek LBL
The ALICE data quality monitoring Barthélémy von Haller CERN PH/AID For the ALICE Collaboration.
CHAPTER 3 Router CLI Command Line Interface. Router User Interface User and privileged modes User mode --Typical tasks include those that check the router.
Maintaining and Updating Windows Server 2008 Lesson 8.
Some of the utilities associated with the development of programs. These program development tools allow users to write and construct programs that the.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Wednesday NI Vision Sessions
Scalable Readout System Data Acquisition using LabVIEW Riccardo de Asmundis INFN Napoli [Certified LabVIEW Developer]
Fermilab Scientific Computing Division Fermi National Accelerator Laboratory, Batavia, Illinois, USA. Off-the-Shelf Hardware and Software DAQ Performance.
Calicoes Calice OnlinE System Frédéric Magniette
Introduction to Operating System (OS)
Automation and Feedbacks
ERL BPM System Mike Billing, Mark Palmer
DSP Main Loop (Concept)
CESR Beam Instrumentation DAQ
Presentation transcript:

Mark A. Palmer March 9, 2005 CESR Bunch Instrumentation DAQ1 Bunch Instrumentation DAQ Instrumentation Hardware and Measurements Instrumentation Embedded Software/Firmware Communications/Data Translation/Low-level Control Calibration and Constants System Control Tools User Interface/Control System Interface Data Handling and Analysis System Visualization Tools Infrastructure for Building/Maintaining Codes

Mark A. Palmer March 9, 2005 CESR Bunch Instrumentation DAQ2 Comments Timescale –Maximize operational capability by next CLEO-c run –5-6 month results are critical –Flexibility for use until end of CESR (mid-2008 for HEP, 2012? for CHESS) is important Manpower –Draw on experience base for design and supervision Specifications Templates Examples –CLEO offering student/postdoc support to gain hardware experience (and luminosity) –CESR staff support Goals –Provide code for all standard operating scenarios –Provide DAQ skeleton that can support important features –Implement features that are rated critical –Allow for modular construction so that other features can be added when/if they become necessary (enable students/staff to implement specific applications) –The most critical feature is a detailed plan capable of supporting short-term implementation and long-term operation/evolution of systems

Mark A. Palmer March 9, 2005 CESR Bunch Instrumentation DAQ3 System Layout Key Feature: SERIAL-XBUS protocol provides 10K word/sec of transmission bandwidth  all major processing must occur in DSPs, particularly when servicing many BPMs

Mark A. Palmer March 9, 2005 CESR Bunch Instrumentation DAQ4 Hardware/Measurements Beam Position Monitors –Continuous beam position Orbit monitoring Differerential orbit monitoring –Orbit requests –Phase requests –Turn-by-turn trajectory requests –Bunch tunes (continuous or by request) –Calibration Pedestals Bunch Timing Turn Timing Logic –Real-time tune monitor Luminosity Monitor –Continuous bunch luminosity Photon Counting E over threshold Beam losses –Calibration requests MCA (calibration/rad damage) Bunch Timing Pedestals Turn Timing Logic –Real-time FE development/support Beam Profile Monitors –Real-time Differential Vertical Size Interferometer analysis Gaussian profile analysis –Calibration Pedestal Bunch Timing Channel cross-talk Turn Timing Logic –Integrate into beam dynamics measurements Control System Integration/Machine Studies Measurements –Grad student projects –Accelerator group support Who? –Dobbins (FEs, timing, test, support hdw) –Strohman (dig, test, PS, timing dist) –Palmer (requirements/DSP soft/CTL soft) –Codner (CTL applications) –Tanke (testing/DSP software) –Watkins (interferometer algos) –Taylor (xray profile monitor algos)

Mark A. Palmer March 9, 2005 CESR Bunch Instrumentation DAQ5 Embedded Software/Firmware General Requirements –Test suite for each DSP –Support for standard setup/command/trace/debug operations –Calibration and analysis algorithms by detector type –Support routines by DSP type –Firmware for new FEs with algos running in PLDs –General library structure for stability and reusability of code –Coding standard to support shared code between different architectures –Source code maintained as part of CESR CVS repository on Unix Status –Already have a fairly complete suite of code for 1 st generation CBPM modules –Preliminary test suite for 2 nd generation modules in use and being expanded –First algorithms for 2 nd generation modules under development (installation of FLM module soon) –Visual DSP++ supports makefiles and code libraries. Working on switchover from project by project builds Who –Palmer/Tanke for support codes –Palmer/Watkins/Taylor for applications

Mark A. Palmer March 9, 2005 CESR Bunch Instrumentation DAQ6 Communications/Low-Level Control General Requirements –Standard control/status/ debugging/trace interface to ALL module types –Mirroring of DSP data structures for debugging and data transfer –Automated tools to set up definitions of mirrored data structures and the communications protocol for each typedef struct { int cmd; int cmd_status; int error[MX_ERROR_WORDS]; int handshake; // handshake MUST BE LAST! } CBPM_XBUS_CMD; // CBPM_XBUS_CMD configuration static const COMM_KEY_CONFIG xbus_cmd_cfg = { "XBUS_CMD", // name XBUS_CMD_TAG, // ctl_tag XBUS_CMD_TAG, // dsp_tag GENERIC_EXE, // exe_allowed 1, // num_pkts 4, // num_vars CTL_READ_WRITE, // protection FIXED_REC_LENGTH, // rec length flag {T_INT, T_INT, T_INT, T_INT}, // data types {1, 1, MX_ERROR_WORDS, 1}, // data counts {1, 1, 1, 1}, // element sizes {cbpm_int_convert, cbpm_int_convert, cbpm_int_convert, cbpm_int_convert}, // conv function ptrs NULL, // custom copy/check data function cbpm_struct_io // IO function }; Status –DSP communications interface developed for 1 st generation CBPM system Transfer C data structures as XBUS packets (image DSP memory) Control/handshaking methods Debug/Trace methods Input parameter validation methods Communications protocol –Data translation –Data mapping –Parser tool Automated setup of matched DSP/Control headers and generation of communications initialization code Who –Strohman/Palmer –Taylor (Isaacman)

Mark A. Palmer March 9, 2005 CESR Bunch Instrumentation DAQ7 Calibration and Constants General Requirements –Need to support a large range of constants for each module Gain calibration Pedestal calibration Timing calibration Turn logic info by bunch Basic detector information MPM node/element mapping –1 st generation system saves approx pieces of information per module –Visualization, history tools, and searching would be nice Status –1 st generation implementation Tagged configuration file saved upon request when calibrations run Files manually checked and rotated into default constants file when needed Who –Palmer

Mark A. Palmer March 9, 2005 CESR Bunch Instrumentation DAQ8 System Control Tools General Requirements –Ability to operate multiple hardware and software combinations BPM system will have 2-3 hardware types and 2-3 (or more) DSP software versions Synchronous measurements between system –Uniform control interface Status –Present control loop can handle single hardware/software type –Readily expandable –Communication and low- level control tools already have been developed to support this (in testing phase) Who –Palmer, Taylor

Mark A. Palmer March 9, 2005 CESR Bunch Instrumentation DAQ9 User/Control System Interaction General Requirements –Individual systems available for requests for standard event data via server –Provide (some) streaming data for direct control system monitoring (also see following slide) –Provide interface for users to run customized data requests (also see following slide for data issues) Need to specify interaction with server Custom requests may require significant re-initialization when control returned to server –Monitoring/Config/Control GUI would expedite maintenance and user interactions –Standard user input tools to avoid “crashing” system Status –Standard CBPM server available for orbit, phase, turn-by-turn trajectory measurements –Does not offer full configuration capability –Needs better implementation of interrupts and failure recovery –User interface through command line menu. Can disable server for long periods (probably need to add interrupt capability) –Standardized user input methods with parameter checking to protect low-level processors Who –Palmer (Rock)

Mark A. Palmer March 9, 2005 CESR Bunch Instrumentation DAQ10 Data Handling/Analysis General Requirements –Support single layer of thinned out data to MPM –Allow access to detailed data at requesting program level Shared memory on server node User analysis directly in requesting program –Allow for new communications path (ethernet) for large bandwidth limited data –Support event-like and streaming data –Interface routines for Fortran analysis Status –Present methods Buttons/phase data written to MPM for standard requests Trajectory data written to file for user read/analysis/display Differential orbit data written to file for user read/analysis/display Calibration data wirtten to file for user read/analysis/display Who –Palmer

Mark A. Palmer March 9, 2005 CESR Bunch Instrumentation DAQ11 System Visualization Tools General Requirements –Built-in package for visualization has been requested Large data size Range of data to examine Desire for standard, easily accessible tools Status –At present, no built-in visualization tools provided –Accelerator group tools for plotting MPM data –User tools for plotting saved data Who –Codner

Mark A. Palmer March 9, 2005 CESR Bunch Instrumentation DAQ12 Infrastructure Code Building/Maintenance General Requirements –Code maintained in CESR CVS repository on Unix –OSF testing of many tools (on CESR machines) is acceptable Compilers on cesrxx OSF machines match VMS compilers More development CPU cycles available Porting tools to move code to VMS and test –Multiple source library implementation to support shared source among several applications Control codes DSP codes Control/DSP codes –Suitable coding standard to handle code that can be run across multi-DSP and CTL architectures –Restrict development to tools available (or portable) to VMS –Versioned releases for stability and problem tracking Status –Repository structure in place –Porting structure in place –CesrBPM and utiltiy libraries (1 st generation system) in place with versioning checks –Range of new codes ready for import into repository Who –CESR Librarian: Valeriu Smiricinschi –Palmer

Mark A. Palmer March 9, 2005 CESR Bunch Instrumentation DAQ13 Library Hierarchy DSP Parser DSP Test/ Utilities CesrBPM II CesrBSMCesrFLM Server(s) Comm/ Control General Utilities CesrXBSM