Home

PSControl 1.4 user manual - HEP

image

Contents

1. 05 00 0 6 PW OFF 10 0 5000 Set t Set t Set On Set et E Figure 1 Controller panel Each PSU has five channels the first channel controls the general prop erties of the PSU and is shown on top of the PSU tab Four more channels two low voltages and two high voltages are shown below PSU s and channels have names that the user can change these names are saved in the controller and are visible from the CAEN built in telnet textual interface as well It is recommended to change these names to reflect the current system configuration e g the PSU s can be named Wire 1 Wire 2 and the channels LV0 LV1 HV0 HV1 In order to use the channels of a PSU the user must put the PSU in the ready state by locking and enabling it When a PSU is ready it s possible to turn its channels on by clicking on the button On Notice that since for the CMS SST the two LV channels are NOT independent only one button is available The state of the PSU and of its channels is shown through traffic lights When the PSU is not enabled all the traffic lights are completely off When the PSU is in the ready state all traffic lights turn to yellow When a channel is turned on its traffic light becomes green If there is an alarm affecting one channel its traffic light becomes red A general traffic light is always visible on top of the interface and shows the state of the sy
2. If you have JRE 1 5 already installed on your system edit file java MainPanel to be sure that JAVABIN contains the complete path to the java binary 2 3 Installing on Windows The project is distributed for Windows in a zipped file If you download the distribution with JRE included you can just extract it to a directory and start the system by double clicking on PSControl bat you can put a shortcut on your desktop If you download the light distribution without JRE edit PSControl bat in folder java and set the variable JAVA to the absolute path to the java executable 3 User manual 3 1 Login into the system and configuration The first time the program runs the user is asked to enter the IP address of the SY2527 or SY1527 a username and a password These values are saved to the file jpowerrc in the user s home directory Then the user must choose a directory where the log files will be saved This value is saved to the file pslogdir in the home directory 3 2 Controller The controller first tab of the GUI is used to cotrol the PSU s At startup the PSU s connected to the system are found and the state of the system is shown divided into slots each slot corresponds to a different branch con troller which can control up to 6 crates each one divided in several PSU s The default PSU model is A4601F see section 5 if you want to change the default or if you are using mixed PSU models When a Power Sup
3. PSControl 1 4 user manual Lorenzo Masetti lt masetti fi infn it gt September 2 2005 Contents 1 What is PSControl 1 2 How to install PSControl 2 2 1 Distributions 2 aoe amp Ae oes Yk oe eR ee OR eS 2 2 2 Installing on Lam a o ohh Boks ok ook ee a 2 2 3 Installing on Windows o oaa 3 3 User manual 3 3 1 Login into the system and configuration 3 32 COntroller ersen 29 amp a oaa A ER Gh ek BOE ek a 3 3 2 1 Expert MOE ead 4 Bk we hd eR Re HS 5 3 2 2 Menu reference ooa 5 8 3 Logging 2 2 2 4 824 G3 Deedes kedimi Sead Ega 6 3 3 1 Format of log files 4 6 nA OSV Viewer pk ei ARR ERE EEE ERE RARE ERES 7 3 5 Global Controll 6 aa ee te ead ee ERE See oe ES 8 4 Setting home directory 8 5 Configuration of the branch controllers 8 6 Logging from command line 9 7 Project home page 11 1 What is PSControl PSControl is an application which provides a user friendly interface for the control of the power supplies PSU of the CMS Silicon Strip Tracker 2 How to install PSControl 2 The application controls and monitors via TCP IP the channels at tached to a CAEN SY1527 or SY2527 controller and can be used in the laboratory in place of the CAEN built in textual interface accessible via TELNET PSControl is written in C and Java can be installed both on Linux and Windows and provides the capability of logging to csvf files the values monitored from PSU channels for lat
4. a single argument which is the path of a simple XML file that sets all the options If ps_log is started without arguments a file named config xml is searched in the current directory An example of configuration file is provided in directory ps_log_examples lt this is an example config file for ps_log gt lt ip gt 172 16 1 113 lt ip gt lt login gt user lt login gt lt password gt user lt password gt lt interval gt 10 lt interval gt lt maindir gt tmp newlog lt maindir gt lt fast gt no lt fast gt lt headers gt yes lt headers gt lt verbose gt yes lt verbose gt lt in channels xml you must provide the channels you want to log gt lt channels gt channels xml lt channels gt 6 Logging from command line 10 Here is a description of all the parameters ip IP Address of the SY1527 SY2527 System login Login to the system password Password to the system interval Interval of time between two readings In seconds maindir Root dir where to save log files Subdirectories will be created for each day channels not mandatory default lt maindir gt channels xml Path to another XML file which sets the channels to log fast not mandatory default no Use a fast reading of the values Fast reading only reads the connected channels It is safer to use the slow reading headers not mandatory default yes Set to yes to write the headers on top of CSV files to no to write only the values withou
5. alarm anywhere If there is an alarm the tabs of the slot s and of the PSU s where the alarm is set are highlighted in red so it is easy to reach the tab of the channel with the alarm set on 3 2 1 Expert mode At startup the controller is set in non expert mode If expert mode is not enabled the user can only lock unlock enable and disable the PSU and turn on and off the channels To enable expert mode use the menu Options Expert Mode In expert mode it is possible to change the settings of all the writeable channels V0Set I0Set SVMax Trip RUp RDwn Be careful when you use expert mode because you can set the parameters to potentially dangerous values for the system 3 2 2 Menu reference These are the commands available through menus e Menu System Rescan rescan the system to look for new connected PSU s It is necessary to rescan the system when a Power Supply Module is plugged or unplugged 3 3 Logging 6 Show version show version of the CAEN HV Wrapper library used to connect to SY1527 SY2527 Show system properties Show the values of some system proper ties Exit Exit the interface e Menu Options Expert mode Enable disable expert mode see 3 2 1 Set refresh Set the monitoring frequency Default is 700 milliseconds Set log directory Set the directory to save log files This value is saved in jpowerrc file in your home directory e Commands menu Clear alarms Clear all the alarms of the syst
6. branch controller are shown in the same Slot Two different types of PSU s are implemented A4601F With lock and standby parameters A4601H Without lock and standby parameters The types of the PSU s are determined as follows first the application checks if there is an XML file for the configuration of the slot This file must be placed in directory xml_branch for Linux or xml_branch for Windows under the home directory under Windows it is usually C Documents and 6 Logging from command line 9 Settings username see 4 if you want to change the home directory and must be named 0 xml 16 xml depending on the slot number The XML file should be created with CAEN Easy Rack Builder and should contain the right number of PSU If this file is not found for a slot or its format is invalid the default PSU type is used To change the default type of PSU to A4601H go in java MainPanel Linux or java PSControl Windows and change the option Dpsumodel A4601F to Dpsumodel A4601H in the last line which starts the program 6 Logging from command line The command line tool ps_log can be used without opening the inter face This program uses the shared libraries provided in the package so before using it be sure that they are included in your path Under Linux you have to set variable LD_LIBRARY_PATH to include lib subdirectory Under Windows you have to set variable PATH to include the lib folder The program takes
7. click on Add other channels and choose the other channels you want to add to the plot It is possible to write 3 5 Global Control 8 a pattern for easily choosing all the interested channels For example by writing LVO and clicking on Select all the channels whose names contain LVO i e all the first low voltage channels if you have used a consistent naming will be selected In order to select all the main channels just type Main and click on Select It is possible to repeat this task for different patterns and click on Add to selection in order to get the final selection If the fields plotted in the graph are not present in a selected channel that channel will be ignored without displaying any error message 3 5 Global Control From the fourt tab it is possible to control more than 1 PSU At the top of the panel you can choose the PSU s you want to control use CTRL to select more than one Tha avaiable commands are LOCK ENABLE and DISABLE UNLOCK LV ON LV OFF HV ON and HV OFF It is also possible to change the values of I0Set and VOSet of the HV channels 4 Setting home directory To change the home where to look for conf files add in java MainPanel Linux or java PSControl Windows the option Dhome path to the dir to the last line which starts the program 5 Configuration of the branch controllers Each branch controller is a slot on the main interface All the PSU controlled by the
8. e CTRL to select more fields loset Status Figure 3 CSV viewer interface For the main channel of the PSU the channel name is Main Channel numbers are displayed in the controller tab for each PSU and for each channel Remember that the first channel of every CPU contains the general information about the PSU such as value of Lock Stdby Temp1 and Temp2 The first row of every CSV file gives the headers i e the names of the parameter logged in each column These files are used to plot the graphs with the CSV viewer tool included in this package 3 4 CSV Viewer The third tab is a utility to display graphically the values saved in log files To browse the logged files click on a day and then on a channel name For each file the names of all the fields are shown Select the fields you want to plot using CTRL to select more than one field and then click Show graph The graph is displayed at the bottom of the window It is possible to open it in a new window in order to view more than one plot and to be able to attach one plot to the other Plots are built using the values read at the time you opened the channel To update the values by re reading the file use the Reload values button To build plots using information from different channels open one channel of the type you are interested in and set up the plot for that channel by choosing the desired inputs Then
9. em HW Reset Send Hardware Reset signal to a slot be careful 3 3 Logging The second tab is a graphical interface that allows an easy use of the program ps_log a command line tool used for logging purposes By the graphical interface the user can choose either to log all the chan nels of the connected PSU s either to log all the channels of the system regardless if they are connected or not or to manually choose the channels to be logged use CTRL to select more than one channel It is possible to set the interval of time between two readings of the state of the system and to choose if the output must be verbose i e write something every time the state of the system is logged The log program can be started and stopped by two buttons If you close the interface while the logging program is still running it will keep on running so that you ll need later to kill the ps_ log process manually 3 3 1 Format of log files Log files are saved to the logging directory A subdirectory is created for each day In the subdirectory of a given day there are several CSV files in comma separated value format This format can be read by almost every spreadsheet Excel OpenOffice Calc etc The names of the files are slotnumber_channelnumber_psuname_channelname csv 3 4 CSV Viewer 7 state Qo an INEN T ERENZE Contents of CSV file C Documents and Settings Lorenzo MasettiDocumenti TesiLoy 2005_03_12 0_41_Scato Us
10. er graphical visualization The interface is divided into four tabs corresponding to four main func tions e The first tab is the controller which provides a user friendly interface to control the PSU s by setting and monitoring their parameters e The second tab is the logger which provides a visual interface to pro gram the logging of the values to CSV files The user can choose the channels to be monitored and the logging frequency e The third tab is a utility for the graphical visualization of the logged CSV files e The fourth tab allows to control several PSU at a time 2 How to install PSControl 2 1 Distributions The project is provided in in three precompiled versions e For CERN Red Hat 7 3 Linux compiled with gcc 2 96 e For Fedora Core 3 Linux compiled using gcc 3 4 2 e For Microsoft Windows compiled using MinGW Minimalist GNU for Windows 2 2 Installing on Linux Extract the archive and put the resulting directory where you want Change to that directory and type setPSControl This will set in bin PSControl the complete path of the application You may want to add bin directory to comma separated values 2 3 Installing on Windows 3 your path or to make a symbolic link in order to start the system by just typing PSControl Java 1 5 0 is needed to execute the precompiled packages if you don t have it available on your system you need to install the distribution with JRE 1 5 included
11. ply Module is plugged or unplugged in order to detect the changes the menu System Rescan must be used Home directory is the value of user home property in JAVA Under a Windows envi ronment this is ususally c documents and settings username 3 2 Controller 4 K Power Supply Main Panel System Options Comman ds Controller Logging CSV Viewer GLOBAL STATE ON ae OM reece Sioto 0 Cavo06 1 Vuoto 2 Cavo14 3 Cavo15 4 ScatolaTest 5 PSU ScatolaTest LOCKED ENABLED Ready Channel Is 40 44 Model A4601 Change PSJ name Unlock Disable Temp1 C Temp2 C Rel Remiikln 12VPwS 48VPWS 17VPWS Sync Hysync Remilk MainPwS 20 21 a o Ok Ok Ok Ok Ok No Ok LOW VOLTAGE CHANNEL 41 Name VOSet V IOSet A SVMax V Trip s VMon V IMon A Pw Status VCon V Lvo 2s 13 0 275 0 5 251 444 PW ON ON 4 775 Set Set Set Set Set oto LOW VOLTAGE CHANNEL 2 Name VOSet V l0Set A SVMax V __ Trip s VMon V IMon A Pw Status VCon V Wi 1 25 o 0 5 1 255 3 54 PW ON ON 4 005 B Set Set ser HIGH VOLTAGE CHANNEL 3 Name VvoSet V lOSet pA SVMax V Trip s VMon V IMon pA Pw Status Rup V s RDwn V s Hvo 100 0 3000 0 600 0 0 5 0 0 0 2 PW OFF 10 50 0 Set e Ce p mats On Set set HIGH VOLTAGE CHANNEL 4 Name vOSet V lOSet pA SVMax V Trip s Mon V Mon pA Pw Status Rup V s RDwn V s HVL 500 0 10000 0 600 0
12. stem It is off if all the PSU s are not ready It is yellow 3 2 Controller 5 Power Supply Main Panel laj xl System Options Commands GLOBAL STATE ALARM slot 0 ch 41 slot O ch 42 Fa sezione di 0 Swt0 1 Siot2 0 Cavo0s Vuoto 2 Cavo14 3 Cawis 4 Scatolarest 5 PSU ScatolaTest LOCKED ENABLED Ready Channels 40 44 Model A4601 __ Change PSU name Unlock Disable Tempt C Temp2 C Rel RemiikLn 12VP WS A8VPWS A7VPWS Sme HVSyne Remlik MainPwS 22 22 4 o Ok Ok ok Ok Ok No Ok LOW VOLTAGE CHANNEL 41 Name voset v loset a sVMax V1 Trip s Mon V Ison A Pw Status Con V wo 24 130 275 0s oo 00 PW OFF maxv 00 Set 5 L s T pesa LOW VOLTAGE CHANNEL 42 Name voset vi loset ay svitax VI Trip s Viton VI Mon A Pw status vcon V1 Set e i sS i Se HIGH VOLTAGE CHANNEL 43 Name VOSet V 10Set pA SVMax V Trip s VMon V Mon pA Pw Status Rup Vis RDwn V s mo 100 0 3000 0 600 0 05 0 0 22 PW OFF 5 10 0 50 0 Lose set Sot Set Set Lon set Set HIGH VOLTAGE CHANNEL 44 Name voSet VI 10Set pA SvMax V Trip s VMon VI Imon pA Pw Status Rup Vis RDwn Vis mw 500 0 0000 0 500 0 os 05 90 PW OFF 3 100 50 0 Set S S On Si ji S Figure 2 Interface for an alarm if at least one PSU is ready but no channel is on It is green if at least one channel is powered on It is red if there is an
13. t headers verbose not mandatory default yes If verbose is yes the list of written files is written to stdout Parameter channels is the path of another XML file where are listed the channels to log The format of this file that can change while the log program is running is as follows lt slot number 0 gt lt ch gt 10 lt ch gt lt ch gt 11 lt ch gt lt slot gt lt slot number 1 gt lt ch gt 15 lt ch gt lt ch gt 16 lt ch gt lt slot gt In this example channels 10 and 11 of slot 0 and 15 and 16 of slot 1 are logged These files are both generated by the visual interface so you don t need to use them directly if you don t need to use the program from command line 7 Project home page 11 7 Project home page the project home page where you can fill a form to download the project download the user manual and check for updates is http hep fi infn it CMS PSU

Download Pdf Manuals

image

Related Search

Related Contents

FEMA ELECTRÓNICA ISC Series  Delta Electronics DVP01PU-H2 User's Manual  SSC200 Solid State Rate/Gyro Compass User's Manual  Description / Descripción HIGH EFFICIENCY VACUUM UNIT  Jackson 2517200 Instructions / Assembly  Lhnalyse v texíuelle ` `  HRVR0404 HRVR0804 HRVR1604  Operating Instructions Automatic Pump Recirculation Valve  Grippe A : le PCA au secours des entreprises de transport  Carbon Monoxide Meter TM-801 / TM-802  

Copyright © All rights reserved.
Failed to retrieve file