Source Controller software status HCAL fall meeting Oct 13-15, 2005 Ianos Schmidt The University of Iowa.

Slides:



Advertisements
Similar presentations
IT Technical Support South Nottingham College. Aims Knowledge of the Registry Discuss the tools available to support a technician Gain an understanding.
Advertisements

MicroKernel Pattern Presented by Sahibzada Sami ud din Kashif Khurshid.
(Systems Analysis INTerface Board)
SYSTEM PROGRAMMING & SYSTEM ADMINISTRATION
Operating-System Structures
Basic Input Output System
Optimizing Windows Vista Performance Lesson 10. Skills Matrix Technology SkillObjective DomainObjective # Introducing ReadyBoostTroubleshoot performance.
Supervision of Production Computers in ALICE Peter Chochula for the ALICE DCS team.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
14.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Electrical and Computer Engineering iLights Nick Wittemen, EE Chris Merola, EE José Figueroa, EE Matt Ryder, EE Comprehensive Design Review.
Introduction. 2 What Is SmartFlow? SmartFlow is the first application to test QoS and analyze the performance and behavior of the new breed of policy-based.
Computer Skills Preparatory Year Presented by: L.Obead Alhadreti.
Computers They're Not Magic! (for the most part)‏ Adapted from Ryan Moore.
Graphical Alarm Management System
TIBCO Designer TIBCO BusinessWorks is a scalable, extensible, and easy to use integration platform that allows you to develop, deploy, and run integration.
Cisco 2 - Routers Perrine & modified by Brierley Page 18/18/2015 Chapter 5 IOS Internet Operating System (IOS)
Automatic Software Testing Tool for Computer Networks ARD Presentation Adi Shachar Yaniv Cohen Dudi Patimer
Shell and Flashing Images Commands and upgrades. RS-232 Driver chip – ST3232C Driver chip is ST3232C Provides electrical interface between UART port and.
Form Handling, Validation and Functions. Form Handling Forms are a graphical user interfaces (GUIs) that enables the interaction between users and servers.
Oppenheimer Technologies Rick King Jonathan Creekmore.
Computer Organization
A modern NM registration system capable of sending data to the NMDB Helen Mavromichalaki - Christos Sarlanis NKUA TEAM National & Kapodistrian University.
Introducing Dreamweaver MX 2004
Tutorial 1 Getting Started with Adobe Dreamweaver CS3
Operating Systems  A collection of programs that  Coordinates computer usage among users  Manages computer resources  Handle Common Tasks.
SMACS Slow Monitor And Control System Developed system for CDF-TOF proposed for Atlas-MDT/RPC.
1.Overview 2. Hardware 3. Software Interface 4. Triggering 5. Installation 6. Configuring.
Section 1: Introducing Group Policy What Is Group Policy? Group Policy Scenarios New Group Policy Features Introduced with Windows Server 2008 and Windows.
Module 7: Fundamentals of Administering Windows Server 2008.
Graphical Output Package for Industrial Sensor May Team Members Steve Bower – CprE Ken Hall – CprE Roar Lien – CprE Jim Sproul – CprE Rich Matus.
Chapter 34 Java Technology for Active Web Documents methods used to provide continuous Web updates to browser – Server push – Active documents.
Specview 32 Release 2.5 Enhancements
CHAPTER TEN AUTHORING.
Renesas Technology America Inc. 1 SKP8CMINI Tutorial 2 Creating A New Project Using HEW.
Computer Emergency Notification System (CENS)
Page 110/19/2015 Chapter 5 CCNA2 Chapter 5 Managing Cisco IOS Software.
Troubleshooting Windows Vista Lesson 11. Skills Matrix Technology SkillObjective DomainObjective # Troubleshooting Installation and Startup Issues Troubleshoot.
André Augustinus 10 September 2001 DCS Architecture Issues Food for thoughts and discussion.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
Capabilities of Software. Object Linking & Embedding (OLE) OLE allows information to be shared between different programs For example, a spreadsheet created.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Overview of MSWS Control of 212-LC July 15, 2006.
EPICS Release 3.15 Bob Dalesio May 19, Features for 3.15 Support for large arrays - done for rsrv in 3.14 Channel access priorities - planned to.
GPRS functionality overview in Horner OCS. GPRS functionality – Peer to Peer communication over GPRS – CSCAPE connectivity over GPRS – Data exchange using.
Field Programmable Port Extender (FPX) 1 NCHARGE: Remote Management of the Field Programmable Port Extender (FPX) Todd Sproull Washington University, Applied.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
Source Controller software Ianos Schmidt The University of Iowa.
Renesas Technology America Inc. 1 SKP8CMINI Tutorial 2 Creating A New Project Using HEW.
Proposal for an Open Source Flash Failure Analysis Platform (FLAP) By Michael Tomer, Cory Shirts, SzeHsiang Harper, Jake Johns
Status & development of the software for CALICE-DAQ Tao Wu On behalf of UK Collaboration.
Chapter – 8 Software Tools.
The DCS Databases Peter Chochula. 31/05/2005Peter Chochula 2 Outline PVSS basics (boring topic but useful if one wants to understand the DCS data flow)
Event Management. EMU Graham Heyes April Overview Background Requirements Solution Status.
4000 Imaje 4020 – Software Imaje 4020 – Content ■ Content of Chapter Software: 1. Flash Up 2. Netcenter 3. FTP 4. Active X 5. XCL commands 6. Exercise.
Troubleshooting Windows Vista Lesson 11. Skills Matrix Technology SkillObjective DomainObjective # Troubleshooting Installation and Startup Issues Troubleshoot.
Programming and Debugging with the Dragon and JTAG Many thanks to Dr. James Hawthorne for evaluating the Dragon system and providing the core content for.
 This work confers an application which makes possible to use a Bluetooth enabled mobile phone to remote control home appliances such electric fan, LEDs.
1 Remote Installation Service Windows 2003 Server Prof. Abdul Hameed.
Computer Basics.
Programming and Debugging with the Dragon and JTAG
CCNA Routing and Switching Routing and Switching Essentials v6.0
SCADA for Remote Industrial Plant
Chapter 2: System Structures
Chapter 10: Device Discovery, Management, and Maintenance
CCNA Routing and Switching Routing and Switching Essentials v6.0
Chapter 10: Device Discovery, Management, and Maintenance
Analysis models and design models
Chapter 13: I/O Systems.
Presentation transcript:

Source Controller software status HCAL fall meeting Oct 13-15, 2005 Ianos Schmidt The University of Iowa

System HF+ HE+ HO+1,+2 HB+ HO0 HO –1,-2 HE- HF- Services: Air drivers Electric drivers * * Total Crate of controller boards HB- 0 0* Air supply pressure switches RS-485 links DIM Server DIM Client(s) Crate of controller boards Local control laptop RS-232 directly to individual boards. Power supplies 5V,18V,24V Zone safety interlocks * HO will use a temporary portable system New

Software component diagram DIM Server Config. info Tube maps Source code Run Control DIM clients Controller boards DIM clients RS-485 Local disk Config. info Tube maps Source code Database ? Controller code and settings in flash memory Local tools for configuration, testing, and compiling code Control PC Laptop RS-232 Tools for testing, configuration and programming of controllers.+ Controller source code. DIM client

Air driver controller code Development of the air driver specific functions has started. –Working representations of all functions exist and operate correctly with the DIM server, but need refinement of fault detection and handling. Experience with the electric drivers has shown that robust fault detection is necessary to protect the equipment from damage. Next step is merge the air driver specific functions with the core structure of the most recent version for the electric drivers. –Expect to have Version1 of code ready by end of October.

Electric driver controller code The most recent version of the code is presently in use at SX5 for HE- sourcing. Code is very mature, but needs more robust fault detection in init sequence. – Speed control is the only remaining electric driver specific feature that may still be implemented. Speed control code has already been written and appears to work, (ie. control loop is stable), but introduces much more complexity which has yet to be fully evaluated. -This is not a critical item at the moment.

Remaining controller code work common to both driver types Restructuring of status information and fault handling –Restructuring will likely be necessary after completion of the air driver specific functions to provide a consistent hardware independent interface to the DIM server. Reel init button so wire can be retracted when DCS is not functional CRC checking of controller code. –Started investigating ways of getting a CRC code into the programmed device. No easy way to do it. Presently there are three possible solutions: 1. Custom “plug in” that interfaces with the programming software. 2. Custom tool that inserts it into the hex file used to program the device. 3. Implement a way to program the CRC code using the controller code itself, similar to the way configuration parameters are programmed.

Remaining controller code work cont. Geiger counters –Geiger counter code has not been started but should not be too difficult to implement, but It is not apparent that we need this functionality. Geiger counters (provided by Purdue) use transformers. Proper operation is not likely in a strong magnetic field excluding their use in the PSD’s. Geiger counter use for TSD’s may be useful but should only be considered as a hardware checking tool, not as a part of the required safety equipment that falls under the responsibility of TIS/Radioprotection. Geiger counter signals require some interpretation. Testing and more testing… –there are many possible fault conditions which tend to conspire. It is certain that there are remaining “undesirable features” to be discovered. -Need Feedback from use in the field.

DIM Server SDriver objects. One/controller RSport objects. One per serial port. RSport objects HWconfig object configuration file DIM info and command service objects DIM SDriver object 1 SDriver object 2 SDriver object 3 SDriver object 4 SDriver object n

DIM Server code status The DIM server code has been completely rewritten. The new version (incomplete) is presently in use at SX5 for both HB+ and HE- sourcing. New features: Allows multiple controllers to share serial ports (RS485 buss) DIM server is aware of driver fault conditions “fatal error” bit implemented to inform runcontrol of a fault condition (Causes runcontrol to abort sequence). Hardware configuration file implemented to specify driver specific information as well as global parameters.

Remaining DIM server work Implementation of Partition locking implementation of map files Implementation of the following DIM services: Driver name (text string). Map file name (text string). Name of current index (text string). Messages from server (text string). Load map file command service (text string). Definition of interface with runcontrol

Run control interface The interface to run control needs to be defined. There are two outstanding issues: * Two competing ideas as to how to organize the control structure have been proposed. 1. Have the majority of operator interaction be through run control. –Requires handshaking with the DIM server to share info. 2. Have most of the interaction through a PVSS DIM client. –Requires no additional changes to runcontrol. *Run control presently can only communicate with one driver. How are drivers to be specified? At the moment driver specific DIM services are specified by the driver number. This number is the address number derived from the controller crate backplane (slot No.) This is not very intuitive and likely to cause mistakes (namely operating the wrong driver!). –A possible solution is to use driver name, not address.

Other info.:Controller software overview Each controller board contains a Philips 89C51RB2 microcontroller. The code for these is written in the native “8051 compatible” assembly language. The Assembly code is complied using ASM51, and the controllers are programmed using either WINISP or Flash Magic programming tools. All of these tools are free, and operate under Windows. The programming interface is non-proprietary and fully documented allowing the option to implement a custom programmer on any platform in the future if necessary. This code provides all functionality to operate the Purdue wire source drivers, and to provide a standard interface, regardless of driver type, via RS-232 or RS-485 to the DIM server. Information that describes the specific hardware and related behaviors is stored in a block of flash memory which is transferred to RAM at boot up. These values can be modified and resaved, or default values can be restored via the serial interface. Generally speaking these parameters will only need to be changed if the driver hardware or control electronics are changed.

Other info.:DIM Service information COMMAND SERVICES Command name Format Parameter1 Parameter2 1. "CMS/HCAL/RSRC[_ServerSubname]/{DEV}/INIT I:2 Index Reel 2. "CMS/HCAL/RSRC[_ServerSubname]/{DEV}/GO" I:2 Index Reel 3. "CMS/HCAL/RSRC[_ServerSubname]/{DEV}/SCAN" I:2 Index_from Index_to 4. "CMS/HCAL/RSRC[_ServerSubname]/{DEV}/STOP" 5. "CMS/HCAL/RSRC[_ServerSubname]/DEBUG" I:2 Device(0 means all) level(0-3) Information services "CMS/HCAL/RSRC[_ServerSubname]/STATUS" I:16 Contains status words (see lower) for all the 16 drivers 2. "CMS/HCAL/RSRC[_ServerSubname]/{DEV}/STATUS" I Service sends the structure SrcInfo: typedef struct { int message_counter; timeval time_stamp_1; //{int seconds; int mkseconds;} int status; int index_counter; int reel_counter; int motor_current; int speed; // not implemented yet in the driver timeval time_stamp_2; (int 0; int 0;} will be filled in the Event Builder }SrcInfo; * Does not include services for configuration information and tube maps.

Other info.:Server log file The DIM server writes a local log file for each driver which contains an entry for each change in status. For changes in controller status an entry consists of all controller state information. 10:03: :03: :03: :03: :04:44 Command SCAN recived with parameters: :04: :04: :04: :04: :04: :04: :04: :04: :04: :04: Mon Jul 19 add comm status reel ind I V Errors0 Errors1 Warnings 10:04: :04: :04: :04: :05: :06: Sample from log file:

Other info.:Tube maps Tube maps from files or a database will be used to provide specific information about the tubes that are connected to the drivers. Which map to use can be specified from a DIM client, otherwise the default specified in the configuration data will be used. Each entry is associated with the index number from the related driver. A tube map contains the following information: Global: Map title Driver type First and last tube number Optional default settings for the driver (parameter overrides) Tube specific: Tube number. Tube name (ie. “HE+1, sector 2, slice 1, layer 5”) Partition number Tube status (skip, ok, warn, test) Maximum length Start of detector/area of interest (Optional settings such as motor voltage/speed for extend/retract, in/out of detector)

Other info:DIM clients A Visual source controller client is under development using Borland tools. This provides an easy to use graphical interface that allows use all the available DIM services and commands. Ultimately this will be implemented in PVSS. Run control contains a client for merging the source controller data with DAQ data. Run control also provides sequence files to automate the sending of DIM commands. The run control DIM interface will have to be updated to use tube map and configuration information.

Other info.:Miscellaneous Other software Controller test program for sending raw serial commands to a controller card. This is to be used while the laptop is directly connected to the RS-232 connector on the front of a controller card. When connected in this way the controller is automatically dropped from the RS-485 buss allowing maintenance and testing of individual cards while the other cards are in operation, or for testing cards individually outside of the crate. Tool for setting controller parameters and saving them to flash memory. Although this will rarely need to be done it is tedious to do using the raw serial commands. DID (Dim display) Tool part of the DIM package for testing DIM servers. Borland BCB for building code.