Tucson, SW workshop Oct 2006 FLAO WFS software Alfio Puglisi, Fabio Tosetti Osservatorio Astrofisico di Arcetri, Florence, Italy.

Slides:



Advertisements
Similar presentations
W Unit Opto-Mechanical Acceptance Test Specifications A.Tozzi, E.Pinna, S.Esposito FLAO system external review, Florence, 30/31 March 2009 FLAO_03 (CAN:
Advertisements

LBT AO software components A. Puglisi, Arcetri, 21 th Feb 2005 LBT AO software components Alfio Puglisi Luca Fini Osservatorio Astrofisico di Arcetri,
TCS3 Conceptual Design Review 1 Aug 21, 2003 TCS3 Project Replacement of the Telescope Control System for the IRTF Conceptual Design Review Aug 2003.
A First-Light AO system for LBT AGW Unit: a conceptual design S. Esposito, M. Accardo, C. Baffa, V. Biliotti, G. Brusa, M. Carbillet, D. Ferruzzi, L. Fini,
Osservatorio di Arcetri LBT AO Conceptual Design Review Steward Observatory - March 5-7, 2001 MMT336 Characterization Software Armando Riccardi & Guido.
The adaptive secondary mirror. Current technology for MMT/LBT A. Riccardi 1, G. Brusa 1, C. Del Vecchio 1, P. Salinari 1, R. Biasi 2, M. Andrighettoni.
Wavefront Correction SystemWavefront Correction System Hardware and Software.
Gelu M. Nita NJIT. Noise Diode Control Day/Night Attn. Ctrl. Solar Burst Attn. Ctrl. V/H RF Power Out Attn. Ctrl. Temperature Sensors.
PALM-3000 PALM-3000 Instrument Architecture Antonin Bouchez PALM-3000 Requirements Review November 12, 2007.
WBS & AO Controls Jason Chin, Don Gavel, Erik Johansson, Mark Reinig Design Meeting (Team meeting #10) Sept 17 th, 2007.
MMT Real-Time-Reconstructor. Hardware CPU: Quad-core Xeon 2.66 GHz RAM: 2GB OS: CentOS with RTAI real-time extensions Frame Grabber: EDT PCI-DV.
1 Color Discriminating Tracking System Lloyd Rochester Sam Duncan Ben Schulz Fernando Valentiner.
Wireless Data Acquisition for SAE Car Project by: J.P. Haberkorn & Jon Trainor Advised by: Mr. Steven Gutschlag.
The Gemini MCAO System (EPICS Meeting, SLAC, April 2005) 1 The Gemini MCAO System Andy Foster Observatory Sciences Ltd.
Kabuki 2800 “a real-time digital audio effects system for performance” team “Big Country” presents ECEN4610 Preliminary Design Review 14 September 2006.
Remote Surveillance Vehicle Design Review By: Bill Burgdorf Tom Fisher Eleni Binopolus-Rumayor.
1 QED In Vivo USB Input Output Box configuration This tutorial contains a number of instructions embedded in a great deal of explanation. Procedures that.
Keck AO Operations D. Le Mignant for the Keck AO team.
STO Instrument Control, Software Interfaces, Data Management, etc. Let's expand this block.
SCADA and Telemetry Presented By:.
Interconnection Protocol Mustafa Kara Term Work.
Computerized Train Control System by: Shawn Lord Christian Thompson.
LBT AO meeting – Arcetri, February 2005LBT AO Real-Time SW LBT AO Real Time Software Roberto Biasi, Mario Andrighettoni, Dietrich Pescoller Microgate S.r.l.
A. Homs, BLISS Day Out – 15 Jan 2007 CCD detectors: spying with the Espia D. Fernandez A. Homs M. Perez C. Guilloud M. Papillon V. Rey V. A. Sole.
Page 1 ADAM-6000 Web-enabled Smart I/O Γιάννης Στάβαρης Technical Manager Ιούνιος 26, 2007.
Topics Introduction Hardware and Software How Computers Store Data
FLAO Interface Control Document
Application Introduction APAC-5000 in AOI Equipment
TE-MPE-EP, VF, 11-Oct-2012 Update on the DQLPU type A design and general progress. TE-MPE Technical Meeting.
02/2008 MATRIX VISION GmbH 1 Presentation The intelligent camera and Image processing sensor.
Upgrade to Real Time Linux Target: A MATLAB-Based Graphical Control Environment Thesis Defense by Hai Xu CLEMSON U N I V E R S I T Y Department of Electrical.
Software Framework for Teleoperated Vehicles Team Eye-Create ECE 4007 L01 Karishma Jiva Ali Benquassmi Safayet Ahmed Armaghan Mahmud Khin Lay Nwe.
SCADA. 3-Oct-15 Contents.. Introduction Hardware Architecture Software Architecture Functionality Conclusion References.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley C H A P T E R 1 Introduction to Computers and Programming.
Software Aspects of PQ in a DG Context By Dr. Siri Varadan.
Other Chapters From the text by Valvano: Introduction to Embedded Systems: Interfacing to the Freescale 9S12.
AO review meeting, Florence, November FLAO operating Modes Presented by: S. Esposito Osservatorio Astrofisico di Arcetri / INAF.
FLAO system test plan in solar tower S. Esposito, G. Brusa, L. Busoni FLAO system external review, Florence, 30/31 March 2009.
Pack-it Technology Highly versatile Internet connectivity solution for non-Internet enabled devices. Seamless interface with RS232, Ethernet, switches,
Hobby - Eberly Telescope MARS Software Design Review November 2002 Michael H. Ward Systems Analyst McDonald Observatory MHW 04-November
LBT SW workshop. Tucson, 2-6 Oct 2006 A. Riccardi - The LBT AdsSec units1 The two LBT adaptive secondary units (LBT672a, LBT672b) A. Riccardi, M. Xompero,
NIOS II Ethernet Communication Final Presentation
Final Review of ITER PBS 45 CODAC – PART 1 – 14 th, 15 th and 16 th of January CadarachePage 1 FINAL DESIGN REVIEW OF ITER PBS 45 CODAC – PART 1.
CCD Cameras with USB2.0 & Gigabit interfaces for the Pi of The Sky Project Grzegorz Kasprowicz Piotr Sitek PERG In cooperation with Soltan Institute.
1 Presented By: Eyal Enav and Tal Rath Eyal Enav and Tal Rath Supervisor: Mike Sumszyk Mike Sumszyk.
1. LabVIEW and EPICS Workshop EPICS Collaboration Meeting Fall 2011.
Mapping IP Addresses to Hardware Addresses Chapter 5.
Connecting LabVIEW to EPICS network
Mountaintop Software for the Dark Energy Camera Jon Thaler 1, T. Abbott 2, I. Karliner 1, T. Qian 1, K. Honscheid 3, W. Merritt 4, L. Buckley-Geer 4 1.
Chapter 5: MULTIMEDIA DATABASE MANAGEMENT SYSTEM ARCHITECTURE BIT 3193 MULTIMEDIA DATABASE.
STAR Pixel Detector readout prototyping status. LBNL-IPHC-06/ LG22 Talk Outline Quick review of requirements and system design Status at last meeting.
11 th February 2008Brian Martlew EPICS for MICE Status of the MICE slow control system Brian Martlew STFC, Daresbury Laboratory.
EPICS and LabVIEW Tony Vento, National Instruments
4. Operations and Performance M. Lonza, D. Bulfone, V. Forchi’, G. Gaio, L. Pivetta, Sincrotrone Trieste, Trieste, Italy A Fast Orbit Feedback for the.
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser Wojciech Jalmuzna, Technical University of Lodz, Department of Microelectronics and Computer.
January 2010 – GEO-ISC KickOff meeting Christian Gräf, AEI 10 m Prototype Team State-of-the-art digital control: Introducing LIGO CDS.
Software tools for digital LLRF system integration at CERN 04/11/2015 LLRF15, Software tools2 Andy Butterworth Tom Levens, Andrey Pashnin, Anthony Rey.
ALPAO ACEfast RTC Armin Schimpf, Mickael Micallef, Julien Charton RTC Workshop Observatoire de Paris, 26/01/2016.
S. Smith LCLS Facility Advisory October 12, Beam Position Monitors Facility Advisory Committee October 12, 2006.
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser Wojciech Jalmuzna, Technical University of Lodz, Department of Microelectronics and Computer.
SWCam Instrument software DraftV2 10June2014
Software for Testing the New Injector BLM Electronics
A monitoring system for the beam-based feedbacks in the LHC
Topics Introduction Hardware and Software How Computers Store Data
An introduction to the organization of the Internet Lab
Topics Introduction Hardware and Software How Computers Store Data
Control System Summary of Changes Since PDR
An introduction to the organization of the Internet Lab
NetFPGA - an open network development platform
Presentation transcript:

Tucson, SW workshop Oct 2006 FLAO WFS software Alfio Puglisi, Fabio Tosetti Osservatorio Astrofisico di Arcetri, Florence, Italy

Tucson, SW workshop Oct 2006 FLAO WFS software WFS in the AGW frame Left box Right box iDrive box Optical board Telescope beam

Tucson, SW workshop Oct 2006 FLAO WFS software From telescope network Ethernet switch BCU47BCU39 Serial#1Serial#2 Serial lines Fiber/Ethernet media converter FLAO WFS: a complex device with 4 IP hosts.

Tucson, SW workshop Oct 2006 FLAO WFS software HO CCD Controller SciMeasure Slope Computer MicroGate Custom F.O. RS485 Ethernet Cat. 5E WFS linear stages (X,Y,Z) Bayside Filter Wheel #1 Filter Wheel #2 Tip-Tilt Mirror Phys.Instrum. Pupil Rerotator Micos Interferometer Gigabit Switch AGW - on Axis Right Ethernet / Serial (A-B) AGW on-axis data communication layout Technical Viewer CCD Controller SciMeasure CCD Data Acquisition MicroGate Power Switch Atmospheric Dispersion Corrector Ethernet Cat. 5E RS232 To adaptive secondary From telescope network Temperature monitor CPE RS232 SciMeasure

Tucson, SW workshop Oct 2006 FLAO WFS software Main WFS components: Microgate BCU39 and BCU47 ● HO ccd frame grabber ● Slope computer ● Relays bank DSP FPGA Memory Fiber link Digital I/O Technical viewer frame grabber Tip-tilt sine wave generator

Tucson, SW workshop Oct 2006 FLAO WFS software Other (hardware) components ● CCD controllers ● Linear stage controllers ● Relay switches for powering on/off devices ● Pupil rerotator controller ● Stepper motor controllers for filter wheels and ADC ● Reference lamp controller ● Temperature sensors ● Various network devices

Tucson, SW workshop Oct 2006 FLAO WFS software HW control software ● One process for each hardware device ● Each process has only two interfaces: ● one socket to MsgD-RTDB ● one socket to the HW device ● Mostly written in C/C++ with a series of libraries for common functions ● Commands and answers are implemented using MsgD-RTDB variables.

Tucson, SW workshop Oct 2006 FLAO WFS software MV01STATUS MV01ERRMSG MV01CURPOS MV01LOEND MV01HIEND MV01SPEED Mv01HISPEED MV01TGTPOS Mv01ENABLE MV02STATUS MV02ERRMSG MV02CURPOS MV02LOEND MV02HIEND MV02SPEED Mv02HISPEED MV02TGTPOS Mv02ENABLE MV03STATUS MV03ERRMSG MV03CURPOS MV03LOEND MV03HIEND MV03SPEED Mv03HISPEED MV03TGTPOS Mv03ENABLE RTDB Var Set User prompt/ GUI / Automatic script RS232 over Ethernet Motor #1 SW ctrl RS232 over Ethernet Motor #2 SW ctrl RS232 over Ethernet Motor #3 SW ctrl Mx

Tucson, SW workshop Oct 2006 FLAO WFS software WFS diagnostic data: CCD frames Wavefront slopes Mirror commands Downloaded at 70 Hz (limited by protocol speed) -> an internal 4000-frames buffer is available Ethernet UDP Diagnostic process Shared memory Engineering interface Monitoring scripts

Tucson, SW workshop Oct 2006 FLAO WFS software Python classes MSGLIB MsgD RTDB MSGLIB Engineering interface Python scripts Python scripting interface C Wrapper To controller programs AO arbitrator

Tucson, SW workshop Oct 2006 FLAO WFS software Graphical & commandline Mainly Python with some custom C/C++ modules for realtime sections (like displays) Graphic library: QT using the PyQT wrapper Numeric library: Python numarray module Engineering interface Python classes MSGLIB MsgD RTDB MSGLIB C Wrapper To controller programs Graphic interface

Tucson, SW workshop Oct 2006 FLAO WFS software Calibration routines Calibration (usually) requires tight interaction between WFS and secondary mirror operations. We have a mix of Python scripts an IDL routines Python scripts are short-lived (but fully featured) MsgD-RTBD clients acquiring the calibration data. IDL used to make calculations because of the extensive math library. Examples: pupil acquisition, reconstruction matrix calculation, etc.

Tucson, SW workshop Oct 2006 FLAO WFS software Data storage Type Static calibration data Session calibration data Loop diagnostic data Description Reconstruction matrix, pixel lookup tables, reference frames, non- common path aberrations, etc. CCD darks, slope null, etc. Realtime frames, slopes and mirror commands Frequency Commissioning, changes rare Start of night/observation session During closed loop operation Size MBSome MB 2-3 MB/sec

Tucson, SW workshop Oct 2006 FLAO WFS software Summary ● Quick resume of the WFS structure ● WFS software architecture

Tucson, SW workshop Oct 2006 FLAO WFS software Shared memory buffers (fast diagnostic system) Continuous buffersSynchronous (FIFO mode) Producer Shared memory Consumer #1Consumer #2Consumer #3 Producer Shared memory Consumer

Tucson, SW workshop Oct 2006 FLAO WFS software Data storage Static calibration data Reconstruction matrix, pixel lookup tables, reference frames, etc. Changes rarely average size (currently about 30 MB total, may be 10x larger for LBT672) Session calibration data Measured at the start of each observation session (for example, CCD darks) small size (some MB per session) Loop diagnostic data Measured during both calibration and operation Potentially huge (several MB/sec if we save everything)

Tucson, SW workshop Oct 2006 FLAO WFS software Main items still TBD Finalize the WFS finite state machine (in progress) and the corresponding arbitrator Coordinate WFS and Adaptive secondary operations automatically (now done by the operator).

Tucson, SW workshop Oct 2006 FLAO WFS software N E T W O R K Example configuration: Arcetri P45 lab COMMLIB Mirror ctrl MSGLIB MsgD RTDB MSGLIB IDL process P45 prototype MSGLIB GUI Shared memory Command path Fast data path Ethernet line HW ctrl MSGLIB COMMLIB HW ctrl MSGLIB COMMLIB HW ctrl MSGLIB COMMLIB

Tucson, SW workshop Oct 2006 FLAO WFS software MVxxSTATUS MvxxERRMSG MVxxCURPOS MvxxLOEND MvxxHIEND MVxxSPEED MvxxHISPEED MVxxTGTPOS MvxxENABLE RTDB Var Set User prompt/ GUI / Automatic script Notify RS232 over Ethernet Motor Controller Typical controller configuration Two types of variable: global and private. Commands are implemented as writes to global variables. Answers as writes to private variables Mx

Tucson, SW workshop Oct 2006 FLAO WFS software MVxxSTATUS MVxxERRMSG MvxxCURPOS MVxxLOEND MvxxHIEND MVxxSPEED MvxxHISPEED MVxxTGTPOS MvxxENABLE RTDB Var Set Application Program Notify Mx RS232 over Ethernet Old stepper controller Changing a component transparently RS232 over Ethernet New stepper controller Mx

Tucson, SW workshop Oct 2006 FLAO WFS software WFS CCD Controller SciMeasure Slope Computer MicroGate Custom F.O. RS485 Ethernet Cat. 5E WFS linear stages (X,Y,Z) Bayside Filter Wheel #1 Filter Wheel #2 Tip-Tilt Mirror Phys.Instrum. Pupil Rerotator Micos Interferometer Gigabit Switch AGW - on Axis Right Ethernet / Serial (A-B) AGW on-axis data communication layout Technical Viewer CCD Controller SciMeasure CCD Data Acquisition MicroGate Power Switch Atmospheric Dispersion Corrector Ethernet Cat. 5E RS232 To adaptive secondary From telescope network Power control Temperature monitor CPE RS232

Tucson, SW workshop Oct 2006 FLAO WFS software BCU communicator UDP MV01STATUS MV01ERRMSG MV01CURPOS MV01LOEND MV01HIEND MV01SPEED Mv01HISPEED MV01TGTPOS Mv01ENABLE MV02STATUS MV02ERRMSG MV02CURPOS MV02LOEND MV02HIEND MV02SPEED Mv02HISPEED MV02TGTPOS Mv02ENABLE MV03STATUS MV03ERRMSG MV03CURPOS MV03LOEND MV03HIEND MV03SPEED Mv03HISPEED MV03TGTPOS Mv03ENABLE RTDB Var Set User prompt/ GUI / Automatic script Ctrl #1 Ctrl#2 Ctrl #3 MSGLIB MsgD RTDB MSGLIB Controlling multi-purpose BCUs

Tucson, SW workshop Oct 2006 FLAO WFS software DSP FPGA Memory Fiber link Digital I/O