Presentation is loading. Please wait.

Presentation is loading. Please wait.

Greg White, Stanford Linear Accelerator Center, 2007 Operational Tools at the Stanford Linear Accelerator Center Greg White, for many, many, great programmers,

Similar presentations


Presentation on theme: "Greg White, Stanford Linear Accelerator Center, 2007 Operational Tools at the Stanford Linear Accelerator Center Greg White, for many, many, great programmers,"— Presentation transcript:

1 Greg White, Stanford Linear Accelerator Center, 2007 Operational Tools at the Stanford Linear Accelerator Center Greg White, for many, many, great programmers, scientists and engineers from the SLAC Controls Department, operations and physics groups.

2 Greg White, Stanford Linear Accelerator Center, 2007 SLAC Tools Technology Timeline

3 Greg White, Stanford Linear Accelerator Center, 2007 SLAC Tools Technology Timeline

4 Greg White, Stanford Linear Accelerator Center, 2007 SLAC Tools Technology Timeline

5 Greg White, Stanford Linear Accelerator Center, 2007 Past 20 years! - The SLAC Control Program “SCP” (pronounced “skip”)

6 Greg White, Stanford Linear Accelerator Center, 2007 Hierarchy of Applications Dynamically Linked Libraries

7 Greg White, Stanford Linear Accelerator Center, 2007 Hierarchy of Applications Dynamically Linked Libraries

8 Greg White, Stanford Linear Accelerator Center, 2007 SCP Application “Integration”

9 Greg White, Stanford Linear Accelerator Center, 2007 The SCP’s Characteristics Advantages Integrated Applications, tools and science Rocket Fast Seamless User Interface One executable, giving macros

10 Greg White, Stanford Linear Accelerator Center, 2007 Beamline “z” plots

11 Greg White, Stanford Linear Accelerator Center, 2007 Save/Restore (aka “configs”)

12 Greg White, Stanford Linear Accelerator Center, 2007 Beam Position Monitors (BPM)

13 Greg White, Stanford Linear Accelerator Center, 2007 Reference BPM Orbit

14 Greg White, Stanford Linear Accelerator Center, 2007 Extant BPM Orbit

15 Greg White, Stanford Linear Accelerator Center, 2007 Beam Position Difference Orbits

16 Greg White, Stanford Linear Accelerator Center, 2007 Difference (Actual Orbit minus Reference Orbit)

17 Greg White, Stanford Linear Accelerator Center, 2007 Modelling

18 Greg White, Stanford Linear Accelerator Center, 2007 Orbit fitting

19 Greg White, Stanford Linear Accelerator Center, 2007 Steering (Orbit Correction)

20 Greg White, Stanford Linear Accelerator Center, 2007 Orbit Correction Correction “methods”: - Robust Chi Sq - Paired correctors to bpms - Micado - SVD - others now seldom used Simultaneous Orbit and Dispersion Correction Transport or closed orbit Optional Boundary conditions (eg constant injector region) If underconstrained, finds soln with smallest corrs Iteratively removes BPMs with poor fit (liars) Handles degenerate system matrix (by SVD) but includes peak amplitude constraints (corrector Bmax) min || Ax - b || 2 subject to x j  x jmax http://www.slac.stanford.edu/pubs/slacpubs/7000/slac-pub-7653.html

21 Greg White, Stanford Linear Accelerator Center, 2007 Multi-knobs

22 Greg White, Stanford Linear Accelerator Center, 2007 Example MKB file

23 Greg White, Stanford Linear Accelerator Center, 2007 Bumps

24 Greg White, Stanford Linear Accelerator Center, 2007 “Button Macros”

25 Greg White, Stanford Linear Accelerator Center, 2007 “Button Macros”

26 Greg White, Stanford Linear Accelerator Center, 2007 “Correlation Plots” * Steps any controllable thing, reads any, up to 160, readable values * Beam Synchronous - knows what to do * Total integration - eg step ring frequency, do orbit fit, read fit params * Includes plotting, fitting, optimization (eg implements quad scan)

27 Greg White, Stanford Linear Accelerator Center, 2007 History/Archive Data Chart Types: stripchart, Overlay, A vs B (interpolated), expressions in A, B and C Linear and Log axes Auto or manual scaling axes

28 Greg White, Stanford Linear Accelerator Center, 2007 The SCP’s Characteristics Advantages Integrated Applications, tools and science Rocket Fast Seamless User Interface One executable, giving macros Disadvantages Very difficult to upgrade basis technology Single threaded, one thing at a time Impossible to collaborate VMS based

29 Greg White, Stanford Linear Accelerator Center, 2007 SCP - Matlab - XAL - Eclipse - CA integration Timeline

30 Greg White, Stanford Linear Accelerator Center, 2007 Transitionary Phase - Present

31 Greg White, Stanford Linear Accelerator Center, 2007 Beam Profile Image Management in Matlab Thanks to Sergei Chevtsov

32 Greg White, Stanford Linear Accelerator Center, 2007 Bunch Length Measurement Thanks to Mike Zelazny

33 Greg White, Stanford Linear Accelerator Center, 2007 Matlab based feedback! Thanks to Diane Fairley

34 Greg White, Stanford Linear Accelerator Center, 2007 Transitionary Phase - Future (immediate)

35 Greg White, Stanford Linear Accelerator Center, 2007 Hybrid environment for applications (now in dev.) From “LCLS Apps from 20000ft” (G. White) http://confluence.slac.stanford.edu/x/lBk

36 Greg White, Stanford Linear Accelerator Center, 2007 SLAC Eclipse Accelerator Lab (SEAL) Modelling

37 Greg White, Stanford Linear Accelerator Center, 2007 SEAL including Control System Studio (CSS) Thanks P.Chu, K.Kasemir, S.Chevtsov

38 Greg White, Stanford Linear Accelerator Center, 2007 SEAL Formatted Displays (ready to print, logbook) Thanks S. Chevtsov

39 Greg White, Stanford Linear Accelerator Center, 2007 Control Data Flow for Scientific Applications

40 Greg White, Stanford Linear Accelerator Center, 2007 Access to Archive/History Data

41 Greg White, Stanford Linear Accelerator Center, 2007 Middleware, connecting legacy to modern software George McIntyre, Bob Sass, Bob Hall, Ron MacKenzie, Greg White

42 Greg White, Stanford Linear Accelerator Center, 2007 Command Line Aida

43 Greg White, Stanford Linear Accelerator Center, 2007 AidaWeb: Web -> Excel, Scripts (by wget), Web Browser, Web Apps

44 Greg White, Stanford Linear Accelerator Center, 2007 Aida (pure java API) in matlab History/Archiver access and plot

45 Greg White, Stanford Linear Accelerator Center, 2007 Matlab java lessons datenum() converts time format data to plotable floats datetick tells current plot() to scribe axis with date/time textual date/time to float conversion is very costly ( soln. use say unix time rather than text ) Put java VM options in Matlab secret file java.opt.

46 Greg White, Stanford Linear Accelerator Center, 2007 Aida CORBA Performance Double: 1 or 2 ms, sometimes more Nd Vector DaValue: < 10 ms, Median 3 ms, sometimes more. Eg History, BPM, model Linear up to tested 4MBytes

47 Greg White, Stanford Linear Accelerator Center, 2007 Future XML Performance -> SOAP -> WS -> GRID Performance http://www.w3.org/XML/EXI/

48 Greg White, Stanford Linear Accelerator Center, 2007 Efficient XML Interchange Working Group of W3C Performance of EXI candidates on XAL with lossless compression (no XML Schema) High perf XML processor EXI Processor Binary XML http://www.w3.org/XML/EXI/

49 Greg White, Stanford Linear Accelerator Center, 2007 EXI (Binary XML) on EPICS Archiver XML-RPC data EXI candidates on EPICS Archiver without compression (no XML Schema) > 7 X faster in network and processing time (More efficient float being added)

50 Greg White, Stanford Linear Accelerator Center, 2007 Sparklines Edward Tufte http://sparkline.org/ http://www.edwardtufte.com

51 Greg White, Stanford Linear Accelerator Center, 2007 What Did we Do Wrong - Bob Dalesio’s Slide Underestimated XAL integration (modelled elements, SMF layer, database integration) Underestimated db persistence Underestimated Eclipse questions –IDE RCP or our own Product –Building in a production environment –Distribution SWT <> Swing : Eclipse <> XAL Matlab pragmatism not accepted by everyone.

52 Greg White, Stanford Linear Accelerator Center, 2007 Questions - please talk to us! Macros (automatic script recording) over different hosts, OS? X11 only common factor! Headless, production, build of Eclipse? 3D visualization for accelerator physics? Impact/Parmela -> Elegant -> Genesis/Ginger

53 Greg White, Stanford Linear Accelerator Center, 2007 References Visual Display of Quantitative Information. E. tufte. –cf. Sparklines. http://www.edwardtufte.com/bboard/q-and-a-fetch- msg?msg_id=0001OR&topic_id=1&topic=Ask+E.T.http://www.edwardtufte.com/bboard/q-and-a-fetch- msg?msg_id=0001OR&topic_id=1&topic=Ask+E.T –http://sparklines.orghttp://sparklines.org Aida CORBA Performance Report http://www.slac.stanford.edu/grp/cd/soft/aida/perf/Report.htmlhttp://www.slac.stanford.edu/grp/cd/soft/aida/perf/Report.html A Hybrid Numerical Method for Orbit Correction http://www.slac.stanford.edu/pubs/slacpubs/7000/slac-pub-7653.html http://www.slac.stanford.edu/pubs/slacpubs/7000/slac-pub-7653.html W3C Efficient XML Interchange Working Group http://www.w3.org/XML/EXI/http://www.w3.org/XML/EXI/

54 Greg White, Stanford Linear Accelerator Center, 2007 to add cmlog crr plots


Download ppt "Greg White, Stanford Linear Accelerator Center, 2007 Operational Tools at the Stanford Linear Accelerator Center Greg White, for many, many, great programmers,"

Similar presentations


Ads by Google