+ All Categories
Home > Documents > DESY Technical Seminar PITZ Video System

DESY Technical Seminar PITZ Video System

Date post: 20-Mar-2022
Category:
Upload: others
View: 5 times
Download: 0 times
Share this document with a friend
15
1 DESY Technical Seminar Stefan Weiße June 2008 1 PITZ Video System Developments on Image Readout and Software Architecture PITZ Video System - Developments on Image Readout and Software Architecture - Stefan Weiße June 17, 2008 DESY Technical Seminar DESY Technical Seminar Stefan Weiße June 2008 2 PITZ Video System Developments on Image Readout and Software Architecture Overview 1. Introduction 1. PITZ and PITZ Facility 2. PITZ Video System 3. Industrial Vision 2. Demands and Challenges 3. Tasks and Changes 2002-2008 (VSv2) 4. New Software Architecture (VSv3) 5. Live Presentation of VSv3 6. Future Prospects
Transcript

1

DESY Technical Seminar

Stefan Weiße June 20081

PITZ Video SystemDevelopments on Image Readout and Software Architecture

PITZ Video System- Developments on Image Readout and Software Architecture -

Stefan Weiße

June 17, 2008DESY Technical Seminar

DESY Technical Seminar

Stefan Weiße June 20082

PITZ Video SystemDevelopments on Image Readout and Software ArchitectureOverview

1. Introduction1. PITZ and PITZ Facility

2. PITZ Video System

3. Industrial Vision

2. Demands and Challenges3. Tasks and Changes 2002-2008 (VSv2)4. New Software Architecture (VSv3)5. Live Presentation of VSv36. Future Prospects

2

DESY Technical Seminar

Stefan Weiße June 20083

PITZ Video SystemDevelopments on Image Readout and Software ArchitecturePITZ Overview

� Photo InjectorTest Facility Zeuthen

– test, condition and optimize sources of high brightness electron beams for future free electron lasers and linear colliders

– goal: intense electron-beam with very small transverse emittance and reasonably small longitudinal emittance

– goal is requirement for FEL operation

“The challenge of PITZ is the production of such beams with very high quality by applying the

most advanced techniques in combination with key parameters of projects based on TESLA

technology like the FLASH, the European XFEL, and the proposed BESSY-FEL.”

DESY Technical Seminar

Stefan Weiße June 20084

PITZ Video SystemDevelopments on Image Readout and Software ArchitectureBrief PITZ Facility Overview

Klystron hall Rack room

Control roomLaser room

PITZ tunnel

+ support like water cooling, computer centre etc.

3

DESY Technical Seminar

Stefan Weiße June 20085

PITZ Video SystemDevelopments on Image Readout and Software ArchitecturePITZ Video System Overview

Example Video Readout Locations at PITZ TunnelVideo Rack in Rack Room

DESY Technical Seminar

Stefan Weiße June 20086

PITZ Video SystemDevelopments on Image Readout and Software ArchitecturePITZ Video System Overview

Video System in Laser Room

Rack, TV on Laser Table, Streak Camera (clockwise)

Video Rack in Optics and Camera Lab

4

DESY Technical Seminar

Stefan Weiße June 20087

PITZ Video SystemDevelopments on Image Readout and Software ArchitecturePITZ Video System Overview

Control RoomPhysicist’s Office

access from remote locations+

DESY Technical Seminar

Stefan Weiße June 20088

PITZ Video SystemDevelopments on Image Readout and Software ArchitecturePITZ Video System Setup 2007: Selected fields of operation

� monitoring and measuring of electron beam profile � remote inspection � monitoring, measuring of laser beam transverse profile� monitoring, measuring of laser beam longitudinal

profile� measuring of emittance� measuring of momentum and momentum spread

5

DESY Technical Seminar

Stefan Weiße June 20089

PITZ Video SystemDevelopments on Image Readout and Software ArchitectureSummary of PITZ Overview

� computing, experiment setup, control, view, machinery and support is distributed across certain locations

� distributed places of image – acquire

– processing

– storing

– display– acquisition control

DESY Technical Seminar

Stefan Weiße June 200810

PITZ Video SystemDevelopments on Image Readout and Software ArchitectureIndustrial Vision: Widespread but Changing Territory

� permanent “new” readout hardware on the market� many proprietary control interfaces� lack of standards� every manufacturer has its own axe to grind

⇒ flexible hardware choice necessary, not dependent on software, API

⇒ semi-permanent software change required⇒ software has to be designed flexible - to cope with

rapid changes

6

DESY Technical Seminar

Stefan Weiße June 200811

PITZ Video SystemDevelopments on Image Readout and Software ArchitectureChallenges of PITZ Imaging

� test facility also test bed: experimental setups, a lot of refactoring� evaluation of optics, optical readout constructions, new devices� changes at [goals of] PITZ force changes in TV system and

software� improvements in image readout generate new physics demands

(things that were not possible before)� special, nonstandard usage at PITZ requires rare, custom, unique

solutions� hardware defects because of radiation and tweaked use

⇒ semi-permanent software change required⇒ software has to be designed flexible - to cope with changes

DESY Technical Seminar

Stefan Weiße June 200812

PITZ Video SystemDevelopments on Image Readout and Software ArchitectureAdditional Challenges (not only PITZ related)

� discontinued products– industrial vision hardware– general IT hardware– software (like OS)

� very special hardware: early adopters

� change in dependencies of software provoke upgrades or redesign

7

DESY Technical Seminar

Stefan Weiße June 200813

PITZ Video SystemDevelopments on Image Readout and Software ArchitectureSoftware: Tasks 2002

� support currently existing hardware – 1 camera model– 6 readout locations in PITZ tunnel– 2 image acquisition computers in rack room

� transport live video to control room

⇒ GrabServer

� create basic tools to work with (“TV+DVD Recorder”)– view live video with limited online analysis – save images and sequences for offline analysis

⇒ Video Client

� control camera properties, optimize image quality at acquisiton

⇒ Slow Control (RS232) Server and Client

DESY Technical Seminar

Stefan Weiße June 200814

PITZ Video SystemDevelopments on Image Readout and Software ArchitectureSoftware: Tasks 2008

� readout and control currently available video ports (up to 24) in flexible manner

� take use of currently available camera models– 8 distinct models

� support currently available camera interfaces– analogue video– digital Gigabit-Ethernet based– USB2 based

� allow dedicated installations (like laser hut)� encourage physicists to write their own software� provide remote access and remote display� be and stay flexible for upcoming changes

8

DESY Technical Seminar

Stefan Weiße June 200815

PITZ Video SystemDevelopments on Image Readout and Software ArchitectureMajor Changes from 2002 to 2008

� increased number of available camera hardware– from 1 dedicated camera model (2002)– to 6 dedicated types of input (2008, and growing) and 2 general inputs

(supports a lot of camera hardware)

� increased number of readout locations in PITZ tunnel– plus design change from analogue to digital cameras

� adaptation to Windows XP (Windows NT discontinued)

� react on changes in dependent software components (Control System communication libraries and layers)

DESY Technical Seminar

Stefan Weiße June 200816

PITZ Video SystemDevelopments on Image Readout and Software ArchitectureMajor Changes from 2002 to 2008 (cont’d)

� increased flexibility (by dedicated installations) and introduction of special analogue video multiplexing hardware

� implementation of hard and software necessary to support computer network attached cameras

� dedicated interface library for physicists in order to interface with basic Video System software (available usually at user’s most favourite language or programming environment)

� request on remote access required change in software

� implementation of dozens of new features in analysis and displaying software

9

DESY Technical Seminar

Stefan Weiße June 200817

PITZ Video SystemDevelopments on Image Readout and Software ArchitectureCauses of Changes 2002-2008

� increased number of readout locations� hardware infrastructure rework� integration of new hardware� change of goals (even smaller emittance)� change of ambitions (e.g. conditioning test stand)� discontinued software � limited manpower to extend software (-> user library)� export to collaboration partners / other facilities

DESY Technical Seminar

Stefan Weiße June 200818

PITZ Video SystemDevelopments on Image Readout and Software ArchitectureVSv2 2007: Hardware and Server

10

DESY Technical Seminar

Stefan Weiße June 200819

PITZ Video SystemDevelopments on Image Readout and Software ArchitectureVSv2 2007: Client Software chart

DESY Technical Seminar

Stefan Weiße June 200820

PITZ Video SystemDevelopments on Image Readout and Software ArchitecturePros / Cons of current setup

� PROS– years of experience on work and maintenance– users are used to it (few support required)– libraries for user access are available on various platforms

� CONS– software changes got more difficult and time consuming each iteration– limits become visible– propietary developments were done initially and are still inside– logic erratas (planning vs. current “outgrown” use)– only greyscale possible, no colour images– server-side software MS Windows only

⇒ further upgrade and adaptation questionable

11

DESY Technical Seminar

Stefan Weiße June 200821

PITZ Video SystemDevelopments on Image Readout and Software ArchitectureDevelopment of next step architecture

� avoid limits that have shown in the past� enhance interoperability across DESY to

– reuse parts at other facilities and vice versa– reduce parallel developments and costs

� easy adaptation to new software technologies (decisions at Petra III and upcoming XFEL)

� keep policy of supporting users by easy to use libraries and interfaces

� easy customisation to different image sources/providers

DESY Technical Seminar

Stefan Weiße June 200822

PITZ Video SystemDevelopments on Image Readout and Software ArchitectureNew Software Architecture (VSV3)

� collection of “Building Blocks”– extendable, versatile, welldefined, small software components

� exchange video data by using agreed network Transport Layer using TINE (tight but modular)

� policies– avoid redundancies in software code– simple software components

“each one should perform its primary purpose only”– platform-independent and hardware-independent components

whereever possible– structured documentation using Doxygen– user-extendable

12

DESY Technical Seminar

Stefan Weiße June 200823

PITZ Video SystemDevelopments on Image Readout and Software ArchitectureExample Software Architecture (Basic Level)

DESY Technical Seminar

Stefan Weiße June 200824

PITZ Video SystemDevelopments on Image Readout and Software ArchitectureExample Software Architecture (Extended Level)

13

DESY Technical Seminar

Stefan Weiße June 200825

PITZ Video SystemDevelopments on Image Readout and Software Architecture

LivePresentation

DESY Technical Seminar

Stefan Weiße June 200826

PITZ Video SystemDevelopments on Image Readout and Software ArchitectureLive Presentation Setup

14

DESY Technical Seminar

Stefan Weiße June 200827

PITZ Video SystemDevelopments on Image Readout and Software ArchitectureFuture Prospects

� rollout of VSv3 – at PITZ– at DESY-2 and Petra III – EMBL

� moving of Interface Library to new architecture– keep goal to provide support for any development platform physicists

are working with– core source code base (algorithms etc. for software reuse)

� check communication between DOOCS and TINE components that use Video and Image Transport Layer

� further remote installations estimated

� benefit from remotely-invented software that uses transport layer

DESY Technical Seminar

Stefan Weiße June 200828

PITZ Video SystemDevelopments on Image Readout and Software ArchitectureFuture Prospects

� Advanced Software and Hardware(because VSv3 as fundament was built already)

– tight remote zoom integration– semiautomatic scale factor calculation– feedback loops (e.g. stable laser profile)– standard image file formats for storing of images to

disk instead of proprietary files– work towards integration of radiation hardened

cameras

15

DESY Technical Seminar

Stefan Weiße June 200829

PITZ Video SystemDevelopments on Image Readout and Software Architecture

Thank you for listening.

Questions? Comments?


Recommended