Presentation on theme: "A status report on the HMPID DCS"— Presentation transcript:
1 A status report on the HMPID DCS The HMPID in ALICE ;The HMPID Detector Control System: Hardware and Software Architecture;Investigated solutions for the HV-LV power supplies and market survey;Overview on the components of the HMPID Control system:The (CAEN SY1527) HV C.S. in the PVSS environment;A custom C.S. for the EUTRON LV units;A C.S. prototype for the Liquid re-circulation apparatus;Next steps………...Expectation from the JCOP and CCTeam
2 HMPID layout on the Spaceframe The ALICE Particle Identification system (PID) is based on three detectors covering the central ALICE barrel (ITS, TPC and TOF), and one single-arm detector: the High-Momentum Particle IDentification (HMPID).The HMPID is based on a Ring Imaging Cherenkov dertector, it is devoted to the identification of the high-momentum pions, kaons and protons in the range GeV/c.
3 RICH detector: basic elements The RICH detector consists of a vessel containing C6F14 as liquid radiator and a multiwire proportional chamber with a CsI segmented photo-cathode. When a relativistic charged particle cross the radiator faster then the phase velocity of light in that media, then few tens of Cherenkov photons are emitted and converted on the CsI film.The emission angle of photons is related to the particle velocity v according tocosq = 1/nb where b=v/c.If the particle momentum is known then its identification can be done, with this detector layout, in the range 1-4 GeV/c3
4 An artistic view of the hardware! Basic elements of theHMPID DCSAn artistic view of the hardware!Supervisory LayerNT WorkstationControl & Physical layerCAEN SY1527PLC S7PLC S7PLC S7??Low Voltage Sub-systemGasSub-systemHigh VoltagePhysical parametersCherenkov liquid radiator
5 The Software Architecture of the HMPID DCS LPC = Local Process ControlHMI = Human Machine InterfaceFSM = Finite State MachineDIM = Distributed Information Manager (CERN)SMI = State Management Interface (CERN)OPC = OLE for Process Control (Microsoft)DCOM = Distributed Component Object Model (Microsoft)
6 Working in Progress on….. Evaluation of a preliminary asset of Data Point for the HV Sub-System (the physical device SY1527 is not yet available in the present frameworkThis OPC serv. doesn’t run properly in PVSS and it doesn’t allow the grouping managment! CAEN will issue the version 1.1 on AugSome Detector Oriented panels in PVSS for Monitoring and Setting are already under testPerfectly working !Preliminary representation of the LCS via GRAFCET. The related Instruction List is already in Debugging PhasePreliminary GRAFCET and Instruction List in Test Phase
7 Operational classes of the HMPID DCS prototype (Preliminary definition)CONFIGURATIONMONITORINGOPERATIVE STATUSDEBUGGINGchecks the Permission Access Policyprovides Panels to Load, Edit and Save Sub-Detector Configuration Parametersverifies the selected detector ConfigurationLogging of the selected Configurationsprovides Panels to display/modify Actual/Trend/Historical Parametersverifies that the Parameters are in the rangesprovides Alarms managementprovides Logbook facilitiesaccept commands from the supervisory layercheck the Permission Action Policycontrol and synchronise the sequence of operationsprovides Local Process Control proceduresprovides tools and facilities for Sub-Detector debugging:dummy Trigger equipment,local data taking,data base management,…
8 Investigated solutions and market survey for the HV-LV sub-systems
9 Power requirements/segment LV-HV Sub-systems CAEN solution: Resulting detector segmentation12 MCM Segments4 ADC Segment9 FEE Segments, 180 (120) GASSIPLEX each9 HV Segments, 36 (24) wires each, this requires a grouping of 12 sense wiresFEE 1FEE 2FEE3FEE 4FEE 56FEE 7FEE 89MCM1MCM2MCM3MCM4MCM5MCM6MCM7MCM8MCM9MCM10MCM11MCM12ADC1ADC2ADC3ADC4H1H2H3H4H5H6H7H8H9Power requirements/segmentV A WFEE (3.2) 13.5 (9.0)FEE (3.4) 14.0 (9.5)ADCADCMCM7 x HMPID MODULE3 x CAEN SY1527 (TCP/IP protocol)Boards:9 x A1517 3V-6A (prot. by the end of 6/2001)11 x A1518 5V-3.6A(.. by the end of6/2001)6 x A1821A 3kV (Delivered and test under way)
10 Layout of the CAEN solution Rear viewFront view
11 Power requirements for each segment LV-HV Sub-systems WIENER or EUTRON based solution: assumed detector segmentationMCM1MCM2ADC1aADC1bFEE 1FEE 2FEE 3FEE 4FEE 5FEE 6H1H2H3H4H5H62 MCM Segments1 ADC Segment6 FEE Segments, 480 GASS. each6 HV Segments, 48 wires eachPower requirements for each segmentV A W FEEFEEADCa+bADCa+bMCMFor both these solutions, the HV PS is still based on the CAEN SY1527
12 Layout of the WIENER LV units The Master Power Box can operate viaRS232 up 8 slave cratesCANbus up to 127 crateTCP/IP offers performance for larger numbers of channels.Master Power BoxMaster power 3U box:Max DC Power/box =2.5 KWUp to 12 PL600 modules/boxOne module consist of one floating ch.2..7V - 25A max 175WFEE : 42 segments x 2 polarity 84 modules (2.8Vx12.7A=36.5W)MCM : 14 segment 14 modules (+5Vx18A=90W)ADC : 7 segments x 2 polarity 14 modules ( 5Vx16A=80W)
13 Layout of EUTRON-PLC devices For the EUTRON solution the power switching and sensing of each LV channel are based on a Siemens PLC system (relays and ADC modules) and a custom sensing board. This solution requires a control program developed ad hoc by the user.EUTRON PS UnitsPLC SIEMENS S7300Connecting and sensing BoardTO HMPID MODULES3 x EUTRON BVD 720S 0..8 v 25 A1 x EUTRON BVD 1500S 0..8 v 50 A
14 First cost estimation (cables and connectors not included) LV HV€ CHF € CHFCAEN HV-LVEUTRON LV + CAEN HV(PLC software development not included)WIENER+ CAEN HV
15 The EUTRON-PLC Control System Requirements list;The control system as a Finite State Machine; (bubble chart)Apparatus layout and technical specifications of the sensing board;the PLC readout software.E. Carrone,
16 The Requirements listIt is intended to specify all the procedures to operate properly the LV power supply units while connected to the FE electronics. An incomplete example could be:FEE LV switching ON: since the FEE requires ±2.8 V then both these polarities must be supplied contemporary,FEE LV switching OFF: before a FEE segments is switched OFF, the facing HV segment (see St.Rep3 at must be switched OFF. This sequence is mandatory to prevent FEE breakdowns due to charge accumulation on the MWPC cathode pads. (In fact the ground reference to the MWPC sense wires is ensured trough the FE electronics, then the low voltage at the corresponding FE electronics segment must be applied before the HV segment is switched ON);Current and voltage ranges: Vload Iload must be in the admissible range: Vmin < Vload < Vmax, Imin < Iload < Imax. If Iload > Imax then the corresponding HV-LV segments must be automatically switched OFF according to FEE LV switching OFF sequenceAlarms handling ……E. Carrone,
17 as a Finite State Machine: The control systemas a Finite State Machine:state definitionTaking into account the requirement list and how to properly operates the EUTRON units, the following “states” have been defined:OFF ( P.S. in Standby, relays OFF and Vout=0)Calibration (reading Voutput from units)Configuration (FEE segment selection)Standby (LV system in STBY status)ON (Ready For Physics: P.S. STBY removed, check of Current/Voltage values)E. Carrone,
18 LV: the bubble chart representation LV C.S. representationCOMMANDSSTARTRUNFILLPURGESTOPMANRESETCALIBRATECONFIGURESUSPENDFEEDCONFSTBYONCALOFFALARMAlarmConditionSTATESCALibrationCONFigurationSTBY StandbyON ReadyWhen the ON state is active Iload and Vload are monitored on all the active FEE segments. If one of these values is out of range then the relevant FEE segment is switched OFF and the HV system is contemporary notified to switch OFF the corresponding HV segment.During the transition ON->STBY the HV status must be checked and if it is HV-ON then the LV C.S. must kill the HV system.STATESOFFStopRunningFillingReadyLV: the bubble chart representationE. Carrone,
19 Apparatus LayoutIn order to split the PS current into several channels, each one connected to one FFE segment, a PLC relays module is used. The Vload-Iload measurement is based on a sensing board read out via 8CH ADC module.Dummy resistive LoadPower SupplySiemensS300 PLCEthernetNTWorkstationVload sensinglinePower lineCH1/2Iloadsensing lineSet and reading PS Voutfrom-toPLC relaysSensingBoardPower Supply:EUTRONBVD720S, 0-8V, 0-25 A.PLC:Siemens S300Analog Inputs 8 x 12 bit.E. Carrone,
21 Signal Conditioning ( ) The input stage of the ADC accepts the max Common Mode Voltage UCM= 2.5V. This imposes a Vsensing attenuation via a resistive net (UCM= (Vin+Vo)/2 3.9 V) .THE NET RESISTORæR2R4öæR4öV=V-V=Vç-÷+Vç÷sr++s-sin+èR1+R2R3+R4øsensingèR3+R4øR4()R3+R4V=V+VÞV=V-Vsr+pedsensingR3+R4sensingsr+pedR4In order to measure the Vped, Rsens has been put in short circuit (Vsensing=0) and this resulted in Vped=5 mV. To evaluate the Ucm attenuation factor A= R4/(R3+R4), Vsr and Vsensing have been measured and it resulted in A=0.1325:Vsensing = (Vsr - Vped)/AFinallyIload = Vsensing / RsensWith the ADC LSB of 22.4 mV in the range +-80mV, a current sensitivityd=LSB/A*Rs= 2.8 mAon the Iload is achieved. This allows the C.S. to detect the single FEE chip failure which drains 45 mA per polarity.E. Carrone,
23 PLC Instruction List TITLE =Sensing Current CH + AN Q 4.1; NETWORKTITLE =Sensing Current CH +AN Q ;S Q ; AN Q ;S Q ; AN Q ;S Q ; AN Q ;S Q ;L PIW 288;ITD ;DTR ;L e-003;*R ;T “V sensing + input ADC"; L e+000;L “V sensing + input ADC";+R ;T MD 68; L MD 68;L e+000;T MD 84; L MD 84;L e+001;/R ;T "I load +";Relays switchesADC reading value [mV]Integer: bit 32 bitPedestal offsetInteger 32 bit IEEE-FP 32 bit1/A where A=attenuation factorV I ConversionE. Carrone,
24 Control System for the CAEN SY1527 in the PVSS environment. The Configuration ProgramA devoted program reads from a file the HV sub-system configuration ( # HMPID modules, HVsegment/module) and creates the DataPoint data base in the PVSS environment.These data points are automatically created according to the specified variables (Crate/Board/Channel) of the CAEN OPC Server and it sets a link between the OPC variable addresses and the PVSS data base.
25 Monitoring panel of the HMPID HV System Alarm conditionLink to the Monitoring Panel of SY1527Link to the Monitoring Panel of the HV segmentSegment disabled“Burned-out” SegmentLink to theEnable/DisablePanelLink to theChannel Configure Panel
26 Monitoring panel of the HV Segment (when the CAEN SY1527 OPC serv Monitoring panel of the HV Segment (when the CAEN SY1527 OPC serv. Is running!)Channel settingsChannel StatusHV-ONChannel NameActual value of ParametersTrend display settingsTrend parameter Chart
27 Enabling/disabling HV Segments Option for global Enable/Disable actionSegment EnabledSegment DisabledExit
28 HV Channel configuration Parameter ValueParameter NameCancel all the changesSave the present configurationExit
29 Crate Front panel status SY1527 Control panelInserted board statusBoard descriptionPowerSystem NameEmpty slotCrate Alarm conditionCrate Front panel statusFan & Power unit StatusCrate commandsCrate settings
31 The Control system of the Liquid Circulation apparatus : from design to implementation The system descriptionLCS as a Finite State Machinethe GRAFCET representation of LCSthe Object Oriented Representation Modelthe Local / Remote Mode switch facilitythe Heart Beat Signal facilityLCS Control System: the Main Program Flow-ChartLCS the Instruction List v.0.1
32 The Liquid Circulation System … a Winner approach !!
33 The system description The aim of this apparatus is to re-circulate the C6F14 liquid radiator into a quartz vessel named RADIATOR in the figure. The hydrostatic pressure ensured by the position of the HEATHER with respect to the RADIATOR, keeps constant the flux. The system consist of a PUMP, three electrovalves EV_1, EV_2, EV_3 and four pressure sensors Pt_2, Pt_4, Pt_6, Pt_9. The tank, the radiator and the header are connected to a gas supply of Nitrogen, and Argon is used to activate the electrovalves just quoted before. The pump fills the HEADER which ensures the constant flux in the radiator once it has been filled.
34 The LCS Control System: a Finite State Machine First of all, the system is into the OFF state, all the inputs are closed and the system is into a “safety” state.A START command moves the state from OFF to “Stop”, the critical parameter are tested and the run configuration is load.The Next command is RUN that move the machine into the “Running” state, the PUMP is switched ON and the pressures are tested, during this phase the liquid fills the Header.If all the conditions are satisfy, a FILL command put the system into the “Filling” state, then start the radiator filling phase and when its level get the maximum the system moves to the “Ready” state.A PURGE command, bring the system into the “Purging” state and the radiator is made empty.When the machine is into the “Running” state a STOP command bring the system into the “Stop” state: the header is purged and the PUMP is switched OFF.The operator can also decide to run the LCS in the manual mode. In this case, he has to send a MAN command and then system is forced into the “Manual” state.All the alarm conditions puts the system into an “Alarm” state that provide the “safe mode” operation. Only a RESET command can move the system from this state.LCS: the bubble chart representation
35 The LCS Control System: the GRAFCET representation The GRAFCET representation of LCS consist of one Normal GRAFCET, that provides all the operations involved into the regular evolution of the system, and six Master GRAFCET, each one controlling particular functions as Alarm conditions, Break command, ecc.In red are reported the actions of the Master GRAFCET’s which force the Normal GRAFCET into a defined state.The NORMAL GRAFCETThe MASTER GRAFCETsAn example of GRAFCET. Transitions: a,b. States: 1,2,3. Actions: S1, S2
36 The LCS Control System: the Object Oriented Representation Model The Control Program running into the PLC performs the encapsulation of the entire LCS, it exports, to the upper DCS layers, one input COMMAND variable and one output STATUS variable.This variables are communicated by means of the OPC/DCOM protocol.Other two service variables perform the role of carriers for Configuration Parameters and Messages.During the “expert” and “ debugging” operative mode when the system has to allow the maximum accessibility, the LCS object export to the upper level all the internal variables in order to make visible the entire machine domain.
37 The LCS Control System: the Local/Remote Mode switch facility The Control Program stored into the PLC can run in a “Local Control Mode” or “Remote Control Mode”, in order to implement the facilities for debugging and development phases.In Remote Mode the system communicates by the OPC link, otherwise, in Local Mode it is connected to a front panel near the PLC.The control mode is selectable by a PLC switch.
38 The LCS Control System: the Heart Beat Signal facility ORGANIZATION_BLOCK "Hert Signal Generation"TITLE = "Cyclic Interrupt"//Blocco per la generazione del segnale di "Heart" del PLC.//Ad ogni richiamo viene variato lo stato della variabile heart_signal, oltre ad//incrementare un contatore.////ATTENZIONE ! E' necessario modificare il valore dell'intervallo di richiamo//portandolo a 1000 ms. (Simatic -> Hardware -> Proprietà CPU -> Schedulazione//OrologioVERSION : 0.1VAR_TEMPOB35_EV_CLASS : BYTE ; //Bits 0-3 = 1 (Coming event), Bits 4-7 = 1 (Event class 1)OB35_STRT_INF : BYTE ; //16#36 (OB 35 has started)OB35_PRIORITY : BYTE ; //11 (Priority of 1 is lowest)OB35_OB_NUMBR : BYTE ; //35 (Organization block 35, OB35)OB35_RESERVED_1 : BYTE ; //Reserved for systemOB35_RESERVED_2 : BYTE ; //Reserved for systemOB35_PHASE_OFFSET : WORD ; //Phase offset (msec)OB35_RESERVED_3 : INT ; //Reserved for systemOB35_EXC_FREQ : INT ; //Frequency of execution (msec)OB35_DATE_TIME : DATE_AND_TIME ; //Date and time OB35 startedEND_VARBEGINNETWORKTITLE =MainA "heart_signal";NOT ;= "heart_signal";= "HEART_LED";L "heart_signal_counter";INC 1;T "heart_signal_counter";END_ORGANIZATION_BLOCKEvery 500 milliseconds the PLC Operating System automatically run a dedicated job, named OB35, it generates the “Heart Beat” signal, in order to indicate that the PLC is “alive”The program is shown in figure and it produces a 1 Hz blinking led with a continuos increasing counter as run timer.One or all the program variables can be exported to the upper layers of DCS by the OPC link.
39 The LCS Control System: the Main Program Flow-Chart Every Scan Cycle the PLC CPU perform this actions:Stores the status of inputs into the Process Image Memory (created by the PLC Operative System)Tests an Interlock line that stop all the processesExecutes the signal conditioning of inputs (trends, thresholds, Boolean expressions)Tests the Local/Remote Mode SwitchCopies the Commands Variable from the Hardware Inputs (Local) or from the OPC Buffer (Remote)Calculates all the Boolean expressions that realize the Transition Condition of the GRAFCETActivate the States, and perform the “entry active state actions “Execute all the actions related to Active StatesSends to the Outputs the values contained into the Process Image Memory (created by the PLC Operative System).
40 The LCS Control System: the Instruction List v.0.1 BEGINNETWORKTITLE =Main loop Control// Verifica che lo Switch "Secure" sia ONA "secure";JCN fine;// chiama le funzioni che preparano il cicloCALL FB , DB ;// lettura degli input dal pannello o da remotoCALL FB , DB ;// lettura e valutazione dei pressostatiTITLE =Verifica recettività// verifica delle recettività per i MASTERA "Stato_10";AN "Stato_1";A "|stop";= "TR_12";A "Stato_12";A "gp4giu";O( ;A( ;O "gp2giu";O "gp6giu";O "gp9giu";) ;AN "STOPMODE";= "TR_14";A "Stato_14";A "|start";= "TR_16";A "Stato_16";A "|manual";= "TR_18";A primary version of Instruction List has been producedAt present it is under debugging and Test phaseIn the next future:Message communication facilitiesConfiguration procedureTime synchronizationMeasurement of the reaction timeExploitation of failure and breakdown events and relative PLC reaction...
41 Next steps:Since the HMPID DCS has to be fully integrated in the ALICE DCS then a.s.a.p. an advanced version of the JCOP Framework will be available, we intend to integrate there as much as possible of the HV, LV, Liq. Rec. Sub-systems to get a first HMPID DCS prototype. Unfortunately the present version (000921) of the framework doesn’t yet include the physical device SY1527.As soon as the CAEN SY1527 OPC server will be delivered, we intend to carry out tests on the new version (we hope equipped with the channel grouping management as we asked for to the CAEN)
42 Guidelines to implement HMPID Control Layer To integrate HV-LV-re_circulating control systems in the first HMPID DCS prototype, we are working on:Guidelines to implement HMPID Control LayerDesign of the DCS control part as a FSMImplementation of the control procedure as a PVSS extension in SMI++ languageUse the DIM protocol for the inter-process communication…..which meansTest the DIM – PVSS integrationTest the SMI++ language into PVSS environmentDesign and implement a small control procedure for the performance evaluationDefine the architecture of the lower layers interlock
43 report on DIM Testing phases DIM tools (already tested)DIM driver for PVSS - Client Side (under test)DIM driver for PVSS – Server Side (not yet implemented)DIM – PVSS performance evaluation…report on SMI++ Testing phasesImplementation and test of a control DLL into PVSS environment (done)SMI++ language structure (done)SMI++ ToolsImplementation and test of a control program in SMI++Implementation and test of a small FSM in SMI++ into PVSS environment
44 The resulting DIM – SMI++ - PVSS architecture Develop PhaseRun Time structureFSM descriptionDIMDNS ServerOther ApplicationDIM protocol basedSMI++Editing ToolsDIMTest ToolsSMI++source codeOther PVSS domainPVSS domainPVSSData Point DBUser Interface Control ProgramControl DLLDIMDriverSMI++Traslation ToolsSMI++proxy codeVisual C++Develop Envir.PVSS panelsUser InterfacePVSS External Control DLL
45 Expectation from the JCOP and CCTeam as conclusion We propose the JCOP to include in the next release of the Framework an example of DCS based on the Physical Devices CAEN SY1527 and Siemens PLC. It could be a nucleus of running DCS very useful for the sub-detector DCS developers. For this specific case we are available to suggest the Control Hierarchy(how to operate correctly the HMPID HV-LV sub-systems)The CCTeam should co-ordinate and assists the ALICE DCS developer groups and mediate specific requests with the JCOP.