Created by sebastien.popoff on 20/06/2013

Tutorials Spatial Light Modulators

How to use a binary amplitude Deformable Mirror Device (DMD) as a phase modulator: The Lee hologram method

 

 

The optical field measured at the output of a complex medium (multimode waveguide, multimode cavity, scattering medium...) is the result of the interference of the many paths taken by the light. Most of the applications of wavefront shaping techniques in these media rely on taking advantage of these interference effects to force the medium to perform a desired function. For this reason, the phases of the controlled segments of the input wavefront are usually the most important degrees of freedom to control. Common phase-only Spatial Light Modulators (SLMs) have a limited refresh rate (~100 Hz) due to the liquid crystal technology. This limits the applications in media with a low decorrelation time (like biological tissues) or for experiments for which a long optimization process is needed. Although a new class of phase-only SLMs based on deformable mirrors allows high-speed modulations (>30 kHz), these devices are currently very expensive compared to liquid crystal technology and have a limited resolution (~1000 pixels maximum). On the other hand, fast binary-amplitude modulators with high resolutions are widespread and affordable since the technology is the same one as used in commercial digital projectors. In a recent publication, [D.B. Conkey et al., Opt. Express (2012)] introduced a method to use such a binary-amplitude Deformable Mirror Device (DMD) for phase modulation. This technique allows a fast phase modulation (up to 23 kHz) at the cost of a loss of resolution.

See full post
Created by sebastien.popoff on 04/05/2013

Tutorials Spatial Light Modulators

How to characterize and calibrate a phase-only SLM

For most applications in complex media, spatial light modulators are used for their ability to control the phase of a laser beam. Whereas deformable mirrors are insensitive to the input polarization, liquid crystal based SLMs need to work with a given input polarization or sometimes a precise combination of input and output polarizations. It is then necessary for LC SLMs to carefully characterize the modulation to find the setup conditions where amplitude variations are minimal and for which the phase range is at least 2π. In any case, for a given wavelength, it is necessary to know the relation between the value given to a pixel on the SLM and the relative phase shift associated. I present here a typical way to characterize the complex modulation of an SLM.

See full post
Created by sebastien.popoff on 18/04/2013

Tutorials Spatial Light Modulators

How to control an SLM with Matlab/Octave using Psychtoolbox

Most spatial light modulators (SLMs) available are controllable like a normal computer monitor and are plugged on a computer with a DVI cable.  Some SLMs are now sold with a dedicated card or can be controlled via USB. If you possess such a device, this tutorial is not for you. The first requirement to control the SLM with a DVI/HDMI cable is to have a graphic card with two monitor outputs, one for your screen, one for your SLM. Once plugged to the computer, the SLM is then handled by the operating system as a secondary monitor. No software is required to display an image on the SLM. For that reason, the constructor does not provide any code to use the SLM with Matlab/Octave or other software. One solution to send images with Matlab is to display an array in a figure that fits the size of the secondary monitor. Nevertheless, this technique presents some drawbacks due to the fact that you do not control directly the pixels of the SLM. For instance, the border of the figure, which may be different depending on the operating system, has to be taken into account. More importantly, the scaling of the figure does not guarantee that one pixel of the image displayed corresponds to one pixel of the SLM. For application where a very good resolution is needed, a blurred image on the SLM can be detrimental.

I present how to control directly the pixels of the SLM using Psychtoolbox, a free toolbox for Matlab and Octave that uses GPU acceleration. I show here a tutorial for Matlab, but the toolbox also exists for Octave and seems to work a similar way.

See full post