Borrar filtros
Borrar filtros

How to get the fiber coupling efficiency(from Zemax)as an array for different Zernike Coefficient combinations that I have using Matlab ?

22 visualizaciones (últimos 30 días)
Hello All,
Firstly, I would like to mention that my problem needs some knowledge of Optics and Zemax Optic Studio Application. So you can skip the question if you are not aware of it. I am using Zemax Optic Studio for some optical simulations of light. I have a simple setup in Zemax for fiber coupling of light into a single mode fiber. The setup is as follows :
Surface 0 : OBJECT (Standard) - Collimated Light
Surface 1 : STOP (Zernike Fringe Phase) - Surface which induces a phase lag in the light.
Surface 2: (Paraxial) - Ideal thin lens used for focusing the light into a single mode fiber. Thickness is a 'variable' here.
Surface 3: IMAGE (Standard) - Image plane where the single mode fiber is placed.
Now, I want to use MATLAB to have a simple loop which does the following:
  1. Fill data for Surface 1 from the row data that I have in a MATLAB matrix. To be specific here, type of surface remains the same but I only need to introduce the 36 Zernike Terms that defines the lag.
  2. Use the Merit Function Editor (FICL) operand and optimise the thickness of the Surface 2 (Paraxial lens) for maximum coupling efficiency.
  3. The operand gives us the fiber coupling efficiency for the above optimised thickness in the 'Value' box. I want to return this value in an array in MATLAB.
  4. Loop the above 3 steps for all the rows that I have in my matrix. (Approximately 320k rows)
I can do the basic setup in Zemax but want to have a MATLAB loop code to automise the simulation for 320k different Zernike Coefficient combinations. Zemax Optic Studio offers different ZOS-API.NET application builders in the 'programming tab' and I want to use the MATLAB interactive extension. I hope I have made my question as clear as possible.
Thank you,
Laukik Kharche.

Respuestas (0)

Categorías

Más información sobre Zernike Polynomials en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by