fair accelerator controls strategy xxiii panda colaboration meeting 11. dez. 2007 u. krause
TRANSCRIPT
11 Dec 2007 2
Accelerator Control
• Synchronized operation of equipment– Ramp magnets, RF simultaneously– Tracking tolerance ~10 µs max
• Pulse-to-pulse switching– Different beams in successive cycles
• Specific set data
• Accelerator modelling– Equipment: Magnets, RF generators
• Each specific ramps
– Operators: Handle physical parameter• Beam energy• Extraction time• Tune• ...
11 Dec 2007 3
Distributed Decentralized System
databases
application
devicepresentation(no real-time)
equipmentcontrol
(real-time)
communication middleware
equipment
Controlobject
sub-system
Controlobject
equipm. equipm.
modeling
Controlobject
timing: event
generatorsequence control
timing events
background services
modeling
Controlobject
synchronizedcontrol engine
equipm.I/O
modeling
Controlobject
stand alonecontrol engine
equipm.I/O
operator terminals
11 Dec 2007 4
Synchronization: Central Timing
Precision of General Timing: 1 µs (100 ns ?) Sufficient for nearly all tasks in accelerator controls
Higher precision: Dedicated systems (e.g. BuTiS)
Timing Generator A
Experiment 1
Experiment 2
Timing Generator B
LPC ALPC BLPC C
EXP 1EXP 2
Sequence Control
Timing Generator C
11 Dec 2007 5
Slow Controls
• Handling valves, pumps, motors, DC power supplies, ...• Not primary focus of accelerator controls
– At least at puls-to-pulse switched facilities– GSI accelerator controls, FESA / LSA (CERN)
• Widely used in industrial environments– Many commercial products– SCADA-systems– PLCs
11 Dec 2007 6
CERN: UNICOS
• Statement CERN:– No off-the-shelf system covers needs of big installations
• CERN develops frameworkUNICOS: UNified Industrial COntrol System– based on commercial products
• SCADA: PVSS
ETM professional control
• PLCs: Siemens, Schneider
– not closely tight to dedicated systems– to fit well into accelerator control environment
11 Dec 2007 7
Industrial Control ArchitectureAccelerator Presentation Tier
Accelerator Middle Tier
control system connection to the process directly or through field-buses
Industrial Field layer
SCADA Servers
Industrial Supervision Layer
Interface to operators
(Monitoring & Command emission)
Real time DB & Archiving
Accelerator Resource TierE
ther
net
Net
wor
k
&
TC
PIP
com
mu
nic
atio
n s
ervi
ces
Control Logic Actions
Industrial Control layer PLC Process Control
PLC Process Control & Field interface
PLC Field interface
Fieldbus Networks
Operator Consoles
From CERN presentation (P. Gayet, ICALEPCS 2005)
11 Dec 2007 8
Field devicesI/O devices Process Control Objects
I/O
Board
s
An Inputposition
An Output position
ControlValve
DI End switch
DO position
On-Off Valve
AI M value PID
Equ
ipm
ent
mod
ule
AI positio
nAO
position
ControlValve
DI End switch
DO position
On-Off Valve
AI M value PID
Eq
uip
ment
mod
ule
Equ
ipm
ent
mod
ule
UN
IT
UNICOS Break Down
IN UNICOS
-Each control module or equipment module is a device
-Each device type is an Object Class
-Each device is instantiated in the control layer as PLC Object
-Equipment modules and Units are embedded in a unique object class : Process Control Object
-All PLC Object classes are based on the same model
From CERN presentation (P. Gayet, ICALEPCS 2005)
11 Dec 2007 9
Layers IntegrationIn the Supervision layer a proxy is associated to each objectThis proxy will present the relevant object info to the operator And allow manual command emission
Industrial Supervision Layer
Industrial Control Layer
Object status
Human Requests
SCADA Object HMIParameters
Manual Request
Information display
SCADAProxy
Auto. Requests
Object logic
Orders
PLC ObjectObject status
Manual Requ.
ParametersProcess Inputs
Process
From CERN presentation (P. Gayet, ICALEPCS 2005)
11 Dec 2007 10
UNICOS Applications
• Coding– Automated code generation
• PLCs: Skeletons, common modules (interlock, configuration, ...)
– GUI library• Produce GUIs by drag-and-drop drawing
• Instantiation– Instance Generator
• Input: EXCEL spreadsheets
– Automated middleware configuration