W. Mexner, PCaPAC08 20-26
KIT – die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
Experiences with PVSS II @ ANKA
2.5 GeV storage ring in south germany
die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
Experiences with PVSS II @ ANKA
www.kit.edu/anka
W. Mexner
K. Cerff
T. Spangenberg
W. Mexner, PCaPAC08 20-26
KIT – die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
Talk Outline
• ANKA control systems until
• Selection criterias for a SCADA system
• What is PVSS II
• Integration of PVSS II at ANKA
• Constraints of PVSS II at ANKA
• Open issues
• Summary
die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
ANKA control systems until 2006
Selection criterias for a SCADA system
Integration of PVSS II at ANKA
Constraints of PVSS II at ANKA
W. Mexner, PCaPAC08 20-26
KIT – die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
ANKA Control Systems
Storage Ring Control(ACS)
Cooling, Air Conditioning(IGSS)
RF Control(IGSS)
Storage Ring (PLC)
Beamline(Gamma)
Beamline Personnel
Safety
(Pilz)
Diversity of autonomous control systems in
die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
Infrastructure Facilities
(IGSS)
Ring Interlock(PLC)
Beamline Control(Gamma)
Personnel
System
(Pilz)
Experiment Control(spec)
Insertion Devices(Labview)
Radiation MonitoringSystem
Diversity of autonomous control systems in 2006
W. Mexner, PCaPAC08 20-26
KIT – die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
Selection criterias for a SCADA System
• available commercial support
• scalability of hard- and software
• open architecture
• object oriented development approach
• distributed development
• running under windows and linux
• easy to handle alarming features
=> PVSS II is fitting all criterias
die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
Selection criterias for a SCADA System
available commercial support
and software
object oriented development approach
running under windows and linux
easy to handle alarming features
=> PVSS II is fitting all criterias
W. Mexner, PCaPAC08 20-26
KIT – die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
The Supervisory Control And Data Acquisition (SCADA) system.
Commercial product from ETM, Austria
PVSS is a TOOL to develop a control system!
What is PVSS II?
die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
The Supervisory Control And Data Acquisition
Commercial product from ETM, Austria
PVSS is a TOOL to develop a control system!
W. Mexner, PCaPAC08 20-26
KIT – die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
What is PVSS II?
PVSS II has capabilities for:
• Device Description – Data points, and data point items
• Device Access– OPC, ProfiBus, TCP/IP in scripts, own drivers and APIs,…
• Alarms– Generation, masking, display, filtering, summarizing
• Archiving, Trending, Logging
• User Interface Builder
• Access Control
die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
Data points, and data point items
OPC, ProfiBus, TCP/IP in scripts, own drivers and APIs,…
Generation, masking, display, filtering, summarizing
Archiving, Trending, Logging
W. Mexner, PCaPAC08 20-26
KIT – die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
Integration of new devices in PVSS II
Control Script
In GUI
- Special value conversion
- user interface functions
Standalone
- APIs
- specific alarm handling
-…
•C like interpreted language
•Procedural
•System independend
•Access to PVSS II® structure
die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
Integration of new devices in PVSS II
API-Manager
•C++ based programs
•Object orientated
•System independend class library
•Access to PVSS II® structure
Communication to not natively
supported devices
-Beamline safety
-Vacuum controller
-Storage Ring Control
-Experiment Control
W. Mexner, PCaPAC08 20-26
KIT – die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
Integration of PVSS II
Experiment Control(spec)
Storage Ring Control(ACS)
EventInsertion Devices
ANKA
PV
SS
AN
KA
PVSS
OP
C
API
AP
I
internal
die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
Beamline Control
Beamline PersonnelSafety System (Pilz)Event
Archiving and AlarmingServices
PVSS-UI PLC
PV
SS
PVSS
PVSS
AN
KA
UI
S7
AP
I
internal
TCP/IP
W. Mexner, PCaPAC08 20-26
KIT – die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
Integration of PVSS II –
Experiment PC spec
Can-Bus
VME-Crate
Stepper
PVSS II PVSS II PVSS II PVSS II Central ServerCentral ServerCentral ServerCentral Server
GPIB
RS232
TACO-Server
MEASU
RM
ENT LAN
TCP/IP
TacoManager
Beamline Experiment
spec2acs Gateway
Storage Ring
Experiment I/O
Experiment I/O
Stepper
Counter
Stepper
Fieldbus
VME/PCIVME/PCIVME/PCIVME/PCI
TangoManager
die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
Beamline View
Beamline Profibus
PVSS II PVSS II PVSS II PVSS II Beamline GUI Beamline GUI Beamline GUI Beamline GUI
Shutter open/close via I/O signal
ANKA LAN TCP/IP
Shutter
Pilz BPSS
(Personnel Safety)
Beamline Optics
Hutch Hutch Hutch Hutch 1 1 1 1 I/OI/OI/OI/OValvesPumpsThermocouples
Siemens S7
Beamline-Safety
Hutch Hutch Hutch Hutch 2 2 2 2 I/OI/OI/OI/OValves PumpsThermocouples
W. Mexner, PCaPAC08 20-26
KIT – die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
Integration of PVSS II – Beamline GUI
die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
Beamline GUI
W. Mexner, PCaPAC08 20-26
KIT – die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
Integration of PVSS II – Storage Ring GUI
die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
Storage Ring GUI
W. Mexner, PCaPAC08 20-26
KIT – die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
Integration of PVSS II – Status
Cooling, Air Conditioning
RF Control
Beamline Control
Infrastructure Facilities
Beamline Control
(Gamma)
Insertion Devices
Experiment Control
(spec)
TCP/IPTCP/IP
die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
Status 2008
Storage Ring Control
(ACS)
Radiation Monitoring
System
Storage Ring Interlock
(PLC)
Beamline Personnel
Safety System
(Pilz)
W. Mexner, PCaPAC08 20-26
KIT – die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
(Small) Constraints of PVSS II at ANKA
Problem for all SCADA systems
– High flexibility => Risk of to high complexity
– Bad script design could slow down total system
– Bad parameterisation of data point addresses could crash drivers (automatical restart)
PVSS II specific
– Slight panel differences windows/linux
– Avoid windows features for linux panels
– Its a SCADA System – 10 Hz update rate is „high speed“
die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
(Small) Constraints of PVSS II at ANKA
Problem for all SCADA systems
High flexibility => Risk of to high complexity
Bad script design could slow down total system
Bad parameterisation of data point addresses could crash
Slight panel differences windows/linux
Avoid windows features for linux panels
10 Hz update rate is „high speed“
W. Mexner, PCaPAC08 20-26
KIT – die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
Open Issues
• Upgrade of all beamlines will be finished in 2010
• Operators are using only a few percent of the capabilities =>Training required
• Optimising alarm handling is a continous process
die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
Upgrade of all beamlines will be finished in 2010
Operators are using only a few percent of the capabilities =>Training required
Optimising alarm handling is a continous process
W. Mexner, PCaPAC08 20-26
KIT – die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
Summary
• PVSS II is a useful tool to develop a manageable SCADA system
• Suitable for accelerator and beamline control.
• Open structure allows a straightforward integration of the different autonomous systems at ANKA.
• The new alarming and warning features allow preventive maintenance measures
• new system is in high acceptance by the ANKA operational staff
die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
II is a useful tool to develop a manageable
Suitable for accelerator and beamline control.
Open structure allows a straightforward integration of the different autonomous systems at ANKA.
The new alarming and warning features allow preventive maintenance measures
new system is in high acceptance by the ANKA
W. Mexner, PCaPAC08 20-26
KIT – die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
Experiences with PVSS II @ ANKA
Thank You
die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
Experiences with PVSS II @ ANKA8
Thank You
W. Mexner, PCaPAC08 20-26
KIT – die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
What is PVSS II?
Experimental equipment
WAN
Storage
Oth
er sy
stem
s
Safe
ty, .
..)
Configuration DB,
Archives,
Log files, etc.
Controller/
PLC VME
Field Bus
Node Node
Based on an original idea from LHCb, CERN
die Kooperation von
Forschungszentrum Karlsruhe GmbH
und Universität Karlsruhe (TH)
Supervision
Process
Management
Field
Management
Technologies
LAN
VME
LAN
Layer Structure
Sensors/devices
Field buses & Nodes
PLC
OPC
Communication Protocols
SCADA
VME
Modbus
spec
Commercial Custom
TCP/IP