<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Real-time Experimental Demonstrations of a Photonic Lantern Wave-front Sensor</title></titleStmt>
			<publicationStmt>
				<publisher>NA</publisher>
				<date>12/01/2023</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10533751</idno>
					<idno type="doi">10.3847/2041-8213/ad12a4</idno>
					<title level='j'>The Astrophysical Journal Letters</title>
<idno>2041-8205</idno>
<biblScope unit="volume">959</biblScope>
<biblScope unit="issue">2</biblScope>					

					<author>Jonathan W Lin</author><author>Michael P Fitzgerald</author><author>Yinzi Xin</author><author>Yoo Jung Kim</author><author>Olivier Guyon</author><author>Barnaby Norris</author><author>Christopher Betters</author><author>Sergio Leon-Saval</author><author>Kyohoon Ahn</author><author>Vincent Deo</author><author>Julien Lozi</author><author>Sébastien Vievard</author><author>Daniel Levinstein</author><author>Steph Sallum</author><author>Nemanja Jovanovic</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[<title>Abstract</title> <p>The direct imaging of an Earth-like exoplanet will require sub-nanometric wave-front control across large light-collecting apertures to reject host starlight and detect the faint planetary signal. Current adaptive optics systems, which use wave-front sensors that reimage the telescope pupil, face two challenges that prevent this level of control: non-common-path aberrations, caused by differences between the sensing and science arms of the instrument; and petaling modes: discontinuous phase aberrations caused by pupil fragmentation, especially relevant for the upcoming 30 m class telescopes. Such aberrations drastically impact the capabilities of high-contrast instruments. To address these issues, we can add a second-stage wave-front sensor to the science focal plane. One promising architecture uses the photonic lantern (PL): a waveguide that efficiently couples aberrated light into single-mode fibers (SMFs). In turn, SMF-confined light can be stably injected into high-resolution spectrographs, enabling direct exoplanet characterization and precision radial velocity measurements; simultaneously, the PL can be used for focal-plane wave-front sensing. We present a real-time experimental demonstration of the PL wave-front sensor on the Subaru/SCExAO testbed. Our system is stable out to around ±400 nm of low-order Zernike wave-front error and can correct petaling modes. When injecting ∼30 nm rms of low-order time-varying error, we achieve ∼10× rejection at 1 s timescales; further refinements to the control law and lantern fabrication process should make sub-nanometric wave-front control possible. In the future, novel sensors like the PL wave-front sensor may prove to be critical in resolving the wave-front control challenges posed by exoplanet direct imaging.</p>]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction</head><p>From the ground, planar wave fronts from distant stars are warped due to Earth's turbulent atmosphere and can become further distorted by the imperfect and unstable optics of astronomical instruments. In astronomy, these challenges motivate adaptive optics (AO), a technique which combines wavefront sensors (WFSs) and deformable mirrors (DMs) to actively flatten incoming wave fronts. Using AO, modern observing facilities have imaged exoplanets, uncovered circumstellar environments, examined the Galactic center, and probed the structure of active galactic nuclei. Beyond astronomy, AO finds applications in free-space optical communications, microscopy, and remote sensing, all of which must contend with the propagation of light through inhomogeneous and dynamic media.</p><p>One of the primary goals for astronomy in the upcoming decade will be the direct imaging of an Earth-like exoplanet and the characterization of any potential biological signatures: a scientific and technical feat whose importance was reiterated by the Astro 2020 decadal survey (National Academies of Sciences, Engineering, &amp; Medicine 2021) and whose challenges are now driving the development of new technologies. One of the primary hurdles is the suppression of light from the host star, which will outshine an Earth-like companion by a factor of 10 10 in the visible wavelengths <ref type="bibr">(Traub &amp; Oppenheimer 2010)</ref>. To do so, we require coronagraphs or external starshades to blot out starlight, paired with wave-front control, which must flatten incoming wavefronts at sub-nanometer precision. Such stringent demands cannot be met by conventional AO, which uses sensors (e.g., Shack-Hartmann, pyramid) located in a conjugate pupil separate from the science focal plane and therefore suffer from non-commonpath aberrations (NCPAs): instrumental aberrations that appear exclusively either in the science or sensing arms of the instrument <ref type="bibr">(Martinez et al. 2012)</ref>. Additional complications include the lowwind effect (LWE), where the temperature gradients in a segmented aperture lead to aberrations that are discontinuous at segment boundaries (N'Diaye 2018), and petaling, in which the same kind of aberrations arise due to drifting misalignments in telescopes with fragmented primaries. Both are challenging to correct with general purpose sensors that re-image the pupil; petaling is of particular concern for the upcoming 30 m class telescopes, which will provide the best chance of directly imaging Earth-like exoplanets from the ground.</p><p>We can avoid these difficulties by using WFSs that operate in the science focal plane. This can be enabled in two ways: through phase diversity (e.g., COFFEE; <ref type="bibr">Sauvage et al. 2012)</ref> and related algorithms such as F&amp;F <ref type="bibr">(Korkiakoski et al. 2014</ref>) and DrWho <ref type="bibr">(Skaf et al. 2022)</ref>; or through purpose-built sensing optics such as phase holograms, asymmetric pupil masks, and dephased pinhole masks (e.g., cMWFS, APF-WFS, ZELDA, vAPP; Martinache 2013; N' <ref type="bibr">Diaye et al. 2014;</ref><ref type="bibr">Wilby et al. 2017;</ref><ref type="bibr">Bos et al. 2019)</ref>, sometimes coupled with nonlinear phase retrieval algorithms. In this work we consider an alternate architecture that works with standard linear phase retrieval algorithms, using a photonic lantern (PL): a slowly transitioning waveguide that efficiently couples multimodal light into multiple single-moded outputs <ref type="bibr">(Leon-Saval et al. 2005;</ref><ref type="bibr">Birks et al. 2015)</ref>. Importantly, when used to couple the aberrated telescope beam in the focal plane, PLs already have utility in several high-contrast imaging applications, including spectro-imaging and starlight nulling. PLs are also uniquely suited to couple aberrated telescope light into highly stable diffraction-limited spectrometers <ref type="bibr">(Lin et al. 2021)</ref>, enabling direct exoplanet spectroscopy, and can serve as a gateway into a wider ecosystem of astrophotonic devices such as arrayed waveguide gratings and photonic integrated circuits <ref type="bibr">(Jovanovic et al. 2023)</ref>. Simultaneously, low-spatial-frequency aberrations such as NCPAs and LWE modes can be sensed in the true science focal plane by monitoring the fluxes of the lantern's outputs. By construction, the photonic lantern WFS (PLWFS), at least in a single monochromatic channel, is a low-order sensor, with a maximum number of sensed modes equal to the number of lantern ports (or twice that if polarizations can be separated; <ref type="bibr">Lin et al. 2022</ref><ref type="bibr">Lin et al. , 2023))</ref>. Accordingly, we envision that in practical ground-based applications the PLWFS will be most useful as a second-stage system, correcting the low-order NCPAs and petalling aberrations left over by a first-stage pupil-plane WFS control loop.</p><p>Previous numerical modeling <ref type="bibr">(Lin et al. 2022</ref><ref type="bibr">(Lin et al. , 2023) )</ref> and experimental results <ref type="bibr">(Corrigan et al. 2018;</ref><ref type="bibr">Norris et al. 2020)</ref> have made important progress in developing the PLWFS. However, unknowns, such as the PLWFS's linearity, dynamic range, and stability, especially as part of a real-time AO system, have so far prevented the PLWFS from being realistically considered. The next step-a real-time demonstration of the PLWFS as part of a modern AO system-would verify the PLWFS as a future pathway to wave-front sensing in the true science focal plane, one that is further unique due to the non-WFS capabilities that PLs can simultaneously provide, including starlight nulling, spectro-imaging, and high-resolution spectroscope injection. In this work, we take this step, using the SCExAO test bed at Subaru telescope. Our results place the PLWFS firmly on the path to eventual integration with the next generation of astronomical instruments, which will ultimately enable the imaging and characterization of an Earth-like exoplanet.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Methodology</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1.">Test Bed Setup</head><p>We used the near-infrared test bed on SCExAO <ref type="bibr">(Jovanovic et al. 2016;</ref><ref type="bibr">Lozi et al. 2020)</ref> to demonstrate real-time control with the PLWFS. Microscope images of the 19-port PL used in this work, as well as a picture of the lantern mounted in the SCExAO test bed, are shown in Figure <ref type="figure">1</ref>. A simplified diagram of the SCExAO beam path, containing only optics relevant for our tests, is given in the top panel of Figure <ref type="figure">2</ref>, while an overview of the closed-loop calibration and control process is shown at the bottom. Our light source is a supercontinuum white light laser, with a narrowband 1550 &#177; 50 nm filter, which is then collimated onto a 50 &#215; 50 actuator DM and apodized using a set of Gaussian beam-shaping lenses. We use these lenses only because the downstream optics of the fiber injection unit were sized for the smaller apodized beam. The beam is then divided by a 90:10 beam splitter, which sends 10% of the light through to SCExAO's internal near-infrared (NIR) camera (FLI C-Red 2) for monitoring of the point-spread function. The remaining 90% of the light is sent into the fiber injection unit: a four-axis translation stage (shown in Figure <ref type="figure">1</ref>, middle) that allows us to change the focal ratio of the injection as well as reposition the lantern in the focal plane. Finally, the 19 singlemode lantern output spots are imaged onto a detector (FLI C-Red 1).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2.">Software</head><p>To calibrate and close the PLWFS loop, we use the Compute and Control for Adaptive Optics (CACAO) package. Figure <ref type="figure">2</ref> (bottom) gives an overview of the software steps required to close the loop. The raw frame taken from the CRED1 detector must be processed before it can be used for AO control. This includes dark subtraction, photometry extraction, image normalization, and reference subtraction. Initial data processing converts the full-frame detector image into a 19-dimensional vector, which we then multiply against the control matrix. The output is then fed into a leaky integrator; the output mode values are converted back to a 50 &#215; 50 displacement map that is then sent out to the SCExAO DM. To compute the control matrix, we measure the response of the PLWFS to a set of aberration modes (Zernike, petaling, Hadamard, etc.) and calculate the pseudo-inverse, setting our regularization parameter to 0.1. The loop was run at 1 kHz but in principle could be run even faster; because the computations for linear phase retrieval with only a few modes are lightweight, control speed is limited by hardware, not software.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.3.">Photonic Lantern</head><p>The lantern in our demonstration was manufactured at the Sydney Astrophotonics Instrumentation Laboratory using a tapered-fiber process: a custom multicore fiber with 19 singlemode channels (hexagonal array, 6.5 &#956;m core diameter, 60 &#956;m core spacing, numerical aperture 0.14) was inserted into a lower-index fluorine glass capillary, and then one end was heated and drawn to form a tapered structure. The left and right panels of Figure <ref type="figure">1</ref> show the end-face geometries of the PL.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Results</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.">Closed-loop Correction of Static Aberrations</head><p>We first closed the loop on the first five non-piston Zernike modes, at a frequency of 1 kHz using a leaky integrator control law, with leak = 0.99 and gain = 0.2. We choose this few-mode, low-spatial-frequency basis both because the PLWFS is a fewmode sensor and because most of the power in instrumental aberrations will appear in the first few Zernike modes <ref type="bibr">(Sauvage et al. 2007</ref>). To test the loop, we injected a fixed amount of a single Zernike mode, scanning in both mode amplitude and mode index. At each point in the scan, after injecting the wavefront error (WFE) and letting the loop settle, we sampled the closed-loop correction 20 times over the course of 2 s. This procedure is idealized in the sense that it neglects the effect of AO residuals, which will degrade the performance of the sensor in real-world operation; nevertheless, we believe that a comprehensive treatment of WFS performance in the presence of realistic AO residuals (e.g., as was done in <ref type="bibr">Engler et al. 2022</ref> for the pyramid) outside the scope of this work. We plan on pursuing such characterizations with future on-sky tests.</p><p>Figure <ref type="figure">3</ref> shows the correction of three Zernike modes over a range of static injected-mode amplitudes; the other two modes show similar behavior and are omitted for brevity. We note that the loop was able to consistently correct &#8764;95% of the injected WFE, which is the expected amount of correction when setting leak = 0.99 and gain = 0.2 (see Appendix B). Furthermore, the loop remained stable out to around &#177;1.6 radians of rms WFE, or about 400 nm at our injection wavelength. The dynamic range was limited by tilt. However, it is important to note that precise loop properties are sensitive to lantern alignment and that we did not apply a rigorous optimization to align the lantern in the best location for wave-front sensing (which may not be at the lantern's center, or even in focus). Nevertheless, our estimate of dynamic range falls in the middle of the predicted lower and upper limits from prior simulations <ref type="bibr">(Lin et al. 2023)</ref>, which suggested that a 19-port lantern sensing the first five non-piston Zernikes would have good linearity out to at least 0.5 radians and would be limited by degeneracies, arising from nonlinearity, beyond 2.3 radians. Figure <ref type="figure">3</ref> also shows aliasing between the two astigmatism modes (and to a lesser extent, the two tilt modes), which was not shown in simulations; it is unclear if this result is specific to our particular 19-port lantern or if it can be reduced by adjusting the alignment.</p><p>We also consider the correction of petaling/LWE modes, an additional source of aberration besides NCPAs that will be particularly problematic for the upcoming 30 m telescopes and are difficult to sense with conventional pupil-plane sensors. The SCExAO pupil is divided by spiders into four aperture segments, giving a total of 12 LWE modes: a local piston and two local tilt modes per aperture segment. These 12 LWE modes correspond to 11&#176;of freedom since overall piston has no effect. We find that out of these 11&#176;, our 19-port PLWFS is able to sense eight of them, including all four segment pistons; more modes might be recovered by tweaking alignment or by using a higher modecount lantern. Figure <ref type="figure">4</ref> (left) repeats the laboratory procedure of Figure <ref type="figure">3</ref> for two of the four LWE segment piston modes, while Figure <ref type="figure">4</ref> (right) compares phase maps from the WFE injection and closed-loop correction channels of the DM. We find that the PLWFS is capable of tracking all four piston modes but with a slight undercorrection of &#8764;5%-10%, perhaps due to crosstalk. Unlike our previous test, we observe no loop instabilities over the entire mode amplitude range of -2 to 2 radians, for any of the segment piston modes.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.">Dynamic Aberrations</head><p>While the PLWFS can suppress static aberrations in closedloop operation, in practice instrumental aberrations evolve temporally due to mechanical drifts, thermal expansion, and gravity vector changes caused by the slewing telescope. Excluding vibrations, the temporal evolution is typically on the timescale of seconds to minutes <ref type="bibr">(Martinez et al. 2012</ref><ref type="bibr">(Martinez et al. , 2013))</ref>. Accordingly, we tested the loop next by injecting time-evolving low-order WFE with a decorrelation timescale of 1 s. This artificial WFE was composed from the first seven nonpiston Zernike modes (tilt, defocus, astigmatism, and coma); each mode amplitude is independently updated at a rate of 1 kHz according to an autoregressive formula, setting a permode amplitude of 0.05 radians rms. For more details, see Appendix A. To calibrate the loop, we measured the sensor response matrix against the first 20 non-piston Zernike modes and used a singular value decomposition to compute the control modes of the system. In all, we found 12 control modes, constructed from independent linear combinations of the first 20 Zernikes. Note that we cannot recover the full 19 modes with a 19-port PLWFS because we lose 1&#176;of freedom to image normalization and another to a global piston-like mode <ref type="bibr">(Lin et al. 2022)</ref>; beyond that, there is no guarantee a priori that the 19 lantern outputs will behave independently for a given aberration basis. We then logged the PLWFS output in both open and closed loops; the closed-loop leak was 0.99. The ratio of the open-and closed-loop power spectral densities (PSDs), which we estimated from the collected time-series data, approximate the squared modulus of the system's rejection transfer function. We plot the experimentally measured transfer functions for the first control mode in Figure <ref type="figure">5</ref> at different gains, along with the transfer functions expected by a theoretical model for our closed-loop system, set entirely by system latency, detector framerate, leak, and gain. Our model transfer function is presented in Appendix B. All measured transfer functions in Figure <ref type="figure">5</ref> agree with models and show successful rejection of the slowly varying components of the injected WFE. We find 0 dB frequencies of 15, 23, and 32 Hz and rejection at 1 Hz of roughly 4&#215;, 10&#215;, and 12&#215;, for gains of 0.03, 0.1, and 0.2, respectively. We also note that these transfer functions can be recovered by comparing open-and closed-loop PSDs, even without injecting artificial WFE Figure <ref type="figure">3</ref>. Correction applied by closed loop, as a function of the amount of static Zernike aberration injected into the system. The sign of the y-axis has been flipped for clarity (in a perfect system, the injection and correction mode amplitude would sum to 0). The left, middle, and right panels show the loop behavior when injecting tilt, defocus, and astigmatism, respectively. For each injected-mode amplitude, 20 measurements of the closed-loop correction were taken; vertical bars show the standard deviation. The diagonal dashed gray lines show the line y = 0.95x, following the expected correction of a static aberration for our chosen loop parameters. Hatching shows regions where the loop becomes unstable.</p><p>(relying solely on the actual system instabilities), implying that the PLWFS can actively correct the ambient WFE of the SCExAO test bed.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3.">Stability</head><p>In a perfectly stable AO system, measurement of the response matrix only needs to happen once; in reality, an accumulation of slight changes in WFS optical properties (e.g., caused by temperature drifts) will require eventual recalibration. In this subsection, we present a rudimentary estimate of the average drift rate of the PL response matrix, separate from drift inherent to the SCExAO test bed. The basis of our test is as follows. Suppose at some initial time, the response matrix of the PLWFS, A 0 , is measured, and the control matrix</p><p>, where I is the identity matrix. However, later measurements of the response matrix, denoted A n , will deviate from A 0 , and thus the product + A A n 0 will drift from I. This accumulated miscalibration error, err n , can be quantified as</p><p>where |M| denotes the Frobenius norm of matrix M.</p><p>We applied this test to the PLWFS over the course of 1 week. In practice, we first measured the reference response and control matrices, A 0 and + A 0 , for 11 control modes. At roughly the same time on later days, we then realigned the PL injection, closed the loop using the reference control matrix, and used cacao&#700;s built-in selfRM function to measure + A A n 0 directly. selfRM works by manually injecting a small amount of each control mode, in sequence, into the system while the loop is closed and recording the applied correction. After 1 week, we compute an accumulated miscalibration error of &#8764;1.4. On average, this corresponds to an accumulated per-mode error of 1.4/11 &#8776; 0.13 (13%, since each column of + A A n 0 should have a norm of 1) over the course of the week, or a per-mode drift of around 2% per day. This measurement of long-term stability (separate from diurnal stability) is a lower bound since we currently cannot completely compensate for the drifting bulk optics on the SCExAO test bed. Thus, the accumulated miscalibration error we measure is at least partially attributable to test bed instability; nevertheless, our results confirm that we can still close the wave-front control loop using a week-old calibration.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Discussion and Conclusion</head><p>The PLWFS offers a novel approach to focal-plane wavefront sensing, enabling both the correction of NCPAs and petaling modes, which currently limit achievable contrast in exoplanet direct imaging, as well as a host of additional highcontrast applications such as starlight nulling and highresolution spectrometer injection. We present the first realtime demonstration of the PLWFS and verify its ability to correct both low-order Zernike modes and LWE/petaling modes from the science-path focal plane. We further confirm the system's ability to track and correct dynamic Zernike WFE, which varies on a timescale of &#8764;1 s, representative of quasistatic NCPAs-currently one of the main limiting factors in achieving higher contrasts. Our control method has the added benefit of simplicity, using conventional linear phase retrieval and is thus easily integrable into existing AO systems. However, future work still needs to be done before a PLWFS can be adopted in next-generation high-contrast imaging instruments. For one, we require a better understanding of how PL geometry and the overall system alignment impacts the properties of the AO system. In terms of practicality, we must  also measure the PLWFS's WFE sensitivity and limiting magnitude in realistic conditions. In regards to the latter, we expect that the PLWFS should be able to work with fainter guide stars than conventional pupil-plane AO systems because PLs have relatively high coupling efficiencies and concentrate collected light into fewer pixels. In the near future, we hope to take the PLWFS on-sky and to leverage spectral dispersion and/or polarization to increase the amount of wave-front information provided by the lantern. Eventually, we believe that the PLWFS, and the wider ecosystem of astrophotonic devices, will ultimately play a critical part in the successful direct imaging and characterization of another Earth.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_0"><p>The Astrophysical Journal Letters, 959:L34 (6pp), 2023 December 20 https://doi.org/10.3847/2041-8213/ad12a4 &#169; 2023. The Author(s). Published by the American Astronomical Society.Original content from this work may be used under the terms of the Creative Commons Attribution 4.0 licence. Any further distribution of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_1"><p>The Astrophysical Journal Letters, 959:L34 (6pp), 2023 December 20 Lin et al.</p></note>
		</body>
		</text>
</TEI>
