Presentation is loading. Please wait.

Presentation is loading. Please wait.

DCS Meeting - 17/6/2002 G. De Cataldo, A.Franco - INFN Bari - 1 The implementation of the HMPID DCS in the PVSS-JCOP Framework The Liquid Circulation and.

Similar presentations


Presentation on theme: "DCS Meeting - 17/6/2002 G. De Cataldo, A.Franco - INFN Bari - 1 The implementation of the HMPID DCS in the PVSS-JCOP Framework The Liquid Circulation and."— Presentation transcript:

1 DCS Meeting - 17/6/2002 G. De Cataldo, A.Franco - INFN Bari - 1 The implementation of the HMPID DCS in the PVSS-JCOP Framework The Liquid Circulation and High Voltage Subsystems: design, implementation and integration of the Device Units into the JCOP- Framework environmentThe Liquid Circulation and High Voltage Subsystems: design, implementation and integration of the Device Units into the JCOP- Framework environment HV Subsystem First prototype resultsHV Subsystem First prototype results

2 DCS Meeting - 17/6/2002 G. De Cataldo, A.Franco - INFN Bari - 2 The Liquid Circulation sub-system design and integration of the Device Unit into the JCOP-Framework environment LCS: the bubble chart representation For the Liquid Circulation Sub-system: The requirement list of the LC sub- system has been written,The requirement list of the LC sub- system has been written, Then the functional states of the system have been defined,Then the functional states of the system have been defined, A State / Transition chart has been drawn.A State / Transition chart has been drawn. Then a control system representation by the Grafcet language has also been done,Then a control system representation by the Grafcet language has also been done, Finally a complete Control Program has been coded as a Siemens STEP7 instruction list with an Object Oriented approach …Finally a complete Control Program has been coded as a Siemens STEP7 instruction list with an Object Oriented approach …

3 DCS Meeting - 17/6/2002 G. De Cataldo, A.Franco - INFN Bari - 3 The LC sub-system : the PLC control program as a Finite State Machine A devoted interface running into the Control Program stored into the PLC performs the encapsulation of the entire Liquid Circulation System, it exports, to upper DCS layers, one input COMMAND variable and one output STATUS variable.A devoted interface running into the Control Program stored into the PLC performs the encapsulation of the entire Liquid Circulation System, it exports, to upper DCS layers, one input COMMAND variable and one output STATUS variable. This variables are communicated by means of the OPC/DCOM protocol.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.Other two service variables perform the role of carriers for Configuration Parameters and Messages. Due to the fact that the operative mode “expert” and “debug” requires more detailed access to the system, the LCS object also export all the internal variables in order to make visible the entire machine parameters.Due to the fact that the operative mode “expert” and “debug” requires more detailed access to the system, the LCS object also export all the internal variables in order to make visible the entire machine parameters. The Control Program executes also the signal conditioning and filter and the Engineering Units conversionThe Control Program executes also the signal conditioning and filter and the Engineering Units conversion

4 DCS Meeting - 17/6/2002 G. De Cataldo, A.Franco - INFN Bari - 4 FSM DP FSM Device Units Main Rack Valves Pressure Temperature FSM DP FSM Device Units Modules DCOM/OPC connection LC SubSystem Domain Control Unit LC SubSystem Domain Control Unit The LCS Control System: the integration into the JCOP Framework environment Siemens S300 PLC Purify & Analisys DCOM/OPC connection Pump Station Pressure The Action / State variables of PLC control program are linked, by OPC server, to a PVSS DataPoint by means of Framework configuration toolsThe Action / State variables of PLC control program are linked, by OPC server, to a PVSS DataPoint by means of Framework configuration tools This DataPoint is defined as Logic Device that became the interface point for the FSM Device UnitThis DataPoint is defined as Logic Device that became the interface point for the FSM Device Unit Some Configuration/Monitoring panels are created into the Framework environmentSome Configuration/Monitoring panels are created into the Framework environment For each Device Unit an associated FSM has been defined by means of FSM-Framework toolsFor each Device Unit an associated FSM has been defined by means of FSM-Framework tools Finally a Liquid Circulation Domain Control Unit has been created with the relative SMI++ control programFinally a Liquid Circulation Domain Control Unit has been created with the relative SMI++ control program NO additional software required for the Framework integration !!NO additional software required for the Framework integration !!

5 DCS Meeting - 17/6/2002 G. De Cataldo, A.Franco - INFN Bari - 5 OFF : The HV Sub System is OFF, Power Supply is switched OFF STATUS CONFIG : The Functional parameters are loaded and set into the PVSS Data points, if the module is enabled go into STANDBY else into the DISABLED state STANDBY : The system is ready to power on the HMPID HV segments RAMPUP : The HV segments are switched ON READY : The HV sub system is ready for Physics RAMPDOWN : The HV segments are switched OFF Standby : It loads the module configuration and it brings the system on STANDBY status ACTIONS HVon : It switch ON all the configured HV channels HVoff : It switch OFF all the configured HV channels Off : go to the OFF status. Reset : To exit from the Error Status The HV sub-system design and integration of the Device Unit into the JCOP-Framework environment The requirement list of the HV sub-system has been drawnThe requirement list of the HV sub-system has been drawn Then the functional states of the system are definedThen the functional states of the system are defined A State / Transition chart has been implemented for the HV Modules, HV Power Supply units and the HV Sub-SystemA State / Transition chart has been implemented for the HV Modules, HV Power Supply units and the HV Sub-System

6 DCS Meeting - 17/6/2002 G. De Cataldo, A.Franco - INFN Bari - 6 FSM DP FSM Device Units HVm2 FSM DP FSM Device Units HVm2 CAEN SY1527 HV Channels Framework device DPs DCOM/OPC connection HV SubSystem Domain Control Unit HV SubSystem Domain Control Unit FSM DP FSM Device Units HVm1 Interface Program The HV Control System: the integration into the JCOP Framework environment All the parameters and variable of the CAEN SY1527 Crate are linked, by OPC server technology, to a set of PVSS DataPoint by means of Framework configuration facilitiesAll the parameters and variable of the CAEN SY1527 Crate are linked, by OPC server technology, to a set of PVSS DataPoint by means of Framework configuration facilities Some DataPoint are defined as Logical Device, one for the HV Power Supply Station and 7 for the HV Modules, they will became the interface point for the FSM Device UnitSome DataPoint are defined as Logical Device, one for the HV Power Supply Station and 7 for the HV Modules, they will became the interface point for the FSM Device Unit For each Device Unit an associated FSM has been defined using FSM-Framework toolsFor each Device Unit an associated FSM has been defined using FSM-Framework tools A High Voltage Domain Control Unit and the relative SMI++ control program has been createdA High Voltage Domain Control Unit and the relative SMI++ control program has been created A devoted Interface Control Scripts Program is requested to convert, all the information coming from the SY1527, into some logical objects that could reproduce an FSM behavior … 

7 DCS Meeting - 17/6/2002 G. De Cataldo, A.Franco - INFN Bari - 7 HVm1 [hmpidHVM] HVm1 [hmpidHVM] HVm1 [hmpidHVM] HVm1 [hmpidHVM] HVm1 [hmpidHVM] HVm1 [hmpidHVM] Primo_board01_ch01 [FwCaenChannel] Primo_board01_ch01 [FwCaenChannel] Primo_board01_ch01 [FwCaenChannel] Primo_board01_ch01 [FwCaenChannel] Primo_board01_ch01 [FwCaenChannel] Primo_board01_ch01 [FwCaenChannel] Primo_board01 [FwCaen1527Board] Primo_board01 [FwCaen1527Board] Primo_board01 [FwCaen1527Board] Primo_board01 [FwCaen1527Board] 1 CAEN SY1527 crate 1 CAEN SY1527 crate 5 CAEN A1821 boards 5 CAEN A1821 boards 49 CAEN HV channels 49 CAEN HV channels HV Power Supply HV Power Supply HV Module 3 HV Module 4 HV Module 5 HV Module 6 HV Module 2 HV Module 7 HV Module 1 Physical Devices FSM Device Units Primo [FwSy1527] Primo_board01 [FwCaen1527Board] Primo_board01_ch01 [FwCaenChannel] HVpa1 [hmpidHVPS] HVm1 [hmpidHVM] Jasd j i= 0 If(kjsad) asd asda Jkd askd aksd kaksd as Asdas asd Jasd j i= 0 If(kjsad) asd asda Jkd askd aksd kaksd as Asdas asd Event fired by values changes Change of Device Status Event fired by Request Action Command to Devices The HV Control System: the Interface Control Script Program 1.When an action is requested to a FSM Device Unit by the Domain Control Program, it changes the value of a DataPoint. 2.This produces the execution of a subroutine that valuate the situation and modify all the relate DataPoint config. 1.When a value of Physical Device parameter will change, the relative DataPoint config value changes. 2.This starts a subroutine that valuate the new global situation and modify the status of the relevant FSM Device Units

8 DCS Meeting - 17/6/2002 G. De Cataldo, A.Franco - INFN Bari - 8 HMPID DCS Prototype: HV monitoring in the FW Device Navigator A custom panel for the HV module monitoring has been developed. This panel avoids the monitoring of Voltage and Current of each segments ; also the status of channel can be seen. A custom panel for the HV module monitoring has been developed. This panel avoids the monitoring of Voltage and Current of each segments  ; also the status of channel can be seen. A trend button placed in the rightmost position of segment row, allows to open the trend view of the channel. A trend button placed in the rightmost position of segment row , allows to open the trend view of the channel. A push button labeled “Control” open the panel to perform action on the HV module FSM A push button labeled “Control”  open the panel to perform action on the HV module FSM 1 3 2

9 DCS Meeting - 17/6/2002 G. De Cataldo, A.Franco - INFN Bari - 9 HMPID DCS Prototype: HV FSM Control Unit session snapshot An example of HV Sub System RAMPUP phase: The control panel opened from Device Editor & Navigator has taken the control of the HV sub-system, as visible into the FSM- Framework panel The control panel  opened from Device Editor & Navigator  has taken the control of the HV sub-system, as visible into the FSM- Framework panel . The RAMPUP state is reached after that a HVon command is send to the Control Unit. The telnet section on the SY1527 crate allows a real time feedback control The telnet section on the SY1527 crate allows a real time feedback control  The Power Supply Unit is in READY state during all the operations. The modules from 2 to 7 are disabled The Power Supply Unit is in READY state during all the operations. The modules from 2 to 7 are disabled  1 3 2 4 5

10 DCS Meeting - 17/6/2002 G. De Cataldo, A.Franco - INFN Bari - 10 Experiment parameters set #1 Experiment parameters set #1 HMPID DCS Prototype: External DB Setting Configuration DB Experiment parameters set #1 Name 1  Value Name 2  Value Dictionary Name 1  DP 1 In order to allow the use of a centralized repository of the Experimental parameters settings, a Configuration DB has been created. The parameters are stored as a list of couples (Name,Value) where the name represent a symbolic name of a parameter. Each couple (Name,Value) is converted in the correspondent couple (DataPoint, Value) by means of a Dictionary that performs the translation NameDataPoint. Each couple (Name,Value) is converted in the correspondent couple (DataPoint, Value) by means of a Dictionary that performs the translation Name  DataPoint. PVSS DB DP 1  Value - Definition : a custom panel added to the FW environment allows the definition of Symbolic Name into the Dictionary. -  Definition : a custom panel added to the FW environment allows the definition of Symbolic Name into the Dictionary. - Store a configuration: a control script program is able to record, into the Configuration DB, all the parameter values of the “Experiment Setup” presented at that time in the PVSS Data Base. This is like a “snapshot” of the actual configuration. -  Store a configuration: a control script program is able to record, into the Configuration DB, all the parameter values of the “Experiment Setup” presented at that time in the PVSS Data Base. This is like a “snapshot” of the actual configuration. - Load a configuration: a control script program reads all the values of an “Experiment Setup” and by means of the Dictionary writes into the PVSS Data Point Element. -  Load a configuration: a control script program reads all the values of an “Experiment Setup” and by means of the Dictionary writes into the PVSS Data Point Element. 3 2 1 Control Script Control Script

11 DCS Meeting - 17/6/2002 G. De Cataldo, A.Franco - INFN Bari - 11 HMPID DCS: External DB Setting first prototype Configuration panel into the FW for the creation of the Dictionary entry. Example of a complex symbolic name. The Load/Store Configuration Setting panel.


Download ppt "DCS Meeting - 17/6/2002 G. De Cataldo, A.Franco - INFN Bari - 1 The implementation of the HMPID DCS in the PVSS-JCOP Framework The Liquid Circulation and."

Similar presentations


Ads by Google