icalepcs 2007, knoxville, tennessee, october 15-19, 2007

1
ICALEPCS 2007, Knoxville, Tennessee, October 15-19, 2007 Use of a 3-layer Control System for Non-Destructive Beam Probe Monitor D.Yu.Bolkhovityanov, D.A.Malyutin, A.A.Starostenko The Budker Institute of Nuclear Physics, Novosibirsk, Russia The non-destructive beam probe is based on the scanning of a thin electron beam within the energy range 20-100kV in the electromagnetic field of an intensive relativistic bunch. A CCD-camera is used to view the beam “image”. Initially the facility was controlled by a standalone application. This was dictated mainly by specifics of a CCD-camera and digital oscilloscopes, which are required for tuning. Now, when CCD- camera and digital oscilloscopes are fully supported by a CX networked control system (based on the 3-layer model), the standalone application was replaced by a CX-based set of programs. This enables remote operation, with several applications running in parallel. Additionally, this architecture allows use of scripting facilities to automate various routine tasks, which previously had to be done by hand. Abstract This work gave us one more proof that all automation should apply 3-layer model, not “do-it-all” program. 3-layer model makes automation a much easier task. Charge distribution monitors were the last VEPP-5 system to use “standalone application” approach. Now, VEPP-5 Conclusion Much smaller and simpler application. Modifications, requested by users, are performed much more quickly and easily. No more need to support several variants of app for different CDMs. As CX is a distributed networking system, various long and boring operations can be easily automated with shell-scripting. Several instances of the same app can be run from different places simultaneously. Being a native CX application, the program can show (and allow to control) related Results NDBP (EBP, CDM) Phot o came ra MC P Phosp hor scree n Elect ron Gun Defle ctor Reconstru ction of charge distribut ion… data Inves tigat ed bunch A thin low-energy electron beam moves across relativistic bunch motion, then making a “picture” on a screen, which allows to obtain information about relativistic bunch parameters. Electron beam probe, installed on the electron linear accelerator VEPP-5 Ne=1*10 10 Energy=125MeV, Longitudinal bunch size ~ 6mm Electron beam probe, installed on the electron storage ring VEPP-4 Ne=1*10 10 Energy=2GeV, Longitudinal bunch size ~ 100 mm Due to use of electron beam this device is also named ``electron beam probe'‘ (EBP). And as its main application is charge distribution measurement, it is often called “charge distribution monitor” (CDM). 5 CDMs used in BINP: at VEPP-5 linac at VEPP-5 ring at VEPP-4 2 test setups In 2008 one device will be supplied to SNS ORNL, and one to KEK. 2007 – CX: CX is now a mature distributed networked 3-layer control system. CX supports “large” channels, up to 4Mb (fixed- & variable-size). CX includes drivers for all hardware used in CDMs. Communication with CX-server and routine interaction with a user are provided by standard CX libraries. Even the flexibility required to work with different sets of hardware is provided by CX, only ONE application instance is required. CX was already used in a similar project with CCD, with great success. CX-based automation Late 1990s: Standalone, “do-it-all” application, combining GUI with CCD interaction and CAMAC control via a “dumb” serial controller. Plus, dedicated network protocol for remote access and control 1 st generation automation Serial controller driver User interface Remote access Application intellect CCD driver Driver Driver Driver CAMAC Dumb serial controller CCD CCD display plugin ADC200 display plugin Local data processing Standard CX functionality (provided by libraries) CX-server Hardware • 660×500px 10bpp CCD-camera with Ethernet interface (custom protocol over UDP) • ADC200 2-channel CAMAC waveform recorders (digital oscilloscopes) • CAMAC and/or CAN-bus DACs and timing/synchronization devices List is short, but diverse and vary between instances Hardware Reasons: 1.That’s traditional approach for small-scale facilities. 2.VEPP-5 control system – CX – was too young and lacked support for CCD and other required hardware. Problems: 1.Too costly to support another one control system. 2.“Do-it-all” app is huge, complex and error-prone upon modifications. 3.Always lagged in features behind CX. 4.Different CDMs use different control hardware, so several slightly different incarnations of the same program had to be supported. Simple and elegant!

Upload: mason

Post on 14-Jan-2016

29 views

Category:

Documents


1 download

DESCRIPTION

Use of a 3-layer Control System for Non-Destructive Beam Probe Monitor. Photo camera. Investigated bunch. Phosphor screen. Deflector. MCP. D.Yu.Bolkhovityanov, D.A.Malyutin, A.A.Starostenko The Budker Institute of Nuclear Physics, Novosibirsk, Russia. data. - PowerPoint PPT Presentation

TRANSCRIPT

  • ICALEPCS 2007, Knoxville, Tennessee, October 15-19, 2007Use of a 3-layer Control System for Non-Destructive Beam Probe MonitorD.Yu.Bolkhovityanov, D.A.Malyutin, A.A.Starostenko The Budker Institute of Nuclear Physics, Novosibirsk, RussiaThe non-destructive beam probe is based on the scanning of a thin electron beam within the energy range 20-100kV in the electromagnetic field of an intensive relativistic bunch. A CCD-camera is used to view the beam image. Initially the facility was controlled by a standalone application. This was dictated mainly by specifics of a CCD-camera and digital oscilloscopes, which are required for tuning. Now, when CCD-camera and digital oscilloscopes are fully supported by a CX networked control system (based on the 3-layer model), the standalone application was replaced by a CX-based set of programs. This enables remote operation, with several applications running in parallel. Additionally, this architecture allows use of scripting facilities to automate various routine tasks, which previously had to be done by hand.Abstract This work gave us one more proof that all automation should apply 3-layer model, not do-it-all program. 3-layer model makes automation a much easier task. Charge distribution monitors were the last VEPP-5 system to use standalone application approach. Now, VEPP-5 control system had completely switched to distributed 3-layer standard model.Conclusion Much smaller and simpler application. Modifications, requested by users, are performed much more quickly and easily. No more need to support several variants of app for different CDMs. As CX is a distributed networking system, various long and boring operations can be easily automated with shell-scripting. Several instances of the same app can be run from different places simultaneously.Being a native CX application, the program can show (and allow to control) related parameters from other VEPP-5 subsystems.ResultsNDBP (EBP, CDM)A thin low-energy electron beam moves across relativistic bunch motion, then making a picture on a screen, which allows to obtain information about relativistic bunch parameters.

    Due to use of electron beam this device is also named ``electron beam probe' (EBP). And as its main application is charge distribution measurement, it is often called charge distribution monitor (CDM).5 CDMs used in BINP: at VEPP-5 linac at VEPP-5 ring at VEPP-4 2 test setups In 2008 one device will be supplied to SNS ORNL, and one to KEK.2007 CX: CX is now a mature distributed networked 3-layer control system. CX supports large channels, up to 4Mb (fixed- & variable-size). CX includes drivers for all hardware used in CDMs. Communication with CX-server and routine interaction with a user are provided by standard CX libraries. Even the flexibility required to work with different sets of hardware is provided by CX, only ONE application instance is required. CX was already used in a similar project with CCD, with great success.CX-based automationLate 1990s:Standalone, do-it-all application, combining GUI with CCD interaction and CAMAC control via adumb serial controller.Plus, dedicated network protocol for remote access and control1st generation automation 660500px 10bpp CCD-camera with Ethernet interface (custom protocol over UDP) ADC200 2-channel CAMAC waveform recorders (digital oscilloscopes) CAMAC and/or CAN-bus DACs and timing/synchronization devices

    List is short, but diverse and vary between instancesHardwareReasons:Thats traditional approach for small-scale facilities.VEPP-5 control system CX was too young and lacked support for CCD and other required hardware.Problems:Too costly to support another one control system.Do-it-all app is huge, complex and error-prone upon modifications.Always lagged in features behind CX.Different CDMs use different control hardware, so several slightly different incarnations of the same program had to be supported.Simple and elegant!

    *