LHC Gas Control Systems
description
Transcript of LHC Gas Control Systems
LHC Gas Control Systems
Geraldine ThomasK. Azarov, R. Barillère, S. Cabaret, N. Kulman, X.Pons, J. Rochez.
A model-driven approach for automatic PLC and SCADA code generation
ICALEPCS 2005, Geneva, Switzerland
ICALEPCS 2005 -FR2.3-6O 2
Outline
Problem description Objectives Strategy/principles Development status/planning Summary
ICALEPCS 2005 -FR2.3-6O 3
Problem description
4 Experiments ~23 gas systems to build
Commonalities Standard devices
Valves, flow meters, mass flow controllers, etc… Modular architecture
Mixer, Distribution, Pump, Analysis, Purifier, etc…
Diversity Optional modules Options in modules
ICALEPCS 2005 -FR2.3-6O 4
Gas system layout
Purifier
Mixer
Recovery
Pump
Primary Gas Supply
Analysis
USA 15
UX cavern
Analysis
Dis
trib
uti
on
Gas building
Functional modules
Other ModulesCO2 Absorber, CO2 Envelope,
ExhaustHumidifier
ICALEPCS 2005 -FR2.3-6O 5
Gas modules’ diversity
Gas x
0
T
T
PT
Optional devices
Architecturevariation
PT
PT
PT
ICALEPCS 2005 -FR2.3-6O 6
Objectives Homogeneous end-user applications
Complete control applicationsComplete control applications
Supervision layerSupervision layer Views, trending, navigation means, alarm Views, trending, navigation means, alarm
handling, recipeshandling, recipes Process control layerProcess control layer
Access to field devices, FSM, interlockAccess to field devices, FSM, interlock Middleware Middleware
Develop/maintain the applications Develop/maintain the applications with limited resourceswith limited resources
ICALEPCS 2005 -FR2.3-6O 7
PVSS graphical object
Supervision Layer
Middleware
Process ControlLayer
GCS instance: 3-layer control application
Gas module operational states
Trees
Views
Recipes
HMI ApplicationSCADA - PVSS
Communication
Logic Control Application IEC 61131 Languages
Interlock logic
PLC objects Library
I/O objects
Field objectsControl objects
PVSS objects Library
PLC object proxies
ICALEPCS 2005 -FR2.3-6O 8
Strategy/principles Strategy
Gas systems’ architecture based on a generic model Use industrial technologies
SCADA, PLC, fieldbuses Use of UNICOS FW
PVSS and PLC object libraries Time stamped middleware Data-driven code generator tools
Principles Model-oriented design for both
Supervision Process control
Automatic generation of input files for the supervision and process layers
Tools to automate the PVSS code production
ICALEPCS 2005 -FR2.3-6O 9
Model-oriented logic
specifications
PVSS & PLC
Objects instantiation
Model-orientedSupervision
design Object DP instances
UNICOS SCADA
Views, trees, recipes, etc.
UNICOS baseline
UNICOS Middleware
Object DFB instances
Logic control
PLC
Supervision
LHC GCS instance
objectsspec
Automaticproduction
Automaticproduction
Meta-Model
Objectslogic
Configuration files
Code generation data flow
ICALEPCS 2005 -FR2.3-6O 10
The meta-model What it is
Repository for all gas systems Contains the value of the options for each
gas system What it does
Generate configuration and specification files for both layers
Supervision Process control
What it provides Tools to edit the repository and generate
the files of any gas instance
ICALEPCS 2005 -FR2.3-6O 11
Model-oriented logic
specifications
PVSS & PLC
Objects instantiation
Model-orientedSupervision
design Object DP instances
UNICOS SCADA
Views, trees, recipes, etc.
UNICOS baseline
UNICOS Middleware
Object DFB instances
Logic control
PLC
Supervision
LHC GCS instance
objectsspec
Automaticproduction
Automaticproduction
Meta-Model
Objectslogic
Configuration files
Code generation data flow
ICALEPCS 2005 -FR2.3-6O 12
Application developer
Supervision layer
GCS instance (e.g. Alice TPC)
functionality
meta-model
Gas system options
Tools
Generation rulesCatalog of view
templates
Supervision functionality generation
Configuration files
Component templates
Application developer
Generic template files
ICALEPCS 2005 -FR2.3-6O 13
Model-oriented logic
specifications
PVSS & PLC
Objects instantiation
Model-orientedSupervision
design Object DP instances
UNICOS SCADA
Views, trees, recipes, etc.
UNICOS baseline
UNICOS Middleware
Object DFB instances
Logic control
PLC
Supervision
LHC GCS instance
objectsspec
Automaticproduction
Automaticproduction
Meta-Model
Objectslogic
Configuration files
Code generation data flow
ICALEPCS 2005 -FR2.3-6O 14
PVSS and PLC objects instantiation
Meta-modelApplication developer
Objects’ specifications(GCS instance)
UNICOSTools
GCS object types Templates (PVSS & PLC)UNICOS object type
templates
PVSS objects
PLC objects
GCS instance (e.g. Alice TPC)
Middleware
GCS add-insApplication developer
ICALEPCS 2005 -FR2.3-6O 15
Model-oriented logic
specifications
PVSS & PLC
Objects instantiation
Model-orientedSupervision
design Object DP instances
UNICOS SCADA
Views, trees, recipes, etc.
UNICOS baseline
UNICOS Middleware
Object DFB instances
Logic control
PLC
Supervision
LHC GCS instance
objectsspec
Automaticproduction
Automaticproduction
Meta-Model
Objectslogic
Configuration files
Code generation data flow
ICALEPCS 2005 -FR2.3-6O 16
Control logic generation
Application developermeta-model
Commontool
PLC
GCS instance (e.g. Alice TPC)
Control logic code
Objects’ dependent logic
Logic code templates
Application developer
ICALEPCS 2005 -FR2.3-6O 17
Development status/planning GCS instances commissioning
A first gcs instance developed by hand. (Alice TPC) The model-driven approach validated with automatic
generation of the same gcs instance Another gcs instance is in preparation (Atlas RPC)
Framework and tools A complete and working generation process
set of tools to generate the PVSS and PLC code Most of gas module types have been implemented in
the supervision (views) and process layers (process behavior)
All supervision functionality have been implemented
ICALEPCS 2005 -FR2.3-6O 18
Benefits of this approachA complete automatic generation process to
produce the PVSS and PLC code of any GCS instance.
Application developer
meta-model
tools
Alice TPC(2 gas lines)
PVSS code
Supervision files
Logic files
PLC code
Objects options Objects options
Alice PMD)
PVSS code
PLC code
1. Generate any GCS instance
2. Generate same instance but with different options
3. Add a new gas module type
Alice TPC(3 gas lines)
ICALEPCS 2005 -FR2.3-6O 19
Summary
Tested/validated/in use Based on standard technologies Based on existing software control libraries (UNICOS FW)
Features and Benefits Keep homogeneity across the systems Open architecture –extensible
Easily upgraded/maintained Flexibility
Can easily add new gas module types Allow option value changes/propagate changes across layers
Time saving Development of a new application Generation process of a control application
Model-driven approach which produces the full PVSS and PLC code of a control application
Thanks !
WE2.2-6I
PO1.042-6
WE2.1-6O
WE3A.2-6O