A flexible and user friendly CPU-based AO software J. MOCCI, M. - - PowerPoint PPT Presentation

a flexible and user friendly cpu based ao software
SMART_READER_LITE
LIVE PREVIEW

A flexible and user friendly CPU-based AO software J. MOCCI, M. - - PowerPoint PPT Presentation

A flexible and user friendly CPU-based AO software J. MOCCI, M. QUINTAVALLA, C. TRESTINO, S. BONORA AND R.MURADORE UNIVERSIT DEGLI STUDI DI VERONA CNR-IFN, PADOVA ADONI 2017, PADOVA (IT) 1 Adaptive Optics Basics Wavefront Sensor USB


slide-1
SLIDE 1

A flexible and user friendly CPU-based AO software

  • J. MOCCI, M. QUINTAVALLA, C. TRESTINO, S.

BONORA AND R.MURADORE UNIVERSITÀ DEGLI STUDI DI VERONA CNR-IFN, PADOVA

ADONI 2017, PADOVA (IT)

1

slide-2
SLIDE 2

Adaptive Optics – Basics

Wavefront Sensor Portable Computer USB Interface PhotonLoop Software Deformable Element

ADONI 2017, PADOVA (IT)

2

slide-3
SLIDE 3

Adaptive Optics – Architecture

Complexity Performance CPU GPU FPGA Our Contribution

ADONI 2017, PADOVA (IT)

3

slide-4
SLIDE 4

PhotonLoop – Introduction

PhotonLoop is a flexible and user-friendly CPU-based Adaptive Optics software. Measures:

  • Zernike polynomials and wavefront shape from wavefront slopes (using a

Shack-Hartmann WFS).

Corrects:

  • closed-loop and open-loop with PI control; Hadamard calibration; can apply

Zernike offset to be generated by the controller.

ADONI 2017, PADOVA (IT)

4

slide-5
SLIDE 5

PhotonLoop – Introduction

Flexible:

  • any size of WFS aperture (any number of centroids); any number of DM

actuators; fully scriptable.

User Friendly:

  • graphical representationof all data structures; advanced tools for WFS and DM

calibration; real-time performance monitors.

Fast:

  • closed-loop frequency up to 500Hz; total closed-loop latency of 2-3 ms (2

frames).

ADONI 2017, PADOVA (IT)

5

slide-6
SLIDE 6

PhotonLoop – Development

C++:

  • guarantees high performance and promotes Object-Oriented Programming

(OOP).

Qt Framework:

  • cross-platform utility libraries for GUI and OS-dependent operations.

Eigen:

  • efficient vector and matrix operations.

ADONI 2017, PADOVA (IT)

6

slide-7
SLIDE 7

PhotonLoop – Architecture

ADONI 2017, PADOVA (IT)

7

slide-8
SLIDE 8

PhotonLoop – Control Layer

ADONI 2017, PADOVA (IT)

8

Fast data loop Real-time constraints

slide-9
SLIDE 9

PhotonLoop – WFS

Fast centroiding algorithm:

  • Uses Thresholded Weighted Center of Gravity.

Operation on integers for speed. Parallellized:

  • independent centroids are offloaded to the single CPU cores

ADONI 2017, PADOVA (IT)

9

slide-10
SLIDE 10

PhotonLoop – WFS

Reference

  • Can remove global tilt; can be set relative to centroids.

Zernike

  • Decompose the wavefront slopes to any number of Zernike terms with

least-squares methods.

Reconstruction

  • Uses modal reconstructions from Zernike terms

ADONI 2017, PADOVA (IT)

10

slide-11
SLIDE 11

PhotonLoop – Controller

Calibration:

  • DM is calibrated with Influence Functions or

Hadamard patterns

  • the interaction matrix is processed with SVD

decomposition

Closed Loop:

  • parallel array of PI compensators with anti

wind-up to avoid actuators saturation Hadamard Matrix Controlled Plant Scheme

ADONI 2017, PADOVA (IT)

11

slide-12
SLIDE 12

PhotonLoop – Monitor Layer

ADONI 2017, PADOVA (IT)

12

slide-13
SLIDE 13

PhotonLoop – User Interface

Intensity Graph Grid Tools Tools Visualization Toggles Full Screen Slopes

ADONI 2017, PADOVA (IT)

13

slide-14
SLIDE 14

PhotonLoop – User Interface

Control Parameters Main Tools Pages Statistics Status Bar Zernike Actuators Wavefront System Modes Intensities System Modes

ADONI 2017, PADOVA (IT)

14

slide-15
SLIDE 15

PhotonLoop – Logging

Logging

  • Flexible log engine to record time

series of the internal data

  • Can be saved to disk as contiguous
  • r segmented sessions

Actuator Rise Time @ 2.5kHz

ADONI 2017, PADOVA (IT)

15

slide-16
SLIDE 16

PhotonLoop – Playback

Playback

  • Recorded time series can be given

as input for testing purposes

  • Especially useful when testing

correction performance amongst devices with fair comparison Correction of a pre-recorded Zernike time series

ADONI 2017, PADOVA (IT)

16

slide-17
SLIDE 17

PhotonLoop – Scripting

Scripting

  • PhotonLoop can be commanded by

Javascript files

  • Can connect to Matlab or other

softwares by TCP-IP communication Sample Javascript File

ADONI 2017, PADOVA (IT)

17

slide-18
SLIDE 18

PhotonLoop – Demonstration

ADONI 2017, PADOVA (IT)

18

Hadamard Calibration Zernike Generation Aberration Playback and Correction

slide-19
SLIDE 19

Conclusion

We have presented an AO software controllerwhich is

  • Fast: limitedby WFS FPS; 500Hz; 2 frames closed-loop latency
  • Flexible: record, playbackand script engines
  • Friendly: responsive GUI with plenty of calibration tools

We tested it in real worldoptical setups

  • Atmospheric turbulence eval (MBDA, La Spezia)
  • High power laser (Udyni, Politecnicodi Milano)
  • Deformable Mirror/Lens comparison framework (CNR-IFN, Padova)

ADONI 2017, PADOVA (IT)

19