Shaping light with GPUs Damien Gratadour Observatoire de Paris - - PowerPoint PPT Presentation

shaping light with gpus
SMART_READER_LITE
LIVE PREVIEW

Shaping light with GPUs Damien Gratadour Observatoire de Paris - - PowerPoint PPT Presentation

Shaping light with GPUs Damien Gratadour Observatoire de Paris & Universit Paris Diderot 1 Observing stars from the ground Atmospheric turbulence Disturbs the trajectory of light rays when they cross the atmosphere Reduces


slide-1
SLIDE 1

1

Shaping light with GPUs

Damien Gratadour Observatoire de Paris & Université Paris Diderot

slide-2
SLIDE 2

2

Observing stars from the ground

๏ Atmospheric turbulence

๏ Disturbs the trajectory of light

rays when they cross the atmosphere

๏ Reduces astronomical images

quality

๏ Similar to the effect of aberrations

in an optical system

๏ Adaptive optics

๏ Compensate in real-time for

the effect of optical aberrations

  • n image quality

๏ Already in use on most 5-10m astronomical telescope to provide nominal image

quality whatever the turbulence conditions

slide-3
SLIDE 3

3

Observing stars from the ground

๏ From a spherical wave to a flat wavefront

slide-4
SLIDE 4

4

Observing stars from the ground

๏ Crossing the atmosphere

distorts the wavefront

๏ Mixture of hot and cold

air bubbles with varying refractive index

๏ Strongly affects image quality

slide-5
SLIDE 5

5

Adaptive optics

๏ Compensate in real-time

the wavefront perturbations

๏ Using a wavefront

sensor to measure them

๏ Using a deformable

mirror to reshape the wavefront

๏ Commands to the

mirror must be computed in real-time (1ms rate)

High resolution camera Wavefront sensor Deformable mirror Disturbed wavefront Corrected wavefront Beam- splitter Real-time controller Loop closed Loop open

slide-6
SLIDE 6

6

Adaptive optics

๏ Example with observations of the moon using a 8m telescope

Without AO With AO

slide-7
SLIDE 7

7

European Extremely Large Telescope

๏ 39m diameter telescope : x5 in diameter

=> x25 in system complexity

๏ 100m dome, 2800 tones structure

rotating @ 360°, seismic safe (Chile)

๏ 1.2 G€ project, first light foreseen in

2024

๏ Construction led by ESO (European

Southern Observatory), international

  • rganisation funded by 15 European

countries

๏ Telescope components + science

instruments built by european research labs + industrial partners

slide-8
SLIDE 8

8

Adaptive optics

๏ Compensate in real-time

the wavefront perturbations

๏ Using a wavefront

sensor to measure them

๏ Using a deformable

mirror to reshape the wavefront

๏ Commands to the

mirror must be computed in real-time (1ms rate)

High resolution camera Wavefront sensor Deformable mirror Disturbed wavefront Corrected wavefront Beam- splitter Real-time controller Loop closed Loop open

slide-9
SLIDE 9

9

AO real-time controller

๏ Highly heterogeneous HPC facility

slide-10
SLIDE 10

10

The Green Flash project

๏ Goal : prototype a generic RTC for the next generation

  • f AO on extremely large telescopes

๏ 4 partners in Europe (2 academic partners + 2 SMEs), project

lead : Observatoire de Paris, 3.8 M€ investment funded under the H2020 program (FET-HPC, project #671662)

๏ Assess various technologies (CPUs, GPUs, FPGAs) for the

different sub-components (real-time core, supervisor) and find the best trade-off

๏ Assemble a full featured prototype in the lab by 2018 ๏

slide-11
SLIDE 11

11

Prototyping in the lab

๏ AO system components for the E-ELT are not yet available

๏ High framerate low noise cameras under development ๏ High density deformable mirror under construction,

too large to be integrated in the lab (2.5m)

๏ Need to emulate these components to work in the lab

Credits : Microgate

slide-12
SLIDE 12

12

Prototyping in the lab

๏ Liquid Crystal On Silicon : reflective Spatial Light Modulator ๏ Changes the phase of light without any change in intensity

according to alignment of LC

๏ LC controlled pixel by pixel by applied voltage using CMOS

backplane

๏ Controlled through

DVI signal from a PC

๏ Large number of pixels

(up to 1k x 1k)

๏ 120 FPS (DVI),

rise time 5ms

Credits : Hamamatsu

slide-13
SLIDE 13

13

First stage lab experiment

๏ Integration of a pyramid wavefront sensor demonstrator

Credits : S. Egner

slide-14
SLIDE 14

14

First stage lab experiment

๏ Integration of a pyramid wavefront sensor demonstrator ๏ Using a 10 GbE camera from Emergent Vision Technologies

(emulate a single WFS at full frame rate)

๏ Zoom optics : allows for various pupil samplings, i.e. various

system dimensioning

slide-15
SLIDE 15

15

Loop concept

๏ Emulate a simple AO loop Get wavefront measurements Reconstruct the phase High framerate, low latency data acquisition Map wavefront to given DM geometry

RTC

slide-16
SLIDE 16

16

First stage lab experiment

๏ Custom RTC demonstrator ๏ High end dual GPU server

slide-17
SLIDE 17

17

First stage lab experiment

๏ Critical aspect : low latency data acquisition from the camera ๏ Using an off-the-shelf frame grabber ๏ Very high jitter in performance

GPU DDR Mem. Serial interface PCIe bus FPGA DMA engine DDR Mem. CPU DDR Mem. 10 Gbe Frame-grabber Pixel data

slide-18
SLIDE 18

18

First stage lab experiment

๏ Using GPU direct + persistent kernels : reduce jitter, i.e. ensure

loop stability

GPU DDR Mem. Serial interface PCIe bus FPGA DMA engine DDR Mem. CPU DDR Mem. 10 Gbe Frame-grabber Pixel data

Comp Comp Comp Comp Comp Comp Cpy Comp Comp Comp Comp Cpy Cpy Cpy Cpy Cpy Cpy Cpy Cpy Cpy Timeline for standard kernel call Timeline for persistent kernel call

slide-19
SLIDE 19

19

First stage lab experiment

๏ Custom frame grabber : developped in collaboration with PLDA ๏ Based on Altera Stratix V board ๏ Using PLDA development tools

for PCIe + UDP

๏ Multiple DMA engines

UDP0 DEMUX Signal TAP Logic Analyzer FIFO Data Generator DMA0 DMA1 DMA3 Address Translation PHY QuickPCIe QuickUDP App config Custom 10 Gbe GigeVision Framegrabber Buffer CPU Buffer GPU DMA2 Buffer CPU Buffer CPU GVCP GVSP GVCP Registers DEC

. . .

PHY UDP1 QuickUDP FIBRE

slide-20
SLIDE 20

20

What's next ?

๏ Close the loop and demonstrate

AO performance for various mirror scales / actuators geometry

๏ Build a scaled down prototype

  • f real system with several

cameras (up to 6) : need to increase the number of GPUs in the system (15 to 20 boards)

๏ Compare performance of GPU

solution against other technologies (CPUs, FPGAs) at full scale

๏ Have more fun !

slide-21
SLIDE 21

21

Outline

๏ Next generation of large ground based telescope will require AO

systems with unprecedented complexity (x25 as compared to state of the art)

๏ Several generations of instruments => several system dimensioning ๏ GPUs are good candidates to build the real-time controllers for these

systems

๏ Single board performance + scalability

๏ Requires full control over pixels data acquisition to get deterministic

performance (i.e. loop stability) and dedicated data pipeline

๏ GPUs are also used to simulate systems performance and lead trade-off

studies for the design (see H. Ltaief talk, room 212A, 3 p.m. today)

slide-22
SLIDE 22

22

Thank you