Download presentation
Presentation is loading. Please wait.
1
Automation and Feedbacks
Accelerator Controls Conceptual Design Review, 14. Dec. 2009 Raimund Kammering
2
Guidelines and concepts Feedbacks frameworks FBM API Examples
Outline Guidelines and concepts Feedbacks frameworks FBM API Examples Automation frameworks Sequencer FSM and DOOCS server Categorizing the tasks Summary/conclusions Accelerator Controls Conceptual Design Review, 14. Dec. 2009, Raimund Kammering - MCS4
3
Guidelines and concepts
Energy Automation Orbit Bunch compression Machine startup/shutdown … File loading Klystron startup Feedbacks … Accelerator Controls Conceptual Design Review, 14. Dec. 2009, Raimund Kammering - MCS4
4
Guidelines and concepts
Use experience gained at FLASH FLASH is a small version of the XFEL Developed and test at FLASH (partly PETRA) be ready when XFEL (construction) gets ready Develop generic recipes and frameworks ensure portability (FLASH XFEL) Implement on middle layer where possible have common interfaces & exception handling reduce load on front ends to e.g. avoid “wildly running FBs” Accelerator Controls Conceptual Design Review, 14. Dec. 2009, Raimund Kammering - MCS4
5
Feedbacks (and monitors)
Presentation layer Displays Monitor Control Middle layer Feedbacks Automation Front-end layer Front-ends Machine Accelerator Controls Conceptual Design Review, 14. Dec. 2009, Raimund Kammering - MCS4
6
Feedbacks (and monitors): Frameworks
Three frameworks are offered: Feedback and Monitor (FBM) API generic feedback framework DOOCS DAQ data type (D_daq) server natural DOOCS features but still DAQ bound conventional DOOCS servers DOOCS server on middle layer FBM C++ C++ Accelerator Controls Conceptual Design Review, 14. Dec. 2009, Raimund Kammering - MCS4
7
Feedbacks (and monitors): Frameworks
MATLAB ddd / jddd FileManager, save & restore Other applications Network interface on/off -- algorithm -- set points/parameter DAQ shared memory DOOCS DAQ shared mem. e.g. actuator DOOCS feedback Other Parameter channel Input Filter … Output channel … C++ or MATLAB feedback/monitor algorithm FBM server Accelerator Controls Conceptual Design Review, 14. Dec. 2009, Raimund Kammering - MCS4
8
Feedbacks (and monitors): Integration
Client layer Display Display C++ DOOCS server FBM Feedback Monitor server Middle layer DAQ server Central shared memory FBM C++ Front-end layer Front end Hardware C++ … Front end Hardware C++ … Front end Hardware C++ … … Accelerator Controls Conceptual Design Review, 14. Dec. 2009, Raimund Kammering - MCS4
9
Feedbacks (and monitors): Examples
FBM server examples at FLASH Beam energy (FEL and bypass line) (MATLAB) Gas monitor detector (GMD) (C++) LLRF vector sum calculations (C++) Photon energy/wavelength (C++) Beam arrival time feedback (MATLAB) DOOCS D_daq type server examples at FLASH Quench detection Charge calculator Beam power Accelerator Controls Conceptual Design Review, 14. Dec. 2009, Raimund Kammering - MCS4
10
Automation Feedbacks Automation Displays Monitor Control Front-ends
Presentation layer Displays Monitor Control Middle layer Feedbacks Automation Front-end layer Front-ends Machine Accelerator Controls Conceptual Design Review, 14. Dec. 2009, Raimund Kammering - MCS4
11
Automation: Frameworks
Three possible approaches: Sequencer slow man controlled procedures Finite state machines automated (looping) procedures DOOCS server other hardwired, fast procedures Sequ. FSM C++ Accelerator Controls Conceptual Design Review, 14. Dec. 2009, Raimund Kammering - MCS4
12
Automation: Integration
Client layer Display Display DOOCS server Feedback Monitor server Sequ. Sequencer FSM Finite State machine C++ FBM Middle layer DAQ server Other server Other server Central shared memory … Sequ. FBM C++ FSM FSM Front-end layer Front end Hardware C++ … Front end Hardware C++ … Front end Hardware C++ … … Accelerator Controls Conceptual Design Review, 14. Dec. 2009, Raimund Kammering - MCS4
13
Automation: Sequencer
Sequencer done by P. Castro and J. Maass In standard operation at PETRA and FLASH Fits all needs, except … … need extension to allow cascading of sequences some architectural rework needed (implement as service) Accelerator Controls Conceptual Design Review, 14. Dec. 2009, Raimund Kammering - MCS4
14
Automation: FSM, DOOCS server
FSM designer Can not use old (ddd based) create new one in jddd? create FSM C++ library? we need scenarios/use cases! DOOCS server mainly for hardware near automation mostly used on front-end … but can also be used on middle layer Accelerator Controls Conceptual Design Review, 14. Dec. 2009, Raimund Kammering - MCS4
15
Categorizing the tasks
Implementation Layer Partial RF vector sums DOOCS server Front-end Total RF vector sum FBM API or DOOCS server Middle layer RF Phase and energy information DOOCS server? Energy measurements FBM API Orbit display jddd/Java + server Middle layer, Display layer Transmission display jddd/Java? Display layer Charge display Photon wavelength Energy stabilization Orbit feedback Bunch compression Charge feedback Global klystron automation FSM Klystron automation DOOCS sever or FSM Global LLRF automation DOOCS server/FSM? LLRF station automation File loading / machine set up Sequencer Machine startup / shutdown Accelerator Controls Conceptual Design Review, 14. Dec. 2009, Raimund Kammering - MCS4
16
Measured performance and gained experience meets requirements
Summary/conclusions Existing frameworks are sufficient for solving the expected high level software tasks Measured performance and gained experience meets requirements Frameworks cover full range of expected applications Test and implementations at FLASH need to be continued A graphical FSM designer or library might be helpful Needed tools lists and use cases need to be completed monitors and actuators need to be specified algorithms and data exchange must be worked out Accelerator Controls Conceptual Design Review, 14. Dec. 2009, Raimund Kammering - MCS4
17
Thank you for the attention!
End Thank you for the attention! some links to the covered frameworks: DOOCS server: doocs.desy.de DOOCS client server FBM API: doocs.desy.de Papers PCaPAC 2006 DOOCS D_daq: doocs.desy.de Doxygen DOOCS DAQ API Sequencer: flash.desy.de The File Catalog System at FLASH FSM: doocs.desy.de DOOCS client server FSM … Accelerator Controls Conceptual Design Review, 14. Dec. 2009, Raimund Kammering - MCS4
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.